/* ========================================
   HeyRings Marketing Site Styles
   Dark Theme
   ======================================== */

/* CSS Variables */

/* Brand tokens — theme-invariant. These do not change between light/dark. */
:root {
    --gold: #E5A91A;
    --gold-light: #F5C76D;
    --gold-dark: #B8860B;
    --gradient-gold: linear-gradient(135deg, #F5C76D 0%, #E5A91A 50%, #C08401 100%);
    --transition-base: 0.3s ease;
    --on-gold: #0B0E14;
    --device-screen: #000;
}

/* Dark theme (current default).
   Applies when data-theme="dark" is set explicitly,
   AND as the default for :root when no data-theme attribute is present
   (the prefers-color-scheme: light media query below overrides this when
   the user's OS prefers light and no explicit theme is chosen). */
:root,
[data-theme="dark"] {
    --bg-dark: #0B0E14;
    --bg-surface: #12161F;
    --bg-card: #181D28;
    --bg-card-hover: #1E2433;
    --bg-elevated: #222838;
    --text-primary: #F1F3F7;
    --text-secondary: #9BA3B5;
    --text-muted: #5C6478;
    --gradient-bg: linear-gradient(180deg, #0B0E14 0%, #111620 100%);
    --gradient-surface: linear-gradient(145deg, #181D28 0%, #12161F 100%);
    --shadow-gold: 0 20px 50px rgba(229, 169, 26, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px rgba(229, 169, 26, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(229, 169, 26, 0.2);
    --nav-bg: rgba(11, 14, 20, 0.85);
    --nav-bg-scrolled: rgba(11, 14, 20, 0.95);
    --video-vignette: rgba(11, 14, 20, 0.35);
    /* Gold for solid text/icons — bright on dark for vibrancy */
    --gold-text: #E5A91A;
    --gold-text-hover: #F5C76D;
    /* Gold tint for hover backgrounds — soft on dark */
    --hover-gold-tint: rgba(229, 169, 26, 0.1);
}

/* Light theme.
   Applies when data-theme="light" is set explicitly. The block sits AFTER
   the dark block so an explicit data-theme="light" wins over the :root
   defaults (both selectors have equal specificity, so source order decides). */
[data-theme="light"] {
    --bg-dark: #FFFFFF;
    --bg-surface: #F7F8FA;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFBFD;
    --bg-elevated: #1A1F2C; /* device frames stay dark on purpose — see PRD §3 */
    --text-primary: #0B0E14;
    --text-secondary: #4B5263;
    --text-muted: #7A8294;
    --gradient-bg: linear-gradient(180deg, #FFFFFF 0%, #F4F5F8 100%);
    --gradient-surface: linear-gradient(145deg, #FFFFFF 0%, #F7F8FA 100%);
    --shadow-gold: 0 20px 50px rgba(153, 101, 21, 0.35);
    --shadow-card: 0 8px 32px rgba(11, 14, 20, 0.08);
    --shadow-glow: 0 0 60px rgba(153, 101, 21, 0.28);
    --border-subtle: rgba(11, 14, 20, 0.08);
    --border-gold: rgba(229, 169, 26, 0.3);
    --nav-bg: rgba(255, 255, 255, 0.85);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
    --video-vignette: rgba(11, 14, 20, 0.18);
    /* Darker gold for legibility on white surfaces — keeps gold identity, gains contrast */
    --gold-text: #996515;
    --gold-text-hover: #B8860B;
    /* Darker gold hover tint — visible on white instead of pale cream */
    --hover-gold-tint: rgba(153, 101, 21, 0.18);
}

/* OS-level preference fallback for users who have no explicit override.
   Placed AFTER the dark block so it overrides the :root dark defaults
   whenever data-theme is absent and the OS prefers light. Values mirror
   [data-theme="light"] above. */
@media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
        --bg-dark: #FFFFFF;
        --bg-surface: #F7F8FA;
        --bg-card: #FFFFFF;
        --bg-card-hover: #FAFBFD;
        --bg-elevated: #1A1F2C;
        --text-primary: #0B0E14;
        --text-secondary: #4B5263;
        --text-muted: #7A8294;
        --gradient-bg: linear-gradient(180deg, #FFFFFF 0%, #F4F5F8 100%);
        --gradient-surface: linear-gradient(145deg, #FFFFFF 0%, #F7F8FA 100%);
        --shadow-gold: 0 20px 50px rgba(153, 101, 21, 0.35);
        --shadow-card: 0 8px 32px rgba(11, 14, 20, 0.08);
        --shadow-glow: 0 0 60px rgba(153, 101, 21, 0.28);
        --border-subtle: rgba(11, 14, 20, 0.08);
        --border-gold: rgba(229, 169, 26, 0.3);
        --nav-bg: rgba(255, 255, 255, 0.85);
        --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
        --video-vignette: rgba(11, 14, 20, 0.18);
        --gold-text: #996515;
        --gold-text-hover: #B8860B;
        --hover-gold-tint: rgba(153, 101, 21, 0.18);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-rings {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar.scrolled {
    background: var(--nav-bg-scrolled);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(229, 169, 26, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}


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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-base);
}

.nav-links a:hover {
    color: var(--gold-text-hover);
}

.nav-cta {
    background: var(--gradient-gold);
    color: var(--on-gold);
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

/* Right-side nav cluster: theme toggle + Download CTA */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    /* Light mode disabled — toggle hidden. Markup, CSS, and JS infrastructure
       remain so this can be re-enabled by removing this display:none and
       restoring the pre-paint scripts in the HTML <head>s. */
    display: none;

    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    border-radius: 100px;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-base), background var(--transition-base);
}

.theme-toggle:hover {
    color: var(--gold-text-hover);
    background: var(--hover-gold-tint);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--gold-text-hover);
    outline-offset: 2px;
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

/* Icon visibility is driven entirely by the data-theme attribute on <html>
   (or its absence + prefers-color-scheme), so the icon shows the right
   state on first paint without waiting for JS. */
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    display: none;
}

/* Auto (no override): pick icon by OS preference */
:root:not([data-theme]) .theme-toggle .icon-moon {
    display: block;
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme]) .theme-toggle .icon-moon { display: none; }
    :root:not([data-theme]) .theme-toggle .icon-sun { display: block; }
}

/* Explicit override wins */
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-bg);
}

.hero-glow {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(229, 169, 26, 0.12) 0%, rgba(229, 169, 26, 0.04) 40%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 169, 26, 0.1);
    border: 1px solid rgba(229, 169, 26, 0.25);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--gold-text-hover);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-text);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    margin-bottom: 24px;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--on-gold);
}

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

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold);
}

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-text);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero marketing video — autoplays muted on page load */
.hero-video-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    border-radius: 32px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-video-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(229, 169, 26, 0.08) 0%, transparent 18%, transparent 82%, var(--video-vignette) 100%);
}

