/* ===========================
   Light & Deep — Marketing Site
   Dark theme, mobile-first
   Inter typeface, amber accent
   =========================== */

:root {
    --bg: #000000;
    --bg-card: #0c0c0c;
    --bg-card-hover: #141414;
    --bg-elevated: #181818;
    --text: #f0f0f0;
    --text-muted: #8a8f98;
    --text-dim: #555;
    --accent: #fbb734;
    --accent-light: #ffce5a;
    --accent-dim: rgba(251, 183, 52, 0.10);
    --accent-glow: rgba(251, 183, 52, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1140px;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 1000;
    background: var(--accent);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===========================
   Navigation
   =========================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.92);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.875rem var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    object-fit: cover;
    display: block;
}

.nav-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(251, 183, 52, 0.4);
    border-radius: 999px;
    transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.nav-cta:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* ===========================
   Sections (shared)
   =========================== */

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto var(--space-lg);
    line-height: 1.6;
}

/* ===========================
   Hero
   =========================== */

.hero {
    padding-top: calc(5rem + 3.5rem);
    padding-bottom: var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 600px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    pointer-events: none;
}

.hero-app-icon {
    width: clamp(96px, 14vw, 128px);
    height: clamp(96px, 14vw, 128px);
    border-radius: 24px;
    object-fit: cover;
    display: block;
    margin: 0 auto var(--space-sm);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
    position: relative;
}

.hero-headline {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: var(--space-sm);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-md);
    line-height: 1.6;
}

.hero-cta {
    margin-bottom: var(--space-lg);
}

.hero-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: var(--space-sm);
}

/* Hero video wrapper */
.hero-video-wrap {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 20 / 10;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    display: none;
}

/* Viewfinder visual */
.hero-viewfinder {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: center;
    overflow: hidden;
}

.hero-viewfinder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-viewfinder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 20px var(--accent-dim);
}

.viewfinder-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.viewfinder-crosshair::before,
.viewfinder-crosshair::after {
    content: '';
    position: absolute;
    background: var(--accent);
    opacity: 0.25;
}

.viewfinder-crosshair::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
}

.viewfinder-crosshair::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
}

.viewfinder-label {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.viewfinder-distance {
    position: absolute;
    top: 50%;
    left: calc(50% + 36px);
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.viewfinder-corners {
    position: absolute;
    inset: 20%;
    pointer-events: none;
}

.viewfinder-corners::before,
.viewfinder-corners::after {
    content: '';
    position: absolute;
    border-color: rgba(255, 255, 255, 0.15);
    border-style: solid;
}

.viewfinder-corners::before {
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border-width: 1.5px 0 0 1.5px;
}

.viewfinder-corners::after {
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-width: 0 1.5px 1.5px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

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

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 4px 24px rgba(251, 183, 52, 0.25);
}

.btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 8px 32px rgba(251, 183, 52, 0.35);
}

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

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2.25rem;
}

.apple-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ===========================
   Built For / Personas
   =========================== */

.persona-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.persona-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.persona-card:hover {
    border-color: rgba(251, 183, 52, 0.25);
    background: var(--bg-card-hover);
}

.persona-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.persona-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.persona-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.persona-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===========================
   Three Core Features
   =========================== */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.feature-card {
    text-align: center;
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: border-color 0.25s var(--ease);
}

.feature-card:hover {
    border-color: rgba(251, 183, 52, 0.2);
}

/* Feature media (screenshot / muted video placeholder) */
.feature-media {
    width: 100%;
    aspect-ratio: 12 / 25;
    max-width: 220px;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
}

.feature-media img,
.feature-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hide empty feature-media (no img/video inside) */
.feature-media:empty {
    display: none;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 14px;
    margin: 0 auto 1.25rem;
    color: var(--accent);
}

.feature-icon-wrap svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature-benefit {
    font-size: 0.95rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.feature-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 340px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ===========================
   Depth of Field Preview
   =========================== */

.dof-preview {
    text-align: center;
}

.dof-copy {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.dof-copy p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.dof-copy p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Format Gallery
   =========================== */

.formats {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.format-category {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.format-category h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.format-category p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===========================
   More Features
   =========================== */

.extras-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.extra-item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s var(--ease);
}

.extra-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.extra-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--accent);
}

.extra-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.extra-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.extra-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===========================
   Beta
   =========================== */

.beta {
    text-align: center;
}

.beta-body {
    max-width: 640px;
    margin: 0 auto;
}

.beta-body p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: left;
}

.beta-body p:last-of-type {
    margin-bottom: var(--space-md);
}

.beta-body .btn {
    margin-top: 0;
}

/* ===========================
   How It Works
   =========================== */

.how-it-works {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 24px var(--accent-dim);
    font-variant-numeric: tabular-nums;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ===========================
   Pricing
   =========================== */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    text-align: center;
    position: relative;
}

.pricing-pro {
    border-color: rgba(251, 183, 52, 0.35);
    background: linear-gradient(180deg, rgba(251, 183, 52, 0.04) 0%, var(--bg-card) 50%);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-header {
    margin-bottom: var(--space-md);
}

.pricing-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: block;
    font-variant-numeric: tabular-nums;
}

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

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-md);
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.45rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.45;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fbb734' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ===========================
   FAQ
   =========================== */

.faq-list {
    max-width: 680px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    padding: 1.125rem 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
    gap: 1rem;
}

.faq-item summary:hover {
    color: var(--accent-light);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    padding-bottom: 1.125rem;
    max-width: 580px;
}

/* ===========================
   Final CTA
   =========================== */

.final-cta {
    text-align: center;
    padding: var(--space-xl) 0;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.25;
    pointer-events: none;
}

.final-cta .section-title {
    margin-bottom: var(--space-xs);
    position: relative;
}

.final-cta .section-sub {
    margin-bottom: var(--space-md);
}

.founder-note {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: var(--space-md);
    font-style: italic;
    position: relative;
}

/* ===========================
   Footer
   =========================== */

.footer {
    border-top: 1px solid var(--border);
    padding: var(--space-md) 0;
}

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

.footer-logo {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s;
    cursor: pointer;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ===========================
   Responsive — Tablet+
   =========================== */

/* 4-card persona variant (2x2 grid) */
.persona-grid-4 {
    max-width: 720px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }

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

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

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

    .format-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }

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

@media (min-width: 1024px) {
    .persona-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .format-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

