/* Minimal Indie App Styles */

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

:root {
    /* Colors */
    --text: #000;
    --text-secondary: #666;
    --text-tertiary: #999;
    --text-primary: #000;
    --background: #fff;
    --surface: #f5f5f7;
    --border: #e5e5e7;
    --border-color: #e5e5e7;
    --accent: #007aff;
    --accent-light: #4da3ff;
    --accent-gradient: linear-gradient(135deg, #007aff, #00ffff, #00c851);
    --accent-text: #fff;
    --primary: #007aff;
    --card-background: #f5f5f7;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Border Radius */
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;

    /* Typography - Font Stack */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Typography - Font Sizes (Based on Hero) */
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-md: 1.125rem;    /* 18px */
    --font-size-lg: 1.375rem;    /* 22px - hero subtitle */
    --font-size-xl: 1.75rem;     /* 28px */
    --font-size-2xl: 2.25rem;    /* 36px - feature headlines */
    --font-size-3xl: 2.5rem;     /* 40px */
    --font-size-4xl: 3.5rem;     /* 56px - hero title */

    /* Typography - Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Typography - Line Heights */
    --line-height-tight: 1.1;
    --line-height-snug: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;
    --line-height-loose: 1.8;

    /* Typography - Letter Spacing */
    --letter-spacing-tighter: -0.03em;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: -0.01em;
    --letter-spacing-wide: 0.025em;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #fff;
        --text-primary: #fff;
        --text-secondary: #a1a1a6;
        --text-tertiary: #8e8e93;
        --background: #000;
        --surface: #1c1c1e;
        --border: #38383a;
        --border-color: #38383a;
        --accent: #0a84ff;
        --accent-light: #409cff;
        --primary: #0a84ff;
        --card-background: #1c1c1e;
    }
}

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

body {
    min-height: 100vh;
}

/* Typography - Base Styles */
h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--spacing);
}

h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-normal);
    margin-bottom: var(--spacing);
}

h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--spacing);
}

a {
    color: var(--accent);
    text-decoration: none;
}

/* Layout */
.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.875rem 0;

    /* Apple Liquid Glass Effect 2025 */
    background: rgba(248, 248, 248, 0.68);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);

    /* Refined Glass Edge */
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);

    /* Multi-layered shadows for depth */
    box-shadow:
        /* Inner light edge for glass shine */
        0 1px 0 0 rgba(255, 255, 255, 0.8) inset,
        /* Subtle outer edge definition */
        0 0 0 0.5px rgba(0, 0, 0, 0.04),
        /* Soft ambient shadow */
        0 8px 32px rgba(0, 0, 0, 0.035),
        /* Deeper shadow for floating effect */
        0 2px 8px rgba(0, 0, 0, 0.02);

    /* Smooth transitions */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode Liquid Glass */
