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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #FEFEFE;
    color: #1E293B;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.2rem 3rem;
    z-index: 1000;
    transition: box-shadow 0.3s;
}

nav.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
    /* Ensure the container allows the image to grow */
    padding: 10px;
}

.logo img {
    /* Increase height to fill more of the sidebar */
    height: 60px;
    width: auto;
    /* Scales the image to be as large as possible without cropping */
    object-fit: contain;
    /* Pulls the image to the left if there is internal white space */
    margin-left: -5px;
}

.nav-center {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-center a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-center a:hover {
    color: #8B5CF6;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    background: white;
    border: 1px solid #E2E8F0;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: border-color 0.2s;
}

.lang-toggle:hover {
    border-color: #8B5CF6;
}

.cta-nav {
    background: linear-gradient(135deg, #1E70E8, #9333EA);
    color: white;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.4);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 3rem 6rem;
    background: linear-gradient(135deg, #FAFBFD 0%, #F4F5FB 100%);
    position: relative;
    overflow: hidden;
}

.sparkle-1 {
    position: absolute;
    top: 8%;
    right: 8%;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.sparkle-2 {
    position: absolute;
    bottom: 15%;
    left: 5%;
    font-size: 2rem;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-left {
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #1E70E8, #9333EA);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.05rem;
    color: #64748B;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 540px;
}

.form-box {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    max-width: 500px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.email-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #F8FAFC;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1.2rem;
    transition: all 0.2s;
}

.email-input:focus {
    outline: none;
    border-color: #8B5CF6;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.checkbox-row input {
    margin-top: 0.25rem;
    accent-color: #8B5CF6;
    width: 16px;
    height: 16px;
}

.checkbox-row label {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.5;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #1E70E8, #9333EA);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.counter-text {
    text-align: center;
    font-size: 0.85rem;
    color: #64748B;
    margin-top: 1rem;
}

.counter-text strong {
    color: #EC4899;
    font-weight: 700;
}

/* PHONE MOCKUP */
.hero-right {
    opacity: 0;
    animation: fadeUp 1s ease 0.4s forwards;
}

.phone-mockup {
    max-width: 420px;
    margin: 0 auto;
    position: relative;
}

.phone-device {
    background: #1E293B;
    border-radius: 50px;
    padding: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.phone-display {
    background: white;
    border-radius: 42px;
    height: 760px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    scrollbar-width: none;
}

.phone-display::-webkit-scrollbar {
    display: none;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 145px;
    height: 32px;
    background: #1E293B;
    border-radius: 0 0 22px 22px;
    z-index: 10;
}

.phone-content {
    padding-top: 42px;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 14px;
}

.back-link {
    color: #3B82F6;
    font-weight: 600;
    font-size: 0.9rem;
}

.header-icons {
    display: flex;
    gap: 0.8rem;
}

.icon-circle {
    width: 34px;
    height: 34px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.business-bar {
    background: #F8FAFC;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.business-label {
    color: #8B5CF6;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.appointment-body {
    padding: 22px 20px;
}

.greeting-text {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.sub-text {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 1.4rem;
}

.service-card {
    background: #F8FAFC;
    border-left: 4px solid #8B5CF6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
}

.card-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: #8B5CF6;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.service-sub {
    font-size: 0.85rem;
    color: #64748B;
}

.points-tag {
    background: #FEF3C7;
    color: #D97706;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.details-card {
    background: #F8FAFC;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.detail-col {
    flex: 1;
}

.detail-value {
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 5px;
}

.expert-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 5px;
}

.expert-avatar {
    background: #8B5CF6;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 12px;
    border-radius: 9px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.calendar-button {
    background: #EEF2FF;
    color: #6366F1;
    border: none;
    padding: 12px;
    border-radius: 9px;
    width: 100%;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    cursor: pointer;
}

.reschedule-btn {
    background: #8B5CF6;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    width: calc(100% - 40px);
    margin: 0 20px 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.cancel-text {
    text-align: center;
    color: #94A3B8;
    font-size: 0.9rem;
    padding: 12px;
}

/* FEATURES SECTION */
.features {
    padding: 5rem 3rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    opacity: 0;
}

.section-header.visible {
    animation: fadeUp 0.8s ease forwards;
}

.section-tag {
    color: #3B82F6;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 700;
    color: #1E293B;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.3;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s;
    opacity: 0;
}

.feature-item.visible {
    animation: fadeUp 0.8s ease forwards;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1E70E8, #9333EA);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* RESOURCES SECTION */
.resources {
    padding: 5rem 3rem;
    background: #FAFBFC;
}

.resources-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.resource-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    opacity: 0;
}

.resource-card.visible {
    animation: fadeUp 0.8s ease forwards;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.resource-img {
    height: 140px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.resource-body {
    padding: 1.5rem;
}

.resource-type {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.resource-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.resource-card p {
    color: #64748B;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #1E293B;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.download-button:hover {
    background: #8B5CF6;
    transform: translateY(-2px);
}

/* FAQ SECTION */
.faq {
    padding: 5rem 3rem;
    background: white;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #F8FAFC;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    opacity: 0;
}

.faq-item.visible {
    animation: fadeUp 0.8s ease forwards;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.3rem 1.5rem;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #8B5CF6;
}

.faq-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.3rem;
}

.faq-answer p {
    color: #64748B;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    z-index: 2000;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn.accept {
    background: #1E293B;
    color: white;
    border: none;
}

.cookie-btn.accept:hover {
    background: #8B5CF6;
}

.cookie-btn.decline {
    background: transparent;
    border: 1px solid #E2E8F0;
    color: #64748B;
}

.cookie-btn.decline:hover {
    border-color: #CBD5E1;
    color: #1E293B;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* FOOTER */
footer {
    background: #1E293B;
    color: #CBD5E1;
    padding: 3rem 2rem;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748B;
}

.modal-box h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.success-box {
    background: white;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 18px;
    padding: 2.5rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.success-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-box p {
    color: #64748B;
    margin-bottom: 2rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-right {
        max-width: 380px;
        margin: 0 auto;
    }

    .phone-display {
        height: 650px;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-center {
        display: none;
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    .features,
    .resources,
    .faq {
        padding: 4rem 1.5rem;
    }

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

.hidden {
    display: none !important;
}