/* ═══════════════════════════════════════════
   BALLARI NEURO CENTRE — Landing Page Overrides
   shared.css loads FIRST and handles:
     ▸ variables, reset, body, typography
     ▸ .site-header, .site-footer (identical to guides)
   This file ONLY adds landing-page-specific styles.
   ═══════════════════════════════════════════ */

/* ── Landing page layout ── */
/* DO NOT override --max-width — shared.css uses 900px for header/footer
   which keeps them pixel-identical to patient guides. */
:root {
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.center {
    text-align: center;
}

/* Wider container for landing page content only */
.lp-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Mobile toggle (guides hide nav; landing page adds hamburger) ── */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* CTA button in navbar */
.nav-cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--purple)) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 0.4rem 1rem !important;
}

/* ── Landing sections ── */
.section {
    padding: clamp(60px, 10vw, 100px) 0;
    margin-bottom: 0;
    /* override shared.css section margin */
}

.section-alt {
    background: var(--bg-card);
}

.section-badge {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.section-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.75;
}

.section-subtitle.center {
    margin-left: auto;
    margin-right: auto;
}

/* ── Buttons ── */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.full-width {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}

/* ═══════════ HERO ═══════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    text-align: center;
    /* override shared.css hero gradient */
    background: none;
    color: var(--text);
}

.hero::after {
    display: none;
}

/* remove shared.css radial overlay */

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #F0F4F8 30%, #F5F0FF 60%, #EDF8F5 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbDrift 15s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
    top: -10%;
    right: -5%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
    bottom: -8%;
    left: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    top: 45%;
    left: 45%;
    animation-delay: -10s;
}

@keyframes orbDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 25px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    box-shadow: var(--shadow);
    animation: fadeUp 0.8s var(--ease) both;
}

.hero-title {
    margin-bottom: 20px;
    animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.title-line {
    display: block;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 400;
    color: var(--text-secondary);
}

.title-gradient {
    display: block;
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero h1 {
    color: var(--text);
}

/* override shared.css white */

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-bottom: 44px;
    animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-plus {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.stat-sep {
    width: 1px;
    height: 44px;
    background: var(--border);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s var(--ease) 0.4s both;
}

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

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

/* ═══════════ ABOUT ═══════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 72px;
    align-items: center;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cred-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cred-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateX(5px);
}

.cred-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cred-card strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text);
}

.cred-card span:not(.cred-icon) {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    background: var(--bg-section-alt);
    color: var(--primary-dark);
    border: 1px solid #C7D2FE;
}

/* ═══════════ SERVICES ═══════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.svc-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.svc-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.svc-card:hover::before {
    opacity: 1;
}

.svc-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.svc-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 10px;
}

.svc-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.svc-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-section-alt);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 12px;
}

/* Callout boxes */
.callout-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 28px;
    padding: 24px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.callout-green {
    background: #ECFDF5;
    border-left: 4px solid var(--success);
}

.callout-blue {
    background: var(--bg-section-alt);
    border-left: 4px solid var(--primary);
}

.callout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.callout-box>div>strong:first-child {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 6px;
}

.callout-box p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ═══════════ GUIDES ═══════════ */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.guide-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.guide-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.guide-card.featured {
    border-color: #C7D2FE;
    background: linear-gradient(135deg, #fff, var(--bg-section-alt));
}

.guide-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 14px;
}

.guide-text h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 4px;
}

.guide-text p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
}

.guide-arrow {
    margin-left: auto;
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.guide-card:hover .guide-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* ═══════════ EEG ═══════════ */
.eeg-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.info-box {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.info-box h4 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 14px;
}

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

.check-list li {
    padding: 7px 0 7px 26px;
    position: relative;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.qf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.qf-item span:first-child {
    font-size: 1.5rem;
}

.qf-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
}

.qf-item small {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.eeg-sidebar-card {
    background: linear-gradient(135deg, var(--bg-section-alt), #F0FDF9);
    border: 1px solid #C7D2FE;
    border-radius: var(--radius);
    padding: 36px;
    position: sticky;
    top: 90px;
}

.eeg-sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.eeg-sidebar-card>p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.eeg-tip {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════ CONTACT ═══════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.contact-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: contain;
}

.contact-header h3 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0;
}

.contact-header span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-rows {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.contact-row {
    display: flex;
    gap: 14px;
}

.cr-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-row strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-row p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contact-row a {
    color: var(--primary);
}

.timings-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 24px;
}

.timings-rows {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: 10px;
}

.timing-row:nth-child(even) {
    background: transparent;
}

.timing-row.closed {
    opacity: 0.5;
}

.t-day {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    min-width: 100px;
}

.t-slots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.t-am {
    font-size: 0.88rem;
    padding: 4px 14px;
    border-radius: 6px;
    font-weight: 500;
    background: #ECFDF5;
    color: var(--success);
}

.t-pm {
    font-size: 0.88rem;
    padding: 4px 14px;
    border-radius: 6px;
    font-weight: 500;
    background: var(--bg-section-alt);
    color: var(--primary);
}

.t-closed {
    font-size: 0.88rem;
    color: var(--danger);
    font-weight: 600;
}

.timing-warn {
    margin-top: 18px;
    padding: 16px;
    background: #FFF8E1;
    border: 1px solid #FFE082;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: #7B6B1D;
    line-height: 1.6;
}

.timing-tip {
    margin-top: 12px;
    padding: 14px;
    background: #ECFDF5;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer extra line not in shared.css */
.footer-contact-line {
    color: #64748B;
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-contact-line a {
    color: var(--accent);
}

.copy small {
    display: block;
    margin-top: 4px;
    opacity: 0.7;
}

/* ═══════════ SCROLL ANIM ═══════════ */
.anim-in {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s var(--ease);
}

.anim-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-facts {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    /* Transform guide's horizontal nav into a side drawer */
    .site-header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        display: flex !important;
        /* override shared.css display:none */
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 28px 28px;
        gap: 4px;
        transition: right 0.4s var(--ease);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        z-index: 200;
    }

    .site-header nav.open {
        right: 0;
    }

    .site-header nav a {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100%;
    }

    .about-grid,
    .eeg-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-cards {
        order: 2;
    }

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

    .hero-stats {
        gap: 24px;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .quick-facts {
        grid-template-columns: 1fr;
    }

    .eeg-sidebar-card {
        position: static;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 50px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-sep {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-cta,
    .hero-actions .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .cred-card {
        padding: 16px 20px;
    }

    .contact-card {
        padding: 24px;
    }

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

/* ═══════════ QUICK FAQ ═══════════ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.faq-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.faq-card h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 12px;
}

.faq-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════ WHATSAPP FLOAT ═══════════ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}