@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Warm Editorial × Audio Hardware
   Primary: deep charcoal + warm amber + electric teal
═══════════════════════════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg0:     #0a0a0b;
  --bg1:     #111114;
  --bg2:     #16161a;
  --bg3:     #1c1c22;
  --bg4:     #222228;
  --glass:   rgba(255,255,255,0.03);

  /* Borders */
  --line:    rgba(255,255,255,0.07);
  --line2:   rgba(255,255,255,0.12);

  /* Accent palette */
  --amber:   #f5a623;
  --amber2:  #e8912a;
  --teal:    #00d4c8;
  --teal2:   #00b5aa;
  --green:   #22c55e;
  --red:     #f43f5e;
  --purple:  #a855f7;
  --blue:    #3b82f6;

  /* Text */
  --t1:      #f0f0f2;
  --t2:      #a0a0b0;
  --t3:      #50505f;
  --t4:      #2a2a35;

  /* Fonts */
  --display: 'Syne', sans-serif;
  --body:    'DM Sans', sans-serif;
  --mono:    'DM Mono', monospace;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.6);
  --glow-amber: 0 0 30px rgba(245,166,35,0.2);
  --glow-teal:  0 0 30px rgba(0,212,200,0.2);

  /* Spacing */
  --r1: 8px;
  --r2: 14px;
  --r3: 20px;
  --r4: 28px;

  /* Transition */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: all 0.25s var(--ease);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--body);
  background: var(--bg0);
  color: var(--t1);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg1); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

::selection { background: rgba(245,166,35,0.25); color: var(--t1); }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--amber);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: var(--glow-amber);
}
.logo-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.5px;
}
.logo-name em { color: var(--amber); font-style: normal; }

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
nav::-webkit-scrollbar { display: none; }

nav a {
  font-family: var(--body);
  color: var(--t2);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r1);
  transition: var(--t);
  white-space: nowrap;
}
nav a:hover { color: var(--t1); background: var(--glass); }
nav a.active { color: var(--amber); background: rgba(245,166,35,0.1); }

.nav-hot {
  position: relative;
}
.nav-hot::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--amber);
  color: #0a0a0b;
  padding: 9px 20px;
  border-radius: var(--r2);
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--t);
  letter-spacing: 0.2px;
}
.btn-primary:hover {
  background: var(--amber2);
  transform: translateY(-1px);
  box-shadow: var(--glow-amber);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--t2);
  padding: 9px 18px;
  border-radius: var(--r2);
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--line2);
  cursor: pointer;
  transition: var(--t);
}
.btn-ghost:hover { color: var(--t1); border-color: var(--amber); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--t2); border-radius: 2px; transition: var(--t); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  inset-inline: 0;
  background: rgba(10,10,11,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem;
  z-index: 499;
  flex-direction: column;
  gap: 3px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--t2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--r2);
  transition: var(--t);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-nav a:hover { color: var(--t1); background: var(--glass); }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
}

/* Abstract background geometry */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,212,200,0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

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

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.5s ease both;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--amber);
  opacity: 0.6;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -3px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.5s 0.06s ease both;
}
.hero h1 .hl {
  color: var(--amber);
  position: relative;
  display: inline-block;
}
.hero h1 .hl::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
  opacity: 0.3;
  border-radius: 2px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--t2);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.5s 0.12s ease both;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.18s ease both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  animation: fadeUp 0.5s 0.24s ease both;
}
.stat-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-lbl {
  font-size: 0.72rem;
  color: var(--t3);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--mono);
}

/* Hero visual — Audio player card */
.hero-visual {
  animation: fadeRight 0.7s 0.1s ease both;
}

.player-card {
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: var(--r4);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-amber);
}

.pc-top {
  padding: 1.6rem 1.8rem 1.4rem;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border-bottom: 1px solid var(--line);
}

.pc-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.pc-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.pc-track-name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--t1);
}
.pc-status {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 3px 8px;
  border-radius: 20px;
}
.pc-meta {
  font-size: 0.75rem;
  color: var(--t3);
  font-family: var(--mono);
}

