* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1b0a49;
    --primary-blue: #4da6ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-gray: #666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(27, 10, 73, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-dark);
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(360deg) scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(27, 10, 73, 0.05) 0%, rgba(77, 166, 255, 0.05) 100%);
    overflow: hidden;
}

.wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 320px;
}

.wave-bg svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-dark);
}

.highlight {
    color: var(--primary-blue);
}

.hero-text p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(27, 10, 73, 0.2);
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphing 8s ease-in-out infinite;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 20px 40px rgba(77, 166, 255, 0.3);
}

@keyframes morphing {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.human-silhouette {
    width: 300px;
    height: 400px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.spine-path {
    animation: spineFlow 4s ease-in-out infinite;
}

@keyframes spineFlow {
    0%, 100% { stroke-dasharray: 0 300; }
    50% { stroke-dasharray: 300 0; }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-gray);
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(27, 10, 73, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(27, 10, 73, 0.15);
}

.service-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Different shapes for each service card */
.service-card:nth-child(1) .service-icon {
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
}

.service-card:nth-child(2) .service-icon {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 3px solid var(--primary-blue);
}

.service-card:nth-child(3) .service-icon {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: var(--primary-blue);
    padding: 3px;
}

.service-card:nth-child(3) .service-image {
    clip-path: polygon(50% 3%, 97% 50%, 50% 97%, 3% 50%);
}

.service-card:nth-child(4) .service-icon {
    border-radius: 20% 80% 80% 20% / 60% 40% 60% 40%;
    border: 3px solid var(--primary-blue);
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(27, 10, 73, 0.1);
}

.about-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, var(--primary-blue), transparent);
    border-radius: 20px;
    opacity: 0.3;
    z-index: -1;
}

.flow-lines {
    width: 300px;
    height: 300px;
}

.flow-1 { animation: wave1 4s ease-in-out infinite; }
.flow-2 { animation: wave2 4s ease-in-out infinite 0.5s; }
.flow-3 { animation: wave3 4s ease-in-out infinite 1s; }

@keyframes wave1 {
    0%, 100% { d: path("M50 50 Q150 100 250 50"); }
    50% { d: path("M50 80 Q150 50 250 80"); }
}

@keyframes wave2 {
    0%, 100% { d: path("M50 150 Q150 100 250 150"); }
    50% { d: path("M50 120 Q150 150 250 120"); }
}

@keyframes wave3 {
    0%, 100% { d: path("M50 250 Q150 200 250 250"); }
    50% { d: path("M50 220 Q150 250 250 220"); }
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(27, 10, 73, 0.03) 0%, rgba(77, 166, 255, 0.03) 100%);
}

.benefits h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
}

.benefit-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-blue);
    opacity: 0.3;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--primary-dark);
    color: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--white);
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.1);
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin: 20px 0;
    transform: scale(0.95);
    transform-origin: 0 0;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
    display: block;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
    display: block;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--white);
}

.pricing h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(27, 10, 73, 0.15);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.1) 0%, rgba(27, 10, 73, 0.05) 100%);
    border: 2px solid var(--primary-blue);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.pricing-list {
    list-style: none;
    padding: 0;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(27, 10, 73, 0.1);
}

.pricing-list li:last-child {
    border-bottom: none;
}

.service-name {
    color: var(--text-gray);
    font-size: 16px;
}

.price {
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 600;
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
    color: var(--primary-blue);
    font-weight: 500;
}

.pricing-footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.05) 0%, rgba(27, 10, 73, 0.05) 100%);
    border-radius: 15px;
}

.pricing-footer p {
    color: var(--primary-dark);
    font-size: 16px;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--white);
}

.footer-logo img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    filter: brightness(1.2);
}

/* Image watermark removal helper */
.service-image,
.hero-image,
.about-image {
    position: relative;
    background-color: var(--light-gray);
}

/* Mobile optimizations for images */
@media (max-width: 768px) {
    .hero-image {
        width: 300px;
        height: 300px;
    }

    .service-icon {
        width: 120px;
        height: 120px;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-image {
        width: 250px;
        height: 250px;
    }

    .service-icon {
        width: 100px;
        height: 100px;
    }

    .about-image {
        height: 250px;
    }

    .logo img,
    .footer-logo img {
        width: 35px;
        height: 35px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .human-silhouette {
        width: 200px;
        height: 300px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .services h2,
    .about-text h2,
    .benefits h2,
    .contact h2 {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}