/* ===================================================
   SQLBackup — Website Styles
   Blue, modern, colorful. Self-hosted fonts + Bootstrap.
   =================================================== */

/* ===== SELF-HOSTED FONTS (no CDN) ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../vendor/fonts/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../vendor/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
}

:root {
  /* Blue core */
  --primary: #1d4ed8;
  --primary-2: #2563eb;
  --primary-dark: #1e3a8a;
  --primary-light: #dbeafe;
  --primary-soft: #eff6ff;
  /* Colorful accents */
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --pink: #db2777;
  --cyan: #0891b2;
  --teal: #0d9488;
  --green: #16a34a;
  --green-light: #dcfce7;
  --amber: #d97706;
  --amber-light: #fef3c7;
  --red: #dc2626;
  --red-light: #fee2e2;
  /* Engine brand colors */
  --pg: #336791;
  --mysql: #e48e00;
  --maria: #b9744f;
  --mssql: #cc2927;
  --mongo: #13aa52;
  --azure: #0078d4;
  /* Surfaces */
  --surface: #eef2f9;
  --surface-2: #f6f9fd;
  --card: #ffffff;
  --border: #e4e9f2;
  --ink: #0b1220;
  --text: #0f172a;
  --text-secondary: #64748b;
  --navy: #0b1530;
  --navy-2: #111d3b;
  --font: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', 'Courier New', monospace;
  --shadow-sm: 0 2px 8px rgba(15,23,42,0.06);
  --shadow-md: 0 12px 40px rgba(15,23,42,0.10);
  --shadow-lg: 0 32px 80px rgba(15,23,42,0.16);
  --grad-blue: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #0891b2 100%);
  --grad-hero: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
}

::selection { background: rgba(37,99,235,0.2); }

.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.text-grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
#mainNav {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  padding: 0.7rem 0;
  z-index: 1040;
  transition: box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
#mainNav.scrolled {
  box-shadow: 0 6px 24px rgba(15,23,42,0.08);
  border-bottom-color: var(--border);
  background: rgba(255,255,255,0.94);
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.brand-icon {
  width: 38px; height: 38px;
  background: var(--grad-blue);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(37,99,235,0.35);
  position: relative;
}
.brand-name {
  font-size: 1.25rem; font-weight: 800;
  color: var(--text); letter-spacing: -0.6px;
}
.brand-name span { color: var(--primary); }
.nav-link {
  font-weight: 500; color: var(--text-secondary) !important;
  font-size: 0.9rem; padding: 0.4rem 0.8rem !important;
  border-radius: 8px; transition: all 0.15s;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; background: var(--primary-soft); }

.btn-primary {
  background: var(--primary); border-color: var(--primary);
  font-weight: 600;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-gradient {
  background: var(--grad-blue);
  border: none; color: #fff; font-weight: 600;
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-gradient:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,99,235,0.45);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  padding: 6.5rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(79,70,229,0.12), transparent 60%),
    radial-gradient(900px 500px at 5% 10%, rgba(8,145,178,0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.5; pointer-events: none;
  animation: floaty 14s ease-in-out infinite;
}
.hero-blob.b1 { width: 380px; height: 380px; background: rgba(37,99,235,0.35); top: -120px; right: -60px; }
.hero-blob.b2 { width: 320px; height: 320px; background: rgba(124,58,237,0.28); bottom: -120px; left: -80px; animation-delay: -5s; }
.hero-blob.b3 { width: 260px; height: 260px; background: rgba(8,145,178,0.25); top: 40%; left: 45%; animation-delay: -9s; }
@keyframes floaty {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-24px) scale(1.06); }
}
.min-vh-hero { min-height: 78vh; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; color: var(--primary-dark);
  border: 1px solid var(--border);
  padding: 0.4rem 0.5rem 0.4rem 0.5rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.badge-pill .pill-tag {
  background: var(--green-light); color: var(--green);
  padding: 0.1rem 0.55rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
}
.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -1.8px; color: var(--text);
  margin-top: 1.25rem;
}
.hero-subtitle {
  font-size: 1.12rem; color: var(--text-secondary);
  max-width: 520px; line-height: 1.7;
}
.hero-subtitle b { color: var(--text); font-weight: 700; }
.hero-cta { font-size: 1rem; font-weight: 600; }
.hero-mini-stats { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.hero-mini-stat .num {
  font-size: 1.6rem; font-weight: 900; letter-spacing: -1px;
  color: var(--text); line-height: 1;
}
.hero-mini-stat .lbl { font-size: 0.78rem; color: var(--text-secondary); font-weight: 500; }
.trust-chip { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); }

