/* ==========================================================================
   226·AI Landing — Engineering Blueprint Aesthetic
   Refined dev-tool minimalism. Hairline borders > shadows. Mono for data.
   ========================================================================== */

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

:root {
  /* Surfaces */
  --bg-base: #0B0E14;
  --bg-raised: #11151C;
  --bg-overlay: #1A1F28;
  --bg-terminal: #0E1319;
  --bg-deep: #07090D;

  /* Hairlines */
  --border: #222831;
  --border-hover: #2D3540;
  --border-active: rgba(204, 120, 92, 0.4);

  /* Text */
  --text-primary: #E6E8EC;
  --text-secondary: #8A93A3;
  --text-tertiary: #555F6F;

  /* Accent — single signal color (warm terracotta, brand-aligned) */
  --accent: #CC785C;
  --accent-hover: #E89377;
  --accent-muted: rgba(204, 120, 92, 0.12);
  --accent-line: rgba(204, 120, 92, 0.28);

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Syntax highlight */
  --syn-string: #C3E88D;
  --syn-keyword: #C792EA;
  --syn-num: #F78C6C;
  --syn-prop: #82AAFF;
  --syn-comment: #4D5664;
  --syn-bracket: #89DDFF;

  /* Type */
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --container-max: 1280px;
  --nav-h: 64px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --d-fast: 150ms;
  --d-base: 200ms;
  --d-slow: 300ms;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  font-feature-settings: "ss01", "cv11", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* ----- Ambient grid background ----- */
.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.025) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, black 30%, transparent 80%);
}

.ambient-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(204, 120, 92, 0.10), transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
}

/* ----- Container ----- */
.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; }

/* ==========================================================================
   NAV
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.nav-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
}
.logo-mark { color: var(--text-primary); }
.logo-dot {
  color: var(--accent);
  margin: 0 2px;
  font-weight: 400;
}
.logo-name { color: var(--text-secondary); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  justify-content: center;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--d-base) var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); }

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

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13.5px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 14px;
  height: 34px;
  cursor: pointer;
  transition: all var(--d-base) var(--ease);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn svg { width: 14px; height: 14px; transition: transform var(--d-base) var(--ease); }
.btn-lg { height: 44px; font-size: 14.5px; padding: 0 20px; gap: 8px; }
.btn-lg svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--accent);
  color: #07090D;
  font-weight: 600;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  filter: brightness(1.06);
}
.btn-primary:hover svg { transform: translateX(2px); }

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-raised);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text-primary);
  background: transparent;
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-raised);
}

.btn-outline {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   SECTION META — instrument-panel style label
   ========================================================================== */
.section-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.section-meta .meta-num {
  color: var(--accent);
  border: 1px solid var(--accent-line);
  background: var(--accent-muted);
  padding: 3px 7px;
  border-radius: 3px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.section-meta .meta-label { color: var(--text-secondary); }
.section-meta .status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: 88px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 25% 35%, var(--accent-muted), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(204, 120, 92, 0.06), transparent 60%);
  z-index: -1;
}

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

.hero-content { position: relative; }

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  background: var(--bg-raised);
  letter-spacing: 0.02em;
}
.hero-tagline .badge {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-muted);
  padding: 3px 7px;
  border-radius: 99px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-title {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.hero-title .accent-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent);
  margin-left: 8px;
  border-radius: 2px;
  vertical-align: middle;
  position: relative;
  top: -4px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  gap: 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.meta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 24px;
  position: relative;
}
.meta-item:not(:last-child) {
  border-right: 1px solid var(--border);
  padding-right: 24px;
}
.meta-item:not(:first-child) { padding-left: 24px; }

