/* ============================================
   Zubo Marketing Website — style.css
   Brand: Black #060608, Violet #7c3aed,
          Indigo #6366f1, Fuchsia #d946ef,
          Emerald #10b981
   ============================================ */

/* --- Reset & Vars --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #060608;
  --bg-elevated: #0e0e12;
  --bg-card: #111116;
  --bg-card-hover: #18181f;
  --border: #1e1e26;
  --border-light: #2a2a35;
  --text: #f0f0f5;
  --text-secondary: #9595a8;
  --text-muted: #5f5f73;
  --violet: #7c3aed;
  --indigo: #6366f1;
  --fuchsia: #d946ef;
  --emerald: #10b981;
  --amber: #f59e0b;
  --gradient: linear-gradient(135deg, var(--violet), var(--fuchsia));
  --gradient-text: linear-gradient(135deg, #fbbf24 0%, #f97316 25%, #ec4899 50%, #a855f7 75%, #6366f1 100%);
  --shadow-glow: 0 0 80px rgba(124, 58, 237, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --nav-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; color: #fff; }

/* Display font for headings */
h1, h2, h3, h4,
.section-title,
.hero-title,
.oss-card h2,
.cta-content h2 {
  font-family: var(--display);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: var(--progress, 0%);
  background: var(--gradient-text);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* --- Noise Overlay --- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* --- Staggered Reveal Animation --- */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.56s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.64s; }

/* --- Animated Gradient Border --- */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-border {
  to { --angle: 360deg; }
}

.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 40%,
    var(--violet),
    var(--fuchsia),
    var(--amber),
    transparent 60%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: rotate-border 4s linear infinite;
  pointer-events: none;
}

