/* ========================================
   AIKOCLAW — COMPLETE STYLES
   ======================================== */

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

:root {
  --red:        #E84C3D;
  --red-bright: #FF6B5A;
  --coral:      #FF7B6A;
  --orange:     #FF9A3C;
  --dark-1:     #0D0D1A;
  --dark-2:     #1A1A2E;
  --dark-3:     #16213E;
  --dark-4:     #1E2A45;
  --light-bg:   #F8F8FC;
  --card-bg:    #FFFFFF;
  --card-border:#EAEAF2;
  --text-main:  #0F0F1A;
  --text-sub:   #6B6B8A;
  --text-light: rgba(255,255,255,0.72);
  --white:      #FFFFFF;
  --mono:       'JetBrains Mono', 'Fira Code', monospace;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(232,76,61,0.18);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
code { font-family: var(--mono); }

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--red) 0%, var(--coral) 50%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animations ── */
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-14px) rotate(1deg); }
}
@keyframes pulse-orb {
  0%,100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.08); opacity: 0.7; }
}
@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}
@keyframes ripple-expand {
  to { transform: scale(1); opacity: 0; }
}
@keyframes terminal-type {
  from { width: 0; }
  to   { width: 100%; }
}

.float-animation { animation: float 5s ease-in-out infinite; }

