/* ========================================
   LATENT & MANIFEST — 胶片摄影系统官网
   重构版：参考 ManifestCompanionDetailView 设计语言
   极简 · 暗调 · 胶片美学 · 仪式感
   ======================================== */

:root {
    --color-bg: #000000;
    --color-bg-alt: #0a0a0a;
    --color-surface: rgba(255,255,255,0.04);
    --color-surface-border: rgba(255,255,255,0.07);

    --color-orange: #ff9500;
    --color-orange-dim: rgba(255,149,0,0.15);
    --color-orange-border: rgba(255,149,0,0.3);

    --color-red: #d93832;
    --color-red-dim: rgba(217,56,50,0.15);
    --color-red-border: rgba(217,56,50,0.3);

    --color-green: #34c759;
    --color-green-dim: rgba(52,199,89,0.15);

    --color-text: #ffffff;
    --color-text-secondary: #888888;
    --color-text-muted: #555555;
    --color-divider: rgba(255,255,255,0.06);

    --font-mono: "SF Mono", "Monaco", "Consolas", "Liberation Mono", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", monospace;
    --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --container-max: 960px;
    --section-gap: 120px;
    --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-system);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
}

/* Grain overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0,0); }
    10% { transform: translate(-5%,-5%); }
    30% { transform: translate(5%,-5%); }
    50% { transform: translate(-5%,5%); }
    70% { transform: translate(5%,5%); }
    90% { transform: translate(-5%,0); }
}

/* ========================================
   Hero
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 28px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.hero-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.2s;
}

.hero-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--color-surface-border);
}

.hero-app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-icon-connector {
    color: rgba(255,255,255,0.2);
}

.hero-title {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.4s;
}

.title-main {
    font-family: var(--font-mono);
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
}

.hero-brand-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.6s;
}

.brand-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
}

.brand-tag--latent { color: var(--color-orange); opacity: 0.8; }
.brand-tag--manifest { color: var(--color-red); opacity: 0.8; }
.brand-tag-plus {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.25);
}

.hero-subtitle {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 300;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
}

.hero-tagline {
    font-size: 14px;
    color: var(--color-text-muted);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.hero-credit {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    margin-top: 12px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.4s;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   Section Base
   ======================================== */
.section {
    padding: var(--section-gap) 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.label-bar {
    width: 12px;
    height: 2px;
    background: var(--color-orange);
    border-radius: 1px;
}
.label-bar--orange { background: var(--color-orange); }
.label-bar--red { background: var(--color-red); }
.label-bar--green { background: var(--color-green); }

.label-text {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,149,0,0.8);
}
.label-text--orange { color: rgba(255,149,0,0.8); }
.label-text--red { color: rgba(217,56,50,0.8); }
.label-text--green { color: rgba(52,199,89,0.8); }

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy-section {
    background: var(--color-bg);
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.philosophy-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-border);
    border-radius: 12px;
}

.philosophy-icon {
    flex-shrink: 0;
    width: 20px;
    margin-bottom: 16px;
    color: var(--color-orange);
}
.philosophy-icon--red { color: var(--color-red); }
.philosophy-icon--warm { color: #ffcc00; }

.philosophy-icon svg {
    width: 18px;
    height: 18px;
}

.philosophy-card h3 {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.philosophy-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================
   App Sections (LATENT & MANIFEST)
   ======================================== */
.app-section {
    background: var(--color-bg-alt);
}

.app-section--dark {
    background: var(--color-bg);
}

.app-hero-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.app-hero-row--reverse {
    direction: rtl;
}
.app-hero-row--reverse > * {
    direction: ltr;
}

.app-hero-icon-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.app-section-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid var(--color-surface-border);
}

.app-hero-name {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-orange);
}

.app-hero-name--red {
    color: var(--color-red);
}

.app-hero-role {
    font-size: 12px;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.app-hero-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-border);
    border-radius: 12px;
    transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
    border-color: var(--color-orange-border);
    transform: translateY(-2px);
}

.feature-card--red:hover {
    border-color: var(--color-red-border);
}

.feature-card-icon {
    width: 20px;
    height: 20px;
    color: var(--color-orange);
    margin-bottom: 16px;
}

.feature-card--red .feature-card-icon {
    color: var(--color-red);
}

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

