/* ============================================
   FrameFlip — Short-Form Video Agency Theme
   ============================================ */

:root {
  --bg: #080810;
  --bg-2: #0f0f1a;
  --surface: #13131f;
  --border: #1e1e2e;
  --fg: #f0f0f8;
  --fg-muted: #7878a0;
  --accent: #FF4D1C;
  --accent-dim: rgba(255, 77, 28, 0.12);
  --yellow: #FFD84D;
  --purple: #a855f7;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --pad-x: clamp(20px, 5vw, 64px);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px var(--pad-x);
  backdrop-filter: blur(12px);
  background: rgba(8, 8, 16, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 300;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px var(--pad-x) 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,77,28,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,77,28,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 40%, transparent 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #FF4D1C 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  bottom: 50px;
  left: -80px;
  opacity: 0.2;
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  margin-bottom: 28px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(255,77,28,0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-highlight {
  color: var(--accent);
  position: relative;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.6;
  font-weight: 300;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.hero-stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.desktop-only { display: block; }

/* ---- SHARED SECTION STYLES ---- */
section { padding: 80px var(--pad-x); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--fg);
}

/* ---- WHAT WE DO ---- */
.whatwedo { background: var(--bg-2); }
.whatwedo-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { margin-bottom: 56px; }

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.platform-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.platform-icon {
  color: var(--accent);
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.platform-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}
.platform-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.platform-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.04);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-top: 8px;
}

/* ---- DIFFERENTIATORS ---- */
.diff { background: var(--bg); }
.diff-inner { max-width: var(--max-w); margin: 0 auto; }
.diff-header { margin-bottom: 56px; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
}

.diff-card {
  padding: 36px 32px;
  background: var(--surface);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.diff-card:hover::before { opacity: 1; }
.diff-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.diff-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.diff-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- PROCESS ---- */
.process { background: var(--bg-2); }
.process-inner { max-width: var(--max-w); margin: 0 auto; }
.process-header { margin-bottom: 64px; }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-step {
  display: grid;
  grid-template-columns: 0 1fr;
  gap: 0 28px;
  position: relative;
}
.step-line {
  width: 2px;
  background: var(--border);
  position: absolute;
  left: 11px;
  top: 32px;
  bottom: -8px;
}
.process-step:last-child .step-line { display: none; }
.step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 4px;
  box-shadow: 0 0 20px rgba(255,77,28,0.4);
}
.step-body {
  padding-bottom: 48px;
}
.step-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.step-body h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.step-body p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ---- PRICING ---- */
.pricing { background: var(--bg); }
.pricing-inner { max-width: var(--max-w); margin: 0 auto; }
.pricing-header { margin-bottom: 48px; }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  max-width: 640px;
}
.pricing-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.pricing-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 280px;
}
.pricing-amount { text-align: right; }
.price {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: var(--fg);
  display: block;
  line-height: 1;
}
.per {
  font-size: 14px;
  color: var(--fg-muted);
  display: block;
  margin-top: 4px;
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
}
.feat-check {
  color: var(--accent);
  flex-shrink: 0;
}
.pricing-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
}

/* ---- CLOSING ---- */
.closing {
  background: var(--bg-2);
  padding: 120px var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,77,28,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { position: relative; max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 16px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px var(--pad-x);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--fg);
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 16px;
}

.nav-cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .hero-stats { gap: 20px; }
  .hero-stat-divider { display: none; }
  .pricing-top { flex-direction: column; }
  .pricing-amount { text-align: left; }
  .pricing-card { padding: 28px; }
  .platforms-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .desktop-only { display: none; }
  section { padding: 60px var(--pad-x); }
  .closing { padding: 80px var(--pad-x); }
}