/* ── Scroll fade-ins ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible, .fade-in-right.visible { opacity: 1; transform: translate(0); }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--coral) 100%);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(232,76,61,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,76,61,0.55); }
.btn-ghost {
  background: rgba(255,255,255,0.1); color: var(--white);
  border-color: rgba(255,255,255,0.25); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); transform: translateY(-2px); }
.btn-ghost-light {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); transform: translateY(-2px); }
.btn-large { padding: 16px 36px; font-size: 16px; }

/* ── Section Shared ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; padding: 5px 16px;
  background: rgba(232,76,61,0.1); color: var(--red);
  border: 1px solid rgba(232,76,61,0.25); border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-tag-light { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.18); }
.section-title { font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; color: var(--text-main); }
.section-title-light { color: var(--white); }
.section-sub { font-size: 17px; color: var(--text-sub); max-width: 560px; margin: 0 auto; line-height: 1.65; }
.section-sub-light { color: var(--text-light); }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0 24px;
}
.navbar.scrolled {
  background: rgba(13,13,26,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.nav-brand-text { font-size: 17px; font-weight: 500; color: var(--white); letter-spacing: -0.02em; }
.nav-brand-text strong { font-weight: 900; }
.nav-version-badge {
  font-size: 10px; font-weight: 700; font-family: var(--mono);
  color: var(--coral); background: rgba(232,76,61,0.15);
  border: 1px solid rgba(232,76,61,0.3); padding: 2px 7px; border-radius: 50px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.72); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-link-special { color: var(--coral) !important; }
.nav-cta-btn {
  background: linear-gradient(135deg, var(--red) 0%, var(--coral) 100%) !important;
  color: var(--white) !important; padding: 9px 20px !important;
  border-radius: 50px !important; box-shadow: 0 2px 12px rgba(232,76,61,0.35);
}
.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,76,61,0.55) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(13,13,26,0.97); backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.8); font-size: 16px; font-weight: 500; padding: 12px 20px; border-radius: 10px; margin: 0 8px; transition: var(--transition); }
.mobile-menu a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.mobile-cta-btn { background: linear-gradient(135deg, var(--red) 0%, var(--coral) 100%) !important; color: var(--white) !important; text-align: center; margin: 8px 16px 0 !important; border-radius: 12px !important; }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-2) 60%, var(--dark-3) 100%);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding: 100px 24px 80px;
}
.hero-bg-banner {
  position: absolute; inset: 0; z-index: 0;
}
.hero-banner-img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.18;
}
.hero-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,26,0.92) 0%, rgba(26,26,46,0.75) 50%, rgba(22,33,62,0.88) 100%);
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: pulse-orb 6s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,76,61,0.2) 0%, transparent 70%); top: -200px; left: -150px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,107,90,0.12) 0%, transparent 70%); top: 40%; right: -100px; animation-delay: 2s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%); bottom: -100px; left: 30%; animation-delay: 4s; }
.mesh-grid {
  position: absolute; inset: 0;
  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: 60px 60px; pointer-events: none;
}
.hero-container {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-content { display: flex; flex-direction: column; }
.eyebrow-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(232,76,61,0.12); border: 1px solid rgba(232,76,61,0.3);
  border-radius: 50px; font-size: 12px; font-weight: 700;
  color: var(--coral); letter-spacing: 0.03em;
  font-family: var(--mono); margin-bottom: 20px; width: fit-content;
}
.eyebrow-dot {
  width: 8px; height: 8px; background: var(--red-bright);
  border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 6px var(--red-bright);
  animation: pulse-orb 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(44px, 6vw, 72px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.0;
  color: var(--white); margin-bottom: 18px;
}
.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.68);
  line-height: 1.7; margin-bottom: 24px; max-width: 480px;
}

/* ── Terminal ── */
.hero-terminal {
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; margin-bottom: 28px; overflow: hidden;
  font-family: var(--mono); font-size: 13px;
  backdrop-filter: blur(8px); max-width: 480px;
}
.terminal-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.t-dot { width: 11px; height: 11px; border-radius: 50%; }
.t-dot.t-red    { background: #FF5F57; }
.t-dot.t-yellow { background: #FEBC2E; }
.t-dot.t-green  { background: #28C840; }
.t-title { font-size: 11px; color: rgba(255,255,255,0.4); margin-left: 6px; }
.terminal-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.t-line { display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.t-prompt { color: var(--coral); font-weight: 700; flex-shrink: 0; }
.t-cmd    { color: rgba(255,255,255,0.9); }
.t-out    { padding-left: 4px; }
.t-green-txt  { color: #28C840; }
.t-yellow-txt { color: #FEBC2E; }
.t-cursor { animation: blink 1s step-end infinite; color: var(--coral); }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-trust {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(255,255,255,0.38); font-weight: 500; font-family: var(--mono);
}

/* ── Hero illustration ── */
.hero-illustration { position: relative; display: flex; justify-content: center; align-items: center; }
.mascot-glow {
  position: absolute; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(232,76,61,0.22) 0%, transparent 70%);
  border-radius: 50%; filter: blur(40px); pointer-events: none;
}
.mascot-img {
  width: min(420px, 100%); height: auto; object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(232,76,61,0.3));
}

/* Floating badges */
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: rgba(13,13,26,0.8); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 50px;
  font-size: 12px; font-weight: 600; color: var(--white);
  white-space: nowrap; z-index: 2;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); font-family: var(--mono);
}
.badge-icon { font-size: 14px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.badge-dot-green { background: #28C840; box-shadow: 0 0 6px #28C840; animation: pulse-orb 2s ease-in-out infinite; }
.badge-tl  { top: 10%; left: -10px; }
.badge-br  { bottom: 12%; right: -10px; }
.badge-mid { top: 48%; left: -15px; }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 1; }
.scroll-mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.2); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 3px; height: 8px; background: rgba(255,255,255,0.4); border-radius: 2px; animation: scroll-wheel 1.5s ease-in-out infinite; }

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar { background: var(--dark-1); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 28px 24px; }
.stats-container {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 12px 32px; text-align: center; }
.stat-number { font-size: 32px; font-weight: 900; font-family: var(--mono); color: var(--white); letter-spacing: -0.03em; line-height: 1; }
.stat-suffix { font-size: 18px; font-weight: 700; color: var(--coral); margin-top: -2px; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ========================================
   PLATFORM STRIP
   ======================================== */
.platforms-strip { background: var(--white); padding: 48px 24px; border-bottom: 1px solid var(--card-border); }
.platforms-container { max-width: 900px; margin: 0 auto; text-align: center; }
.platforms-label { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-sub); margin-bottom: 20px; }
.platforms-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.platform-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: var(--light-bg);
  border: 1.5px solid var(--card-border); border-radius: 50px;
  font-size: 14px; font-weight: 600; color: var(--text-main);
  transition: var(--transition); cursor: default;
}
.platform-pill:hover { border-color: var(--red); background: rgba(232,76,61,0.05); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(232,76,61,0.12); }
.platform-icon { display: flex; align-items: center; flex-shrink: 0; }
.platform-icon.whatsapp { color: #25D366; }
.platform-icon.line     { color: #06C755; font-size: 13px; font-weight: 800; }
.platform-icon.slack    { color: #4A154B; }
.platform-icon.teams    { color: #6264A7; }
.platform-icon.telegram { color: #2AABEE; }
.platform-more { opacity: 0.5; font-style: italic; }

/* ========================================
   FEATURES
   ======================================== */
.features { background: var(--light-bg); padding: 96px 24px; }
.features-container { max-width: 1160px; margin: 0 auto; }
.features-grid { display: grid; gap: 22px; }
.features-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mt-grid { margin-top: 22px; }

.feature-card {
  position: relative; background: var(--card-bg);
  border: 1.5px solid var(--card-border); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: var(--transition); overflow: hidden;
}
.feature-card:hover { border-color: rgba(232,76,61,0.3); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-card:hover .feature-card-glow { opacity: 1; }
.feature-card-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,76,61,0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.feature-icon-wrap { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.icon-purple { background: rgba(139,92,246,0.12); }
.icon-red    { background: rgba(232,76,61,0.12); }
.icon-green  { background: rgba(34,197,94,0.12); }
.icon-blue   { background: rgba(59,130,246,0.12); }
.icon-orange { background: rgba(249,115,22,0.12); }
.icon-teal   { background: rgba(20,184,166,0.12); }
.feature-title { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-main); margin-bottom: 10px; line-height: 1.3; }
.feature-desc  { font-size: 14px; color: var(--text-sub); line-height: 1.65; margin-bottom: 14px; }
.feature-tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.feat-tag { font-size: 11px; font-weight: 700; font-family: var(--mono); color: var(--red); background: rgba(232,76,61,0.1); border: 1px solid rgba(232,76,61,0.2); padding: 2px 8px; border-radius: 50px; letter-spacing: 0.02em; }

/* ========================================
   ARCHITECTURE
   ======================================== */
.architecture {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  padding: 96px 24px;
}
.arch-container { max-width: 1160px; margin: 0 auto; }

.arch-diagram { margin-top: 0; }
.arch-row { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 0; }
.arch-label {
  font-size: 11px; font-weight: 700; font-family: var(--mono);
  color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.06em;
  width: 110px; flex-shrink: 0; padding-top: 14px; text-align: right;
}
.arch-nodes { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.arch-node {
  padding: 12px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1); font-size: 13px;
  font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.4;
  transition: var(--transition);
}
.arch-node small { display: block; font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 400; margin-top: 3px; font-family: var(--mono); }
.arch-node:hover { border-color: rgba(232,76,61,0.4); background: rgba(232,76,61,0.08); }
.node-msg  { background: rgba(42,171,238,0.1); border-color: rgba(42,171,238,0.2); }
.node-root { background: rgba(232,76,61,0.12); border-color: rgba(232,76,61,0.3); flex: 1; font-size: 14px; }
.node-div  { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.2); }
.node-spawn { background: rgba(255,255,255,0.05); border-style: dashed; cursor: pointer; }
.node-spawn:hover { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.4); }
.node-sandbox { background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.25); flex: 1; font-size: 13px; }
.arch-destroy { color: #FF6B6B; font-weight: 700; }
.node-mem  { flex: 1; text-align: center; font-size: 12px; }
.node-redis   { background: rgba(220,38,38,0.12); border-color: rgba(220,38,38,0.25); }
.node-pg      { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.25); }
.node-qdrant  { background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.25); }
.node-snap    { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.25); }

.arch-arrow-row { display: flex; justify-content: flex-end; padding-right: 0; margin: 8px 0; padding-left: 134px; }
.arch-down-arrow {
  font-size: 12px; color: rgba(255,255,255,0.3); font-family: var(--mono);
  font-weight: 500; letter-spacing: 0.02em; display: flex; align-items: center; gap: 8px;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  position: relative;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  padding: 96px 24px; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.hiw-bg-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hiw-orb-1 { width: 500px; height: 500px; background: rgba(232,76,61,0.1); top: -100px; right: -100px; }
.hiw-orb-2 { width: 400px; height: 400px; background: rgba(99,102,241,0.08); bottom: -80px; left: -80px; }
.hiw-container { max-width: 1160px; margin: 0 auto; position: relative; z-index: 1; }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.step-card {
  position: relative; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-lg);
  padding: 32px 24px; backdrop-filter: blur(8px); transition: var(--transition); overflow: hidden;
}
.step-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(232,76,61,0.25), transparent, transparent);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: -1;
}
.step-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.step-card:hover::before { opacity: 1; }
.step-number {
  font-size: 44px; font-weight: 900; letter-spacing: -0.04em; font-family: var(--mono);
  background: linear-gradient(135deg, var(--red) 0%, var(--coral) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 16px; opacity: 0.75;
}
.step-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(232,76,61,0.14); border: 1px solid rgba(232,76,61,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--coral); margin-bottom: 16px;
}
.step-title { font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-bottom: 8px; }
.step-desc  { font-size: 13.5px; color: var(--text-light); line-height: 1.65; }

