/* ============================
   XCODEX — Premium Redesign
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  /* Brand */
  --accent:        #00a878;
  --accent-light:  #00c98f;
  --accent-dim:    rgba(0, 168, 120, 0.10);
  --accent-border: rgba(0, 168, 120, 0.22);
  --accent-glow:   rgba(0, 168, 120, 0.28);
  --accent-hover:  #00875f;

  /* Surface */
  --bg:            #f8f8fa;
  --bg-alt:        #f1f1f4;
  --surface:       #ffffff;
  --surface-raised:#fdfdfeff;

  /* Text */
  --text-1:        #111116;
  --text-2:        #52525c;
  --text-3:        #a0a0ab;

  /* Dark */
  --dark:          #0a0a0c;
  --dark-mid:      #111113;
  --dark-surface:  rgba(255,255,255,.045);
  --dark-surface-h:rgba(255,255,255,.075);
  --dark-border:   rgba(255,255,255,.08);
  --dark-border-h: rgba(255,255,255,.16);

  /* Border */
  --border:        rgba(0,0,0,.09);
  --border-strong: rgba(0,0,0,.16);

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:     0 2px 10px rgba(0,0,0,.08);
  --shadow-md:     0 8px 28px rgba(0,0,0,.10);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.13);
  --shadow-float:  0 32px 64px rgba(0,0,0,.16), 0 8px 24px rgba(0,0,0,.10);
  --shadow-accent: 0 8px 32px var(--accent-glow);

  /* Gradients */
  --grad-accent:   linear-gradient(135deg, #00a878 0%, #00c98f 100%);
  --grad-brand:    linear-gradient(135deg, #00a878 0%, #0ea5e9 100%);

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Layout */
  --nav-h: 64px;
  --max-w: 1100px;

  /* Type */
  --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur:         0.25s;
  --dur-slow:    0.5s;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a  { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Skip link */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  padding: 8px 16px; background: var(--accent);
  color: #fff; font-weight: 600; font-size: 14px;
  border-radius: var(--r-md); z-index: 9999;
  text-decoration: none; transition: top var(--dur);
}
.skip-link:focus { top: 16px; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  width: 0%; background: var(--grad-accent);
  z-index: 9999; transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================
   HEADER & NAV
   ============================ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  background: rgba(248,248,250,.88);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 100%;
  max-width: calc(var(--max-w) + 80px);
  margin: 0 auto; padding: 0 32px; gap: 16px;
}
.nav-left { display: flex; align-items: center; gap: 2px; }

.nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  padding: 6px 12px; border-radius: var(--r-sm);
  transition: background var(--dur), color var(--dur); white-space: nowrap;
}
.nav-link:hover { background: var(--bg-alt); color: var(--text-1); }

.nav-brand { text-align: center; }
.brand-link {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.6px; color: var(--text-1);
  display: flex; align-items: center; gap: 8px;
  transition: color var(--dur);
}
.brand-link:hover { color: var(--accent); }

.brand-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--grad-accent); display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px;
  font-weight: 700; color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

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

.nav-github {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--text-1);
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
  white-space: nowrap;
}
.nav-github:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.lang-switcher { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  font-size: 12.5px; font-weight: 500; color: var(--text-3);
  padding: 4px 8px; border-radius: 6px;
  transition: color var(--dur), background var(--dur);
}
.lang-btn:hover { color: var(--text-1); background: var(--bg-alt); }
.lang-btn.active { color: var(--accent); font-weight: 700; }
.lang-sep { color: var(--border-strong); font-size: 13px; user-select: none; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px;
}
.nav-hamburger span {
  display: block; height: 2px; background: var(--text-1);
  border-radius: 2px; transition: transform var(--dur), opacity var(--dur);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(248,248,250,.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 24px;
  flex-direction: column; gap: 2px; z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-size: 16px; font-weight: 500; color: var(--text-1);
  padding: 11px 12px; border-radius: var(--r-sm);
  transition: background var(--dur);
}
.nav-mobile-link:hover { background: var(--bg-alt); }
.lang-switcher-mobile {
  display: flex; gap: 8px; padding: 12px 12px 0;
  border-top: 1px solid var(--border); margin-top: 8px;
}
.lang-switcher-mobile .lang-btn {
  font-size: 14px; padding: 7px 16px;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
}
.lang-switcher-mobile .lang-btn.active {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-dim);
}