.hero-video-frame:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), 0 0 80px rgba(229, 169, 26, 0.25);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(229, 169, 26, 0.1);
    color: var(--gold-text);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(229, 169, 26, 0.15);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 500px;
    margin: 16px auto 0;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(229, 169, 26, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold-text);
}

.feature-card h3 {
    margin-bottom: 12px;
}

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

/* Screenshot Gallery Section */
.screenshots-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.screenshot-item {
    text-align: center;
    transition: transform var(--transition-base);
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

.screenshot-phone {
    background: var(--bg-elevated);
    border-radius: 20px;
    padding: 6px;
    margin-bottom: 14px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all var(--transition-base);
}

.screenshot-item:hover .screenshot-phone {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-glow);
}

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

.screenshot-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.screenshot-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* iPhone Section */
.iphone-section {
    padding: 120px 0;
    background: var(--bg-surface);
}

.iphone-section .section-header {
    text-align: center;
    margin-bottom: 0;
}

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

.iphone-text .section-tag {
    margin-bottom: 16px;
}

.iphone-text h2 {
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    display: flex;
    gap: 16px;
}

.list-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(229, 169, 26, 0.12);
    color: var(--gold-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.list-icon svg {
    width: 14px;
    height: 14px;
}

.feature-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-list span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Feature list grid — full-width two-column checklist */
.feature-list-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
    margin-top: 48px;
}