.feature-card h4 {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

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

/* ========================================
   Viewfinder Mockup (LATENT)
   ======================================== */
.app-visual {
    display: flex;
    justify-content: center;
}

.viewfinder-mockup {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.viewfinder-frame {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.viewfinder-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 32.5%, rgba(255,255,255,0.08) 33%, transparent 33.5%),
        linear-gradient(90deg, transparent 65.5%, rgba(255,255,255,0.08) 66%, transparent 66.5%),
        linear-gradient(transparent 32.5%, rgba(255,255,255,0.08) 33%, transparent 33.5%),
        linear-gradient(transparent 65.5%, rgba(255,255,255,0.08) 66%, transparent 66.5%);
    pointer-events: none;
}

.viewfinder-info {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.vf-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    padding: 3px 6px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.viewfinder-center-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

.viewfinder-center-mark::before,
.viewfinder-center-mark::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.15);
}
.viewfinder-center-mark::before {
    width: 1px; height: 8px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.viewfinder-center-mark::after {
    width: 8px; height: 1px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.shutter-btn-wrap {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.shutter-button {
    width: 56px;
    height: 56px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shutter-button::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
}

.shutter-button:hover {
    border-color: var(--color-orange);
}

/* ========================================
   Darkroom Mockup (MANIFEST)
   ======================================== */
.darkroom-mockup {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 3/4;
    background: rgb(20, 5, 5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safelight {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--color-red) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    animation: safelightPulse 4s ease-in-out infinite;
}

@keyframes safelightPulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(0.9); }
    50% { opacity: 0.6; transform: translateX(-50%) scale(1.1); }
}

.darkroom-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.developing-tray {
    width: 220px;
    height: 120px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    padding-bottom: 12px;
}

.tray-liquid {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(139,0,0,0.08) 0%, rgba(139,0,0,0.03) 100%);
    animation: liquidWave 3s ease-in-out infinite;
}

@keyframes liquidWave {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.frame-slot {
    width: 48px;
    height: 64px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-bottom: none;
    border-radius: 2px 2px 0 0;
    background: rgba(255,255,255,0.02);
    position: relative;
    z-index: 1;
}

.develop-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.timer-label {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.timer-count {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-red);
}

/* ========================================
   App Section Screenshots
   ======================================== */
.app-screenshots {
    margin-top: 48px;
}

.screenshots-app-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 48px 0 24px;
}

.screenshots-app-title:first-of-type {
    margin-top: 0;
}

.app-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 12px;
    border-radius: 4px;
}

.app-tag--latent {
    color: var(--color-orange);
    background: var(--color-orange-dim);
    border: 1px solid var(--color-orange-border);
}

.app-tag--manifest {
    color: var(--color-red);
    background: var(--color-red-dim);
    border: 1px solid var(--color-red-border);
}

.app-subtitle {
    font-size: 12px;
    color: var(--color-text-muted);
}

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

.screenshot-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.screenshot-img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.15);
    transition: transform var(--transition), border-color var(--transition);
    cursor: pointer;
}

.screenshot-img:hover {
    transform: scale(1.03);
    border-color: rgba(255,255,255,0.3);
}

.screenshot-caption {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    text-align: center;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* ========================================
   Workflow Section
   ======================================== */
.workflow-section {
    background: var(--color-bg);
}

.workflow-timeline {
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-border);
    border-radius: 12px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-circle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-orange-dim);
    border: 1px solid var(--color-orange-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-circle span {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--color-orange);
}

.step-body h3 {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.step-body p {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.step-connector-line {
    width: 1px;
    height: 28px;
    background: rgba(255,149,0,0.25);
    margin-left: 17px;
}

/* ========================================
   Privacy Section
   ======================================== */
.privacy-section {
    background: var(--color-bg-alt);
}

.privacy-learn-more {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-green);
    text-decoration: none;
    padding: 6px 14px;
    background: var(--color-green-dim);
    border: 1px solid rgba(52, 199, 89, 0.3);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.privacy-learn-more:hover {
    background: rgba(52, 199, 89, 0.25);
    transform: translateX(2px);
}

@media (max-width: 640px) {
    .section-label {
        flex-wrap: wrap;
    }

    .privacy-learn-more {
        margin-left: 22px;
        margin-top: 8px;
    }
}

.privacy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.privacy-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-border);
    border-radius: 12px;
}

.privacy-icon {
    flex-shrink: 0;
    width: 20px;
    margin-bottom: 16px;
    color: var(--color-green);
}

.privacy-icon svg {
    width: 18px;
    height: 18px;
}

.privacy-card h4 {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.privacy-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================
   Download Section
   ======================================== */
.download-section {
    background: var(--color-bg);
    padding: var(--section-gap) 0;
}

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

.download-title {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: #f5f5f5;
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
    text-decoration: none;
}

.download-btn:hover {
    background: #ffffff;
    transform: scale(1.02);
}

.app-store-icon {
    width: 24px;
    height: 24px;
}

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

.btn-text-small {
    font-size: 10px;
    opacity: 0.7;
}

.btn-text-large {
    font-size: 16px;
    font-weight: 600;
}

/* Two download buttons row */
.download-apps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin: 40px 0;
}

.download-app-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 160px;
}

.download-showcase-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.download-showcase-name {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-text-primary);
    margin-top: 4px;
}

.download-showcase-role {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.download-divider-vertical {
    width: 1px;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
    align-self: center;
}

.download-note {
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--color-divider);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 28px;
    opacity: 0.4;
}

.footer-divider {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 200;
}

.footer-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
}

.footer-copyright {
    font-size: 11px;
    color: var(--color-text-muted);
}

.footer-copyright .app-tag {
    font-size: 10px;
    padding: 2px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 2px;
    text-decoration: none;
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
    .app-hero-row,
    .app-hero-row--reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

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

    .philosophy-cards {
        grid-template-columns: 1fr;
    }

    .privacy-cards {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    :root {
        --section-gap: 80px;
    }

    .hero { padding: 60px 20px; }

    .hero-icon-wrapper {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

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

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

    .screenshot-caption {
        font-size: 8px;
    }

    .viewfinder-mockup,
    .darkroom-mockup {
        max-width: 280px;
    }

    .app-hero-row {
        text-align: center;
    }

    .app-hero-icon-row {
        justify-content: center;
    }

    .app-hero-desc {
        text-align: center;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .download-apps-container {
        flex-direction: column;
        gap: 24px;
    }

    .download-divider-vertical {
        width: 100px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    }

    .download-showcase-icon {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .download-showcase-role {
        margin-bottom: 12px;
    }
}