/* Demo chat */
.demo-chat { max-width: 700px; margin: 0 auto; }
.demo-chat-inner { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-xl); padding: 28px 30px; backdrop-filter: blur(8px); }
.chat-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 20px; font-family: var(--mono); }
.chat-thread { display: flex; flex-direction: column; gap: 14px; }
.chat-bubble { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; border-radius: 14px; font-size: 14px; line-height: 1.6; }
.user-bubble { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.1); justify-content: flex-end; margin-left: 60px; border-radius: 14px 14px 4px 14px; font-family: var(--mono); font-size: 13px; }
.claw-bubble { background: rgba(232,76,61,0.1); border: 1px solid rgba(232,76,61,0.22); color: rgba(255,255,255,0.88); margin-right: 40px; border-radius: 14px 14px 14px 4px; font-size: 13px; }
.chat-avatar { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; background: rgba(232,76,61,0.15); padding: 3px; flex-shrink: 0; }
.chat-text { display: flex; flex-direction: column; gap: 2px; font-family: var(--mono); }
.claw-name { font-size: 11px; font-weight: 700; color: var(--coral); letter-spacing: 0.03em; }
.claw-bubble code { background: rgba(255,255,255,0.1); padding: 1px 5px; border-radius: 4px; font-size: 12px; }

