/* CSS Variables */
:root {
    --pastel-pink: #ffa0b4;
    --pastel-mint: #78d2be;
    --pastel-lavender: #b48cc8;
    --pastel-yellow: #ffdc8c;
    --pastel-peach: #ffbe96;
    --pastel-blue: #8cb4ff;

    --accent-mint: #4ab89e;
    --accent-pink: #ff7a9a;
    --accent-purple: #9b6bb1;

    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;

    --white: #ffffff;
    --off-white: #fafafa;
    --gray-light: #f7fafc;

    --gradient-primary: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-mint) 100%);
    --gradient-soft: linear-gradient(135deg, #fff5f7 0%, #f0fdf9 100%);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-mint);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-purple);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

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

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

.logo-text {
    font-size: 22px;
    font-weight: 800;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-dark);
    color: var(--white);
}

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

.btn-coming-soon {
    background: var(--text-medium);
    color: var(--white);
    cursor: default;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.apple-icon {
    width: 20px;
    height: 20px;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gradient-soft);
    overflow: hidden;
}

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

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-cta {
    margin-bottom: 16px;
}

.hero-note {
    font-size: 14px;
    color: var(--text-light);
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
}

.phone-screen .screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* Phone Frame for Screenshots */
.phone-frame {
    background: #1a1a1a;
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
}

.phone-frame .screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.phone-frame-small {
    max-width: 200px;
}

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

.hero-wave svg {
    width: 100%;
    height: 80px;
}

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

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

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

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

.feature-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

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

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

/* Screenshots Gallery Section */
.screenshots {
    padding: 100px 0;
    background: var(--gray-light);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    justify-items: center;
}

.screenshot-item {
    text-align: center;
}

.screenshot-item .phone-frame {
    max-width: 220px;
    margin-bottom: 16px;
}

.screenshot-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-medium);
}

/* Family Sharing Section */
.family-sharing {
    padding: 100px 0;
    background: var(--gradient-soft);
}

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

.sharing-text h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.sharing-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.sharing-list {
    list-style: none;
}

.sharing-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent-mint);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.sharing-screenshots {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
}

.sharing-screenshots .phone-frame-small {
    max-width: 180px;
}

/* Privacy Section */
.privacy {
    padding: 80px 0;
}

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

.privacy-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.privacy h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.privacy p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.privacy-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.privacy-check {
    color: var(--accent-mint);
    font-weight: 700;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.download h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.download > .container > p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

.download-note {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* Footer */
.footer {
    padding: 48px 0 32px;
    background: var(--text-dark);
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand .logo-text {
    color: var(--white);
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

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

    .hero-text h1 {
        font-size: 44px;
    }

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

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 240px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .sharing-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sharing-text {
        text-align: center;
    }

    .sharing-list {
        display: inline-block;
        text-align: left;
    }

    .sharing-screenshots {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .screenshot-item .phone-frame {
        max-width: 160px;
    }

    .sharing-screenshots {
        gap: 16px;
    }

    .sharing-screenshots .phone-frame-small {
        max-width: 140px;
    }

    .privacy-features {
        flex-direction: column;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .phone-mockup {
        width: 200px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .screenshot-item .phone-frame {
        max-width: 140px;
    }

    .screenshot-label {
        font-size: 12px;
    }

    .sharing-screenshots .phone-frame-small {
        max-width: 120px;
    }
}
