/* ============================================
   CLIPLOCAL — THEME STYLESHEET
   ============================================ */

/* --- TOKENS --- */
:root {
  --bg: #0F1B0E;
  --bg-alt: #162212;
  --bg-card: #1E2D1A;
  --fg: #F2EDE4;
  --fg-muted: rgba(242, 237, 228, 0.55);
  --accent: #E8843A;
  --accent-dim: rgba(232, 132, 58, 0.12);
  --accent-hover: #d4742e;
  --green: #4CAF50;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --section-gap: 96px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* --- BASE --- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  background: rgba(15, 27, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(242, 237, 228, 0.06);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--fg-muted);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }

/* --- HERO --- */
.hero {
  position: relative;
  padding: 128px 32px 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}
.hero-blob-1 {
  width: 600px; height: 500px;
  background: radial-gradient(circle, #E8843A, transparent 70%);
  top: -100px; right: -100px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #2d6e1e, transparent 70%);
  bottom: -50px; left: 10%;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,237,228,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,237,228,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 132, 58, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.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; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, #E8843A, #f5a76b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 12px; color: var(--fg-muted); }
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(242, 237, 228, 0.1);
}

/* --- PHONE FRAME --- */
.phone-frame {
  width: 260px;
  background: #111;
  border-radius: 36px;
  padding: 14px 14px 14px 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(232,132,58,0.08);
  margin: 0 auto;
  position: relative;
}
.phone-notch {
  width: 80px; height: 24px;
  background: #111;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: #1a1a1a;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/16;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1e3a1e 0%, #0d1f0d 50%, #111 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 48px; height: 48px;
  background: rgba(232,132,58,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
}
.video-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--fg);
}
.video-likes {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--fg);
}
.video-caption {
  font-size: 12px;
  color: var(--fg);
  font-weight: 500;
  margin-bottom: 4px;
}
.video-handle {
  font-size: 10px;
  color: rgba(242,237,228,0.5);
}
.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  background: #0d0d0d;
}
.video-tags span {
  font-size: 10px;
  color: rgba(242,237,228,0.4);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 999px;
}
.phone-label {
  text-align: center;
  margin-top: 16px;
}
.label-brand {
  display: block;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
}
.label-sub {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* --- SECTION TAG --- */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
section p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* --- PROBLEM SECTION --- */
.problem {
  padding: var(--section-gap) 32px;
  background: var(--bg-alt);
  border-top: 1px solid rgba(242,237,228,0.05);
  border-bottom: 1px solid rgba(242,237,228,0.05);
}
.problem-inner { max-width: 1120px; margin: 0 auto; }
.problem-header { margin-bottom: 64px; }
.problem-header h2 { max-width: 520px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(242,237,228,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.problem-icon {
  margin-bottom: 16px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 15px;
  line-height: 1.65;
}

/* --- SOLUTION SECTION --- */
.solution { padding: var(--section-gap) 32px; }
.solution-inner { max-width: 1120px; margin: 0 auto; }
.solution-header { margin-bottom: 64px; }
.solution-header p { max-width: 620px; margin-top: 16px; }
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
}
.ba-col { background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px; border: 1px solid rgba(242,237,228,0.06); }
.ba-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.ba-list { display: flex; flex-direction: column; gap: 12px; }
.ba-list li {
  font-size: 14px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}
.ba-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(242,237,228,0.2);
}
.ba-list-after li::before { background: var(--accent); }
.ba-divider {
  display: flex;
  align-items: center;
  padding-top: 80px;
}

/* --- FEATURES SECTION --- */
.features { padding: var(--section-gap) 32px; background: var(--bg-alt); border-top: 1px solid rgba(242,237,228,0.05); border-bottom: 1px solid rgba(242,237,228,0.05); }
.features-inner { max-width: 1120px; margin: 0 auto; }
.features-header { margin-bottom: 64px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 28px;
  border: 1px solid rgba(242,237,228,0.06);
  border-radius: var(--radius);
  background: rgba(242,237,228,0.02);
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: rgba(232,132,58,0.2);
  background: var(--accent-dim);
}
.feature-icon { margin-bottom: 16px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; line-height: 1.65; }

/* --- PROCESS SECTION --- */
.process { padding: var(--section-gap) 32px; }
.process-inner { max-width: 1120px; margin: 0 auto; }
.process-header { margin-bottom: 72px; }
.process-steps {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: start;
}
.step { background: var(--bg-card); border: 1px solid rgba(242,237,228,0.06); border-radius: var(--radius-lg); padding: 32px; }
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-content p { font-size: 14px; line-height: 1.65; }
.step-visual { margin-top: 20px; }
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}
.step-connector::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: rgba(242,237,228,0.1);
}
.mini-phone {
  background: #111;
  border-radius: 16px;
  padding: 8px;
  width: 100px;
}
.mini-screen { background: #1a1a1a; border-radius: 10px; padding: 10px; }
.audit-lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.audit-line { height: 6px; background: rgba(242,237,228,0.15); border-radius: 3px; }
.audit-line-short { width: 60%; }
.audit-line-med { width: 80%; }
.audit-tags { display: flex; gap: 4px; }
.audit-tags span { font-size: 8px; background: rgba(232,132,58,0.2); color: var(--accent); padding: 2px 6px; border-radius: 999px; }
.production-icons { display: flex; gap: 12px; }
.prod-icon { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.prod-icon span { font-size: 11px; color: var(--fg-muted); }
.chart-block {}
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; }
.bar { width: 28px; background: rgba(242,237,228,0.12); border-radius: 4px 4px 0 0; }
.bar-accent { background: var(--accent); }
.chart-label { font-size: 10px; color: var(--fg-muted); margin-top: 8px; }

/* --- PRICING SECTION --- */
.pricing { padding: var(--section-gap) 32px; background: var(--bg-alt); border-top: 1px solid rgba(242,237,228,0.05); border-bottom: 1px solid rgba(242,237,228,0.05); }
.pricing-inner { max-width: 1120px; margin: 0 auto; }
.pricing-header { text-align: center; margin-bottom: 64px; }
.pricing-header h2 { margin-bottom: 16px; }
.pricing-header p { max-width: 560px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-tier {
  background: var(--bg-card);
  border: 1px solid rgba(242,237,228,0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.tier-featured {
  border-color: rgba(232,132,58,0.35);
  background: linear-gradient(180deg, rgba(232,132,58,0.06) 0%, var(--bg-card) 60%);
}
.tier-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 4px;
}
.tier-price span { font-size: 18px; font-weight: 500; color: var(--fg-muted); }
.tier-tagline { font-size: 13px; color: var(--fg-muted); margin-bottom: 28px; }
.tier-features { display: flex; flex-direction: column; gap: 10px; }
.tier-features li {
  font-size: 14px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}
.tier-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-footnote { text-align: center; font-size: 13px; color: var(--fg-muted); margin-top: 40px; }

/* --- CLOSING --- */
.closing { padding: var(--section-gap) 32px; }
.closing-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.closing-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-content p { max-width: 480px; }
.quote-card {
  background: var(--bg-card);
  border: 1px solid rgba(242,237,228,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.quote-mark { margin-bottom: 20px; }
.quote-card p {
  font-size: 17px;
  line-height: 1.7;
  font-style: italic;
  color: var(--fg);
  margin-bottom: 28px;
}
.quote-attr { display: flex; align-items: center; gap: 14px; }
.attr-avatar {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--bg);
  flex-shrink: 0;
}
.attr-text { display: flex; flex-direction: column; gap: 2px; }
.attr-text strong { font-family: var(--font-display); font-size: 15px; }
.attr-text span { font-size: 12px; color: var(--fg-muted); }

/* --- FOOTER --- */
.footer { padding: 80px 32px 40px; border-top: 1px solid rgba(242,237,228,0.06); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--fg-muted); max-width: 320px; line-height: 1.65; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); }
.footer-col a { font-size: 14px; color: var(--fg-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  max-width: 1120px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(242,237,228,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .closing-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .step-connector { display: none; }
  .before-after { grid-template-columns: 1fr; }
  .ba-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 640px) {
  .hero { padding: 100px 20px 64px; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .nav-links { display: none; }
  .pricing-grid { max-width: 100%; }
  .phone-frame { width: 200px; }
  .footer-links { flex-direction: column; }
}