/* ============================================================
   FlixFinder — Cinematic Editorial Landing Page
   Aesthetic: Dark cinema atmosphere, editorial typography,
   film grain texture, dramatic lighting
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --bg: #08070b;
  --bg-surface: #0f0e15;
  --bg-elevated: #16151e;
  --border: #1e1d28;
  --border-subtle: #141320;
  --red: #FF2D3B;
  --red-dim: rgba(255, 45, 59, 0.12);
  --red-glow: rgba(255, 45, 59, 0.35);
  --text: #EDEDED;
  --text-soft: #a3a1b0;
  --text-muted: #5e5c6e;
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1200px;
}

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

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

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

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

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

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

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

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Section Headers --- */
.section-header {
  max-width: 680px;
  margin-bottom: 72px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 20px;
}

.section-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  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); }
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* --- Decorative Orbs --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  will-change: transform;
}

.orb--hero-1 {
  width: 1024px;
  height: 1024px;
  background: rgba(255, 45, 59, 0.08);
  top: -30%;
  right: -20%;
}

.orb--hero-2 {
  width: 500px;
  height: 500px;
  background: rgba(80, 40, 180, 0.06);
  bottom: -20%;
  left: -15%;
}

.orb--cta {
  width: 800px;
  height: 600px;
  background: rgba(255, 45, 59, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 50px;
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
  position: relative;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  border: none;
}

.btn--primary:hover {
  background: #ff3d4a;
  box-shadow: 0 0 40px var(--red-glow), 0 8px 24px rgba(255, 45, 59, 0.2);
  transform: translateY(-2px);
}

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

.btn--ghost {
  border: 1.5px solid var(--border);
  color: var(--text-soft);
  background: transparent;
}

.btn--ghost:hover {
  border-color: #3a3950;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 18px 38px;
  font-size: 1.05rem;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.5s var(--ease-out);
}

.header--scrolled {
  background: rgba(8, 7, 11, 0.8);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header__logo-img {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__links a:not(.btn) {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.header__links a:not(.btn):hover {
  color: var(--text);
}

.header__menu {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.header__menu:hover {
  background: rgba(255, 255, 255, 0.05);
}

.header__menu svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 160px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero__grid--centered {
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

/* Live indicator badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 32px;
  opacity: 0;
  animation: heroReveal 0.8s var(--ease-out) 0.2s forwards;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
}

.hero__badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  opacity: 0.4;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroReveal 0.8s var(--ease-out) 0.35s forwards;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--red) 0%, #ff6b72 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
  opacity: 0;
  animation: heroReveal 0.8s var(--ease-out) 0.5s forwards;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroReveal 0.8s var(--ease-out) 0.65s forwards;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Phone */
.hero__phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  animation: phoneReveal 1s var(--ease-out) 0.6s forwards;
}

@keyframes phoneReveal {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero__phone::after {
  content: none;
}

.hero__mock {
  width: 100%;
  height: auto;
}

/* Phone Frame */
.phone-frame {
  position: relative;
  width: 280px;
  height: 590px;
  border-radius: 44px;
  background: #000;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 100px rgba(255, 45, 59, 0.05);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 28px;
  background: #111;
  border-radius: 20px;
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-frame--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(170deg, #131219 0%, #0a0a0f 100%);
}

.phone-frame--placeholder .phone-placeholder-content {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.phone-frame--placeholder .phone-placeholder-content svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.4;
}

/* ============================================================
   PLATFORM TICKER
   ============================================================ */
.ticker {
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  background: rgba(15, 14, 21, 0.5);
}

/* fade edges */
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: scroll-ticker 35s linear infinite;
}

.ticker__track:hover {
  animation-play-state: paused;
}

.ticker__item {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease;
}

.ticker__item:hover {
  color: var(--text-soft);
}

.ticker__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  opacity: 0.5;
}

@keyframes scroll-ticker {
  to { transform: translateX(-50%); }
}

/* ============================================================
   FEATURES — Bento Grid
   ============================================================ */
.features {
  padding: 120px 0;
  position: relative;
}

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

.bento-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 45, 59, 0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bento-card:hover {
  border-color: rgba(255, 45, 59, 0.2);
  background: var(--bg-elevated);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 45, 59, 0.04);
}

.bento-card:hover::before {
  opacity: 1;
}

/* Bento layout: asymmetric */
.bento-card:nth-child(1) { grid-column: span 7; }
.bento-card:nth-child(2) { grid-column: span 5; }
.bento-card:nth-child(3) { grid-column: span 4; }
.bento-card:nth-child(4) { grid-column: span 4; }
.bento-card:nth-child(5) { grid-column: span 4; }

/* Decorative number */
.bento-card__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  opacity: 0.03;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.bento-card:hover .bento-card__num {
  opacity: 0.06;
}

.bento-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--red-dim);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.bento-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.bento-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle top divider */
.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.step {
  position: relative;
  padding: 48px 32px 40px;
  text-align: center;
}

/* Giant background number */
.step__bg-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}

.step__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  position: relative;
  z-index: 1;
}

.step__icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* Connector arrows between steps */
.step__connector {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  color: var(--text-muted);
  opacity: 0.3;
  z-index: 2;
}

.step__connector svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   SHOWCASE — Perspective Fan
   ============================================================ */
.showcase {
  padding: 120px 0 100px;
  position: relative;
}

.showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Desktop: perspective arc */
.showcase__arc {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  perspective: 1600px;
  padding: 40px 0;
}

.showcase__item {
  text-align: center;
  transition: all 0.5s var(--ease-out);
  flex-shrink: 0;
}

.showcase__item .phone-frame {
  width: 210px;
  height: 442px;
  border-radius: 32px;
  margin-bottom: 16px;
  transition: all 0.5s var(--ease-out);
}

.showcase__item .phone-frame::before {
  top: 8px;
  width: 64px;
  height: 20px;
}

/* Perspective transforms for fan spread */
.showcase__item:nth-child(1) {
  transform: perspective(1200px) rotateY(14deg) translateZ(-30px) translateY(16px);
}
.showcase__item:nth-child(2) {
  transform: perspective(1200px) rotateY(7deg) translateZ(-10px) translateY(4px);
}
.showcase__item:nth-child(3) {
  transform: perspective(1200px) rotateY(0deg) translateZ(10px);
  z-index: 3;
}
.showcase__item:nth-child(3) .phone-frame {
  width: 230px;
  height: 484px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 100px rgba(255, 45, 59, 0.08);
}
.showcase__item:nth-child(4) {
  transform: perspective(1200px) rotateY(-7deg) translateZ(-10px) translateY(4px);
}
.showcase__item:nth-child(5) {
  transform: perspective(1200px) rotateY(-14deg) translateZ(-30px) translateY(16px);
}

.showcase__item:hover {
  transform: perspective(1200px) rotateY(0deg) translateZ(20px) translateY(-8px) !important;
  z-index: 10;
}

.showcase__item:hover .phone-frame {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(255, 45, 59, 0.1);
}

.showcase__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.showcase__item:hover .showcase__label {
  color: var(--text-soft);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 100px 0;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

/* Vertical dividers between stats */
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--text) 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ============================================================
   APP PREVIEWS
   ============================================================ */
.previews {
  padding: 120px 0;
  position: relative;
}

.previews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.previews__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.previews__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-out);
}