/* Waveform */
.waveform-wrap {
  padding: 1.4rem 1.8rem;
  position: relative;
}
.waveform-canvas-area {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 64px;
}
.wbar {
  flex: 1;
  background: linear-gradient(to top, var(--amber), rgba(245,166,35,0.3));
  border-radius: 2px;
  animation: wbar 1.6s ease-in-out infinite;
}
.wbar:nth-child(2n) { animation-delay: 0.2s; background: linear-gradient(to top, var(--teal), rgba(0,212,200,0.2)); }
.wbar:nth-child(3n) { animation-delay: 0.4s; }
.wbar:nth-child(5n) { animation-delay: 0.6s; }
.wbar:nth-child(7n) { animation-delay: 0.8s; }
@keyframes wbar { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.3); } }

/* Progress */
.progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 1.8rem;
  margin-bottom: 1rem;
}
.progress-time {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--t3);
  white-space: nowrap;
}
.progress-bar {
  flex: 1;
  height: 3px;
  background: var(--bg4);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.progress-fill {
  height: 100%;
  width: 38%;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  border-radius: 3px;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background: var(--t1);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--amber);
}

/* Controls */
.pc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0 1.8rem 1.6rem;
}
.pc-btn {
  background: none;
  border: none;
  color: var(--t3);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--t);
  display: flex;
  padding: 4px;
  border-radius: 6px;
}
.pc-btn:hover { color: var(--t1); }
.pc-btn.play-btn {
  width: 46px;
  height: 46px;
  background: var(--amber);
  color: var(--bg0);
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-amber);
}
.pc-btn.play-btn:hover { background: var(--amber2); transform: scale(1.05); }

/* Floating chips */
.float-chip {
  position: absolute;
  background: var(--bg3);
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  padding: 8px 14px;
  font-size: 0.73rem;
  font-weight: 600;
  font-family: var(--body);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.float-chip.fc1 { top: -18px; right: -12px; color: var(--amber); animation: float 3s ease-in-out infinite; }
.float-chip.fc2 { bottom: 30px; left: -20px; color: var(--teal); animation: float 3s 1.2s ease-in-out infinite; }
.float-chip.fc3 { top: 48%; right: -28px; color: var(--green); animation: float 3s 2.2s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ═══════════════════════════════════════════════════════
   MARQUEE TICKER
═══════════════════════════════════════════════════════ */
.ticker {
  background: var(--amber);
  padding: 10px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.3);
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bg0);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ticker-dot { width: 4px; height: 4px; background: rgba(10,10,11,0.4); border-radius: 50%; }

/* ═══════════════════════════════════════════════════════
   SECTION SCAFFOLDING
═══════════════════════════════════════════════════════ */
section { padding: 5rem 2rem; }
.wrap { max-width: 1380px; margin: 0 auto; }

.sec-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.sec-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--amber); }

.sec-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}
.sec-title .hl { color: var(--amber); }
.sec-sub { color: var(--t2); font-size: 0.97rem; line-height: 1.8; max-width: 520px; margin-bottom: 3rem; font-weight: 300; }

/* ═══════════════════════════════════════════════════════
   TOOLS SECTION
═══════════════════════════════════════════════════════ */
.tools-section { background: var(--bg1); }

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
}
.ftab {
  padding: 7px 16px;
  border-radius: var(--r1);
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
  color: var(--t3);
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ftab:hover { color: var(--t2); border-color: var(--line2); }
.ftab.active { color: var(--amber); background: rgba(245,166,35,0.1); border-color: rgba(245,166,35,0.3); }

/* Tools grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  overflow: hidden;
}

.tool-card {
  background: var(--bg2);
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.tool-card:hover {
  background: var(--bg3);
  z-index: 1;
}
.tool-card:hover::before { transform: scaleX(1); }

.tc-header { display: flex; align-items: flex-start; justify-content: space-between; }
.tc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid var(--line2);
}
.tc-badge {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 7px;
  border-radius: 4px;
}
.tc-badge.hot { background: rgba(245,166,35,0.15); color: var(--amber); border: 1px solid rgba(245,166,35,0.3); }
.tc-badge.new { background: rgba(0,212,200,0.1); color: var(--teal); border: 1px solid rgba(0,212,200,0.25); }

.tc-name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.3px;
}
.tc-desc { font-size: 0.8rem; color: var(--t2); line-height: 1.6; font-weight: 300; }
.tc-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tc-tag {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--t3);
  background: var(--bg4);
  padding: 2px 7px;
  border-radius: 4px;
}
.tc-arrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--amber);
  opacity: 0;
  transition: var(--t);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tc-arrow::after { content: '→'; transition: transform 0.2s; }
.tool-card:hover .tc-arrow { opacity: 1; }
.tool-card:hover .tc-arrow::after { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════ */
.steps-section { background: var(--bg0); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  overflow: hidden;
  margin-top: 3rem;
}
.step-card {
  background: var(--bg1);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.step-card::after {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--display);
  font-size: 7rem;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
}
.step-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-num::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--amber);
}
.step-title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
}
.step-desc { font-size: 0.85rem; color: var(--t2); line-height: 1.7; font-weight: 300; }

