/* =========================================
   ClipCraft Studio — Custom Stylesheet
   ========================================= */

:root {
  --bg: #080b12;
  --bg-card: #0e1420;
  --bg-card-hover: #141c2b;
  --fg: #f0f2f5;
  --fg-muted: #8a94a6;
  --accent: #ff6b35;
  --accent-dim: rgba(255, 107, 53, 0.12);
  --accent-glow: rgba(255, 107, 53, 0.25);
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(255, 107, 53, 0.35);
}

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

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

/* === NOISE TEXTURE OVERLAY === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
}

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

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

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

.nav-cta {
  margin-left: auto;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.nav-cta:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: var(--accent);
}

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

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(48px, 6vw, 80px);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-title-line {
  display: block;
}

.hero-title .accent {
  color: var(--accent);
  position: relative;
}

.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat {
  padding: 0 28px;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.hero-stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  min-height: 360px;
  overflow: hidden;
}

.timeline-tracks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

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

.track-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  width: 24px;
  flex-shrink: 0;
}

.track-clip {
  height: 20px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 4px;
  opacity: 0.8;
}

.clip-short { width: 48px; }
.clip-mid { width: 90px; }
.clip-long { width: 140px; }

.playhead {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.playhead-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.playhead-head {
  font-size: 12px;
  color: var(--accent);
}

.film-frame {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.film-cell {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
}

.film-cell-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cell-icon {
  font-size: 20px;
  line-height: 1;
}

.cell-text {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

/* === SERVICES === */
.services {
  padding: 100px 60px;
  border-top: 1px solid var(--border);
}

.services-header {
  max-width: 1200px;
  margin: 0 auto 60px;
}

.services-title {
  font-size: clamp(36px, 4vw, 56px);
  color: var(--fg);
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.service-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.service-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 107, 53, 0.06) 100%);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: 20px;
}

.service-icon {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1;
}

.service-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-price {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

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

.services-cta {
  max-width: 1200px;
  margin: 40px auto 0;
  text-align: center;
}

.cta-text {
  color: var(--fg-muted);
  font-size: 15px;
}

/* === PRODUCTS === */
.products {
  padding: 100px 60px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 53, 0.03) 100%);
}

.products-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}

.products-title {
  font-size: clamp(36px, 4vw, 56px);
  color: var(--fg);
  margin-top: 8px;
  margin-bottom: 16px;
}

.products-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 480px;
}

.products-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  transition: border-color 0.2s;
}

.product-card:hover {
  border-color: var(--border-accent);
}

.product-card.featured-product {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 107, 53, 0.06) 100%);
}

.product-art {
  height: 100px;
  background: var(--bg);
  border-radius: 8px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-label {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.art-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0px,
    var(--border) 1px,
    transparent 1px,
    transparent 18px
  );
}

.art-script {
  position: absolute;
  inset: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.script-line {
  height: 3px;
  background: var(--accent-dim);
  border-radius: 2px;
  width: 70%;
}

.script-line.short { width: 45%; }

.art-grid {
  position: absolute;
  inset: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.grid-cell {
  background: var(--accent-dim);
  border-radius: 4px;
  opacity: 0.7;
}

.art-wave {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-wave::after {
  content: '';
  width: 48px;
  height: 28px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 3px, transparent 3px, transparent 8px);
  opacity: 0.5;
  border-radius: 2px;
}

.art-kit {
  position: absolute;
  inset: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.kit-item {
  background: var(--accent-dim);
  border-radius: 4px;
}

.product-info {}

.product-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-price {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-muted);
}

.products-note {
  max-width: 1200px;
  margin: 32px auto 0;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
  opacity: 0.7;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 60px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

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

.manifesto-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-left: 0;
  border-left: 3px solid var(--border);
  padding-left: 28px;
}

.manifesto-quote.accent-quote {
  border-left-color: var(--accent);
  color: var(--fg);
}

.manifesto-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 560px;
  margin-top: 32px;
  line-height: 1.7;
  padding-left: 28px;
}

.manifesto-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar {
  padding: 32px 28px;
  background: var(--bg);
  border-radius: 0;
  border: 1px solid var(--border);
}

.pillar-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.pillar-text {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

/* === OUTRO === */
.outro {
  padding: 100px 60px 120px;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.outro::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.outro-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.outro-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.outro-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--fg);
  margin-bottom: 48px;
  line-height: 1.15;
}

.outro-math {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
}

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

.math-item {
  text-align: center;
  padding: 0 32px;
}

.math-val {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 8px;
}

.math-result .math-val {
  color: var(--accent);
}

.math-label {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 120px;
  margin: 0 auto;
}

.math-plus, .math-equals {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--fg-muted);
}

.outro-closing {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* === FOOTER === */
footer {
  padding: 60px;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 4px;
}

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

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

.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.footer-links {
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-sep {
  color: var(--border);
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 100px 40px 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .products-scroll { grid-template-columns: repeat(2, 1fr); }
  .manifesto-pillars { grid-template-columns: 1fr; }
  .math-row { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .hero { padding: 90px 24px 60px; }
  .services { padding: 60px 24px; }
  .products { padding: 60px 24px; }
  .manifesto { padding: 60px 24px; }
  .outro { padding: 60px 24px 80px; }
  .products-scroll { grid-template-columns: 1fr 1fr; }
  .footer-inner { padding: 0; }
}

@media (max-width: 480px) {
  .products-scroll { grid-template-columns: 1fr; }
  .math-row { flex-direction: column; gap: 16px; }
  .math-plus, .math-equals { display: none; }
}