.previews__card:hover {
  border-color: rgba(255, 45, 59, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 45, 59, 0.06);
}

.previews__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.download {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.download__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.download__content h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--red) 0%, #ff6b72 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download__content p {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 440px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 72px 0 0;
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 7, 11, 0.6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.footer__logo-img {
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  border-radius: 7px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 12px;
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.00s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.07s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.21s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; opacity: 1; transform: translateY(0); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(8, 7, 11, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.mobile-menu__close:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .features__bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card:nth-child(1),
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4) {
    grid-column: span 1;
  }

  .bento-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .showcase__arc {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 40px 28px;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .showcase__arc::-webkit-scrollbar {
    display: none;
  }

  .showcase__item {
    scroll-snap-align: center;
  }

  .showcase__item:nth-child(1),
  .showcase__item:nth-child(2),
  .showcase__item:nth-child(3),
  .showcase__item:nth-child(4),
  .showcase__item:nth-child(5) {
    transform: none !important;
  }

  .showcase__item:nth-child(3) .phone-frame {
    width: 210px;
    height: 442px;
    box-shadow: inherit;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

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

  .header__menu {
    display: flex;
  }

  .hero {
    padding: 130px 0 60px;
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

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

  .bento-card:nth-child(1),
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5) {
    grid-column: span 1;
  }

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

  .step__connector {
    display: none;
  }

  .step__bg-num {
    font-size: 5rem;
  }

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

  .stat + .stat::before {
    display: none;
  }

  .stat:nth-child(odd) {
    border-right: 1px solid var(--border-subtle);
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .ticker__track {
    gap: 32px;
  }

  .ticker__item {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.25rem;
  }

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

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .phone-frame {
    width: 240px;
    height: 505px;
    border-radius: 36px;
  }

  .phone-frame::before {
    top: 10px;
    width: 76px;
    height: 22px;
  }

  .download {
    padding: 100px 0;
  }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.contact-form__input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form__input::placeholder {
  color: var(--text-muted);
}

.contact-form__input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
}

.contact-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235e5c6e' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}

.contact-form__select option {
  background: var(--bg-surface);
  color: var(--text);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: 8px;
  width: 100%;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-form__status {
  font-size: 0.9rem;
  text-align: center;
  min-height: 24px;
}

.contact-form__status--success {
  color: #34d399;
}

.contact-form__status--error {
  color: #f87171;
}
