/* ========================================
   Néma Landing Page - Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #E91E63;
    --primary-dark: #C2185B;
    --primary-light: #FCE4EC;
    --secondary: #FF4081;
    --text-dark: #1A1A2E;
    --text-medium: #4A4A68;
    --text-light: #8E8EA9;
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #F44336;

    --gradient-primary: linear-gradient(135deg, #E91E63 0%, #FF4081 100%);
    --gradient-hero: linear-gradient(135deg, #FFF5F7 0%, #FCE4EC 100%);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.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 rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
    box-shadow: 0 2px 8px rgba(255, 107, 129, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-medium);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 10px 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 24px 160px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    margin-bottom: 24px;
}

.hero .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--text-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: var(--text-dark);
    border-radius: 20px;
    z-index: 10;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    background: var(--primary-light);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 100px 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 0.9375rem;
}

/* How it Works */
.how-it-works {
    padding: 100px 24px;
    background: var(--gray-50);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 280px;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.step-arrow {
    color: var(--primary);
}

/* Categories */
.categories {
    padding: 100px 24px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.category-card {
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-100);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.category-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 12px;
}

.category-card p {
    color: var(--text-medium);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.category-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge.free {
    background: #E8F5E9;
    color: #2E7D32;
}

.category-badge.premium {
    background: var(--primary-light);
    color: var(--primary);
}

/* Pricing */
.pricing {
    padding: 100px 24px;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-100);
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price .period {
    color: var(--text-light);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-medium);
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--success);
}

.pricing-features li.disabled {
    color: var(--text-light);
}

.pricing-features li.disabled svg {
    color: var(--text-light);
}

/* Pricing 4-column grid */
.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    gap: 24px;
    align-items: stretch;
}

.pricing-grid-4 .pricing-card {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

/* Ensure pricing header has space for badge */
.pricing-grid-4 .pricing-card .pricing-header {
    padding-top: 16px;
}

/* Cards with badges need more top padding */
.pricing-grid-4 .pricing-card.featured .pricing-header,
.pricing-grid-4 .pricing-card.pregnancy .pricing-header {
    padding-top: 24px;
}

/* Features list grows to fill space */
.pricing-grid-4 .pricing-card .pricing-features {
    flex-grow: 1;
}

/* Button stays at bottom */
.pricing-grid-4 .pricing-card .btn {
    margin-top: auto;
}

/* Social proof badge */
.social-proof-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 20px;
    background: #E8F5E9;
    border-radius: var(--radius-full);
    color: #2E7D32;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Price detail */
.price-detail {
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Highlight feature */
.pricing-features li.highlight {
    color: var(--success);
}

.pricing-features li.highlight svg {
    color: var(--success);
}

/* Pregnancy card */
.pricing-card.pregnancy {
    border-color: #8B5CF6;
}

.pricing-badge.pregnancy-badge {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}

.pricing-features li.pregnancy-highlight {
    color: #7C3AED;
}

.pricing-features li.pregnancy-highlight svg {
    color: #7C3AED;
}

.btn-pregnancy {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.btn-pregnancy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Pricing trust badge */
.pricing-trust {
    text-align: center;
    margin-top: 40px;
    padding: 16px 24px;
    background: #EFF6FF;
    border-radius: var(--radius-md);
    border: 1px solid #BFDBFE;
}

.pricing-trust p {
    color: #1D4ED8;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive pricing 4-column */
@media (max-width: 1100px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 24px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.testimonial-stars {
    color: #FFC107;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-info {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Referral Section */
.referral {
    padding: 100px 24px;
    background: var(--gray-50);
}

.referral-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.referral-how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.referral-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.referral-step .step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.referral-step h3 {
    margin-bottom: 8px;
}

.referral-step p {
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.referral-badges {
    text-align: center;
}

.referral-badges h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.badges-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-100);
    min-width: 120px;
    transition: var(--transition);
}

.badge-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.badge-name {
    font-weight: 600;
    color: var(--text-dark);
}

.badge-req {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .referral-how-it-works {
        grid-template-columns: 1fr;
    }

    .badges-grid {
        gap: 16px;
    }

    .badge-item {
        min-width: 100px;
        padding: 16px;
    }
}

/* FAQ */
.faq {
    padding: 100px 24px;
    background: var(--gray-50);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-medium);
}

/* Download CTA */
.download-cta {
    padding: 100px 24px;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
.footer {
    padding: 80px 24px 40px;
    background: var(--text-dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo span {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom .disclaimer {
    margin-top: 12px;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .features-grid,
    .categories-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 24px 140px;
    }

    .features-grid,
    .categories-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 200px;
        height: 400px;
        border-radius: 30px;
        padding: 8px;
    }

    .phone-mockup::before {
        width: 80px;
        height: 20px;
    }

    .phone-mockup img {
        border-radius: 22px;
    }
}