/* ═══════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════ */
.faq-section { background: var(--bg1); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  overflow: hidden;
  margin-top: 3rem;
}
.faq-item {
  background: var(--bg2);
  padding: 1.8rem;
  transition: var(--t);
}
.faq-item:hover { background: var(--bg3); }
.faq-q {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}
.faq-a { font-size: 0.83rem; color: var(--t2); line-height: 1.7; font-weight: 300; }

/* ═══════════════════════════════════════════════════════
   TOOL PAGE LAYOUT
═══════════════════════════════════════════════════════ */
.tool-page { padding: 0; min-height: 100vh; }

.tool-hero {
  background: var(--bg1);
  border-bottom: 1px solid var(--line);
  padding: 3rem 2rem 2.5rem;
}
.tool-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.tool-icon-lg {
  width: 64px;
  height: 64px;
  border-radius: var(--r3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  border: 1px solid var(--line2);
  background: var(--bg3);
}
.tool-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.tool-hero h1 .hl { color: var(--amber); }
.tool-hero p { font-size: 0.92rem; color: var(--t2); line-height: 1.7; font-weight: 300; }
.tool-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.8rem; }
.tool-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--amber);
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tool body */
.tool-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Widget card */
.widget-box {
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: var(--r4);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.widget-header {
  padding: 1.2rem 1.6rem;
  background: var(--bg3);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.widget-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.widget-body { padding: 1.6rem; }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--line2);
  border-radius: var(--r3);
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--t);
  position: relative;
  background: var(--bg3);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--amber);
  background: rgba(245,166,35,0.03);
}
.upload-zone.uploaded {
  border-color: var(--green);
  background: rgba(34,197,94,0.03);
  cursor: default;
}
.upload-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-zone.uploaded input[type=file] { pointer-events: none; }
.uz-icon {
  font-size: 2rem;
  margin-bottom: 0.7rem;
  display: block;
  transition: transform 0.3s;
}
.upload-zone:hover .uz-icon { transform: scale(1.1); }
.uz-text { font-family: var(--display); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--t1); }
.uz-sub { font-size: 0.77rem; color: var(--t3); font-family: var(--mono); }

/* Form elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.form-select, .form-input {
  background: var(--bg3);
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  padding: 10px 14px;
  color: var(--t1);
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 400;
  outline: none;
  transition: var(--t);
  width: 100%;
  -webkit-appearance: none;
}
.form-select:focus, .form-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}
.form-select option { background: var(--bg3); }

/* Range slider */
.range-group { margin: 1.2rem 0; }
.range-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}
.rv {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 500;
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--bg4);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--amber);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(245,166,35,0.4);
  transition: transform 0.15s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.2); }

/* Preset chips */
.preset-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.8rem 0; }
.preset-chip {
  padding: 5px 12px;
  border-radius: var(--r1);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid var(--line2);
  background: var(--bg3);
  color: var(--t2);
  cursor: pointer;
  transition: var(--t);
}
.preset-chip:hover { border-color: var(--amber); color: var(--amber); }
.preset-chip.active {
  background: rgba(245,166,35,0.12);
  border-color: var(--amber);
  color: var(--amber);
}