/* ===== HERO APP (live dashboard mockup) ===== */
.hero-app-preview { perspective: 1600px; max-width: 100%; }
.app-window {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(4deg) translateZ(0);
  transition: transform 0.5s ease;
}
.hero-app-preview:hover .app-window { transform: rotateY(0) rotateX(0); }
.app-titlebar {
  background: linear-gradient(180deg,#fbfcfe,#f1f4fa);
  border-bottom: 1px solid var(--border);
  padding: 0 0.85rem; height: 38px;
  display: flex; align-items: center; gap: 0.5rem;
}
.tl-dots { display: flex; gap: 6px; }
.tl-dots span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.tl-dots .r { background: #ff5f57; } .tl-dots .y { background: #febc2e; } .tl-dots .g { background: #28c840; }
.app-title-text { font-size: 0.76rem; color: var(--text-secondary); font-weight: 600; }
.app-body { padding: 0.85rem; background: var(--surface-2); }

/* Health row */
.dash-toprow { display: flex; gap: 0.7rem; align-items: stretch; }
.health-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 0.7rem 0.8rem;
  display: flex; align-items: center; gap: 0.7rem; flex: 0 0 auto;
}
.donut { position: relative; width: 58px; height: 58px; flex-shrink: 0; }
.donut svg { transform: rotate(-90deg); }
.donut .track { stroke: #eef2f9; }
.donut .ring { stroke: url(#healthGrad); stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.donut-label {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; color: var(--text);
}
.health-meta .h-val { font-size: 0.95rem; font-weight: 800; }
.health-meta .h-lbl { font-size: 0.68rem; color: var(--text-secondary); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; flex: 1; }
.kpi {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 0.45rem 0.6rem;
}
.kpi .k-num { font-size: 1.05rem; font-weight: 900; letter-spacing: -0.5px; line-height: 1.1; }
.kpi .k-lbl { font-size: 0.62rem; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.kpi .k-num.red { color: var(--red); }
.kpi .k-num.green { color: var(--green); }

/* DB server cards */
.dbrow { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.6rem; }
.db-card {
  background: #fff; border: 1px solid var(--border); border-radius: 11px;
  padding: 0.55rem 0.65rem; position: relative; overflow: hidden;
}
.db-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--c, var(--primary));
}
.db-head { display: flex; align-items: center; gap: 0.4rem; }
.db-badge {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 800; color: #fff;
  background: var(--c, var(--primary));
}
.db-name { font-size: 0.74rem; font-weight: 700; line-height: 1.1; }
.db-engine { font-size: 0.6rem; color: var(--text-secondary); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-left: auto; box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }
.status-dot.run { background: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.18); animation: pulse 1.2s infinite; }
.status-dot.warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(217,119,6,0.15); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.db-foot { display: flex; justify-content: space-between; margin-top: 0.4rem; font-size: 0.62rem; color: var(--text-secondary); }
.db-foot .ok { color: var(--green); font-weight: 700; }

/* Pipeline */
.pipe-card {
  background: #fff; border: 1px solid var(--border); border-radius: 11px;
  padding: 0.6rem 0.7rem; margin-top: 0.6rem;
}
.pipe-title { font-size: 0.66rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.35rem; }
.pipe-stages { display: flex; align-items: center; gap: 0.25rem; margin: 0.5rem 0 0.35rem; }
.pstage {
  flex: 1; text-align: center; font-size: 0.58rem; font-weight: 700;
  color: var(--text-secondary); padding: 0.3rem 0.1rem; border-radius: 7px;
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.3s;
}
.pstage i { display: block; font-size: 0.85rem; margin-bottom: 0.1rem; }
.pstage.done { color: var(--green); background: var(--green-light); border-color: #bbf7d0; }
.pstage.active { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: 0 4px 12px rgba(37,99,235,0.4); transform: translateY(-2px); }
.pipe-arrow { color: var(--border); font-size: 0.6rem; }
.pipe-prog { height: 6px; background: #eef2f9; border-radius: 4px; overflow: hidden; }
.pipe-fill { height: 100%; width: 0%; background: var(--grad-blue); border-radius: 4px; transition: width 0.3s linear; }
.pipe-foot { display: flex; justify-content: space-between; margin-top: 0.3rem; font-size: 0.6rem; color: var(--text-secondary); }
.pipe-foot .spd { color: var(--primary); font-weight: 700; }

/* Mini log */
.mini-log {
  background: var(--ink); border-radius: 11px; margin-top: 0.6rem;
  padding: 0.5rem 0.6rem; font-family: var(--mono); font-size: 0.62rem;
  height: 78px; overflow: hidden; line-height: 1.7;
}
.mini-log .ll { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-log .t { color: #475569; }
.mini-log .i { color: #60a5fa; } .mini-log .o { color: #4ade80; } .mini-log .x { color: #c084fc; } .mini-log .w { color: #fbbf24; }
.mini-log .m { color: #cbd5e1; }

/* floating chips on hero app */
.float-chip {
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 0.5rem 0.7rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip .fc-ico { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.85rem; }
.float-chip small { display: block; font-size: 0.66rem; font-weight: 500; color: var(--text-secondary); }
.float-chip.fc1 { top: 8%; left: -34px; animation-delay: -1s; }
.float-chip.fc2 { bottom: 12%; right: -28px; animation-delay: -3s; }

/* ===== PAGE HEADER (inner pages) ===== */
.page-hero {
  position: relative; overflow: hidden;
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(79,70,229,0.12), transparent 60%),
    radial-gradient(700px 360px at 0% 0%, rgba(8,145,178,0.10), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
}
.page-hero .hero-grid-bg { mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 80%); }
.breadcrumbz { font-size: 0.82rem; color: var(--text-secondary); }
.breadcrumbz a { color: var(--primary); text-decoration: none; }
.breadcrumbz a:hover { text-decoration: underline; }
.page-title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; letter-spacing: -1.4px; line-height: 1.08; }
.page-lead { font-size: 1.12rem; color: var(--text-secondary); max-width: 640px; }

/* ===== DOCS LAYOUT ===== */
.docs-sidebar { position: sticky; top: 90px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem; }
.docs-sidebar h6 { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); margin: 1rem 0 0.5rem; }
.docs-sidebar h6:first-child { margin-top: 0; }
.docs-nav { list-style: none; padding: 0; margin: 0; }
.docs-nav li { margin-bottom: 0.15rem; }
.docs-nav a { display: block; padding: 0.4rem 0.7rem; font-size: 0.86rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; border-radius: 7px; transition: all 0.15s; }
.docs-nav a:hover, .docs-nav a.active { color: var(--primary); background: var(--primary-soft); }
.docs-section { scroll-margin-top: 90px; }
.docs-section + .docs-section { margin-top: 3rem; }
.docs-section h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; padding-bottom: 0.7rem; border-bottom: 1px solid var(--border); margin-bottom: 1.2rem; }
.docs-section h4 { font-weight: 700; font-size: 1.05rem; margin-top: 1.6rem; margin-bottom: 0.6rem; }
.docs-section p, .docs-section li { color: var(--text-secondary); font-size: 0.95rem; }
.docs-section code { background: var(--surface); color: var(--primary-dark); padding: 0.12rem 0.4rem; border-radius: 4px; font-size: 0.85em; font-family: var(--mono); }
.code-block { background: var(--ink); border-radius: 12px; padding: 1rem 1.2rem; font-family: var(--mono); font-size: 0.84rem; line-height: 1.7; color: #e2e8f0; overflow-x: auto; margin: 1rem 0; }
.code-block .cm { color: #64748b; } .code-block .kw { color: #93c5fd; } .code-block .st { color: #86efac; } .code-block .fl { color: #fbbf24; }
.docs-note { background: var(--primary-soft); border-left: 4px solid var(--primary); border-radius: 0 10px 10px 0; padding: 0.9rem 1.1rem; font-size: 0.9rem; color: var(--text); margin: 1.2rem 0; }
.docs-note.warn { background: var(--amber-light); border-left-color: var(--amber); }

/* ===== CONTACT FORM ===== */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 2rem; box-shadow: var(--shadow-sm); }
.form-card label { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem; }
.form-card .form-control, .form-card .form-select { border-radius: 10px; border-color: var(--border); padding: 0.65rem 0.85rem; }
.form-card .form-control:focus, .form-card .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.contact-info-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.contact-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

/* ===== MINI FEATURE (features page) ===== */
.mini-feature-card { background: #fff; border-radius: 14px; border: 1px solid var(--border); padding: 1.5rem; text-align: center; height: 100%; transition: transform 0.2s, box-shadow 0.2s; }
.mini-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-mini-icon { font-size: 1.9rem; display: block; margin-bottom: 0.7rem; }
.mini-feature-card h6 { font-weight: 700; margin-bottom: 0.4rem; }

/* ===== LEGAL ===== */
.legal-body h3 { font-weight: 700; font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.legal-body p, .legal-body li { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }
.legal-body { max-width: 820px; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--grad-blue); padding: 2.75rem 0; position: relative; overflow: hidden; }
.stats-bar::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 36px 36px; opacity: 0.5;
}
.stat-number { font-size: 2.6rem; font-weight: 900; color: #fff; letter-spacing: -1.5px; position: relative; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.82); font-weight: 500; margin-top: 0.2rem; position: relative; }

/* ===== SECTIONS ===== */
.section-pad { padding: 5.5rem 0; }
.bg-white { background: #fff; }
.bg-soft { background: var(--surface-2); }
.bg-navy { background: var(--navy); }
.section-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--primary-soft); color: var(--primary);
  font-size: 0.74rem; font-weight: 700;
  padding: 0.35rem 0.9rem; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.section-label-dark {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.08); color: #93c5fd;
  font-size: 0.74rem; font-weight: 700;
  padding: 0.35rem 0.9rem; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.8px; line-height: 1.15; }
.section-sub { font-size: 1.06rem; color: var(--text-secondary); max-width: 620px; margin: 0 auto; }

/* ===== STORY ===== */
.story-quote {
  font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800;
  letter-spacing: -0.6px; line-height: 1.3; color: #fff;
}
.story-quote .hl { color: #fca5a5; }
.story-time {
  font-family: var(--mono); color: #60a5fa; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.05em;
}
.story-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 1.5rem; height: 100%;
  transition: transform 0.25s, background 0.25s;
}
.story-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.story-ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.story-ico.red { background: rgba(220,38,38,0.18); color: #fca5a5; }
.story-ico.amber { background: rgba(217,119,6,0.18); color: #fcd34d; }
.story-ico.purple { background: rgba(124,58,237,0.18); color: #c4b5fd; }
.story-ico.cyan { background: rgba(8,145,178,0.18); color: #67e8f9; }
.story-card h5 { color: #fff; font-weight: 700; font-size: 1.02rem; margin-bottom: 0.5rem; }
.story-card p { color: #94a3b8; font-size: 0.88rem; margin: 0; }
.story-stat-num { font-size: 2.6rem; font-weight: 900; letter-spacing: -1.5px; line-height: 1; background: linear-gradient(135deg,#60a5fa,#c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== PROBLEM / SOLUTION ===== */
.problem-list, .solution-list { display: flex; flex-direction: column; gap: 1.2rem; }
.problem-item, .solution-item { display: flex; gap: 1rem; align-items: flex-start; }
.problem-icon, .solution-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.problem-icon { background: var(--red-light); color: var(--red); }
.solution-icon { background: var(--green-light); color: var(--green); }
.problem-item strong, .solution-item strong { font-weight: 700; font-size: 0.96rem; display: block; margin-bottom: 0.2rem; }
.problem-item p, .solution-item p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }
.arrow-divider { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.fs-icon-xl { font-size: 3rem; }

/* ===== STEPS ===== */
.step-card {
  background: #fff; border-radius: 18px; border: 1px solid var(--border);
  padding: 2rem; height: 100%; position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.step-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.step-card:hover::after { transform: scaleX(1); }
.step-number { font-size: 0.78rem; font-weight: 800; color: var(--primary); letter-spacing: 0.12em; margin-bottom: 0.7rem; }
.step-icon { width: 54px; height: 54px; background: var(--primary-soft); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); margin-bottom: 1.2rem; }
.step-card h4 { font-weight: 700; font-size: 1.12rem; margin-bottom: 0.6rem; }
.step-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.step-detail { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.detail-tag { background: var(--surface); color: var(--text-secondary); font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 6px; border: 1px solid var(--border); }

/* ===== PIPELINE (interactive) ===== */
.pipeline-wrap { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-sm); }
.pl-stages { display: flex; align-items: stretch; gap: 0.5rem; flex-wrap: wrap; }
.pl-stage {
  flex: 1; min-width: 130px; cursor: pointer;
  background: var(--surface-2); border: 2px solid var(--border); border-radius: 14px;
  padding: 1.1rem 1rem; text-align: center; transition: all 0.25s; position: relative;
}
.pl-stage:hover { border-color: var(--primary); transform: translateY(-3px); }
.pl-stage.active { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 10px 26px rgba(37,99,235,0.18); }
.pl-stage .pl-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin: 0 auto 0.6rem; color: #fff; }
.pl-stage h6 { font-weight: 700; font-size: 0.92rem; margin: 0; }
.pl-stage .pl-tag { font-size: 0.68rem; color: var(--text-secondary); font-weight: 600; }
.pl-connect { display: flex; align-items: center; color: var(--primary); font-size: 1.2rem; }
.pl-detail { margin-top: 1.5rem; background: var(--surface-2); border-radius: 14px; border: 1px solid var(--border); padding: 1.5rem; }
.pl-detail h5 { font-weight: 700; margin-bottom: 0.5rem; }
.pl-detail .pl-code {
  background: var(--ink); color: #e2e8f0; border-radius: 10px; padding: 0.85rem 1rem;
  font-family: var(--mono); font-size: 0.82rem; overflow-x: auto; margin-top: 1rem;
}
.pl-code .cm { color: #64748b; } .pl-code .kw { color: #93c5fd; } .pl-code .st { color: #86efac; }

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: #fff; border-radius: 18px; border: 1px solid var(--border);
  padding: 2rem; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; height: 100%;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon-wrap { width: 58px; height: 58px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.55rem; margin-bottom: 1.2rem; }
.fi-blue { background: var(--primary-soft); color: var(--primary); }
.fi-green { background: var(--green-light); color: var(--green); }
.fi-purple { background: #f3f0ff; color: var(--purple); }
.fi-amber { background: var(--amber-light); color: var(--amber); }
.fi-teal { background: #effbf9; color: var(--teal); }
.fi-pink { background: #fdf2f8; color: var(--pink); }
.fi-cyan { background: #ecfeff; color: var(--cyan); }
.fi-red { background: var(--red-light); color: var(--red); }
.feature-card h5 { font-weight: 700; margin-bottom: 0.6rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.feature-list li { font-size: 0.85rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.5rem; }
.feature-list li::before { content: '\F26E'; font-family: 'bootstrap-icons'; color: var(--green); font-size: 0.85rem; }

/* ===== ENGINE TABS (interactive) ===== */
.engine-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.engine-tab {
  display: flex; align-items: center; gap: 0.55rem; cursor: pointer;
  background: #fff; border: 2px solid var(--border); border-radius: 12px;
  padding: 0.6rem 1rem; font-weight: 700; font-size: 0.9rem; transition: all 0.2s;
}
.engine-tab:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.engine-tab.active { border-color: var(--ec, var(--primary)); background: #fff; box-shadow: 0 8px 22px rgba(15,23,42,0.1); }
.engine-glyph { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.7rem; font-weight: 800; background: var(--ec, var(--primary)); }
.engine-panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 2rem; box-shadow: var(--shadow-sm); }
.engine-panel .eng-cmd { background: var(--ink); color: #e2e8f0; border-radius: 12px; padding: 1rem 1.1rem; font-family: var(--mono); font-size: 0.84rem; overflow-x: auto; }
.eng-cmd .cm { color: #64748b; } .eng-cmd .kw { color: #93c5fd; } .eng-cmd .st { color: #86efac; } .eng-cmd .fl { color: #fbbf24; }
.eng-feat { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.eng-feat span { background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); font-size: 0.76rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 100px; }

/* ===== DESTINATIONS ===== */
.dest-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 1.5rem; text-align: center; height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}
.dest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dest-ico { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 1rem; color: #fff; }
.dest-card h6 { font-weight: 700; margin-bottom: 0.3rem; }
.dest-card p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; }

/* ===== SECURITY ===== */
.sec-feature { display: flex; gap: 1rem; align-items: flex-start; }
.sec-feature .sf-ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(96,165,250,0.15); color: #93c5fd; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.sec-feature strong { color: #fff; display: block; font-size: 0.96rem; margin-bottom: 0.2rem; }
.sec-feature p { color: #94a3b8; font-size: 0.86rem; margin: 0; }
.enc-visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 1.5rem; font-family: var(--mono); }
.enc-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.enc-row:last-child { margin-bottom: 0; }
.enc-label { font-size: 0.68rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; width: 86px; flex-shrink: 0; font-weight: 700; }
.enc-bytes { flex: 1; font-size: 0.78rem; letter-spacing: 0.5px; word-break: break-all; min-height: 1.4em; }
.enc-bytes.plain { color: #86efac; }
.enc-bytes.cipher { color: #c084fc; }
.enc-arrow { text-align: center; color: #60a5fa; font-size: 1.1rem; margin: 0.25rem 0; }
.enc-spec { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(96,165,250,0.12); color: #93c5fd; font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 100px; }

/* ===== LIVE LOG TERMINAL ===== */
.log-terminal { background: var(--ink); border-radius: 16px; border: 1px solid #1e293b; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 100%; }
.terminal-header { background: #111d3b; height: 40px; display: flex; align-items: center; padding: 0 0.9rem; gap: 0.5rem; border-bottom: 1px solid #1e293b; }
.terminal-header .tl-dots span { width: 11px; height: 11px; }
.terminal-title { font-family: var(--mono); font-size: 0.74rem; color: #64748b; margin-left: 0.4rem; }
.terminal-body { padding: 1.1rem 1.2rem; font-family: var(--mono); font-size: 0.8rem; line-height: 1.9; max-height: 420px; overflow-y: auto; overflow-x: hidden; }
.terminal-body::-webkit-scrollbar { width: 5px; }
.terminal-body::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
.log-line { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: baseline; }
.log-time { color: #475569; font-size: 0.74rem; }
.lvl { font-weight: 700; }
.lvl-info { color: #60a5fa; } .lvl-ok { color: #4ade80; } .lvl-xfer { color: #c084fc; } .lvl-warn { color: #fbbf24; } .lvl-err { color: #f87171; }
.log-msg { color: #cbd5e1; }
.log-features { display: flex; flex-direction: column; gap: 0.7rem; }
.log-feature-item { display: flex; align-items: center; gap: 0.75rem; }
.log-badge { font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 5px; min-width: 50px; text-align: center; font-family: var(--mono); }
.log-badge.info { background: rgba(96,165,250,0.18); color: #60a5fa; }
.log-badge.ok { background: rgba(74,222,128,0.18); color: #4ade80; }
.log-badge.xfer { background: rgba(192,132,252,0.18); color: #c084fc; }
.log-badge.warn { background: rgba(251,191,36,0.18); color: #fbbf24; }
.log-badge.err { background: rgba(248,113,113,0.18); color: #f87171; }

/* ===== CONFIG BUILDER (interactive) ===== */
.builder-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-sm); }
.builder-group { margin-bottom: 1.4rem; }
.builder-group > label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); display: block; margin-bottom: 0.6rem; }
.opt-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt-chip {
  cursor: pointer; user-select: none;
  background: var(--surface-2); border: 2px solid var(--border); border-radius: 10px;
  padding: 0.5rem 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--text);
  display: inline-flex; align-items: center; gap: 0.45rem; transition: all 0.18s;
}
.opt-chip:hover { border-color: var(--primary); }
.opt-chip.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.opt-chip .dotc { width: 12px; height: 12px; border-radius: 50%; }
.toggle-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.config-preview { background: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.config-preview .cp-head { background: #111d3b; height: 38px; display: flex; align-items: center; gap: 0.5rem; padding: 0 0.9rem; border-bottom: 1px solid #1e293b; }
.config-preview .cp-name { font-family: var(--mono); font-size: 0.74rem; color: #64748b; margin-left: 0.3rem; }
.config-preview pre { margin: 0; padding: 1.2rem; font-family: var(--mono); font-size: 0.82rem; line-height: 1.75; color: #e2e8f0; overflow-x: auto; max-height: 460px; }
.cp-key { color: #93c5fd; } .cp-str { color: #86efac; } .cp-num { color: #fbbf24; } .cp-cm { color: #64748b; } .cp-bool { color: #f0abfc; }
.next-runs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.next-runs span { background: var(--surface); border: 1px solid var(--border); border-radius: 7px; font-family: var(--mono); font-size: 0.74rem; padding: 0.2rem 0.55rem; color: var(--text-secondary); }

/* ===== RESTORE SIMULATOR ===== */
.restore-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-sm); }
.restore-steps { display: flex; flex-direction: column; gap: 0.75rem; }
.rstep { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); transition: all 0.3s; }
.rstep .rs-ico { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: var(--text-secondary); flex-shrink: 0; transition: all 0.3s; }
.rstep .rs-txt strong { font-size: 0.9rem; display: block; }
.rstep .rs-txt small { font-size: 0.76rem; color: var(--text-secondary); }
.rstep .rs-state { margin-left: auto; font-size: 1.1rem; color: var(--border); }
.rstep.active { border-color: var(--primary); background: var(--primary-soft); }
.rstep.active .rs-ico { background: var(--primary); color: #fff; border-color: var(--primary); }
.rstep.active .rs-state { color: var(--primary); }
.rstep.done .rs-ico { background: var(--green); color: #fff; border-color: var(--green); }
.rstep.done .rs-state { color: var(--green); }
.spin { animation: spin 0.9s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== EEAT / TRUST ===== */
.trust-card { background: var(--surface-2); border-radius: 18px; border: 1px solid var(--border); padding: 2rem; height: 100%; transition: transform 0.25s, box-shadow 0.25s; }
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.trust-icon { width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem; }
.trust-icon.experience { background: var(--primary-soft); color: var(--primary); }
.trust-icon.expertise { background: #f3f0ff; color: var(--purple); }
.trust-icon.authority { background: var(--green-light); color: var(--green); }
.trust-icon.trustworthy { background: var(--amber-light); color: var(--amber); }
.trust-card h5 { font-weight: 700; margin-bottom: 0.6rem; }
.trust-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.trust-evidence { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-secondary); padding-top: 0.8rem; border-top: 1px solid var(--border); }

/* ===== USE CASES ===== */
.usecase-card { background: #fff; border-radius: 18px; border: 1px solid var(--border); padding: 2rem; height: 100%; transition: transform 0.25s, box-shadow 0.25s; }
.usecase-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.usecase-emoji { font-size: 2.4rem; margin-bottom: 0.9rem; line-height: 1; }
.usecase-card h5 { font-weight: 700; margin-bottom: 0.6rem; }
.usecase-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.usecase-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.usecase-tags span { background: var(--primary-soft); color: var(--primary); font-size: 0.74rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 6px; }

/* ===== SPECS ===== */
.specs-table { background: #fff; border-radius: 18px; border: 1px solid var(--border); overflow: hidden; }
.specs-row { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.05rem 1.5rem; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.specs-row:last-child { border-bottom: none; }
.specs-row:hover { background: var(--surface-2); }
.specs-label { min-width: 190px; font-weight: 700; font-size: 0.9rem; color: var(--text); flex-shrink: 0; display: flex; align-items: center; }
.specs-value { font-size: 0.9rem; color: var(--text-secondary); }
.specs-value code { background: var(--surface); color: var(--primary-dark); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.85em; font-family: var(--mono); }

/* ===== FAQ ===== */
.faq-accordion .faq-item { background: #fff; border: 1px solid var(--border) !important; border-radius: 14px !important; overflow: hidden; margin-bottom: 0.75rem; }
.faq-btn { font-weight: 600; font-size: 0.98rem; color: var(--text); background: #fff; padding: 1.25rem 1.5rem; box-shadow: none !important; }
.faq-btn:not(.collapsed) { color: var(--primary); background: #fff; }
.faq-btn:focus { box-shadow: none; }
.faq-body { font-size: 0.92rem; color: var(--text-secondary); padding: 0 1.5rem 1.3rem; line-height: 1.75; }
.faq-body code { background: var(--surface); color: var(--primary); padding: 0.12rem 0.4rem; border-radius: 4px; font-size: 0.86em; font-family: var(--mono); }

/* ===== DOWNLOAD / CTA ===== */
.download-section { background: linear-gradient(135deg, var(--primary-dark) 0%, #312e81 55%, #5b21b6 100%); position: relative; overflow: hidden; }
.download-section::before { content: ''; position: absolute; top: -40%; left: -10%; width: 120%; height: 200%; background: radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.08) 0%, transparent 60%); pointer-events: none; }
.download-section .hero-grid-bg { mask-image: none; opacity: 0.4; }
.download-platform-btn { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: #fff; text-decoration: none; padding: 1.3rem 1.6rem; border-radius: 14px; transition: all 0.2s; }
.download-platform-btn:hover { background: rgba(255,255,255,0.2); color: #fff; transform: translateY(-3px); }
.download-main-btn { padding: 1.5rem 2rem; background: rgba(255,255,255,0.16); border: 2px solid rgba(255,255,255,0.35); box-shadow: var(--shadow-lg); }
.platform-icon { font-size: 2rem; flex-shrink: 0; }
.platform-label { font-weight: 700; font-size: 1.05rem; }
.platform-sub { font-size: 0.8rem; opacity: 0.75; margin-top: 0.1rem; }
.download-arrow { font-size: 1.4rem; opacity: 0.8; margin-left: auto; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 4rem 0 2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer h6 { color: #fff; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-social { color: #94a3b8; font-size: 1.2rem; text-decoration: none; transition: color 0.15s; }
.footer-social:hover { color: #fff; }

/* ===== TOAST ===== */
.toast-pop {
  position: fixed; bottom: 24px; right: 24px; z-index: 2000;
  background: var(--navy-2); color: #fff; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 0.85rem 1.1rem; font-size: 0.88rem; font-weight: 600;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.6rem;
  transform: translateY(140%); opacity: 0; transition: transform 0.4s cubic-bezier(.2,.8,.2,1), opacity 0.4s;
}
.toast-pop.show { transform: translateY(0); opacity: 1; }
.toast-pop i { color: #4ade80; font-size: 1.1rem; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: #c3cee0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 991px) {
  .hero-section { padding: 5rem 0 3rem; }
  .min-vh-hero { min-height: unset; }
  .app-window { transform: none; margin-top: 2.5rem; }
  .float-chip { display: none; }
  .specs-label { min-width: 140px; }
  .pl-connect { transform: rotate(90deg); width: 100%; justify-content: center; }
  .pl-stage { min-width: 100%; }
}
@media (max-width: 767px) {
  .section-pad { padding: 3.5rem 0; }
  #mainNav .navbar-collapse { background: #fff; border-top: 1px solid var(--border); margin-top: 0.5rem; padding: 1rem; border-radius: 0 0 14px 14px; box-shadow: var(--shadow-md); }
  #mainNav .nav-link { padding: 0.65rem 0.75rem !important; }
  #mainNav .navbar-nav .btn { width: 100%; margin-top: 0.5rem; }
  .hero-title { font-size: 2.1rem; letter-spacing: -0.8px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-section .d-flex.flex-wrap.gap-3 { flex-direction: column !important; }
  .hero-section .hero-cta, .hero-section .btn-lg { width: 100%; justify-content: center; }
  .hero-mini-stats { justify-content: space-between; gap: 1rem; }
  .stat-number { font-size: 2rem; }
  .stats-bar { padding: 1.8rem 0; }
  .arrow-divider i { transform: rotate(90deg); display: inline-block; }
  .engine-tab { font-size: 0.82rem; padding: 0.5rem 0.75rem; }
  .step-card, .feature-card, .trust-card, .usecase-card { padding: 1.5rem; }
  .specs-row { flex-direction: column; gap: 0.2rem; }
  .specs-label { min-width: unset; }
  .terminal-body { font-size: 0.72rem; max-height: 300px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .download-main-btn { flex-direction: column; text-align: center; }
  .download-main-btn .download-arrow { display: none; }
  .builder-card, .restore-card, .pipeline-wrap, .engine-panel { padding: 1.4rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.85rem; }
  .section-title { font-size: 1.55rem; }
  .stat-number { font-size: 1.8rem; }
  .brand-name { font-size: 1.1rem; }
  .hero-mini-stat .num { font-size: 1.3rem; }
}