@media (prefers-color-scheme: dark) {
    .site-header {
        background: rgba(28, 28, 30, 0.68);
        border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
        box-shadow:
            0 1px 0 0 rgba(255, 255, 255, 0.05) inset,
            0 0 0 0.5px rgba(255, 255, 255, 0.04),
            0 8px 32px rgba(0, 0, 0, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

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

.app-name {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text);
}

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

.app-name strong {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-md);
}

.nav-items {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-items a {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

.nav-cta {
    position: relative;
    padding: 0.5rem 1.125rem;
    background: var(--accent);
    color: var(--accent-text) !important;
    border-radius: 20px;
    font-weight: var(--font-weight-medium);
    font-size: 0.9375rem;
    text-decoration: none;

    /* Glass button refinement */
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.08),
        0 0 0 0.5px rgba(255, 255, 255, 0.1) inset;

    /* Smooth interactions */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 0 0.5px rgba(255, 255, 255, 0.2) inset;
}

.nav-cta:active {
    transform: translateY(0);
}

/* Hero Interactive */
.hero-interactive {
    padding: 4rem 0 2rem;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
}

.hero-line {
    display: block;
}

.subtitle {
    font-size: 1.375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-wrap: pretty; /* Prevents widows/orphans in modern browsers */
    hyphens: none;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-screenshot {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Minimal Theme Selector */
.theme-selector-minimal {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.theme-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.theme-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.theme-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 1;
}

.theme-dot[data-theme="ocean"]::before {
    background: linear-gradient(135deg, #007aff, #00ffff, #00c851);
}

.theme-dot[data-theme="lime"]::before {
    background: linear-gradient(135deg, #00c851, #99ff33, #ffeb3b);
}

.theme-dot[data-theme="amber"]::before {
    background: linear-gradient(135deg, #ffeb3b, #ffff00, #ff9800);
}

.theme-dot[data-theme="sunset"]::before {
    background: linear-gradient(135deg, #ff9800, #ff6600, #ff3d00);
}

.theme-dot[data-theme="ruby"]::before {
    background: linear-gradient(135deg, #ff3d00, #ff0066, #9c27b0);
}

.theme-dot[data-theme="lavender"]::before {
    background: linear-gradient(135deg, #9c27b0, #8000ff, #007aff);
}

.theme-dot[data-theme="monochrome"]::before {
    background: linear-gradient(135deg, #666, #999, #ccc);
}

.theme-dot:hover {
    transform: scale(1.1);
}

.theme-dot.active {
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--accent);
    transform: scale(1.05);
}

.theme-label {
    font-size: 0.6875rem;
    color: #86868b; /* Apple's caption gray */
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: opacity 0.3s ease;
}

/* Mini Theme Selector for detail sections */
.theme-selector-mini {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 1.5rem;
}

.theme-dot-mini {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.theme-dot-mini::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 1;
}

.theme-dot-mini[data-theme="ocean"]::before {
    background: linear-gradient(135deg, #007aff, #00ffff, #00c851);
}

.theme-dot-mini[data-theme="lime"]::before {
    background: linear-gradient(135deg, #00c851, #99ff33, #ffeb3b);
}

.theme-dot-mini[data-theme="amber"]::before {
    background: linear-gradient(135deg, #ffeb3b, #ffff00, #ff9800);
}

.theme-dot-mini[data-theme="sunset"]::before {
    background: linear-gradient(135deg, #ff9800, #ff6600, #ff3d00);
}

.theme-dot-mini[data-theme="ruby"]::before {
    background: linear-gradient(135deg, #ff3d00, #ff0066, #9c27b0);
}

.theme-dot-mini[data-theme="lavender"]::before {
    background: linear-gradient(135deg, #9c27b0, #8000ff, #007aff);
}

.theme-dot-mini[data-theme="monochrome"]::before {
    background: linear-gradient(135deg, #666, #999, #ccc);
}

.theme-dot-mini:hover {
    transform: scale(1.2);
}

.theme-dot-mini.active {
    box-shadow: 0 0 0 1.5px white, 0 0 0 3px var(--accent);
    transform: scale(1.1);
}

@media (prefers-color-scheme: dark) {
    .theme-option[data-theme="monochrome"] .theme-gradient {
        background: linear-gradient(135deg, #999, #666, #333);
    }
}

/* Feature Details Below */
.feature-details-below {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
}

.showcase-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text);
}

/* Feature Navigation */
.feature-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-nav-btn {
    padding: 0.5rem 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.feature-nav-btn:hover {
    border-color: var(--accent);
}

.feature-nav-btn.active {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
}

/* Feature Details */
.feature-detail {
    display: none;
}

.feature-detail.active {
    display: block;
}

.detail-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.detail-description {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    font-size: 0.9375rem;
}

/* Widget Showcase */
.widget-showcase {
    text-align: center;
}

.widget-sizes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.widget-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.widget-preview {
    background: var(--background);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.widget-card.small .widget-preview {
    width: 60px;
    height: 60px;
    padding: 0.5rem;
}

.widget-card.medium .widget-preview {
    width: 120px;
    height: 80px;
}

.widget-card.large .widget-preview {
    width: 160px;
    height: 100px;
}

.week-number {
    font-weight: 600;
    font-size: 1.125rem;
}

.week-dates {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.week-days {
    display: flex;
    gap: 0.5rem;
    font-size: 0.625rem;
    margin-top: 0.5rem;
}

.week-days .weekend {
    color: var(--accent);
}

.widget-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Watch Showcase */
.watch-complications {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.complication-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.complication-preview {
    width: 80px;
    height: 80px;
    background: var(--background);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.complication-preview.corner {
    border-radius: var(--radius);
    font-size: 1.5rem;
}

.complication-preview.circular {
    border-radius: 50%;
    font-size: 1.125rem;
}

.complication-preview.modular {
    border-radius: var(--radius);
    width: 140px;
    height: 60px;
    font-size: 0.875rem;
}

/* Calendar Integration */
.integration-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-icon {
    font-size: 2rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.nerd-label {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    text-align: center;
}


.nerd-levels {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: nowrap; /* Never wrap */
    overflow-x: auto; /* Allow scroll if needed */
}

.nerd-level-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 80px;
    width: 90px;
    height: 90px;
    flex-shrink: 0; /* Prevent shrinking */
}

.nerd-level-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.nerd-level-btn.active {
    border-color: var(--accent);
    background: var(--accent);
}

.nerd-level-btn.active .nerd-emoji,
.nerd-level-btn.active .nerd-name {
    color: var(--accent-text);
}

.nerd-emoji {
    font-size: 2rem;
}

.nerd-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nerd-description {
    text-align: left;
    padding: 1.5rem;
    background: var(--background);
    border-radius: var(--radius);
}

.nerd-description h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.nerd-description p {
    margin-bottom: 1rem;
}

.nerd-description ul {
    list-style: none;
    margin: 0;
}

.nerd-description li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* App Badges */
.app-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.app-store-link img {
    height: 40px;
}

.app-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

/* Hero Features */
.hero-features {
    padding: 3rem 0;
}

.features-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 1rem;
}

.feature-card {
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--background);
    transition: border-color 0.2s;
}

.feature-card.active .feature-image {
    border-color: var(--accent);
    border-width: 2px;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

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

.selection-indicator {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}

.feature-card.active .selection-indicator {
    opacity: 1;
}

/* Features Comparison */
.features-comparison {
    padding: 3rem 0;
    background: var(--surface);
}

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

.comparison-table {
    max-width: 600px;
    margin: 0 auto;
    background: var(--background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
}

.plan-name {
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

.plan-name:first-child {
    text-align: left;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.highlight {
    background: var(--surface);
}

.feature-name {
    padding: 1rem;
    font-size: 0.9375rem;
}

.feature-check {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.feature-check.accent {
    color: var(--accent);
    font-weight: 600;
}

.features-note {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2rem;
    font-size: 0.875rem;
}

/* Resource Tiles */
.resource-tiles {
    padding: 3rem 0;
}

.tiles-grid {
    display: flex;
    justify-content: center;
}

.tile {
    display: block;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
    max-width: 400px;
}

.tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.tile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tile-icon {
    color: var(--accent);
}

.tile h3 {
    color: var(--text);
}

.tile p {
    font-size: 0.9375rem;
}

.tile-link {
    color: var(--accent);
    font-weight: 500;
}

/* Reviews */
.reviews-simple {
    padding: 3rem 0;
    background: var(--surface);
}

.reviews-simple h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review {
    padding: 1.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.review p {
    margin-bottom: 1rem;
    font-style: italic;
}

.review footer {
    display: flex;
    justify-content: space-between;
}

.review cite {
    font-style: normal;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stars {
    color: #ffc107;
}

/* CTA */
.cta-simple {
    padding: 3rem 0;
    text-align: center;
}

.cta-simple p {
    margin-bottom: 1.5rem;
}

.small-print {
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Footer */
.footer-simple {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.footer-app p {
    font-size: var(--font-size-sm);
    margin: 0;
}

.footer-nav,
.footer-connect {
    display: flex;
    gap: 1rem;
}

.footer-nav a,
.footer-connect a {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* MAIN LAYOUT STYLES - Desktop First */

/* Hero Section */
.hero-app {
    padding: 5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    order: 1;
}

.hero-phone {
    order: 2;
    display: flex;
    justify-content: center;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    margin-top: 2rem;
}

/* Screenshots and Phone Displays */
.iphone-screen {
    width: 350px;
    max-width: 100%;
    height: auto;
    border-radius: 40px;
    object-fit: contain;
    display: block;
}

.iphone-screen.small {
    width: 280px;
    max-width: 100%;
}

/* Feature Sections */
.section-feature {
    padding: 5rem 0;
}

.section-feature.shaded {
    background: var(--surface);
}

.section-feature-center {
    padding: 5rem 0;
    text-align: center;
    background: var(--surface);
}

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

.section-feature.reverse .feature-row {
    direction: rtl;
}

.section-feature.reverse .feature-text {
    direction: ltr;
}

.feature-headline {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.feature-headline-center {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1.5rem;
}

.feature-description {
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 500px;
}

.feature-description-center {
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.feature-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.feature-phones-duo {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.feature-watches-clean {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem auto;
}

.watch-with-band {
    height: 280px;
    width: auto;
    object-fit: contain;
}

.watch-with-band.large {
    height: 320px;
}

/* Nerd Levels */
.nerd-levels-inline {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.nerd-level {
    padding: 0.5rem;
    background: var(--surface);
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.2s;
}

.nerd-level:hover {
    transform: translateY(-2px);
    background: var(--background);
}

.nerd-level.active {
    border-color: var(--accent);
    background: var(--background);
}

.nerd-features {
    margin-top: 1.5rem;
}

.nerd-feature-list {
    display: none;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.nerd-feature-list.active {
    display: block;
}

.nerd-feature-list h4 {
    margin-bottom: 1rem;
    font-size: var(--font-size-md);
}

.nerd-feature-list ul {
    list-style: none;
    padding: 0;
}

.nerd-feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.nerd-feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Closing Section */
.section-closing {
    padding: 4rem 0 5rem;
    background: var(--surface);
}

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

.section-headline {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.section-copy {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.closing-cta {
    margin-top: 2rem;
}

.app-store-badge img {
    width: 180px;
    height: auto;
}

/* MOBILE - Simple stacking at 768px */
@media (max-width: 768px) {
    /* Basic container padding */
    .container {
        padding: 0 1.25rem;
    }

    /* Stack everything vertically */
    .hero-grid,
    .feature-row {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    /* Always show images first */
    .hero-phone,
    .feature-phone,
    .feature-phones-duo {
        order: -1; /* Images always first */
    }

    /* Center all text on mobile */
    .hero-content,
    .feature-text {
        text-align: center;
    }

    /* Remove directional overrides */
    .section-feature.reverse .feature-row {
        direction: ltr;
    }

    /* Simple image sizing */
    .iphone-screen {
        width: 300px;
        max-width: 85vw;
    }

    .iphone-screen.small {
        width: 240px;
        max-width: 75vw;
    }

    /* Stack duo phones vertically */
    .feature-phones-duo {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Adjust watch sizes */
    .watch-with-band {
        height: 220px;
    }

    .watch-with-band.large {
        height: 260px;
    }

    /* Simple typography scaling */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .feature-headline,
    .section-headline {
        font-size: 1.75rem;
    }

    .feature-description {
        font-size: 1rem;
    }

    /* Compact header */
    .app-logo {
        width: 32px;
        height: 32px;
    }

    .nav-cta {
        padding: 0.375rem 0.875rem;
        font-size: 0.875rem;
    }

    /* Stack footer */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-nav,
    .footer-connect {
        justify-content: center;
    }
}