.feature-list-grid li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-list-grid .list-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(229, 169, 26, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-text);
    margin-top: 2px;
}

.feature-list-grid .list-icon svg {
    width: 14px;
    height: 14px;
}

.feature-list-grid strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.feature-list-grid span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .feature-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.iphone-visual {
    display: flex;
    justify-content: center;
}

.iphone-frame {
    width: 300px;
    height: 600px;
    background: var(--bg-elevated);
    border-radius: 50px;
    padding: 12px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    border: 1px solid var(--border-gold);
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: var(--device-screen);
    border-radius: 40px;
    overflow: hidden;
}

/* Watch Section */
.watch-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

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

.watch-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.watch-frame {
    width: 200px;
    height: 240px;
    background: var(--bg-elevated);
    border-radius: 45px;
    padding: 10px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
}

.watch-screen {
    width: 100%;
    height: 100%;
    background: var(--device-screen);
    border-radius: 38px;
    overflow: hidden;
}

.watch-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.watch-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 169, 26, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.watch-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.watch-feature {
    display: flex;
    gap: 16px;
}

.wf-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(229, 169, 26, 0.1);
    color: var(--gold-text);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-icon svg {
    width: 20px;
    height: 20px;
}

.watch-feature strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.watch-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-surface);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    color: var(--on-gold);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-content h3 {
    margin-bottom: 12px;
}

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

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto 0;
}

.step-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold-text);
}

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-text), transparent);
    margin-top: 24px;
    opacity: 0.3;
}

/* Languages Section */
.languages-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.languages-content {
    text-align: center;
}

.languages-content h2 {
    margin-bottom: 16px;
}

.languages-content > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.language-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.lang-tag {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.lang-tag:hover {
    border-color: var(--border-gold);
    color: var(--gold-text-hover);
    background: var(--bg-card-hover);
}

/* Download Section */
.download-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
}

.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(229, 169, 26, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.download-content h2 {
    margin-bottom: 16px;
}

.download-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    transition: all var(--transition-base);
    margin-bottom: 32px;
}

.app-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(229, 169, 26, 0.2);
}

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

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-small {
    font-size: 0.7rem;
    opacity: 0.7;
}

.btn-large {
    font-size: 1.25rem;
    font-weight: 600;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
}

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

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color var(--transition-base);
}

.footer-col a:hover {
    color: var(--gold-text-hover);
}

.footer-made-with {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-made-with .heart-icon {
    width: 16px;
    height: 16px;
    color: #EF4444;
}

.footer-made-with .octicorp {
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.05rem;
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 40px;
    }

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

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

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

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

    .screenshot-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .iphone-content,
    .watch-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .iphone-text,
    .watch-text {
        text-align: center;
    }

    .feature-list,
    .watch-features {
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-list li,
    .watch-feature {
        text-align: left;
    }

    .watch-visual {
        order: -1;
    }

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

    .footer-links {
        justify-items: center;
    }
}

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

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

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

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--gold-text), transparent);
        margin: 0;
    }

    .floating-card {
        display: none;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

    .hero-video-frame {
        max-width: 280px;
        border-radius: 26px;
    }

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

    .screenshot-phone {
        padding: 4px;
        border-radius: 14px;
    }

    .screenshot-phone img {
        border-radius: 10px;
    }

    .screenshot-item p {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .iphone-frame {
        width: 260px;
        height: 520px;
    }

    .watch-frame {
        width: 160px;
        height: 190px;
    }
}
