/* ============================================================
   DebugMate AI — style.css  [PREMIUM REDESIGN]
   Theme: Obsidian black + molten orange
   Fonts: Bricolage Grotesque (headings) · DM Sans (body) · Geist Mono (code)
   ============================================================ */

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

/* ── Variables ── */
:root {
  /* Backgrounds — layered obsidian */
  --bg:        #080808;
  --bg-2:      #0e0e0e;
  --bg-3:      #141414;
  --bg-card:   #0d0d0d;
  --bg-raised: #111111;

  /* Borders */
  --border:    #1c1c1c;
  --border-hl: #252525;
  --border-glow: rgba(255, 110, 15, 0.18);

  /* Brand: molten orange */
  --orange:      #ff6b0f;
  --orange-2:    #ff8f3f;
  --orange-3:    #ffa55c;
  --orange-dim:  rgba(255, 107, 15, 0.12);
  --orange-glow: 0 0 32px rgba(255, 107, 15, 0.35), 0 0 80px rgba(255, 107, 15, 0.12);
  --orange-glow-sm: 0 0 16px rgba(255, 107, 15, 0.3);

  /* Text */
  --text:       #f0ede8;
  --text-2:     #b8b3aa;
  --text-dim:   #7a7570;
  --text-faint: #38352f;

  /* Code */
  --code-bg:   #060606;

  /* Radius */
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Typography */
  --heading:  'Bricolage Grotesque', 'Georgia', serif;
  --body:     'DM Sans', 'system-ui', sans-serif;
  --mono:     'Geist Mono', 'JetBrains Mono', monospace;
  --sans:     'DM Sans', 'system-ui', sans-serif;

  /* Motion */
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--body); }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #242424; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ── Selection ── */
::selection { background: rgba(255, 107, 15, 0.22); color: var(--text); }

/* ─────────────────────────────────────
   NAVBAR
───────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 1px 0 var(--border-glow), 0 8px 40px rgba(0,0,0,0.7);
  border-bottom-color: rgba(255, 107, 15, 0.08);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2.5rem;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--heading);
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-icon {
  color: var(--orange);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(255, 107, 15, 0.7));
}
.logo-accent { color: var(--orange); }

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 0.1rem;
}
.nav-links a {
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.005em;
  padding: 6px 13px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a::after { display: none; }
.nav-links a:hover {
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
}

/* GitHub pill */
.nav-github {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--body);
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 16px;
  border-radius: 99px;
  margin-left: 0.75rem;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.nav-github svg { opacity: 0.55; transition: opacity var(--transition); }
.nav-github:hover {
  background: rgba(255, 107, 15, 0.07);
  border-color: rgba(255, 107, 15, 0.35);
  color: var(--orange);
  box-shadow: var(--orange-glow-sm);
}
.nav-github:hover svg { opacity: 1; }
.nav-github::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
}
.hamburger span {
  display: block; width: 21px; height: 1.5px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.hamburger:hover span { background: var(--text-2); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 600;
  font-size: 0.875rem; letter-spacing: 0.005em;
  padding: 11px 26px; border-radius: var(--radius);
  border: none; transition: all var(--transition);
  position: relative; overflow: hidden;
  white-space: nowrap;
}

/* Shimmer layer */
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #e85a00 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset,
              0 0 0 1px rgba(255, 107, 15, 0.3),
              0 4px 20px rgba(255, 107, 15, 0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-2) 0%, var(--orange) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset,
              0 0 0 1px rgba(255, 107, 15, 0.45),
              var(--orange-glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 0 0 1px rgba(255, 107, 15, 0.3); }

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-hl);
  letter-spacing: 0.01em;
}
.btn-ghost:hover {
  border-color: rgba(255, 107, 15, 0.4);
  color: var(--orange);
  background: rgba(255, 107, 15, 0.04);
  box-shadow: 0 0 20px rgba(255, 107, 15, 0.08);
}
.btn-full { width: 100%; justify-content: center; padding: 13px; font-size: 0.95rem; }
.btn-center { display: flex; margin: 2.5rem auto 0; width: fit-content; }
.btn-arrow { transition: transform var(--transition); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─────────────────────────────────────
   SECTION COMMONS
───────────────────────────────────── */
.section-label {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--orange); letter-spacing: 0.12em;
  margin-bottom: 1rem; text-transform: lowercase;
  opacity: 0.8;
}
.section-title {
  font-family: var(--heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 0.85rem;
  color: var(--text);
}
.section-sub {
  color: var(--text-dim);
  font-size: 1rem; font-weight: 400;
  max-width: 520px;
  line-height: 1.7;
}

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 120px 2rem 80px;
  max-width: 1200px; margin: 0 auto;
  position: relative;
}

