/* =====================================================================
   BroConverter v3 — emerald/cyan palette, dense, professional
   Inspired by Linear, Stripe, Resend, Vercel
   ===================================================================== */

:root {
  /* base — deep almost-black */
  --bg:           #050709;
  --bg-elevated:  #0b0f14;
  --bg-card:      rgba(13, 18, 24, 0.7);
  --bg-card-solid:#0d1218;
  --border:       rgba(255, 255, 255, 0.07);
  --border-strong:rgba(255, 255, 255, 0.13);
  --border-accent:rgba(16, 185, 129, 0.3);

  --text:         #f0f3f7;
  --text-soft:    #c9d1da;
  --text-muted:   #7c8696;
  --text-dim:     #4a525f;

  /* accent — emerald primary, cyan secondary, amber warm */
  --accent:        #10b981;
  --accent-hover:  #34d399;
  --accent-deep:   #059669;
  --accent-soft:   rgba(16, 185, 129, 0.12);
  --accent-glow:   rgba(16, 185, 129, 0.4);

  --cyan:          #06b6d4;
  --cyan-soft:     rgba(6, 182, 212, 0.12);
  --cyan-glow:     rgba(6, 182, 212, 0.35);

  --amber:         #f59e0b;
  --amber-soft:    rgba(245, 158, 11, 0.12);

  --pink:          #ec4899;
  --red:           #ef4444;

  /* fonts */
  --font-sans:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', 'Cascadia Code', Menlo, Monaco, Consolas, monospace;

  /* radius */
  --radius-xs:    6px;
  --radius-sm:    10px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  /* easing */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h:     60px;
  --announce-h:   36px;
}

/* =====================================================================
   reset & base
   ===================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--accent-soft); color: var(--text); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font-sans);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}
code {
  background: rgba(6, 182, 212, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--cyan);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* =====================================================================
   background — grid + mesh + noise
   ===================================================================== */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 800px 600px at 50% 0%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 800px 600px at 50% 0%, black, transparent);
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}

.mesh-orb-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; left: -150px;
  animation: orbFloat1 26s ease-in-out infinite;
}
.mesh-orb-2 {
  width: 500px; height: 500px;
  background: var(--cyan);
  top: 35%; right: -200px;
  animation: orbFloat2 32s ease-in-out infinite;
  opacity: 0.35;
}
.mesh-orb-3 {
  width: 700px; height: 700px;
  background: var(--accent);
  bottom: -300px; left: 25%;
  animation: orbFloat3 28s ease-in-out infinite;
  opacity: 0.25;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(160px, 220px) scale(1.15); }
  66% { transform: translate(80px, -100px) scale(0.9); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-200px, 180px) scale(1.2); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-220px, -120px); }
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.02;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =====================================================================
   reveal animation
   ===================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   announcement strip
   ===================================================================== */

.announce {
  background: linear-gradient(90deg, rgba(16,185,129,0.06), rgba(6,182,212,0.06));
  border-bottom: 1px solid var(--border);
  height: var(--announce-h);
  position: relative;
  z-index: 51;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.announce-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  background: var(--accent);
  color: white;
  border-radius: 4px;
}

.announce-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-hover);
  font-weight: 500;
  transition: gap 0.2s;
}
.announce-link svg { width: 12px; height: 12px; }
.announce-link:hover { gap: 8px; }

/* =====================================================================
   topbar
   ===================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(5, 7, 9, 0.7);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.2s var(--ease-spring);
}
.brand:hover { transform: scale(1.02); }

.brand-mark {
  width: 28px; height: 28px;
  transition: transform 0.4s var(--ease-spring);
}
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.08); }

.brand-text { letter-spacing: -0.02em; }
.brand-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: var(--accent-soft);
  color: var(--accent-hover);
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  margin-left: 4px;
  border: 1px solid var(--border-accent);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: center;
}

.topnav > a {
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.topnav > a:hover { color: var(--text); }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.btn-sm { padding: 7px 14px; font-size: 0.86rem; }
.btn-sm svg { width: 12px; height: 12px; }

.btn-ghost {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.btn-primary {
  position: relative;
  background: var(--accent);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 0 0 0 var(--accent-glow);
  overflow: hidden;
  cursor: pointer;
}
.btn-primary svg { width: 14px; height: 14px; transition: transform 0.2s; }
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2) inset,
    0 8px 24px var(--accent-glow);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-lg { padding: 14px 26px; font-size: 0.98rem; }
.btn-lg svg { width: 16px; height: 16px; }

.btn-block { width: 100%; }

.btn-text {
  background: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 10px;
  transition: color 0.15s;
  cursor: pointer;
}
.btn-text:hover { color: var(--text); }

.mobile-toggle { display: none; padding: 8px; color: var(--text-muted); }
.mobile-toggle svg { width: 22px; height: 22px; }

/* =====================================================================
   HERO
   ===================================================================== */