.meta-item .num {
  font-size: 22px;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.meta-item .num small {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-left: 2px;
  font-weight: 400;
}
.meta-item .label {
  font-size: 11.5px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ----- Terminal demo card ----- */
.terminal-wrap { position: relative; }

.terminal-card {
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(204, 120, 92, 0.05),
    0 16px 32px rgba(0, 0, 0, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

.terminal-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  z-index: 1;
}

.terminal-chrome {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  gap: 10px;
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: block;
}
.terminal-dots span:nth-child(1) { background: #FF5F56; opacity: 0.85; }
.terminal-dots span:nth-child(2) { background: #FFBD2E; opacity: 0.85; }
.terminal-dots span:nth-child(3) { background: #27C93F; opacity: 0.85; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

.terminal-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.terminal-tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.terminal-body {
  padding: 20px 22px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  overflow-x: auto;
  white-space: pre;
}

.t-prompt { color: var(--accent); user-select: none; }
.t-cmd { color: var(--text-primary); }
.t-flag { color: var(--syn-keyword); }
.t-str { color: var(--syn-string); }
.t-num { color: var(--syn-num); }
.t-key { color: var(--syn-prop); }
.t-comment { color: var(--syn-comment); }
.t-bracket { color: var(--syn-bracket); }
.t-status { color: var(--success); }
.t-time { color: var(--text-tertiary); }
.t-output { color: var(--text-secondary); }

.t-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* Side annotations */
.terminal-annot {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.terminal-annot--top {
  top: -8px;
  right: 12px;
  background: var(--bg-base);
  padding: 0 8px;
}
.terminal-annot--bottom {
  bottom: -10px;
  left: 16px;
  background: var(--bg-base);
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.terminal-annot--bottom .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header {
  margin-bottom: 64px;
  max-width: 720px;
}
.section-title {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-top: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 600px;
}

/* ==========================================================================
   FEATURES — bordered grid (engineering blueprint style)
   ========================================================================== */
.features {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background:
    linear-gradient(var(--border), var(--border)) right top / 1px 100% no-repeat,
    linear-gradient(var(--border), var(--border)) left bottom / 100% 1px no-repeat;
}

.feature-card {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  transition: background var(--d-base) var(--ease);
  position: relative;
}
.feature-card:hover { background: var(--bg-raised); }
.feature-card:hover .feature-icon {
  border-color: var(--accent-line);
  color: var(--accent);
  background: var(--accent-muted);
}

.feature-card-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.feature-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  transition: all var(--d-base) var(--ease);
  background: var(--bg-base);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.feature-card .feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   CODE SHOWCASE
   ========================================================================== */
.code-showcase {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: stretch;
}

.showcase-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 16px;
}
.showcase-info h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 16px;
  margin-bottom: 16px;
}
.showcase-info p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.showcase-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  background: var(--bg-base);
}

.code-card {
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.code-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg-base);
  padding: 0 4px;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.code-tabs::-webkit-scrollbar { display: none; }

.code-tab {
  padding: 14px 16px 13px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: all var(--d-base) var(--ease);
  white-space: nowrap;
  position: relative;
}
.code-tab:hover { color: var(--text-secondary); }
.code-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.code-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
}

.code-content {
  padding: 22px 24px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-primary);
  display: none;
  overflow-x: auto;
  white-space: pre;
  min-height: 320px;
}
.code-content.active { display: block; }

.code-content .cmt { color: var(--syn-comment); }
.code-content .kw { color: var(--syn-keyword); }
.code-content .str { color: var(--syn-string); }
.code-content .num { color: var(--syn-num); }
.code-content .key { color: var(--syn-prop); }
.code-content .br { color: var(--syn-bracket); }
.code-content .var { color: var(--text-primary); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.pricing-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--d-base) var(--ease);
}
.pricing-card:hover { border-color: var(--border-hover); }

.pricing-card.featured {
  border-color: var(--border-active);
  background:
    linear-gradient(180deg, rgba(204, 120, 92, 0.07), transparent 50%),
    var(--bg-raised);
  position: relative;
}
.pricing-card.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -1px; right: 24px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: 0 0 4px 4px;
  font-weight: 600;
}

.pricing-tier-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  font-weight: 500;
}
.pricing-tier-label::before {
  content: "";
  width: 8px;
  height: 1px;
  background: currentColor;
}

.pricing-name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.55;
  min-height: 44px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
  font-family: var(--font-mono);
}
.pricing-price .amount {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.pricing-price .unit {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.pricing-features li svg {
  flex-shrink: 0;
  width: 14px; height: 14px;
  margin-top: 4px;
  color: var(--accent);
}
.pricing-features li b {
  color: var(--text-primary);
  font-weight: 500;
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}

.trust-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 16px;
}
.trust-inner .left,
.trust-inner .right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}
.trust-inner b {
  color: var(--text-primary);
  font-weight: 500;
}
.trust-inner .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
  opacity: 0.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  padding: 72px 0 32px;
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand .logo { font-size: 17px; }
.footer-brand p {
  font-size: 13.5px;
  color: var(--text-tertiary);
  max-width: 320px;
  line-height: 1.65;
}
.footer-brand .social {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.footer-brand .social a {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: all var(--d-base) var(--ease);
}
.footer-brand .social a:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.footer-brand .social svg { width: 14px; height: 14px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--d-base) var(--ease);
}
.footer-col a:hover { color: var(--text-primary); }
.footer-col a.with-arrow::after {
  content: " ↗";
  color: var(--text-tertiary);
  font-size: 11px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .links {
  display: flex;
  gap: 20px;
}
.footer-bottom a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--d-base) var(--ease);
}
.footer-bottom a:hover { color: var(--text-secondary); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-title { font-size: 52px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-status { display: none; }
  .hero { padding: 56px 0 80px; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 16px; }
  .hero-meta {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .meta-item {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .meta-item:last-child { border-bottom: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .terminal-body { font-size: 11.5px; padding: 16px; }
}

/* ==========================================================================
   SCROLLBAR (subtle)
   ========================================================================== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ==========================================================================
   FADE-IN ANIMATION (intersection observer driven)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }

/* Selection */
::selection {
  background: var(--accent-muted);
  color: var(--accent);
}

/* Focus-visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
