/* ==========================================
   ClipForge — Custom Landing Page Theme
   ========================================== */

:root {
  --bg: #0A0A0F;
  --bg-card: #111118;
  --fg: #F5F5F7;
  --fg-muted: #8A8A9A;
  --accent: #FF6B00;
  --accent-dim: rgba(255, 107, 0, 0.15);
  --border: rgba(255, 255, 255, 0.07);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}

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

.nav-brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.035;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 28px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.hero-highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.35;
  border-radius: 2px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--fg);
}

.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 24px;
}

/* ---- HERO VISUAL ---- */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.phone-mockup {
  position: relative;
  width: 260px;
  filter: drop-shadow(0 40px 80px rgba(255,107,0,0.15));
}

.phone-screen {
  background: #1A1A24;
  border-radius: 36px;
  padding: 12px;
  border: 1.5px solid rgba(255,255,255,0.1);
}

.video-content {
  position: relative;
  background: linear-gradient(135deg, #1C1C2E 0%, #0F0F1A 100%);
  border-radius: 28px;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-layer {
  position: absolute;
  inset: 0;
  border-radius: 28px;
}

.video-layer-1 {
  background: linear-gradient(160deg, #2A1F0A 0%, #1A1005 50%, #0F0A04 100%);
}

.video-layer-2 {
  background: radial-gradient(ellipse 60% 80% at 70% 40%, rgba(255,107,0,0.2) 0%, transparent 60%);
}

.video-layer-3 {
  background: radial-gradient(ellipse 40% 60% at 50% 100%, rgba(255,107,0,0.08) 0%, transparent 70%);
}

/* Animated bars representing video content */
.video-layer-1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(255,107,0,0.06) 0%, transparent 100%);
}

.caption-line {
  position: absolute;
  left: 20px;
  right: 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  z-index: 2;
  line-height: 1.4;
}

.caption-line-1 { top: 28px; font-size: 15px; font-weight: 700; }
.caption-line-2 { top: 58px; opacity: 0.7; }

.platform-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  z-index: 2;
}

.play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
}

.phone-shine {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  height: 100px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

/* Clips strip */
.clips-strip {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.clip-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--fg-muted);
}

.chip-icon { font-size: 13px; }
.chip-text { font-weight: 500; }

.clip-chip-1 { border-color: rgba(255,107,0,0.3); }
.clip-chip-1 .chip-icon { color: #FF6B00; }
.clip-chip-1 .chip-text { color: var(--fg); }

/* ---- PROOF ---- */
.proof {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner { max-width: 1200px; margin: 0 auto; }

.proof-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  text-align: center;
  margin-bottom: 24px;
}

.proof-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 280px;
}

.proof-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.proof-text {
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.4;
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 0 32px;
}

/* ---- SECTION SHARED ---- */
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 60px;
}

/* ---- FEATURES ---- */
.features { padding: 100px 48px; }

.features-inner { max-width: 1200px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s ease;
}

.feature-card:hover {
  background: var(--bg-card);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- HOW ---- */
.how {
  padding: 100px 48px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner { max-width: 1200px; margin: 0 auto; }

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--accent);
  opacity: 0.25;
  letter-spacing: -0.04em;
  line-height: 1;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 20px;
  margin: 0 24px;
}

/* ---- PRICING ---- */
.pricing { padding: 100px 48px; }

.pricing-inner { max-width: 1200px; margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,107,0,0.05) 0%, var(--bg-card) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
}

.pricing-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-period {
  font-size: 20px;
  font-weight: 400;
  color: var(--fg-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-tag {
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 40px;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 48px;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.closing-deco {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  z-index: 0;
}

.deco-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.2;
}

.deco-line-1 { width: 40%; margin-left: auto; }
.deco-line-2 { width: 60%; }
.deco-line-3 { width: 40%; margin-right: auto; }

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 540px;
}

/* ---- FOOTER ---- */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

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

.footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-copy {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-tagline { display: none; }

  .hero { padding: 60px 24px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 200px; }
  .video-content { height: 280px; }
  .hero-headline { font-size: 36px; }

  .proof-stats-row { flex-direction: column; gap: 24px; }
  .proof-divider { display: none; }
  .proof-stat { max-width: 100%; }

  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }

  .how { padding: 60px 24px; }
  .steps-row { flex-direction: column; }
  .step-connector { transform: rotate(90deg); margin: 8px 0; }

  .pricing { padding: 60px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }

  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .clips-strip { flex-wrap: wrap; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-sep { display: none; }
  .stat { flex: none; min-width: 80px; }
}