/* ============================
   LAYOUT UTILS
   ============================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); }
.section-install { background: var(--dark-mid); }

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

.section-label {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800; letter-spacing: -1.8px; line-height: 1.08;
  color: var(--text-1); margin-bottom: 18px;
}
.section-title.light { color: #fff; }

.section-sub {
  font-size: clamp(15px, 2.5vw, 18px); font-weight: 400;
  color: var(--text-2); max-width: 520px; margin: 0 auto; line-height: 1.6;
}
.section-sub.light { color: rgba(255,255,255,.58); }

.accent { color: var(--accent); }

/* ============================
   KEYFRAMES & ANIMATIONS
   ============================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.8; }
  50%       { transform: translateY(8px) translateX(-50%); opacity: 0.3; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes orb-drift-1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(80px, -50px) scale(1.12); }
  66%     { transform: translate(-40px, 40px) scale(0.92); }
}
@keyframes orb-drift-2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  40%     { transform: translate(-60px, 30px) scale(1.08); }
  70%     { transform: translate(50px, -30px) scale(0.94); }
}
@keyframes orb-drift-3 {
  0%,100% { transform: translate(0, 0) scale(1); }
  50%     { transform: translate(30px, -60px) scale(1.06); }
}
@keyframes shimmer-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes grad-text {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.float-anim      { animation: float 7s ease-in-out infinite; }
.float-anim-slow { animation: float-slow 10s ease-in-out infinite; }

/* Scroll reveal */
.reveal, .reveal-right, .reveal-stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-right.visible {
  opacity: 1; transform: none;
}
.reveal-stagger.visible > *:nth-child(1)  { opacity:1; transform:none; transition-delay:.04s; }
.reveal-stagger.visible > *:nth-child(2)  { opacity:1; transform:none; transition-delay:.10s; }
.reveal-stagger.visible > *:nth-child(3)  { opacity:1; transform:none; transition-delay:.16s; }
.reveal-stagger.visible > *:nth-child(4)  { opacity:1; transform:none; transition-delay:.22s; }
.reveal-stagger.visible > *:nth-child(5)  { opacity:1; transform:none; transition-delay:.28s; }
.reveal-stagger.visible > *:nth-child(6)  { opacity:1; transform:none; transition-delay:.34s; }
.reveal-stagger.visible > *:nth-child(7)  { opacity:1; transform:none; transition-delay:.40s; }
.reveal-stagger.visible > *:nth-child(8)  { opacity:1; transform:none; transition-delay:.46s; }
.reveal-stagger.visible > *:nth-child(9)  { opacity:1; transform:none; transition-delay:.52s; }
.reveal-stagger.visible > *:nth-child(10) { opacity:1; transform:none; transition-delay:.58s; }

/* ============================
   HERO
   ============================ */
.hero {
  padding-top: calc(var(--nav-h) + 96px);
  padding-bottom: 96px;
  position: relative; overflow: hidden;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; will-change: transform;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0,168,120,.18) 0%, transparent 70%);
  top: -120px; right: 0;
  animation: orb-drift-1 18s ease-in-out infinite;
}
.hero-orb-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(14,165,233,.12) 0%, transparent 70%);
  bottom: -60px; left: 10%;
  animation: orb-drift-2 22s ease-in-out infinite;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,.08) 0%, transparent 70%);
  top: 30%; left: 50%;
  animation: orb-drift-3 14s ease-in-out infinite;
}

/* Dot grid */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,0,0,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
}

.hero-title {
  font-size: clamp(38px, 6vw, 66px); font-weight: 800;
  letter-spacing: -2.5px; line-height: 1.04; margin-bottom: 24px;
  color: var(--text-1);
}
.hero-title .accent {
  background: var(--grad-accent);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: grad-text 6s ease infinite;
}

.hero-sub {
  font-size: clamp(15.5px, 2vw, 18.5px); font-weight: 400;
  color: var(--text-2); max-width: 460px;
  margin-bottom: 40px; line-height: 1.65;
}

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600;
  padding: 12px 26px; border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease-spring),
              box-shadow var(--dur), background var(--dur), color var(--dur);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-accent); color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: skewX(-20deg);
  animation: shimmer-slide 4s ease-in-out infinite;
}
.btn-primary:hover { box-shadow: 0 8px 32px var(--accent-glow); }

