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

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

a {
    color: #60a5fa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    color: #e2e8f0;
}

em {
    color: #cbd5e1;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

ul {
    color: #94a3b8;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* ── Nav ── */

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.nav-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-logo:hover {
    opacity: 0.8;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: #fff;
    text-decoration: none;
}

/* ── Nav Dropdown ── */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 160px;
    list-style: none;
    margin: 0.25rem 0 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: #94a3b8;
    font-size: 0.85rem;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

/* ── Breadcrumb ── */

.breadcrumb {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    padding: 0.5rem 2rem 0;
}

.breadcrumb a {
    color: #64748b;
}

.breadcrumb a:hover {
    color: #94a3b8;
}

/* ── Learn More Links ── */

.feature-text .learn-more {
    color: #60a5fa;
    font-size: 0.95rem;
}

.feature-text .learn-more::after {
    content: ' \2192';
}

/* ── Hero ── */

.hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #94a3b8;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.hero-screenshot {
    max-width: 300px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    margin-bottom: 2.5rem;
}

.app-store-badge {
    display: inline-block;
    margin-top: 1rem;
}

.app-store-badge img {
    height: 54px;
}

.app-store-badge:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* ── Divider ── */

.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4a5568, transparent);
    margin: 2rem auto;
}

/* ── Feature Card Grid (Landing) ── */

.feature-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card img {
    max-width: 220px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
    margin-bottom: 1.5rem;
}

.feature-card.mac-card img {
    max-width: 100%;
    border-radius: 8px;
}

.feature-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.feature-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Section Header ── */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.05rem;
}

/* ── Platform Strip ── */

.platform-strip {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.platform-strip h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin: 0;
    font-weight: 400;
    color: #94a3b8;
}

.platform-strip span {
    color: #fff;
    font-weight: 600;
}

.platform-strip p {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* ── Platform Switcher ── */

.platform-switcher {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0 0;
}

.platform-tab {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-tab:hover {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.3);
}

.platform-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ── Alternating Feature Sections (Features Page) ── */

.feature-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-section.image-right .feature-image {
    order: 2;
}

.feature-section.image-right .feature-text {
    order: 1;
}

.feature-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: block;
    margin: 0 auto;
}

.feature-image.ipad img {
    max-width: 500px;
    border-radius: 16px;
}

.feature-image.mac img {
    max-width: 100%;
    border-radius: 8px;
}

.feature-image.watch {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.feature-image.watch img {
    max-width: 160px;
    border-radius: 50px;
}

.feature-text h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.feature-text p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.feature-section-divider {
    max-width: 1100px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* ── Page Header (Features, Privacy) ── */

.page-header {
    text-align: center;
    padding: 3rem 2rem 1rem;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* ── Privacy-specific ── */

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.summary-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.toc {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.toc ul {
    list-style: none;
    margin-left: 0;
}

.toc li {
    margin-bottom: 0.5rem;
}

/* ── Footer ── */

.site-footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

.site-footer a {
    color: #64748b;
}

.site-footer p {
    color: #475569;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    list-style: none;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }

    .feature-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    .feature-section.image-right .feature-image {
        order: 0;
    }

    .feature-section.image-right .feature-text {
        order: 0;
    }

    .feature-image img {
        max-width: 280px;
    }

    .feature-image.ipad img {
        max-width: 100%;
    }

    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .hero-screenshot {
        max-width: 240px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.25rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .feature-card img {
        max-width: 180px;
    }
}
