/* MaminkApp Landing Page Styles */
/* Color palette matching the Android app */

:root {
    /* Primary - Soft Pink */
    --primary: #F8BBD9;
    --primary-dark: #D48FB0;
    --on-primary: #4A1E35;

    /* Secondary - Soft Lavender */
    --secondary: #E1BEE7;
    --secondary-dark: #B794C0;
    --on-secondary: #3D1F47;

    /* Tertiary - Soft Mint */
    --tertiary: #B2DFDB;
    --tertiary-dark: #80CBC4;

    /* Backgrounds */
    --background: #FFFBFE;
    --surface: #FFFFFF;
    --surface-variant: #F3E5F5;

    /* Text */
    --text-primary: #1C1B1F;
    --text-secondary: #49454F;
    --text-muted: #79747E;

    /* Accent colors */
    --pregnancy-pink: #F8BBD9;
    --baby-blue: #BBDEFB;
    --milestone-gold: #FFE082;
    --tracker-green: #C8E6C9;
    --checkup-purple: #D1C4E9;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 251, 254, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo-img {
    height: 45px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--surface-variant) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
}

.hero-text h1 {
    margin-bottom: 24px;
    color: var(--on-primary);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--on-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.btn-primary {
    background: var(--on-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--on-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--surface-variant);
}

.btn-outline {
    background: transparent;
    color: var(--on-primary);
    border: 2px solid var(--on-primary);
}

.btn-outline:hover {
    background: var(--on-primary);
    color: white;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
    background: linear-gradient(180deg, var(--surface-variant) 0%, var(--primary) 100%);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--surface-variant);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-icon.pregnancy { background: var(--pregnancy-pink); color: var(--on-primary); }
.feature-icon.baby { background: var(--baby-blue); color: #1565C0; }
.feature-icon.tracker { background: var(--tracker-green); color: #2E7D32; }
.feature-icon.checkup { background: var(--checkup-purple); color: #512DA8; }
.feature-icon.milestone { background: var(--milestone-gold); color: #F57F17; }
.feature-icon.partner { background: var(--secondary); color: var(--on-secondary); }
.feature-icon.contraction { background: #FFCDD2; color: #C62828; }
.feature-icon.tips { background: var(--tertiary); color: #00695C; }

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Ad Section */
.ad-section {
    padding: 40px 0;
    background: var(--surface-variant);
}

.ad-banner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder {
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    padding: 40px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 2px dashed #ccc;
    width: 100%;
    max-width: 728px;
    text-align: center;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: linear-gradient(180deg, white 0%, var(--surface-variant) 100%);
}

.screenshots-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots-slider::-webkit-scrollbar {
    height: 8px;
}

.screenshots-slider::-webkit-scrollbar-track {
    background: var(--surface-variant);
    border-radius: 4px;
}

.screenshots-slider::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
    scroll-snap-align: start;
}

.screenshot-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    margin-bottom: 12px;
}

.screenshot-item p {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Premium Section */
.premium {
    padding: 80px 0;
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--surface-variant);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--primary-dark);
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-variant) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--surface-variant);
    margin-bottom: 24px;
}

.pricing-header h3 {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.savings {
    background: var(--tracker-green);
    color: #2E7D32;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.check {
    color: #4CAF50;
    font-weight: bold;
}

.cross {
    color: #ccc;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--surface-variant);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #FFC107;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
}

.download .section-title,
.download .section-subtitle {
    color: var(--on-primary);
}

.download-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.store-button img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.store-button:hover img {
    transform: scale(1.05);
}

.qr-section {
    text-align: center;
}

.qr-code {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: var(--radius-md);
    padding: 10px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-md);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-section p {
    color: var(--on-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Sidebar Ads */
.sidebar-ad {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: none;
}

.sidebar-ad-left {
    left: 10px;
}

.sidebar-ad-right {
    right: 10px;
}

.sidebar-ad-container {
    width: 160px;
}

.sidebar-ad-placeholder {
    width: 160px;
    height: 600px;
    background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
    border: 2px dashed #ccc;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    gap: 8px;
}

.sidebar-ad-placeholder .ad-size {
    font-size: 0.75rem;
    color: #aaa;
}

/* Show sidebar ads only on very wide screens */
@media (min-width: 1500px) {
    .sidebar-ad {
        display: block;
    }
}

@media (min-width: 1700px) {
    .sidebar-ad-left {
        left: 20px;
    }
    .sidebar-ad-right {
        right: 20px;
    }
}

/* Fixed Ad Banner */
.ad-banner-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 999;
    display: flex;
    justify-content: center;
}

.ad-placeholder-small {
    background: #f5f5f5;
    padding: 15px 40px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.85rem;
    border: 1px dashed #ccc;
}

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

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 20px;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}

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

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Placeholder images styling */
.screenshot-item img,
.phone-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}