/* Ambient background grid */
.hero-bg-grid {
  position: fixed; inset: 0; z-index: -2;
  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: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 60% at 40% 40%, black 0%, transparent 100%);
}

/* Warm ambient glow */
.hero-glow {
  position: absolute; top: 20%; left: 5%;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 107, 15, 0.07) 0%, transparent 65%);
  pointer-events: none; z-index: -1;
}

/* Second cooler glow for depth */
.hero-glow::after {
  content: '';
  position: absolute; top: 50%; right: -30%; 
  width: 400px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(255, 150, 80, 0.04) 0%, transparent 70%);
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--orange);
  border: 1px solid rgba(255, 107, 15, 0.25);
  background: rgba(255, 107, 15, 0.06);
  padding: 6px 14px; border-radius: 99px;
  margin-bottom: 1.75rem; letter-spacing: 0.06em;
  box-shadow: 0 0 20px rgba(255, 107, 15, 0.08);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* Hero title */
.hero-title {
  font-family: var(--heading);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.045em;
  line-height: 1.06; margin-bottom: 1.4rem;
  color: var(--text);
}
.title-accent {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 50%, var(--orange-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.hero-sub {
  font-family: var(--body);
  font-size: 1.05rem; color: var(--text-dim);
  max-width: 460px; margin-bottom: 2.25rem;
  line-height: 1.75; font-weight: 400;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

/* Stats row */
.hero-stats {
  display: flex; align-items: center; gap: 1.75rem;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-n {
  font-family: var(--heading);
  font-size: 1.5rem; font-weight: 800;
  color: var(--orange); line-height: 1;
  letter-spacing: -0.03em;
}
.stat-l {
  font-size: 0.68rem; color: var(--text-faint);
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
}
.stat-divider { width: 1px; height: 32px; background: var(--border-hl); }

/* ── Terminal widget ── */
.hero-terminal {
  background: var(--bg-2);
  border: 1px solid var(--border-hl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 32px 80px rgba(0,0,0,0.7),
    0 0 40px rgba(255, 107, 15, 0.04);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-8px) rotate(0.2deg); }
  66%       { transform: translateY(-4px) rotate(-0.1deg); }
}

.terminal-bar {
  background: rgba(20, 20, 20, 0.9);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 11px; height: 11px; border-radius: 50%; }
.t-red    { background: #ff5f57; }
.t-yellow { background: #ffbd2e; }
.t-green  { background: #28c840; }
.t-title {
  margin-left: auto; margin-right: auto;
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--text-faint); letter-spacing: 0.04em;
}
.terminal-body {
  padding: 22px 22px 26px;
  font-family: var(--mono); font-size: 0.8rem;
  display: flex; flex-direction: column; gap: 5px;
  line-height: 1.55;
}
.t-line { color: var(--text-dim); }
.t-dim { color: var(--text-faint); padding-left: 1.2em; }
.t-blank { height: 6px; }
.t-err { color: #ff5f57; margin-right: 6px; }
.t-ai { color: var(--orange); font-weight: 600; }
.t-fix { color: #9a9590; }
.t-hl { color: var(--orange-2); }
.t-ok { color: #28c840; }
.t-typing {
  border-right: 2px solid var(--orange);
  animation: blink-caret 0.9s step-end infinite;
}
@keyframes blink-caret {
  0%, 100% { border-color: var(--orange); }
  50% { border-color: transparent; }
}

/* ─────────────────────────────────────
   DEBUGGER SECTION
───────────────────────────────────── */
.debugger-section {
  max-width: 860px; margin: 0 auto;
  padding: 110px 2rem 80px;
}
.debugger-section .section-sub { margin-bottom: 2.75rem; }

.debugger-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hl);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 8px 60px rgba(0,0,0,0.55);
}
/* Top orange line accent */
.debugger-card::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.45;
  border-radius: 1px;
}

.form-row { margin-bottom: 1.85rem; }

.form-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--body);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.07em; color: var(--text-2);
  margin-bottom: 0.65rem; text-transform: uppercase;
}
.form-hint {
  font-weight: 400; color: var(--text-faint);
  font-size: 0.73rem; text-transform: none; letter-spacing: 0;
}

.select-wrap { position: relative; display: inline-block; }
.form-select {
  background: var(--bg-3); border: 1px solid var(--border-hl);
  color: var(--text);
  font-family: var(--mono); font-size: 0.875rem;
  padding: 10px 40px 10px 14px;
  border-radius: var(--radius); appearance: none;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}
.select-arrow {
  position: absolute; right: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim); pointer-events: none; font-size: 0.8rem;
}

.textarea-wrap {
  display: flex;
  background: var(--code-bg);
  border: 1px solid var(--border-hl);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.textarea-wrap:focus-within {
  border-color: rgba(255, 107, 15, 0.5);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.line-numbers {
  padding: 14px 10px 14px 14px;
  font-family: var(--mono); font-size: 0.8rem;
  color: var(--text-faint); text-align: right;
  line-height: 1.6; user-select: none;
  border-right: 1px solid var(--border);
  min-width: 40px; flex-shrink: 0;
}

.form-textarea {
  width: 100%;
  background: var(--code-bg);
  border: 1px solid var(--border-hl); border-radius: var(--radius);
  color: var(--text); font-family: var(--mono);
  font-size: 0.85rem; line-height: 1.6;
  padding: 14px 16px; resize: vertical;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.code-area {
  border: none; border-radius: 0;
  flex: 1;
}
.form-textarea:focus {
  border-color: rgba(255, 107, 15, 0.5);
  box-shadow: 0 0 0 3px var(--orange-dim);
}
.code-area:focus { box-shadow: none; }
.form-textarea::placeholder { color: var(--text-faint); }
.form-textarea.err { border-color: rgba(255, 95, 87, 0.5); }

.validation-msg {
  color: #ff6b6b; font-size: 0.8rem;
  font-family: var(--mono); margin-bottom: 1rem;
  min-height: 1.2em; letter-spacing: 0.01em;
}

/* Loader */
.loader-overlay {
  position: absolute; inset: 0;
  background: rgba(8, 8, 8, 0.9);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  z-index: 10;
}
.loader-overlay[hidden] { display: none; }
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.loader-ring {
  width: 48px; height: 48px;
  border: 2px solid var(--border-hl);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
  box-shadow: 0 0 16px rgba(255, 107, 15, 0.2);
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { text-align: center; }
.loader-title {
  display: block; font-family: var(--heading); font-weight: 700; font-size: 1rem;
  color: var(--text); margin-bottom: 5px; letter-spacing: -0.01em;
}
.loader-sub {
  display: block; font-family: var(--mono);
  font-size: 0.75rem; color: var(--orange);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────
   RESULT SECTION
───────────────────────────────────── */
.result-section {
  max-width: 1100px; margin: 0 auto;
  padding: 20px 2rem 100px;
}
.result-section[hidden] { display: none; }
.result-section .section-title { margin-bottom: 2rem; }

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hl);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  animation: fadeSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255,107,15,0.15) 50%, transparent 90%);
}
.result-card:hover {
  border-color: #2a2a2a;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.result-card:nth-child(2) { animation-delay: 0.08s; }
.result-card:nth-child(3) { animation-delay: 0.16s; }
.result-card-wide { grid-column: 1 / -1; }

.result-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.rc-icon { font-size: 1rem; }
.rc-title {
  font-family: var(--body);
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.04em; flex: 1;
  text-transform: uppercase; color: var(--text-2);
}
.result-body {
  color: var(--text-dim); font-family: var(--body);
  font-size: 0.9rem; line-height: 1.8;
}
.result-body strong { color: var(--text); font-weight: 600; }

.copy-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hl);
  color: var(--text-dim);
  font-size: 0.75rem; font-family: var(--body);
  font-weight: 600; padding: 6px 13px; border-radius: 7px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.copy-btn:hover {
  border-color: rgba(255, 107, 15, 0.4);
  color: var(--orange);
  background: rgba(255, 107, 15, 0.05);
}
.copy-btn.copied { border-color: rgba(40, 200, 64, 0.4); color: #28c840; background: rgba(40,200,64,0.05); }

.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  font-family: var(--mono); font-size: 0.825rem;
  line-height: 1.75; color: var(--text);
  overflow-x: auto;
  white-space: pre;
  word-break: normal;
  tab-size: 2;
}
.code-block::-webkit-scrollbar { height: 4px; }

/* ─────────────────────────────────────
   FEATURES
───────────────────────────────────── */
.features-section {
  max-width: 1100px; margin: 0 auto;
  padding: 110px 2rem;
}
.features-section .section-sub { margin-bottom: 3.5rem; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hl);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem 2rem;
  position: relative; overflow: hidden;
  transition: transform var(--transition-slow), border-color var(--transition), box-shadow var(--transition-slow);
}

/* Corner glow on hover */
.feature-card::after {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(255,107,15,0.08) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--transition-slow);
}
.feature-card:hover::after { opacity: 1; }
.feature-card:hover {
  transform: translateY(-5px);
  border-color: #282828;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.feature-card-accent {
  border-color: rgba(255, 107, 15, 0.18);
  background: linear-gradient(145deg, #0d0d0d 0%, #120a00 100%);
}
.feature-card-accent:hover {
  border-color: rgba(255, 107, 15, 0.4);
  box-shadow: var(--orange-glow), 0 20px 60px rgba(0,0,0,0.5);
}
.feature-card-accent::after { opacity: 0.6 !important; }

.feature-icon {
  font-size: 1.75rem; margin-bottom: 1.1rem;
  display: block;
}
.feature-card h3 {
  font-family: var(--heading);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.65rem; letter-spacing: -0.02em;
  color: var(--text);
}
.feature-card p { color: var(--text-dim); font-size: 0.875rem; line-height: 1.75; }

.feature-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-2) 50%, transparent 100%);
  opacity: 0; transition: opacity var(--transition);
}
.feature-card:hover .feature-line { opacity: 0.7; }
.feature-card-accent .feature-line { opacity: 0.3; }