/* ========================================
   DEPLOY / INSTALL SECTION
   ======================================== */
.deploy-section { background: var(--light-bg); padding: 96px 24px; }
.deploy-container { max-width: 1000px; margin: 0 auto; }

.install-tabs { margin-bottom: 48px; }
.tab-buttons { display: flex; gap: 6px; margin-bottom: 0; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 20px; border-radius: 12px 12px 0 0;
  background: rgba(0,0,0,0.06); border: 1.5px solid var(--card-border);
  border-bottom: none; font-size: 13px; font-weight: 700;
  color: var(--text-sub); cursor: pointer; transition: var(--transition);
  font-family: var(--mono);
}
.tab-btn:hover { background: rgba(232,76,61,0.08); color: var(--red); }
.tab-btn.active { background: var(--dark-1); color: var(--white); border-color: var(--dark-1); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.code-block {
  background: var(--dark-1); border-radius: 0 16px 16px 16px;
  border: 1.5px solid rgba(255,255,255,0.07); overflow: hidden;
}
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-lang { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.4); font-family: var(--mono); }
.copy-btn {
  font-size: 12px; font-weight: 700; color: var(--coral);
  background: rgba(232,76,61,0.12); border: 1px solid rgba(232,76,61,0.25);
  padding: 4px 12px; border-radius: 6px; cursor: pointer;
  font-family: var(--mono); transition: var(--transition);
}
.copy-btn:hover { background: rgba(232,76,61,0.25); }
.copy-btn.copied { color: #28C840; background: rgba(40,200,64,0.12); border-color: rgba(40,200,64,0.25); }
.code-block pre { padding: 20px 20px; overflow-x: auto; }
.code-block code { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.85); white-space: pre; }

