/* ═══════════════════════════════════════════
   ART DIRECTION: Developer Lab — technical, precise, inviting
   Palette: Cool dark surfaces, warm teal accent (lab chemical glow)
   Typography: Cabinet Grotesk (display) + Satoshi (body) + JetBrains Mono (code)
   Density: Spacious — generous whitespace, large hero
   ═══════════════════════════════════════════ */

:root {
    --font-display: 'Cabinet Grotesk', 'Arial', sans-serif;
    --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
    --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
    --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
    --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
    --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --radius-full: 9999px;
    --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
    --content-narrow: 640px;
    --content-default: 960px;
    --content-wide: 1200px;
}

:root,
[data-theme="light"] {
    --color-bg: #f6f6f9;
    --color-surface: #ffffff;
    --color-surface-2: #f0f0f5;
    --color-surface-offset: #eaeaf0;
    --color-surface-dynamic: #e0e0e8;
    --color-divider: #d8d8e2;
    --color-border: #cdcdd8;
    --color-text: #1a1a2e;
    --color-text-muted: #5c5c78;
    --color-text-faint: #9898ac;
    --color-text-inverse: #f6f6f9;
    --color-primary: #0a8f7a;
    --color-primary-hover: #076b5c;
    --color-primary-active: #054d42;
    --color-primary-highlight: #d0ece6;
    --color-primary-glow: rgba(10, 143, 122, 0.12);
    --color-error: #a12c50;
    --color-success: #3a7a2a;
    --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.12);
    --hero-grid-color: rgba(10, 143, 122, 0.06);
    --hero-gradient: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(10, 143, 122, 0.08), transparent);
}

[data-theme="dark"] {
    --color-bg: #0b0b14;
    --color-surface: #111119;
    --color-surface-2: #181824;
    --color-surface-offset: #1e1e2c;
    --color-surface-dynamic: #28283a;
    --color-divider: #252536;
    --color-border: #32324a;
    --color-text: #e2e2ec;
    --color-text-muted: #8888a4;
    --color-text-faint: #555570;
    --color-text-inverse: #111119;
    --color-primary: #00e8a2;
    --color-primary-hover: #00ffb8;
    --color-primary-active: #00c88a;
    --color-primary-highlight: #1a3a30;
    --color-primary-glow: rgba(0, 232, 162, 0.15);
    --color-error: #dd6980;
    --color-success: #6daa45;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --hero-grid-color: rgba(0, 232, 162, 0.04);
    --hero-gradient: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0, 232, 162, 0.06), transparent);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --color-bg: #0b0b14;
        --color-surface: #111119;
        --color-surface-2: #181824;
        --color-surface-offset: #1e1e2c;
        --color-surface-dynamic: #28283a;
        --color-divider: #252536;
        --color-border: #32324a;
        --color-text: #e2e2ec;
        --color-text-muted: #8888a4;
        --color-text-faint: #555570;
        --color-text-inverse: #111119;
        --color-primary: #00e8a2;
        --color-primary-hover: #00ffb8;
        --color-primary-active: #00c88a;
        --color-primary-highlight: #1a3a30;
        --color-primary-glow: rgba(0, 232, 162, 0.15);
        --color-error: #dd6980;
        --color-success: #6daa45;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
        --hero-grid-color: rgba(0, 232, 162, 0.04);
        --hero-gradient: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0, 232, 162, 0.06), transparent);
    }
}

/* === BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: var(--space-16);
}

body {
    min-height: 100dvh;
    line-height: 1.6;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    background: var(--color-bg);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
    line-height: 1.15;
    font-family: var(--font-display);
}

p,
li,
figcaption {
    text-wrap: pretty;
    max-width: 72ch;
}

::selection {
    background: rgba(0, 232, 162, 0.2);
    color: var(--color-text);
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-interactive);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: oklch(from var(--color-bg) l c h / 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-divider);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--content-wide);
    margin: 0 auto;
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-link:hover {
    color: var(--color-primary);
}

.logo-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-lg);
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-interactive);
}

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

.theme-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-full);
    transition: background var(--transition-interactive),
        color var(--transition-interactive);
    color: var(--color-text-muted);
}

.theme-toggle:hover {
    background: var(--color-surface-offset);
    color: var(--color-text);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
}

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

    .mobile-menu-btn {
        display: grid;
    }
}

/* === MOBILE MENU OVERLAY === */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-8);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mobile-menu nav a {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-divider);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-4);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--hero-gradient),
        linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 15%;
    background: var(--color-primary);
    opacity: 0.08;
    animation: float-orb 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 15%;
    background: var(--color-primary);
    opacity: 0.05;
    animation: float-orb 25s ease-in-out infinite reverse;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0)
    }

    33% {
        transform: translate(30px, -20px)
    }

    66% {
        transform: translate(-20px, 30px)
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    background: var(--color-primary-highlight);
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: 500;
    font-family: var(--font-mono);
    margin-bottom: var(--space-6);
    letter-spacing: 0.02em;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8)
    }
}