/* Info / warn boxes */
.info-box {
  background: rgba(0,212,200,0.05);
  border: 1px solid rgba(0,212,200,0.15);
  border-radius: var(--r2);
  padding: 0.9rem 1.2rem;
  font-size: 0.82rem;
  color: var(--t2);
  line-height: 1.7;
  margin: 1rem 0;
  font-weight: 300;
}
.info-box strong { color: var(--teal); font-weight: 600; }

.warn-box {
  background: rgba(245,166,35,0.06);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--r2);
  padding: 0.9rem 1.2rem;
  font-size: 0.82rem;
  color: var(--t2);
  line-height: 1.7;
  margin: 1rem 0;
  font-weight: 300;
}
.warn-box strong { color: var(--amber); font-weight: 600; }

/* File info bar */
.file-info-bar {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 0.8rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--t3);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.file-info-bar strong { color: var(--t1); font-weight: 500; }

/* Action button */
.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: var(--amber);
  color: var(--bg0);
  border: none;
  border-radius: var(--r2);
  font-family: var(--display);
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
  margin-top: 1.5rem;
  letter-spacing: 0.2px;
}
.btn-action:hover {
  background: var(--amber2);
  transform: translateY(-1px);
  box-shadow: var(--glow-amber);
}
.btn-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Output section */
.output-section {
  background: var(--bg3);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--r3);
  padding: 1.4rem;
  margin-top: 1.4rem;
  display: none;
}
.output-section.visible { display: block; }
.output-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.output-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

audio {
  width: 100%;
  border-radius: var(--r2);
  display: block;
  margin: 0.6rem 0;
  accent-color: var(--amber);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green);
  padding: 10px 18px;
  border-radius: var(--r2);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--t);
  margin-top: 0.6rem;
}
.btn-download:hover { background: rgba(34,197,94,0.16); transform: translateY(-1px); }

/* Preview audio */
.preview-wrap {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 0.9rem 1.2rem;
  margin: 1rem 0;
}
.preview-label {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

/* SEO / About box */
.seo-box {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 2rem;
  margin-top: 1.5rem;
}
.seo-box h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.7rem;
}
.seo-box p { font-size: 0.85rem; color: var(--t2); line-height: 1.85; font-weight: 300; }
.seo-box .kw { margin-top: 0.8rem; font-size: 0.7rem; color: var(--t4); font-family: var(--mono); line-height: 1.8; }
.seo-box .rel { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* ═══════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  background: var(--bg3);
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  padding: 10px 16px;
  font-size: 0.83rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 240px;
  max-width: 320px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.28s var(--ease), toastOut 0.28s 2.7s ease forwards;
  pointer-events: all;
  font-family: var(--body);
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--amber); }
@keyframes toastIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer {
  background: var(--bg0);
  border-top: 1px solid var(--line);
  padding: 4rem 2rem 2rem;
}
.footer-inner { max-width: 1380px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand-desc { color: var(--t3); font-size: 0.83rem; line-height: 1.8; margin: 0.9rem 0; max-width: 240px; font-weight: 300; }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.soc-link {
  width: 34px;
  height: 34px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--t);
}
.soc-link:hover { color: var(--amber); border-color: var(--amber); background: rgba(245,166,35,0.08); }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--t3);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a { color: var(--t2); text-decoration: none; font-size: 0.83rem; transition: var(--t); font-weight: 300; }
.footer-col ul a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-bottom p { font-size: 0.76rem; color: var(--t4); font-family: var(--mono); }

/* ═══════════════════════════════════════════════════════
   ANIMATIONS & UTILITIES
═══════════════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 3.5rem 1.25rem; }
  .hero { padding: 3rem 1.25rem; min-height: auto; }
  .tool-hero { padding: 2rem 1.25rem; }
  .tool-body { padding: 1.5rem 1.25rem; }
  .widget-body { padding: 1.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .header-inner { padding: 0 1.2rem; }
  .hero h1 { letter-spacing: -2px; }
  .tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions > * { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