.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.badge-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.badge-sep { color: var(--text-dim); }
.badge-mono { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.76rem; }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 22px;
}

.grad-flow {
  background: linear-gradient(120deg,
    var(--accent) 0%,
    var(--cyan) 50%,
    var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradFlow 6s ease-in-out infinite;
}
.grad-flow.grad-2 {
  background: linear-gradient(120deg,
    var(--cyan) 0%,
    var(--amber) 50%,
    var(--cyan) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.55;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.dot-green  { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.dot-cyan   { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dot-orange { background: var(--amber); box-shadow: 0 0 8px var(--amber); }

/* mockup */

.hero-mockup {
  position: relative;
}

.mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%);
  filter: blur(60px);
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

.mockup-window {
  position: relative;
  background: linear-gradient(180deg, #0e1419, #0a0e12);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 32px 64px -16px rgba(0,0,0,0.7),
    0 0 0 1px rgba(16,185,129,0.1);
  overflow: hidden;
  z-index: 1;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s var(--ease-out);
}
.mockup-window:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.mockup-url svg { width: 11px; height: 11px; color: var(--accent); }

.mockup-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 320px;
}

.mockup-sidebar {
  background: rgba(0,0,0,0.2);
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.15s;
  position: relative;
}
.sidebar-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.sidebar-item.active {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.sidebar-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 6px;
}

.mockup-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-files { display: flex; flex-direction: column; gap: 8px; }

.mockup-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.mockup-file-done { border-color: rgba(16,185,129,0.25); background: rgba(16,185,129,0.04); }
.mockup-file-progress { border-color: rgba(6,182,212,0.25); background: rgba(6,182,212,0.04); }

.file-thumb {
  width: 32px; height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.file-thumb svg { width: 16px; height: 16px; }
.file-img { background: var(--accent-soft); color: var(--accent-hover); }
.file-vid { background: var(--cyan-soft); color: var(--cyan); }
.file-doc { background: var(--amber-soft); color: var(--amber); }

.file-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.file-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.file-progress {
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.file-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  border-radius: 3px;
  animation: barShimmer 1.6s ease-in-out infinite;
}
@keyframes barShimmer {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.file-status {
  font-size: 1rem;
  margin-left: 4px;
}
.status-ok { color: var(--accent); }
.status-busy { color: var(--cyan); animation: spin 1.5s linear infinite; }
.status-wait { color: var(--text-dim); }
@keyframes spin { to { transform: rotate(360deg); } }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.mockup-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
}
.mockup-stat-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mockup-stat-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

/* =====================================================================
   BRANDS BAR
   ===================================================================== */

.brands-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.brands-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.brand-logo {
  height: 28px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.25s, color 0.25s;
}
.brand-logo svg { height: 100%; width: auto; }
.brand-logo:hover { opacity: 1; color: var(--text-soft); }

/* =====================================================================
   section heads
   ===================================================================== */

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-hover);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.55;
}

.inline-link {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.inline-link:hover { color: var(--cyan); }

/* =====================================================================
   glassmorphism utility
   ===================================================================== */

.glass {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 24px 48px -12px rgba(0, 0, 0, 0.5);
}

/* =====================================================================
   converter
   ===================================================================== */

.converter-section { padding: 40px 0 100px; }

.converter {
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.dropzone {
  position: relative;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  margin-bottom: 24px;
  overflow: hidden;
}

.dropzone-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.dropzone:hover, .dropzone.drag {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.03);
}
.dropzone:hover .dropzone-bg, .dropzone.drag .dropzone-bg { opacity: 1; }

.dropzone-icon {
  width: 48px; height: 48px;
  color: var(--text-muted);
  margin: 0 auto 14px;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  z-index: 1;
}
.dropzone:hover .dropzone-icon, .dropzone.drag .dropzone-icon {
  color: var(--accent);
  transform: translateY(-4px) scale(1.05);
}

.dropzone-text {
  font-size: 1.08rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.dropzone-text strong { color: var(--text); margin-right: 4px; }
.dropzone-text span { color: var(--text-muted); }

.link-btn {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s;
  cursor: pointer;
}
.link-btn:hover { color: var(--cyan); }

.dropzone-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

.converter-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.format-group { display: flex; flex-direction: column; gap: 8px; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grad-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.format-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.format-ext {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.format-size {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.arrow {
  color: var(--text-dim);
  padding: 0 4px;
  align-self: center;
  margin-top: 22px;
  animation: arrowPulse 2.4s ease-in-out infinite;
}
.arrow svg { width: 20px; height: 20px; }
@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(4px); opacity: 1; }
}

.select-wrap { position: relative; display: flex; }

.format-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 42px 13px 16px;
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.format-select:hover, .format-select:focus {
  border-color: var(--accent);
  outline: none;
}

.select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.quality-group {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.quality-group input[type=range] {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.quality-group input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--accent-glow);
  transition: transform 0.15s;
}
.quality-group input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.quality-group input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.btn-convert {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: white;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s var(--ease-out);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2) inset,
    0 8px 24px var(--accent-glow);
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shine 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine { to { left: 200%; } }

.btn-icon { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-convert:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 12px 32px var(--accent-glow);
}
.btn-convert:hover .btn-icon { transform: translateX(4px); }

.btn-convert.busy { background: var(--bg-elevated); color: var(--text-muted); cursor: wait; box-shadow: none; }
.btn-convert.busy .btn-shine, .btn-convert.busy .btn-icon { display: none; }
.btn-convert.busy .btn-spinner { display: block; animation: spin 0.8s linear infinite; }
.btn-convert.done { background: linear-gradient(135deg, var(--cyan), #0891b2); }
.btn-convert.done .btn-shine { display: none; }

.btn-spinner { width: 18px; height: 18px; display: none; }

.convert-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.status-dot.busy { background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 1.2s ease-in-out infinite; }
.status-dot.done { background: var(--accent); }

/* =====================================================================
   FEATURES
   ===================================================================== */

.features-section { padding: 100px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(16, 185, 129, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px -16px rgba(16, 185, 129, 0.3);
}
.feature:hover::before { opacity: 1; }

.feature-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--border-accent);
  position: relative;
  z-index: 1;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon.icon-cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
  border-color: rgba(6, 182, 212, 0.25);
}
.feature-icon.icon-amber {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.25);
}

.feature h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.feature-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.meta-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */

.how-section { padding: 100px 0; position: relative; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.how-step {
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
}

.how-step:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.how-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.how-step p {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.step-illust {
  height: 60px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
}

.step-illust-1 { padding: 8px; }
.step-illust-1 .illust-zone {
  width: 100%;
  height: 100%;
  border: 1px dashed var(--accent);
  border-radius: 6px;
  position: relative;
}
.step-illust-1 .illust-file {
  position: absolute;
  width: 32px; height: 28px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 4px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: fileDrop 2s ease-in-out infinite;
}
@keyframes fileDrop {
  0%, 100% { transform: translate(-50%, -100%); opacity: 0; }
  20% { transform: translate(-50%, -50%); opacity: 1; }
  80% { transform: translate(-50%, -50%); opacity: 1; }
  100% { transform: translate(-50%, 0%); opacity: 0; }
}

.illust-from, .illust-to {
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
}
.illust-from { background: var(--accent-soft); border-color: var(--border-accent); color: var(--accent-hover); }
.illust-to { background: var(--cyan-soft); border-color: rgba(6,182,212,0.25); color: var(--cyan); }

.illust-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  animation: arrowPulse 2s ease-in-out infinite;
}

.step-illust-3 { padding: 12px; flex-direction: column; gap: 8px; }
.illust-bar {
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}
.illust-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 3px;
  animation: barFill 3s ease-in-out infinite;
}
@keyframes barFill {
  0% { width: 0%; }
  60% { width: 100%; }
  100% { width: 100%; }
}
.illust-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  animation: checkPop 3s ease-in-out infinite;
}
@keyframes checkPop {
  0%, 50% { opacity: 0; transform: scale(0); }
  60% { opacity: 1; transform: scale(1.2); }
  70%, 100% { opacity: 1; transform: scale(1); }
}

/* =====================================================================
   STATS
   ===================================================================== */

.stats-section { padding: 60px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s var(--ease-spring);
}
.stat:hover { transform: scale(1.03); }

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* =====================================================================
   REVIEWS
   ===================================================================== */

.reviews-section { padding: 100px 0; position: relative; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.review {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s var(--ease-out);
}
.review:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
}
.review-stars svg { width: 14px; height: 14px; }

.review-text {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: white;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.avatar-emerald { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.avatar-cyan    { background: linear-gradient(135deg, var(--cyan), #0e7490); }
.avatar-amber   { background: linear-gradient(135deg, var(--amber), #b45309); }

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.review-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.review-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =====================================================================
   PRICING
   ===================================================================== */

.pricing-section { padding: 100px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.price-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.price-popular {
  border-color: var(--border-accent);
  background:
    linear-gradient(180deg, rgba(16,185,129,0.08), rgba(16,185,129,0.02)),
    var(--bg-card);
  box-shadow:
    0 1px 0 rgba(16,185,129,0.2) inset,
    0 16px 48px -12px var(--accent-glow);
}

.price-badge {
  position: absolute;
  top: -10px;
  left: 28px;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.price-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  display: flex;
  align-items: baseline;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 600;
  margin-right: 4px;
  color: var(--text-muted);
}

.price-period {
  font-size: 0.92rem;
  font-weight: 500;
  margin-left: 4px;
  color: var(--text-muted);
}

.price-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 42px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.price-features li.muted {
  color: var(--text-dim);
  text-decoration: line-through;
}

/* =====================================================================
   FAQ
   ===================================================================== */

.faq-section { padding: 100px 0; }
.faq-section .container { max-width: 800px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] {
  border-color: var(--border-accent);
  background: rgba(16, 185, 129, 0.03);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-hover); }

.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-hover);
  border-bottom: 2px solid var(--accent-hover);
  transform: rotate(45deg);
  margin-right: 6px;
  transition: transform 0.3s var(--ease-spring);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 6px;
}

.faq-body {
  padding: 0 24px 22px;
  animation: faqOpen 0.35s var(--ease-out);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-body p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* =====================================================================
   ACCESS CARD
   ===================================================================== */

.access-section { padding: 80px 0 120px; }

.access-card {
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.access-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, var(--accent-soft), transparent 40%),
    radial-gradient(circle at 100% 100%, var(--cyan-soft), transparent 40%);
  z-index: 0;
}

.access-card > * { position: relative; z-index: 1; }

.access-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin: 14px 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.access-sub {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1rem;
}

.access-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 14px;
}

.access-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.94rem;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.access-form input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.access-form button { white-space: nowrap; }

.access-fine {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* =====================================================================
   FOOTER
   ===================================================================== */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .brand { margin-bottom: 14px; }

.footer-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.footer-social svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-col li a:hover { color: var(--accent-hover); }

.status-up {
  color: var(--accent);
  font-size: 0.7em;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
  display: inline-block;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-meta { font-family: var(--font-mono); }

/* =====================================================================
   SIGN-IN MODAL
   ===================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(16,185,129,0.04), rgba(13,18,24,0.9)),
    rgba(13, 18, 24, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 24px 64px -8px rgba(0,0,0,0.7),
    0 0 0 1px rgba(16,185,129,0.15);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s var(--ease-spring);
}
.modal-backdrop.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.15s;
  cursor: pointer;
}
.modal-close:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.modal-close svg { width: 16px; height: 16px; }

.modal-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 24px var(--accent-glow);
}
.modal-icon svg { width: 28px; height: 28px; }

.modal-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.modal-sub {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-fine {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* =====================================================================
   responsive
   ===================================================================== */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mockup-window { transform: none; max-width: 560px; margin: 0 auto; }
  .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

@media (max-width: 880px) {
  .topnav { display: none; }
  .topbar-actions { gap: 6px; }
  .mobile-toggle { display: block; }
  .topbar-inner { grid-template-columns: auto 1fr auto; }
  .announce-inner span:nth-of-type(2) { display: none; }
  .hero { padding: 50px 0 70px; }
  .hero-title { font-size: 2.2rem; }
  .converter { padding: 24px; }
  .converter-controls { grid-template-columns: 1fr; gap: 12px; }
  .arrow { transform: rotate(90deg); justify-self: center; margin-top: 0; padding: 0; }
  .arrow svg { width: 18px; height: 18px; }
  .features-section, .how-section, .faq-section, .reviews-section, .pricing-section { padding: 70px 0; }
  .access-card { padding: 40px 24px; }
  .access-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .brand-logo { height: 24px; }
  .mockup-body { grid-template-columns: 1fr; min-height: 280px; }
  .mockup-sidebar { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .announce-link span { display: none; }
  .hero-title { font-size: 1.9rem; line-height: 1.05; }
  .hero-cta { gap: 8px; }
  .feature, .how-step, .review, .price-card { padding: 22px; }
  .feature-grid, .how-grid, .reviews-grid, .pricing-grid { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { gap: 24px; padding: 24px 0; }
  .modal-card { padding: 28px 22px 22px; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   INTERNAL PAGES — error 404, articles, docs, status, changelog
   ===================================================================== */

/* shared */

.footer-minimal { padding: 32px 0 24px; border-top: 1px solid var(--border); }
.footer-minimal .footer-bottom { padding-top: 0; }

.article-page { padding: 80px 0 100px; }
.article-narrow { max-width: 760px; }

.article-head { text-align: center; margin-bottom: 56px; }
.article-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 16px 0 14px;
}
.article-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

.article-body { font-size: 1rem; line-height: 1.65; color: var(--text-soft); }
.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 14px; }
.article-body ul { margin: 0 0 18px 0; padding-left: 20px; }
.article-body ul li { margin-bottom: 6px; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--accent-hover); }

.article-tldr {
  background: linear-gradient(180deg, rgba(16,185,129,0.06), rgba(16,185,129,0.02));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.article-tldr h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-hover);
  margin-bottom: 14px;
}
.article-tldr ul { margin: 0; padding-left: 18px; }
.article-tldr li { color: var(--text-soft); }

/* 404 page */

.error-page { padding: 80px 0 120px; min-height: 65vh; display: flex; align-items: center; }
.error-content { text-align: center; max-width: 600px; margin: 0 auto; }
.error-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.error-content h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.error-content > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.error-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.error-suggestions {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 460px;
  margin: 0 auto;
}
.error-suggestions h2 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.error-suggestions ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.error-suggestions a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 0.15s, padding 0.15s;
}
.error-suggestions a:hover { color: var(--accent-hover); padding-left: 4px; }

/* docs */

.docs-page { padding: 60px 0 80px; }
.docs-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: flex-start;
}

.docs-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: flex-start;
  padding-right: 20px;
}
.docs-sidebar h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.docs-sidebar h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 20px 0 8px;
}
.docs-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: -8px;
}
.docs-sidebar a {
  display: block;
  padding: 5px 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.15s;
  border-left: 2px solid transparent;
}
.docs-sidebar a:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.docs-sidebar a.active {
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-left-color: var(--accent);
  font-weight: 500;
}

.docs-article { max-width: 720px; min-width: 0; }

.docs-head { margin-bottom: 40px; }
.docs-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.docs-head h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.docs-lead { color: var(--text-muted); font-size: 1.08rem; line-height: 1.55; }

.docs-article h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.docs-article p { color: var(--text-soft); line-height: 1.6; margin-bottom: 14px; }
.docs-article ul { color: var(--text-soft); margin: 0 0 18px 24px; line-height: 1.65; }
.docs-article a { color: var(--accent-hover); }

.docs-article pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0 0 18px 0;
}
.docs-article pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.55;
}

.docs-tip, .docs-note {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.docs-tip {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}
.docs-note {
  background: var(--cyan-soft);
  border-left: 3px solid var(--cyan);
}
.docs-tip strong, .docs-note strong { color: var(--text); }

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.docs-table th, .docs-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.docs-table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.docs-table td { color: var(--text-soft); }

/* status page */

.status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-size: 1rem;
}
.status-banner.status-ok {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.04));
  border: 1px solid var(--border-accent);
}
.status-banner-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.status-banner strong { color: var(--text); font-weight: 600; }
.status-banner-ts {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.status-components {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}
.status-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.status-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.status-dot-comp {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.status-name { font-weight: 600; flex: 1; }
.status-uptime {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-bars {
  display: grid;
  grid-template-columns: repeat(90, 1fr);
  gap: 2px;
  height: 28px;
}
.bar {
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.bar:hover { opacity: 1; }
.bar-fail { background: var(--red); opacity: 0.8; }

.status-history h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.incident-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.incident-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.incident-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.incident-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.incident-body p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }

.status-fine {
  margin-top: 32px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* changelog */

.changelog-list { display: flex; flex-direction: column; gap: 36px; margin-top: 40px; }
.changelog-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.changelog-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.changelog-ver {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-hover);
}
.changelog-date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.changelog-item h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.changelog-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.changelog-bullets li {
  display: flex;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-soft);
  align-items: flex-start;
}
.changelog-bullets code { background: rgba(0,0,0,0.3); }

.tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-top: 3px;
}
.tag-add   { background: rgba(16,185,129,0.15); color: var(--accent-hover); border: 1px solid rgba(16,185,129,0.3); }
.tag-fix   { background: rgba(6,182,212,0.15); color: var(--cyan); border: 1px solid rgba(6,182,212,0.3); }
.tag-perf  { background: rgba(245,158,11,0.15); color: var(--amber); border: 1px solid rgba(245,158,11,0.3); }
.tag-break { background: rgba(239,68,68,0.15); color: var(--red); border: 1px solid rgba(239,68,68,0.3); }

/* pricing — extra */

.compare-section { margin: 60px 0; }
.compare-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.compare-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table th {
  font-weight: 600;
  background: rgba(255,255,255,0.03);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table td { color: var(--text-soft); }
.compare-table td:first-child { color: var(--text-muted); font-size: 0.88rem; }
.compare-table .popular {
  background: rgba(16,185,129,0.06);
  color: var(--accent-hover);
  font-weight: 600;
}
.compare-table thead .popular { background: rgba(16,185,129,0.1); color: var(--accent-hover); }

.faq-inline { padding: 60px 0 20px !important; }
.faq-inline h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: center;
}
.faq-inline .container { max-width: none; padding: 0; }

/* coming-soon page */

.cs-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(245,158,11,0.06), rgba(16,185,129,0.04)),
    var(--bg-card);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 32px 0;
}
.cs-pulse {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: pulse 1.8s ease-in-out infinite;
  margin-top: 6px;
  flex-shrink: 0;
}
.cs-content { flex: 1; }
.cs-eta {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 6px !important;
}
.cs-eta strong { color: var(--amber); font-weight: 600; }
.cs-content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }

.cs-roadmap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.cs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.cs-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.cs-tag-soon  { background: rgba(16,185,129,0.15); color: var(--accent-hover); border: 1px solid rgba(16,185,129,0.3); }
.cs-tag-later { background: rgba(124,134,150,0.15); color: var(--text-muted); border: 1px solid var(--border-strong); }

@media (max-width: 560px) {
  .cs-roadmap { grid-template-columns: 1fr; }
}

/* internal pages responsive */

@media (max-width: 880px) {
  .docs-container { grid-template-columns: 1fr; gap: 24px; }
  .docs-sidebar { position: static; padding-right: 0; }
  .article-page, .docs-page { padding: 50px 0 80px; }
  .incident-item { grid-template-columns: 1fr; gap: 8px; }
  .status-bars { grid-template-columns: repeat(60, 1fr); }
}

@media (max-width: 560px) {
  .status-bars { grid-template-columns: repeat(45, 1fr); }
  .article-tldr { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .mesh-orb, .btn-shine, .arrow, .file-bar, .illust-file, .illust-bar-fill, .illust-check { animation: none; }
}