.hero h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
    line-height: 1.05;
}

.hero h1 .accent {
    color: var(--color-primary);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto var(--space-8);
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text-faint);
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    animation: bounce-hint 2s ease-in-out infinite;
}

@keyframes bounce-hint {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(6px)
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    font-family: var(--font-body);
    transition: background var(--transition-interactive), color var(--transition-interactive),
        box-shadow var(--transition-interactive), transform var(--transition-interactive);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

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

.btn-primary:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-md),
        0 0 20px var(--color-primary-glow);
    color: var(--color-text-inverse);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-surface-offset);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    color: var(--color-text);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
}

.btn-ghost:hover {
    color: var(--color-text);
    background: var(--color-surface-offset);
}

/* === SECTIONS === */
.section {
    padding: clamp(var(--space-12), 6vw, var(--space-24)) var(--space-4);
}

.section-inner {
    max-width: var(--content-wide);
    margin: 0 auto;
}

.section-header {
    margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

.section-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
    max-width: 560px;
}

/* === APP CARDS GRID === */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: var(--space-6);
}

.app-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid oklch(from var(--color-text) l c h / 0.08);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow var(--transition-interactive), transform var(--transition-interactive),
        border-color var(--transition-interactive);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: oklch(from var(--color-primary) l c h / 0.3);
    color: var(--color-text);
}

.app-card:active {
    transform: translateY(-1px);
}

.app-card-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.app-card-meta {
    flex: 1;
    min-width: 0;
}

.app-card-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.app-card-tagline {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.4;
}

.app-card-footer {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-divider);
}

.app-card-badge {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    background: var(--color-surface-offset);
    color: var(--color-text-muted);
}

.app-card-stat {
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.star {
    color: #e8a500;
}

/* === ABOUT SECTION === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid oklch(from var(--color-text) l c h / 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-xl);
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

/* === APP DETAIL PAGE === */
.app-detail-hero {
    padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-4) clamp(var(--space-8), 4vw, var(--space-16));
    position: relative;
    overflow: hidden;
}

.app-detail-hero .hero-bg {
    opacity: 0.5;
}

.app-detail-inner {
    max-width: var(--content-default);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
    transition: color var(--transition-interactive);
}

.back-link:hover {
    color: var(--color-primary);
}

.app-detail-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

@media (max-width: 640px) {
    .app-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.app-icon-large {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-2xl);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.app-detail-info h1 {
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-1);
}

.app-detail-tagline {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.app-detail-meta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: var(--space-6);
}

.meta-item {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.app-detail-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .app-detail-actions {
        justify-content: center;
    }
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: var(--space-4);
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid oklch(from var(--color-text) l c h / 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-lg);
    background: var(--color-primary-highlight);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    font-size: 1.2rem;
}

.feature-card h3 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.feature-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* === PRIVACY / LEGAL PAGES === */
.legal-page {
    max-width: var(--content-narrow);
    margin: 0 auto;
    padding: clamp(var(--space-12), 6vw, var(--space-24)) var(--space-4);
}

.legal-page h1 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.legal-page .last-updated {
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    font-family: var(--font-mono);
    margin-bottom: var(--space-8);
}

.legal-page h2 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.legal-page p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
}

.legal-page ul {
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.legal-page li {
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

/* === FOOTER === */
.site-footer {
    border-top: 1px solid var(--color-divider);
    padding: var(--space-12) var(--space-4) var(--space-8);
}

.footer-inner {
    max-width: var(--content-wide);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-8);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-3);
}

.footer-links {
    display: flex;
    gap: var(--space-12);
}

.footer-col h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.footer-col a {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
    transition: color var(--transition-interactive);
}

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

.footer-bottom {
    max-width: var(--content-wide);
    margin: var(--space-8) auto 0;
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-divider);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    font-size: var(--text-xs);
    color: var(--color-text-faint);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-4);
}

.footer-bottom-links a {
    font-size: var(--text-xs);
    color: var(--color-text-faint);
}

/* === VIEWS === */
.view {
    display: none;
}

.view.active {
    display: block;
}

/* === SCROLL ANIMATIONS === */
.fade-in {
    opacity: 1;
}

@supports (animation-timeline: scroll()) {
    .fade-in {
        opacity: 0;
        animation: reveal-fade linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 100%;
    }
}

@keyframes reveal-fade {
    to {
        opacity: 1;
    }
}

/* JS fallback for scroll animations */
.js-reveal {
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal.revealed {
    opacity: 1;
}

/* === VIEW TRANSITIONS === */
.view-enter {
    animation: view-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes view-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        gap: var(--space-8);
    }
}

@media (max-width: 480px) {
    .app-detail-header {
        gap: var(--space-4);
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }
}