/* BabyTime Landing Page */
:root {
    --primary: #7C6CE0;
    --primary-light: #A89BF0;
    --primary-dark: #5B4BC0;
    --accent: #F4A7BB;
    --accent-light: #FFD1DC;
    --bg: #FAFBFE;
    --bg-card: #FFFFFF;
    --text: #2D2D3A;
    --text-muted: #6B6B80;
    --text-light: #9999AA;
    --border: #E8E8F0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(124, 108, 224, 0.08);
    --shadow-lg: 0 8px 40px rgba(124, 108, 224, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 251, 254, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.logo span {
    font-size: 20px;
    font-weight: 700;
}

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

.nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 108, 224, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-badge {
    height: 52px;
    transition: transform 0.2s;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.hero-image {
    margin-top: 60px;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius);
}

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

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-title p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-icon.timer { background: rgba(124, 108, 224, 0.1); }
.feature-icon.sleep { background: rgba(100, 149, 237, 0.1); }
.feature-icon.growth { background: rgba(76, 175, 80, 0.1); }
.feature-icon.diaper { background: rgba(255, 152, 0, 0.1); }
.feature-icon.bath { background: rgba(0, 188, 212, 0.1); }
.feature-icon.family { background: rgba(244, 167, 187, 0.1); }
.feature-icon.watch { background: rgba(96, 96, 96, 0.1); }
.feature-icon.widget { background: rgba(255, 87, 34, 0.1); }
.feature-icon.stats { background: rgba(156, 39, 176, 0.1); }

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.premium-box {
    background: linear-gradient(135deg, var(--primary), #9B7FEA);
    border-radius: 24px;
    padding: 64px;
    color: #fff;
    text-align: center;
}

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

.premium-box p {
    font-size: 17px;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 32px;
}

.premium-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.premium-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
}

.btn-white:hover {
    background: #f0f0ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 8px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-links-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.footer-links-col a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 13px;
}

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

    .hero {
        padding: 100px 0 60px;
    }

    .premium-box {
        padding: 40px 24px;
    }

    .footer-links {
        gap: 24px;
    }

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

/* Legal pages */
.legal {
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal .updated {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 32px;
}

.legal h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal p, .legal li {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

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