/* Resource grid */
.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.resource-card {
  position: relative; background: var(--card-bg); border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
  transition: var(--transition);
}
.resource-card:hover { border-color: rgba(232,76,61,0.3); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.resource-card-recommended { border-color: var(--red); box-shadow: 0 4px 24px rgba(232,76,61,0.18); }
.resource-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red) 0%, var(--coral) 100%);
  color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 50px;
}
.resource-icon { font-size: 28px; margin-bottom: 12px; }
.resource-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--text-main); }
.resource-card ul { display: flex; flex-direction: column; gap: 8px; }
.resource-card li { font-size: 13.5px; color: var(--text-sub); font-family: var(--mono); }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-2) 50%, #2A0A08 100%);
  padding: 100px 24px; overflow: hidden; text-align: center;
}
.orb-cta-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,76,61,0.2) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: pulse-orb 7s ease-in-out infinite; }
.orb-cta-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,179,71,0.1) 0%, transparent 70%); bottom: 0; right: 10%; animation: pulse-orb 5s ease-in-out infinite 1s; }
.cta-container { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-logo-mark { width: 88px; height: 88px; object-fit: contain; margin: 0 auto 28px; border-radius: 20px; filter: drop-shadow(0 4px 24px rgba(232,76,61,0.45)); }
.cta-title { font-size: clamp(34px, 5.5vw, 56px); font-weight: 900; letter-spacing: -0.04em; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.cta-sub { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.cta-trust-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.42); font-weight: 600; font-family: var(--mono); }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--dark-1); border-top: 1px solid rgba(255,255,255,0.06); padding: 32px 24px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-logo-img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; }
.footer-brand-text { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.75); }
.footer-brand-text strong { font-weight: 900; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.08); font-family: var(--mono); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.38); font-weight: 500; transition: color 0.25s ease; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ========================================
   SCROLLBAR + SELECTION
   ======================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-1); }
::-webkit-scrollbar-thumb { background: rgba(232,76,61,0.4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
::selection { background: rgba(232,76,61,0.25); color: var(--white); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 960px) {
  .hero-container { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-content { align-items: center; }
  .hero-subtitle, .hero-terminal { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-illustration { order: -1; }
  .badge-tl, .badge-br, .badge-mid { display: none; }
  .features-grid-3 { grid-template-columns: repeat(2,1fr); }
  .steps-row { grid-template-columns: repeat(2,1fr); }
  .arch-row { flex-direction: column; }
  .arch-label { width: auto; text-align: left; padding-top: 0; }
  .arch-arrow-row { padding-left: 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  .features-grid-3 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 42px; }
  .stats-container { gap: 0; }
  .stat-item { padding: 8px 16px; }
  .stat-divider { display: none; }
  .cta-trust-row { gap: 10px; }
  .footer-container { flex-direction: column; align-items: flex-start; }
  .footer-copy { padding-left: 0; border-left: none; }
}