.btn-outline {
  border: 1.5px solid var(--border-strong); color: var(--text-1);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.hero-stats {
  display: flex; align-items: center; gap: 0;
  padding: 20px 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs); width: fit-content;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 22px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { padding-right: 0; }
.stat-num {
  font-size: 26px; font-weight: 800; letter-spacing: -1px;
  color: var(--text-1); line-height: 1;
}
.stat-label { font-size: 11px; font-weight: 500; color: var(--text-3); margin-top: 4px; letter-spacing: 0.3px; }
.stat-divider { width: 1px; height: 34px; background: var(--border); flex-shrink: 0; }

/* Terminal window chrome */
.terminal-window {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-float); border: 1px solid rgba(0,0,0,.14);
  background: #1a1a2e;
}
.terminal-chrome {
  background: #1a1a2e; padding: 13px 18px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.chrome-dots { display: flex; gap: 7px; }
.chrome-dots span {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.chrome-dots span:nth-child(1) { background: #ff5f57; }
.chrome-dots span:nth-child(2) { background: #ffbd2e; }
.chrome-dots span:nth-child(3) { background: #28c840; }
.chrome-title {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,.35); flex: 1; text-align: center;
}
.hero-img { width: 100%; display: block; }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 1;
}
.scroll-dot {
  width: 22px; height: 22px;
  border: 2px solid var(--border-strong); border-radius: 50%;
  animation: scroll-bounce 2.2s ease-in-out infinite;
}

/* ============================
   SHARED CARD STYLES
   ============================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur),
              border-color var(--dur);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,.14);
}

/* ============================
   WHY SECTION
   ============================ */
.grid-3 {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}

.card-why {
  text-align: center; padding: 44px 32px;
  background: var(--surface);
  position: relative; overflow: hidden;
}
.card-why::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-accent); opacity: 0;
  transition: opacity var(--dur);
}
.card-why:hover::after { opacity: 1; }

.card-icon-wrap {
  width: 56px; height: 56px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 16px; display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 22px;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur);
}
.card-why:hover .card-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.card-why h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-1); }
.card-why p  { font-size: 14.5px; color: var(--text-2); line-height: 1.6; }

/* ============================
   FEATURE GRID
   ============================ */
.feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
}

.card-feat {
  display: flex; flex-direction: column;
  padding: 28px 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur), border-color var(--dur);
}
.card-feat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}
.card-feat::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-accent); opacity: 0;
  transition: opacity var(--dur);
}
.card-feat:hover::before { opacity: 1; }

.feat-icon-bg {
  width: 44px; height: 44px; background: var(--accent-dim);
  border: 1px solid var(--accent-border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur);
}
.card-feat:hover .feat-icon-bg {
  transform: scale(1.12);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.feat-title { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.feat-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }

.feat-list { flex: 1; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.feat-list li {
  font-size: 13px; color: var(--text-2);
  padding-left: 16px; position: relative; line-height: 1.5;
}
.feat-list li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700; font-size: 15px; line-height: 1.3;
}

.feat-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.3px; color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  padding: 3px 10px; border-radius: 100px;
  align-self: flex-start; margin-top: auto;
}

/* ============================
   INTERFACE SECTION
   ============================ */
.iface-showcase { max-width: 860px; margin: 0 auto 52px; }

.img-card {
  border-radius: var(--r-lg); box-shadow: var(--shadow-float);
  overflow: hidden; border: 1px solid rgba(0,0,0,.1);
  background: #1a1a2e;
}
.img-card-chrome {
  background: #1a1a2e; padding: 13px 18px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.img-card-chrome .chrome-dots { display: flex; gap: 7px; }
.img-card-chrome .chrome-dots span {
  width: 12px; height: 12px; border-radius: 50%;
}
.img-card-chrome .chrome-dots span:nth-child(1) { background: #ff5f57; }
.img-card-chrome .chrome-dots span:nth-child(2) { background: #ffbd2e; }
.img-card-chrome .chrome-dots span:nth-child(3) { background: #28c840; }
.img-card-chrome .chrome-label {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,.35); flex: 1; text-align: center;
}
.showcase-img { width: 100%; display: block; }

.key-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 14px; max-width: 780px; margin: 0 auto;
}
.key-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 24px 16px; text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.key-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-sm);
  border-color: var(--accent-border);
}
.key-combo { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 8px;
  background: var(--bg-alt); border: 1.5px solid var(--border-strong);
  border-bottom-width: 3px; border-radius: 7px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--text-1); box-shadow: 0 2px 0 rgba(0,0,0,.08);
}
.key-card p { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }

