/* ─────────────────────────────────────────
   DropFrame — Brand Theme
   Font: Syne (display) + Figtree (body)
   Palette: Near-black / Electric amber-gold
   ───────────────────────────────────────── */

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

/* CSS Variables */
:root {
  --bg: #080809;
  --bg-2: #0e0e10;
  --bg-3: #121215;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --accent-glow: rgba(245, 166, 35, 0.06);
  --text: #EDE8DF;
  --text-dim: rgba(237, 232, 223, 0.45);
  --text-muted: rgba(237, 232, 223, 0.25);
  --border: rgba(237, 232, 223, 0.08);
  --border-accent: rgba(245, 166, 35, 0.2);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --radius: 4px;
  --section-pad: clamp(64px, 8vw, 120px);
  --container: 1100px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(245,166,35,0.06) 0%, transparent 70%),
    var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.15;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 148px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.line { display: block; }
.line-1 { color: var(--text); }
.line-2 { color: var(--accent); }

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 400;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waveform-container {
  position: relative;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--accent-glow);
  overflow: hidden;
}

.waveform-svg {
  width: 100%;
  height: 200px;
  display: block;
}

.bars rect {
  transform-origin: center;
}

@keyframes wave-pulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.6); }
}

.bars rect { animation: wave-pulse 1.8s ease-in-out infinite; }
.bars rect:nth-child(1) { animation-delay: 0s; }
.bars rect:nth-child(2) { animation-delay: 0.1s; }
.bars rect:nth-child(3) { animation-delay: 0.2s; }
.bars rect:nth-child(4) { animation-delay: 0.3s; }
.bars rect:nth-child(5) { animation-delay: 0.4s; }
.bars rect:nth-child(6) { animation-delay: 0.15s; }
.bars rect:nth-child(7) { animation-delay: 0.25s; }
.bars rect:nth-child(8) { animation-delay: 0.35s; }
.bars rect:nth-child(9) { animation-delay: 0.05s; }
.bars rect:nth-child(10) { animation-delay: 0.45s; }

/* Canvas dots background */
.canvas-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245,166,35,0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
  pointer-events: none;
}

/* Hero stat bar */
.hero-stat-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 clamp(24px, 4vw, 48px);
}

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

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

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

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ── MANIFESTO ── */
.manifesto {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.manifesto-body {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
  color: var(--text-dim);
}

/* ── SERVICES ── */
.services {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  background: var(--bg);
}

.services-header {
  max-width: var(--container);
  margin: 0 auto 64px;
}

.services-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: var(--container);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  padding: 48px 40px;
  background: var(--bg-2);
  transition: background var(--transition);
}

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

.service-icon {
  margin-bottom: 28px;
  opacity: 0.9;
}

.service-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ── WHY ── */
.why {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 6vw, 96px);
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}

.why-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.why-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.why-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-bullet {
  flex-shrink: 0;
  margin-top: 2px;
}

.why-point-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.why-point-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ── CANVAS ── */
.canvas {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.canvas-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.canvas-header {
  margin-bottom: 64px;
}

.canvas-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.canvas-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 700px;
}

.canvas-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 64px;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.flow-step {
  flex: 1;
}

.flow-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}

.flow-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.flow-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  padding-right: 24px;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding: 0 24px;
  margin-top: 24px;
  flex-shrink: 0;
}

.canvas-closing {
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.closing-line {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto;
}

/* ── FOOTER ── */
.footer {
  padding: 64px clamp(24px, 5vw, 80px);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-stat-bar {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-divider { display: none; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-inner {
    grid-template-columns: 1fr;
  }

  .canvas-flow {
    flex-direction: column;
    padding: 32px 24px;
    gap: 32px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    justify-content: center;
    padding: 0;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .footer-copy { text-align: left; }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(60px, 18vw, 80px);
  }

  .flow-name { font-size: 15px; }
  .flow-desc { font-size: 13px; padding-right: 0; }
}
