/* =============================================
   ClipRank — Studio Landing Page CSS
   Dark theme, editorial, premium feel
   ============================================= */

/* ── Variables ── */
:root {
  --bg:         #0a0a0b;
  --bg-surface: #111113;
  --bg-card:    #18181b;
  --border:     #27272a;
  --text:       #fafafa;
  --text-muted: #a1a1aa;
  --accent:     #e8792a;
  --accent-dim: #c26520;
  --gold:       #f5c842;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── Utility ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 3px 10px;
  margin-bottom: 20px;
}
.divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 16px 0;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.04);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 5px;
}

/* ── HERO ── */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_196586/4b5bff1d-7d77-4278-8e89-8f3a4f20f61f.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,121,42,0.12) 0%, transparent 70%),
              linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  max-width: 740px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-note strong { color: var(--gold); }

/* ── TRUST BAR ── */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar p {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-logo-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  opacity: 0.6;
}

/* ── PROBLEM ── */
.problem {
  padding: 100px 0;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.problem-left h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.problem-left p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}
.problem-list {
  list-style: none;
  margin-top: 8px;
}
.problem-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.problem-list li::before {
  content: '✕';
  color: var(--accent);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── PRICING ── */
.pricing {
  padding: 100px 0;
  background: var(--bg-surface);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 18px;
}
.pricing-anchor {
  text-align: center;
  margin-bottom: 48px;
}
.pricing-anchor p {
  font-size: 15px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 6px;
}
.pricing-anchor strong { color: var(--text); }

/* ── PRICING TABLE ── */
.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  vertical-align: middle;
}
.pricing-table thead th:first-child { text-align: left; padding-left: 0; }
.pricing-table tbody td:first-child { text-align: left; padding-left: 0; font-weight: 500; color: var(--text); }
.pricing-table thead th { border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.pricing-table tbody tr:last-child td { border-bottom: none; }

.pricing-col-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: 16px;
}
.pricing-tier-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing-tier-price {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  color: var(--text);
  line-height: 1;
}
.pricing-tier-period {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-popular-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.pricing-col-featured {
  background: rgba(232,121,42,0.04);
  border-left: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  position: relative;
}
.pricing-row-highlight td { background: rgba(232,121,42,0.04); }
.pricing-feature-label { min-width: 200px; }
.check { color: var(--accent); font-size: 16px; }
.pricing-dash { color: var(--border); }

.pricing-view-examples td { border-bottom: 2px solid var(--accent); }
.perf-examples {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
}
.perf-examples strong { color: var(--text); }

@media (max-width: 700px) {
  .pricing-table-wrap { margin: 0 -24px; padding: 0 24px; }
}

/* ── HOW IT WORKS ── */
.how {
  padding: 100px 0;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.how-step {
  padding: 32px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.how-step-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 48px;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 20px;
}
.how-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}
.how-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 100px 0;
  background: var(--bg-surface);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
}
.testimonial-quote {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-quote::before { content: '"'; }
.testimonial-quote::after  { content: '"'; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.testimonial-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(232,121,42,0.08) 0%, transparent 70%);
}
.final-cta-inner { position: relative; }
.final-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}
.final-cta p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.final-cta-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
}
.stat-value {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px;
  color: var(--text);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── FOOTER ── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 18px;
  color: var(--text-muted);
}
.footer-logo span { color: var(--accent); }
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier-whale { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .final-cta-stats { gap: 32px; flex-wrap: wrap; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero { padding: 140px 0 80px; }
}