/* ============================
   FEATURE ROWS (WHAT MAKES IT DIFFERENT)
   ============================ */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-bottom: 104px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-rev .feature-row-text { order: 2; }
.feature-row-rev .feature-row-visual { order: 1; }

.feature-row-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 18px;
}
.feature-row-text h3 {
  font-size: clamp(20px, 3vw, 30px); font-weight: 800;
  letter-spacing: -0.8px; line-height: 1.2;
  margin-bottom: 18px; color: var(--text-1);
}
.feature-row-text p {
  font-size: 15.5px; color: var(--text-2); line-height: 1.75;
}
.feature-img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.feature-row-visual .img-card { box-shadow: var(--shadow-lg); }

/* ============================
   AUDIENCE (DARK SECTION)
   ============================ */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

.card-dark {
  background: var(--dark-surface); border: 1px solid var(--dark-border);
  border-radius: var(--r-md); padding: 32px 24px;
  transition: transform var(--dur) var(--ease),
              background var(--dur), border-color var(--dur), box-shadow var(--dur);
  position: relative; overflow: hidden;
}
.card-dark::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-accent); opacity: 0;
  transition: opacity var(--dur);
}
.card-dark:hover {
  transform: translateY(-5px); background: var(--dark-surface-h);
  border-color: var(--dark-border-h);
  box-shadow: 0 20px 48px rgba(0,0,0,.5);
}
.card-dark:hover::after { opacity: 1; }
.aud-icon { font-size: 34px; margin-bottom: 18px; display: block; }
.card-dark h3 { font-size: 16.5px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.card-dark p  { font-size: 13.5px; color: rgba(255,255,255,.52); line-height: 1.6; }

/* ============================
   COMPARISON TABLE
   ============================ */
.table-wrap {
  overflow-x: auto; border-radius: var(--r-md);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.comp-table {
  width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface);
}
.comp-table thead tr {
  background: linear-gradient(135deg, #f8f8fa 0%, #f1f1f4 100%);
}
.comp-table th {
  padding: 15px 22px; text-align: left;
  font-size: 12.5px; font-weight: 700; color: var(--text-2);
  letter-spacing: 0.5px; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.comp-table td {
  padding: 14px 22px; border-bottom: 1px solid var(--border);
  color: var(--text-1); font-size: 14px;
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tbody tr:hover td { background: var(--bg-alt); }
.cell-yes { font-weight: 800; color: var(--accent); font-size: 18px; text-align: center; }
.cell-no  { color: rgba(0,0,0,.18); font-size: 18px; text-align: center; }
.cell-highlight { color: var(--accent); font-weight: 600; }

/* ============================
   TOOLS NOTE
   ============================ */
.tools-note {
  margin-top: 28px; font-size: 14.5px;
  color: var(--text-2); line-height: 1.75;
  padding: 20px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); border-left: 3px solid var(--accent);
}

/* ============================
   10 REASONS TILES
   ============================ */
.grid-tiles {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 14px;
}
.tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px 18px;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur), border-color var(--dur);
  position: relative; overflow: hidden;
}
.tile::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-accent); opacity: 0;
  transition: opacity var(--dur);
}
.tile:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-sm);
  border-color: var(--accent-border);
}
.tile:hover::before { opacity: 1; }
.tile-num {
  display: block; font-size: 11.5px; font-weight: 800;
  letter-spacing: 1px; color: var(--accent); margin-bottom: 8px;
  font-family: var(--font-mono);
}
.tile p { font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* ============================
   INSTALLATION
   ============================ */
.section-install .section-title { color: #fff; }

.install-steps {
  max-width: 700px; margin: 0 auto 44px;
  display: flex; flex-direction: column; gap: 20px;
}
.install-step {
  display: flex; gap: 20px; align-items: flex-start;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.install-step.visible { opacity: 1; transform: none; }

.step-num {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--grad-accent); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; margin-top: 2px;
  box-shadow: 0 4px 12px var(--accent-glow);
  flex-shrink: 0;
}

.step-body { flex: 1; }
.step-body h4 { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 10px; }

.code-block {
  background: #0d1117; border: 1px solid #21262d;
  border-radius: var(--r-sm); overflow: hidden;
}
.code-block-header {
  background: #161b22; padding: 8px 14px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #21262d;
}
.code-dots { display: flex; gap: 6px; }
.code-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-block-inner {
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.code-block pre { flex: 1; overflow-x: auto; scrollbar-width: thin; }
.code-block code {
  font-family: var(--font-mono); font-size: 13px;
  color: #e6edf3; white-space: pre;
}
.code-prompt {
  color: var(--accent); font-family: var(--font-mono);
  font-size: 13px; font-weight: 500; user-select: none; margin-right: 4px;
}

.copy-btn {
  flex-shrink: 0; color: #6e7681; padding: 5px;
  border-radius: 6px;
  transition: color var(--dur), background var(--dur);
}
.copy-btn:hover { color: #e6edf3; background: rgba(255,255,255,.07); }
.copy-btn.copied { color: var(--accent); }

.step-note {
  font-size: 12.5px; color: rgba(255,255,255,.38);
  margin-top: 10px; line-height: 1.55;
}

.install-update {
  max-width: 700px; margin: 0 auto 48px;
}
.install-update h4 {
  font-size: 14.5px; font-weight: 600;
  color: rgba(255,255,255,.55); margin-bottom: 10px;
}

.requirements {
  max-width: 700px; margin: 0 auto;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding: 32px;
}
.requirements h3 {
  font-size: 17px; font-weight: 700;
  color: rgba(255,255,255,.82); margin-bottom: 24px;
}
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.req-item { display: flex; align-items: flex-start; gap: 14px; }
.req-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.req-item strong { display: block; font-size: 13.5px; color: rgba(255,255,255,.78); font-weight: 600; }
.req-item span   { font-size: 12px; color: rgba(255,255,255,.38); margin-top: 2px; display: block; }

/* ============================
   DEVELOPER SECTION
   ============================ */
.dev-author { text-align: center; margin-bottom: 52px; }
.dev-name {
  font-size: 28px; font-weight: 800; letter-spacing: -0.8px;
  color: var(--text-1); margin-bottom: 8px;
}
.dev-site {
  font-size: 14.5px; color: var(--accent); font-weight: 600;
  transition: color var(--dur);
}
.dev-site:hover { color: var(--accent-hover); }

.card-portfolio {
  padding: 28px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.card-portfolio:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,.14);
}
.port-icon { font-size: 30px; margin-bottom: 14px; }
.card-portfolio h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.card-portfolio > p { font-size: 13.5px; color: var(--text-2); margin-bottom: 16px; line-height: 1.55; }
.port-link { font-size: 13.5px; font-weight: 600; color: var(--accent); transition: color var(--dur); }
.port-link:hover { color: var(--accent-hover); }
.port-links { display: flex; flex-direction: column; gap: 5px; }
.port-links a {
  font-size: 13px; color: var(--text-2); padding: 4px 0;
  transition: color var(--dur); border-bottom: 1px solid transparent;
  width: fit-content;
}
.port-links a:hover { color: var(--accent); border-bottom-color: var(--accent-dim); }

/* ============================
   SUPPORT SECTION
   ============================ */
.support-wrap {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, #f0fdf9 0%, #f8f8fa 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-xl); padding: 60px 52px;
  box-shadow: 0 0 0 4px var(--accent-dim), var(--shadow-sm);
}
.support-icon { font-size: 44px; margin-bottom: 20px; display: block; }
.support-text h2 {
  font-size: clamp(22px, 4vw, 34px); font-weight: 800;
  letter-spacing: -1px; margin-bottom: 16px; color: var(--text-1);
}
.support-text p { font-size: 15.5px; color: var(--text-2); margin-bottom: 10px; line-height: 1.65; }
.sup-note { font-size: 12.5px; color: var(--text-3); margin-bottom: 32px; }
.support-action { margin-top: 32px; }

.btn-paypal {
  display: inline-flex; align-items: center; gap: 10px;
  background: #003087; color: #fff;
  font-size: 15.5px; font-weight: 700; padding: 15px 36px;
  border-radius: var(--r-md); transition: transform var(--dur), box-shadow var(--dur), background var(--dur);
  box-shadow: 0 4px 18px rgba(0,48,135,.3);
}
.btn-paypal:hover {
  background: #001f5e; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,48,135,.4);
}

/* ============================
   LICENSE
   ============================ */
.card-lic { padding: 32px; }
.lic-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.lic-icon {
  font-size: 16px; font-weight: 800;
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card-lic-green .lic-icon { background: #dcfce7; color: #15803d; }
.card-lic-red   .lic-icon { background: #fee2e2; color: #dc2626; }
.card-lic-gray  .lic-icon { background: #f3f4f6; color: #6b7280; }
.lic-header h3 { font-size: 16px; font-weight: 700; color: var(--text-1); }
.card-lic ul  { display: flex; flex-direction: column; gap: 10px; }
.card-lic li  { font-size: 13.5px; color: var(--text-2); padding-left: 20px; position: relative; line-height: 1.5; }
.card-lic-green li::before { content:'✓'; position:absolute; left:0; color:#15803d; font-weight:800; font-size:12px; }
.card-lic-red   li::before { content:'✗'; position:absolute; left:0; color:#dc2626; font-weight:800; font-size:12px; }
.card-lic p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; margin-bottom: 16px; }
.copyright {
  font-size: 11.5px; color: var(--text-3);
  border-top: 1px solid var(--border); padding-top: 14px; margin-top: 16px; line-height: 1.5;
}

/* ============================
   FOOTER
   ============================ */
.footer { background: #09090b; padding: 56px 0 28px; }
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px; margin-bottom: 32px; text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-logo  { font-size: 15.5px; font-weight: 800; color: #fff; letter-spacing: -0.4px; }
.footer-tag   { font-size: 12.5px; color: rgba(255,255,255,.36); }
.footer-links { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; justify-content: center; }
.footer-links a {
  font-size: 12.5px; color: rgba(255,255,255,.46);
  padding: 5px 10px; border-radius: 6px;
  transition: color var(--dur), background var(--dur);
}
.footer-links a:hover { color: rgba(255,255,255,.9); background: rgba(255,255,255,.06); }
.footer-copy { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; text-align: center; }
.footer-copy span { font-size: 11.5px; color: rgba(255,255,255,.26); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .feat-grid   { grid-template-columns: repeat(2,1fr); }
  .grid-tiles  { grid-template-columns: repeat(3,1fr); }
  .grid-4      { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
  .nav-left      { display: none; }
  .nav-right     { display: none; }
  .nav-hamburger { display: flex; }
  .nav           { grid-template-columns: auto 1fr auto; }
  .nav-brand     { text-align: left; }

  .hero-inner    { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-sub      { margin-left: auto; margin-right: auto; }
  .hero-cta      { justify-content: center; }
  .hero-stats    { margin: 0 auto; }
  .hero-visual   { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }

  .feature-row     { grid-template-columns: 1fr; gap: 36px; }
  .feature-row-rev .feature-row-text { order: 0; }
  .feature-row-rev .feature-row-visual { order: 0; }

  .grid-3   { grid-template-columns: 1fr; }
  .key-grid { grid-template-columns: repeat(2,1fr); }
  .req-grid { grid-template-columns: 1fr; }

  .hero-orb-1 { width: 360px; height: 360px; }
  .hero-orb-2 { width: 280px; height: 280px; }
  .hero-orb-3 { display: none; }
}

@media (max-width: 640px) {
  .section     { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .feat-grid   { grid-template-columns: 1fr; }
  .grid-tiles  { grid-template-columns: repeat(2,1fr); }
  .grid-4      { grid-template-columns: 1fr; }
  .hero-stats  { gap: 0; flex-wrap: nowrap; padding: 14px 16px; }
  .hero-stat   { padding: 0 14px; }
  .stat-num    { font-size: 22px; }
  .support-wrap { padding: 40px 28px; }
  .install-step { flex-direction: column; gap: 10px; }
  .step-num    { margin-top: 0; }
}

@media (max-width: 420px) {
  .grid-tiles { grid-template-columns: 1fr; }
  .key-grid   { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .stat-divider { display: none; }
}