/* --- Card Tilt (JS-driven) --- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 16px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.5), 0 2px 12px rgba(217, 70, 239, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px) scale(1.02);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}
.btn-nav { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-xl { padding: 18px 36px; font-size: 17px; border-radius: 14px; }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo-mark { display: none; }
.logo-wordmark { color: #fff; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-github {
  color: var(--text-secondary);
  transition: color 0.2s;
  display: flex;
}
.nav-github:hover { color: #fff; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--violet);
  top: -15%;
  left: -10%;
  animation: orb-float-1 20s ease-in-out infinite;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--fuchsia);
  top: 10%;
  right: -15%;
  animation: orb-float-2 25s ease-in-out infinite;
}
.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--indigo);
  bottom: -10%;
  left: 30%;
  animation: orb-float-3 22s ease-in-out infinite;
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 80px) scale(0.95); }
}
@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 60px) scale(0.9); }
  66% { transform: translate(40px, -40px) scale(1.15); }
}
@keyframes orb-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -60px) scale(1.05); }
  66% { transform: translate(-80px, 20px) scale(0.95); }
}

/* Grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Hero badge with shimmer */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #c4b5fd;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  animation: badge-shimmer 3s ease-in-out infinite;
}
@keyframes badge-shimmer {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-line { display: block; }

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.hero-stat-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ========== TERMINAL ========== */
.hero-terminal {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.terminal {
  background: #0c0c10;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 24px 64px rgba(0,0,0,0.5);
}
.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.terminal-dots {
  display: flex;
  gap: 7px;
}
.td {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.td-r { background: #ff5f57; }
.td-y { background: #febc2e; }
.td-g { background: #28c840; }
.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-muted);
  margin-right: 48px;
}
.terminal-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  min-height: 260px;
}
.terminal-line {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.terminal-line:last-of-type { margin-bottom: 0; }
.t-user, .t-agent {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.t-user {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}
.t-agent {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.t-msg {
  color: var(--text-secondary);
}
.terminal-response .t-msg {
  color: var(--text);
}
.t-tool {
  display: inline-block;
  font-size: 11px;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 4px;
}
.terminal-cursor {
  color: var(--violet);
  animation: blink 1s step-end infinite;
  margin-left: 60px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ========== TECH STACK (Marquee) ========== */
.stack {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.stack-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 24px;
}
.stack-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.stack-track:hover {
  animation-play-state: paused;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.stack-items {
  display: flex;
  gap: 48px;
  padding: 0 24px;
  flex-shrink: 0;
}
.stack-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.stack-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.stack-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.stack-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-subtitle {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== FEATURES BENTO ========== */
.features {
  padding: 120px 0;
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124, 58, 237, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.bento-lg {
  grid-column: span 2;
}
.bento-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 14px;
  color: #a78bfa;
  margin-bottom: 20px;
}
.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.bento-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* Memory card visual */
.bento-visual {
  margin-top: 24px;
  height: 120px;
  position: relative;
}
.memory-dots {
  position: relative;
  width: 100%;
  height: 100%;
}
.m-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--violet);
  border-radius: 50%;
  left: var(--x);
  top: var(--y);
  animation: dot-pulse 3s ease-in-out var(--delay) infinite;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.5); opacity: 1; }
}
.m-line {
  position: absolute;
  left: var(--x1);
  top: var(--y1);
  width: 1px;
  height: 1px;
  background: linear-gradient(to bottom right, rgba(124, 58, 237, 0.3), transparent);
  transform-origin: top left;
}

/* Model tags */
.bento-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.model-tag {
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--mono);
}

/* ========== INTEGRATIONS ========== */
.integrations {
  padding: 120px 0;
  position: relative;
}
.integrations::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
  text-align: center;
}
.integration-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.integration-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  margin: 0 auto 20px;
  color: var(--text-secondary);
  transition: all 0.3s;
}
.integration-card:hover .integration-icon {
  color: #fff;
  background: rgba(124, 58, 237, 0.12);
}
.integration-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.integration-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== CHANNELS ========== */
.channels {
  padding: 120px 0;
}
.channels-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  min-width: 140px;
}
.channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.channel-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  transition: all 0.3s;
}
.channel-telegram { background: rgba(0, 136, 204, 0.1); color: #0088cc; }
.channel-card:hover .channel-telegram { background: rgba(0, 136, 204, 0.2); }
.channel-discord { background: rgba(88, 101, 242, 0.1); color: #5865f2; }
.channel-card:hover .channel-discord { background: rgba(88, 101, 242, 0.2); }
.channel-slack { background: rgba(74, 21, 75, 0.15); color: #e01e5a; }
.channel-card:hover .channel-slack { background: rgba(74, 21, 75, 0.3); }
.channel-whatsapp { background: rgba(37, 211, 102, 0.1); color: #25d366; }
.channel-card:hover .channel-whatsapp { background: rgba(37, 211, 102, 0.2); }
.channel-signal { background: rgba(59, 134, 247, 0.1); color: #3b86f7; }
.channel-card:hover .channel-signal { background: rgba(59, 134, 247, 0.2); }
.channel-web { background: rgba(124, 58, 237, 0.1); color: #a78bfa; }
.channel-card:hover .channel-web { background: rgba(124, 58, 237, 0.2); }
.channel-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.channel-card:hover span { color: #fff; }
.channels-note {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* ========== GETTING STARTED ========== */
.getting-started {
  padding: 120px 0;
  position: relative;
}
.getting-started::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* Quick Start terminal card */
.qs-terminal {
  max-width: 680px;
  margin: 0 auto;
  background: #0c0c10;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 24px 64px rgba(0,0,0,0.4);
}
.qs-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.qs-tabs {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.qs-tab {
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 5px 14px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.qs-tab:hover {
  color: var(--text-secondary);
}
.qs-tab.active {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  color: #c4b5fd;
}
.qs-chrome-spacer { flex: 1; }
.qs-body {
  padding: 28px 28px 32px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 2.2;
}
.qs-pane {
  display: none;
}
.qs-pane.active {
  display: block;
}
.qs-line {
  display: flex;
  align-items: center;
  min-height: 28px;
}
.qs-line.qs-spacer {
  height: 12px;
}
.qs-comment {
  color: var(--text-muted);
  font-style: italic;
}
.qs-prompt {
  color: var(--emerald);
  margin-right: 10px;
  font-weight: 600;
  user-select: none;
}
.qs-text {
  color: var(--text);
  font-weight: 500;
  flex: 1;
}
.qs-cmd {
  position: relative;
}
.qs-cmd .copy-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s, color 0.2s;
}
.qs-terminal:hover .qs-cmd .copy-btn,
.qs-cmd:hover .copy-btn {
  opacity: 1;
}
.copy-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  transition: all 0.2s;
  display: flex;
}
.copy-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.copy-btn.copied { color: var(--emerald); border-color: rgba(16, 185, 129, 0.3); }
.qs-note {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ========== OPEN SOURCE ========== */
.oss {
  padding: 120px 0;
}
.oss-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.oss-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 100%, rgba(124, 58, 237, 0.06), transparent 50%);
  pointer-events: none;
}
.oss-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 28px;
}
.oss-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.oss-card > p {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
}
.oss-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ========== FINAL CTA ========== */
.final-cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}
.final-cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb-cta-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--violet);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  animation: orb-float-1 18s ease-in-out infinite;
}
.orb-cta-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--fuchsia);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  top: 40%;
  right: 10%;
  animation: orb-float-2 22s ease-in-out infinite;
}
.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-content > p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.cta-actions {
  margin-bottom: 28px;
}
.cta-subtext {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.cta-subtext svg {
  color: var(--emerald);
}

/* ========== FOOTER ========== */
.footer {
  padding: 64px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--fuchsia), var(--indigo), transparent);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand {
  max-width: 280px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-lg { grid-column: span 2; }
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(6, 6, 8, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  .hero-stats {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-stat { padding: 12px 20px; }
  .hero-stat-divider { display: none; }

  .bento {
    grid-template-columns: 1fr;
  }
  .bento-lg { grid-column: span 1; }

  .integrations-grid {
    grid-template-columns: 1fr;
  }

  .channels-grid {
    gap: 12px;
  }
  .channel-card {
    min-width: 100px;
    padding: 20px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }

  .oss-card { padding: 40px 24px; }

  .hero-terminal { margin-top: 40px; }
  .terminal-body { padding: 16px; font-size: 12px; }

  .qs-body { padding: 20px; font-size: 13px; }
  .qs-cmd .copy-btn { opacity: 1; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 0; }
  .hero-stat { flex-direction: row; gap: 8px; padding: 8px 0; }
  .channels-grid { flex-direction: column; align-items: center; }
  .channel-card { width: 100%; flex-direction: row; justify-content: flex-start; gap: 16px; }
  .qs-body { padding: 16px; font-size: 12px; line-height: 2; }
  .qs-chrome { padding: 12px 14px; gap: 10px; }
  .qs-tab { padding: 4px 10px; font-size: 12px; }
}

/* ========== SKILLS PAGE ========== */
.skills-hero {
  padding: 140px 0 48px;
  text-align: center;
}

.skills-search-wrap {
  max-width: 520px;
  margin: 32px auto 0;
}

.skills-search {
  width: 100%;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.skills-search:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.skills-search::placeholder { color: var(--text-muted); }

.skills-filter {
  padding: 0 0 40px;
}

.skills-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.skill-tag-btn {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.skill-tag-btn:hover {
  color: #fff;
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.08);
}
.skill-tag-btn.active {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  color: #c4b5fd;
}

.skills-listing {
  padding: 0 0 80px;
}

.skills-state {
  text-align: center;
  padding: 40px 20px;
  font-size: 15px;
  color: var(--text-muted);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skill-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 24px rgba(124, 58, 237, 0.06);
}

.skill-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.skill-card-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.skill-card-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.skill-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.skill-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-card-tag {
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
}

.skill-card-secrets {
  font-size: 12px;
  color: var(--text-muted);
}
.skill-card-secrets code {
  font-family: var(--mono);
  font-size: 11px;
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  padding: 1px 6px;
  border-radius: 4px;
}

.skill-card-install {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.skill-card-install code {
  flex: 1;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.skill-copy-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  transition: all 0.2s;
}
.skill-copy-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

/* Skill Guide Steps */
.skill-guide {
  padding: 100px 0;
  position: relative;
}
.skill-guide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.skill-guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.skill-guide-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.skill-guide-step:hover {
  border-color: rgba(124, 58, 237, 0.25);
  transform: translateY(-2px);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.skill-guide-step h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.skill-guide-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.skill-guide-step code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  color: #c4b5fd;
}

.skill-format-block {
  max-width: 600px;
  margin: 0 auto;
}

/* AI Prompt Section */
.ai-prompt-section {
  padding: 100px 0;
  position: relative;
}
.ai-prompt-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.ai-prompt-block {
  max-width: 720px;
  margin: 0 auto;
  background: #0c0c10;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 16px 48px rgba(0, 0, 0, 0.4);
}

.ai-prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.ai-prompt-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ai-prompt-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.ai-prompt-copy-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.4);
  color: #fff;
}

.ai-prompt-code {
  display: block;
  padding: 24px;
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
  background: transparent;
  border: none;
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .skill-guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai-prompt-code {
    padding: 16px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .skill-guide-steps {
    grid-template-columns: 1fr;
  }
}
