/* ============================================
   Aman App — Landing Page Styles
   Brand Colors:
   - Light Gray:    #e2e2e1
   - Medium Gray:   #d3d1d1
   - Dusty Rose:    #ccb6bc
   - Soft Lavender: #e5d1e4
   - Near Black:    #1e1d1b
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e1d1b;
    background: #ffffff;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: #1e1d1b;
    color: #fff;
}

.btn-primary:hover {
    background: #444;
    color: #fff;
    transform: translateY(-1px);
}

.btn-nav,
.nav-links a.btn-nav {
    background: #1e1d1b;
    color: #fff !important;
    padding: 10px 24px;
    font-size: 14px;
}

.btn-nav:hover {
    background: #444;
}

.btn-full {
    width: 100%;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e2e1;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-img-footer {
    filter: invert(1);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #1e1d1b;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-nav) {
    font-size: 15px;
    font-weight: 500;
    color: #555;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #1e1d1b;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e1d1b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #fff 0%, #e2e2e1 40%, #f5f5f5 70%, #fff 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-form {
    margin-bottom: 28px;
}

.form-group {
    display: flex;
    gap: 12px;
    max-width: 460px;
}

.form-group input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #d3d1d1;
    border-radius: 50px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus {
    border-color: #d3d1d1;
}

.form-group .btn {
    white-space: nowrap;
}

.app-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-badge {
    transition: opacity 0.2s;
}

.app-badge:hover {
    opacity: 0.8;
}

/* --- Hero Phone Renders --- */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-phones {
    position: relative;
    width: 360px;
    height: 520px;
}

.hero-phone {
    position: absolute;
    height: 480px;
    width: auto;
    border-radius: 24px;
    filter: drop-shadow(0 20px 40px rgba(30, 29, 27, 0.15));
    transition: transform 0.5s ease;
}

.hero-phone-back {
    top: 20px;
    left: 0;
    transform: rotate(-6deg);
    z-index: 1;
    opacity: 0.7;
}

.hero-phone-front {
    top: 0;
    right: 0;
    transform: rotate(3deg);
    z-index: 2;
}

.hero-phones:hover .hero-phone-front {
    transform: rotate(0deg) translateY(-4px);
}

.hero-phones:hover .hero-phone-back {
    transform: rotate(-3deg) translateX(-8px);
    opacity: 0.85;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: #faf9fa;
    border: 1px solid #e2e2e1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(30, 29, 27, 0.08);
}

.stat-icon {
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, #f9f8f9, #fff);
}

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

.feature-column-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 3px solid #d3d1d1;
    display: inline-block;
}

.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: #e2e2e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    right: 30px;
    font-size: 80px;
    font-weight: 700;
    color: #d3d1d1;
    opacity: 0.5;
    line-height: 1;
}

.step-icon {
    margin-bottom: 24px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   FOR THERAPISTS
   ============================================ */
.for-therapists {
    padding: 100px 0;
    background: linear-gradient(135deg, #e2e2e1 0%, #f5f4f4 100%);
}

.therapist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.therapist-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.therapist-subtitle {
    font-size: 17px;
    color: #444;
    margin-bottom: 28px;
    line-height: 1.7;
}

.therapist-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.therapist-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.therapist-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(30, 29, 27, 0.08);
}

.therapist-form-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.therapist-form-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
}

.therapist-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.therapist-form input {
    padding: 14px 20px;
    border: 2px solid #e2e2e1;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.therapist-form input:focus {
    border-color: #d3d1d1;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 32px;
    border-radius: 20px;
    background: #faf9fa;
    border: 1px solid #e2e2e1;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d3d1d1, #e2e2e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #1e1d1b;
    font-size: 16px;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: #888;
}

/* ============================================
   TRUST
   ============================================ */
.trust {
    padding: 60px 0;
    background: #f9f8f9;
    border-top: 1px solid #e2e2e1;
    border-bottom: 1px solid #e2e2e1;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 100px 0;
    background: #fff;
}

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

.faq-item {
    border-bottom: 1px solid #e2e2e1;
}

.faq-item:first-child {
    border-top: 1px solid #e2e2e1;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    color: #1e1d1b;
    text-align: left;
    gap: 16px;
}

.faq-question:hover {
    color: #555;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e1d1b, #333);
    color: #fff;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 17px;
    color: #bbb;
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-form .form-group {
    max-width: 460px;
    margin: 0 auto 28px;
}

.cta-form .form-group input {
    border-color: #444;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.cta-form .form-group input::placeholder {
    color: #999;
}

.cta-form .form-group input:focus {
    border-color: #d3d1d1;
}

.cta-form .btn-primary {
    background: #e2e2e1;
    color: #1e1d1b;
}

.cta-form .btn-primary:hover {
    background: #d3d1d1;
}

.final-cta .app-badges {
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: #1e1d1b;
    color: #bbb;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer .logo-text {
    color: #fff;
}

.footer-tagline {
    font-size: 15px;
    color: #888;
    margin-top: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #d3d1d1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #888;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #d3d1d1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FORM SUCCESS STATE
   ============================================ */
.form-success {
    padding: 16px 24px;
    background: #e2e2e1;
    border-radius: 50px;
    font-weight: 500;
    color: #1e1d1b;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .form-group {
        max-width: 100%;
    }

    .app-badges {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-phones {
        width: 300px;
        height: 420px;
    }

    .hero-phone {
        height: 380px;
    }

    .stats-grid,
    .steps-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .therapist-text h2,
    .cta-content h2 {
        font-size: 30px;
    }
}

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

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid #e2e2e1;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group .btn {
        width: 100%;
    }

    .trust-badges {
        gap: 24px;
    }

    .trust-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-form .form-group {
        flex-direction: column;
    }

    .cta-form .form-group .btn {
        width: 100%;
    }
}
