/* ==========================================================================
   Flick 3D Design System — flick3d.com
   ========================================================================== */

:root {
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --ivory: #F6F1E7;
  --ivory-deep: #EFE6D6;
  --accent: #E65A28;
  --accent-hover: #D24C1D;
  --amber: #EBA00E;
  --ink: #182235;
  --ink-muted: #4A5568;
  --ink-soft: #667085;
  --border: rgba(24, 34, 53, 0.1);
  --border-strong: rgba(24, 34, 53, 0.16);
  --shadow-sm: 0 2px 10px rgba(24, 34, 53, 0.05);
  --shadow-md: 0 14px 36px rgba(24, 34, 53, 0.08);
  --shadow-phone: 0 26px 60px rgba(24, 34, 53, 0.18), 0 6px 18px rgba(24, 34, 53, 0.08);

  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 250, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 150ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid rgba(230, 90, 40, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(230, 90, 40, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(230, 90, 40, 0.34);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.02rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn[aria-disabled="true"] {
  cursor: default;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 68px 0 76px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -140px 50% auto auto;
  width: 680px;
  height: 680px;
  transform: translateX(35%);
  background: radial-gradient(circle, rgba(235, 160, 14, 0.14) 0%, rgba(230, 90, 40, 0.08) 42%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  border-radius: var(--radius-pill);
  background: var(--ivory);
  border: 1px solid rgba(230, 90, 40, 0.22);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--amber));
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.028em;
  margin: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5.8vw, 4.25rem);
  font-weight: 900;
  line-height: 1.04;
  margin-bottom: 20px;
}

.hero-title-accent {
  background: linear-gradient(110deg, var(--accent) 10%, var(--amber) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
  line-height: 1.62;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cta-status-note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.cta-status-note strong {
  color: var(--ink);
}

/* ── Phone-Frame Showcase Grid ──────────────────────────────────────────── */

.showcase-wrap {
  position: relative;
  z-index: 1;
  margin-top: 56px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone-card--featured {
  transform: translateY(-14px);
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 295px;
  aspect-ratio: 9 / 16;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(160deg, #27344D 0%, #141C2B 100%);
  box-shadow: var(--shadow-phone);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.phone-frame:hover {
  transform: translateY(-5px);
}

.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 22px;
  border-radius: 999px;
  background: #0D121C;
  z-index: 6;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
  background: #101725;
}

.phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 320ms ease;
  z-index: 3;
}

.phone-video.is-loaded {
  opacity: 1;
}

.phone-overlay-tag {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(24, 34, 53, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 600;
}

.mode-pill {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mode-pill--dual {
  background: var(--accent);
  color: #FFFFFF;
}

.mode-pill--single {
  background: var(--amber);
  color: var(--ink);
}

.phone-caption {
  text-align: center;
  max-width: 280px;
}

.phone-caption h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.phone-caption p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ── Animated 3D Stereo Parallax Placeholders (visible until MP4s drop in) ── */

.stereo-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.stereo-layer {
  position: absolute;
  inset: -8%;
  will-change: transform;
}

.stereo-stage--basketball {
  background: linear-gradient(180deg, #182235 0%, #263653 56%, #45353B 100%);
}

.stereo-stage--street {
  background: linear-gradient(180deg, #1E2A42 0%, #52393F 48%, #E65A28 96%);
}

.stereo-stage--portrait {
  background: linear-gradient(180deg, #213049 0%, #3E4D6B 48%, #EBA00E 100%);
}

.stereo-layer--back {
  animation: wiggleBack 2.2s ease-in-out infinite;
}

.stereo-layer--mid {
  animation: wiggleMid 2.2s ease-in-out infinite;
}

.stereo-layer--front {
  animation: wiggleFront 2.2s ease-in-out infinite;
}

.stereo-stage--street .stereo-layer--back,
.stereo-stage--street .stereo-layer--mid,
.stereo-stage--street .stereo-layer--front {
  animation-delay: -0.6s;
}

.stereo-stage--portrait .stereo-layer--back,
.stereo-stage--portrait .stereo-layer--mid,
.stereo-stage--portrait .stereo-layer--front {
  animation-delay: -1.2s;
}

@keyframes wiggleBack {
  0%, 100% { transform: translate3d(-4px, 0, 0) scale(1.04); }
  50% { transform: translate3d(4px, 0, 0) scale(1.04); }
}

@keyframes wiggleMid {
  0%, 100% { transform: translate3d(2px, 0, 0); }
  50% { transform: translate3d(-2px, 0, 0); }
}

@keyframes wiggleFront {
  0%, 100% { transform: translate3d(11px, 0, 0); }
  50% { transform: translate3d(-11px, 0, 0); }
}

.stage-svg {
  width: 100%;
  height: 100%;
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.section {
  padding: 76px 0;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-desc {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.03rem;
}

/* ── Capture Modes Strip ────────────────────────────────────────────────── */

.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.mode-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.mode-card--ivory {
  background: var(--ivory);
  border-color: rgba(230, 90, 40, 0.18);
}

.mode-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mode-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.mode-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* ── How It Works (3 Steps) ─────────────────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ivory);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  border: 1px solid rgba(230, 90, 40, 0.2);
}

.step-card:nth-child(2) .step-badge {
  color: #B97700;
  border-color: rgba(235, 160, 14, 0.35);
}

.step-card:nth-child(3) .step-badge {
  color: var(--ink);
  border-color: var(--border-strong);
}

.step-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.22;
}

.step-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* ── Privacy Callout ────────────────────────────────────────────────────── */

.privacy-callout {
  position: relative;
  padding: 48px 44px;
  border-radius: 32px;
  background: var(--ivory);
  border: 1px solid rgba(24, 34, 53, 0.1);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.privacy-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 14px;
}

.privacy-copy p {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  font-size: 0.98rem;
}

.privacy-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.privacy-pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 34, 53, 0.08);
}

.privacy-pillar .pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(230, 90, 40, 0.12);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.privacy-pillar div span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: 32px;
  padding: 44px 0 54px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-mark {
  height: 30px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-muted);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-press a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(230, 90, 40, 0.45);
  text-underline-offset: 3px;
}

.footer-press a:hover {
  color: var(--accent);
}

/* ── Legal Pages (/privacy, /terms) ─────────────────────────────────────── */

.legal-main {
  padding: 56px 0 80px;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 52px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.legal-header {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.legal-meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.legal-summary {
  padding: 22px 24px;
  margin-bottom: 30px;
  border-radius: var(--radius-md);
  background: var(--ivory);
  border: 1px solid rgba(230, 90, 40, 0.2);
}

.legal-summary h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-summary p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.legal-body h2 {
  font-size: 1.28rem;
  font-weight: 800;
  margin: 28px 0 10px;
}

.legal-body p {
  margin: 0 0 14px;
  color: var(--ink-muted);
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--ink-muted);
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .phone-card--featured {
    transform: none;
  }

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

  .privacy-callout {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    height: 64px;
  }

  .brand-logo {
    height: 27px;
  }

  .site-nav {
    gap: 12px;
  }

  .btn-sm {
    padding: 8px 13px;
    font-size: 0.84rem;
  }

  .eyebrow {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .nav-link--hide-mobile {
    display: none;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 310px;
    margin: 0 auto;
    gap: 32px;
  }

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

  .section {
    padding: 56px 0;
  }

  .legal-card {
    padding: 30px 22px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stereo-layer--back,
  .stereo-layer--mid,
  .stereo-layer--front {
    animation: none;
  }

  .btn,
  .phone-frame {
    transition: none;
  }
}