/* ─────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────── */
.hiw-section {
  max-width: 720px; margin: 0 auto;
  padding: 100px 2rem;
}
.hiw-steps {
  margin: 3.5rem 0;
  display: flex; flex-direction: column; gap: 0;
}
.hiw-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
}
.hiw-num {
  font-family: var(--mono); font-size: 1.5rem; font-weight: 500;
  color: var(--orange); line-height: 1.35;
  min-width: 48px; text-align: right;
  flex-shrink: 0;
  padding-top: 1px;
  letter-spacing: -0.02em;
  opacity: 0.85;
}
.hiw-connector {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0;
  width: 20px;
  padding-top: 7px;
}
.hiw-connector::before {
  content: '';
  width: 1px; flex: 1; min-height: 64px;
  background: linear-gradient(to bottom, rgba(255,107,15,0.5), transparent);
  margin-top: 4px;
}
.hiw-connector::after {
  content: '';
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255,107,15,0.6);
  order: -1; flex-shrink: 0;
}
.hiw-info {
  flex: 1; min-width: 0;
  padding: 0 0 3rem;
}
.hiw-info h3 {
  font-family: var(--heading);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.45rem; letter-spacing: -0.02em;
  color: var(--text);
}
.hiw-info p {
  color: var(--text-dim); font-size: 0.875rem;
  line-height: 1.8;
}
.hiw-cta { text-align: center; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  background: var(--bg-2);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 1rem; justify-content: space-between;
}
.footer-logo { font-size: 1rem; }
.footer-copy {
  color: var(--text-faint); font-size: 0.8rem;
  font-family: var(--body);
}
.footer-gh {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--border-hl);
  padding: 7px 16px; border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.footer-gh:hover {
  border-color: rgba(255, 107, 15, 0.4);
  color: var(--orange);
  background: rgba(255, 107, 15, 0.04);
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }
  .hero-terminal { max-width: 500px; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 0.75rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 2rem; }
  .nav-links a::after { display: none; }
  .nav-github { border: none; border-radius: 0; margin-left: 0; }
  .hamburger { display: flex; }

  .result-grid { grid-template-columns: 1fr; }
  .result-card-wide { grid-column: 1; }
  .debugger-card { padding: 1.75rem 1.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .hiw-step { gap: 0.75rem; }
  .hiw-num { font-size: 1.25rem; min-width: 38px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .section-title { letter-spacing: -0.03em; }

  .features-grid { gap: 1rem; }
  .feature-card { padding: 1.75rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 1.25rem 60px; gap: 2rem; }
  .debugger-section,
  .result-section,
  .features-section,
  .hiw-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}