/* ============================================
   OpenClaw Website - Design System
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Colors - Deep Tech Theme */
  --bg-primary: #050508;
  --bg-secondary: #0a0a12;
  --bg-tertiary: #13131f;

  /* Glassmorphism */
  --glass-surface: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
  --backdrop-blur: 16px;

  /* Gradient Colors - "Electric Aurora" */
  --gradient-primary: linear-gradient(135deg, #7F00FF 0%, #E100FF 100%);
  --gradient-secondary: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
  --gradient-accent: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --gradient-dark: linear-gradient(180deg, rgba(5, 5, 8, 0) 0%, #050508 100%);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-tertiary: #6c6c7d;
  --text-accent: #E100FF;

  /* Border Colors */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  /* Shadows & Glow */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --glow-primary: 0 0 20px rgba(127, 0, 255, 0.5);
  --glow-text: 0 0 10px rgba(225, 0, 255, 0.3);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Monaco', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --space-4xl: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1280px;
  --nav-height: 80px;
}

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

::selection {
  background: var(--text-accent);
  color: white;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Background Noise Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 9999;
}

/* Perspective Grid Background */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    linear-gradient(rgba(18, 16, 30, 0) 0%, var(--bg-primary) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center top;
  animation: gridMove 20s linear infinite;
  z-index: -2;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0);
  }

  100% {
    transform: perspective(500px) rotateX(60deg) translateY(40px);
  }
}

/* Accent Glow Orbs */
.bg-glow-1,
.bg-glow-2 {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

.bg-glow-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #7F00FF 0%, transparent 70%);
  animation: float1 20s ease-in-out infinite alternate;
}

.bg-glow-2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, #00C6FF 0%, transparent 70%);
  animation: float2 25s ease-in-out infinite alternate;
}

@keyframes float1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(10%, 10%) scale(1.1);
  }
}

@keyframes float2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-10%, -10%) scale(1.1);
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* Utility */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: var(--space-xl);
}

.mt-3 {
  margin-top: var(--space-2xl);
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow:
    0 4px 15px rgba(127, 0, 255, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(127, 0, 255, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-base);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav-logo-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px rgba(225, 0, 255, 0.5));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--border-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-sm);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-base);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

/* Hero Background Elements */
/* Hero Visual Core */
.hero-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  z-index: -1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(127, 0, 255, 0.3);
  box-shadow: 0 0 20px rgba(127, 0, 255, 0.1);
}

.ring-1 {
  width: 600px;
  height: 600px;
  border-color: rgba(0, 198, 255, 0.1);
  animation: spin 30s linear infinite;
}

.ring-1::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 10px;
  height: 4px;
  background: cyan;
  box-shadow: 0 0 10px cyan;
}

.ring-2 {
  width: 450px;
  height: 450px;
  border-color: rgba(225, 0, 255, 0.2);
  border-left-color: transparent;
  border-right-color: transparent;
  animation: spin 20s linear infinite reverse;
}

.ring-3 {
  width: 300px;
  height: 300px;
  border: 2px dashed rgba(127, 0, 255, 0.4);
  animation: spin 40s linear infinite;
}

.core-center {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #7F00FF 0%, transparent 70%);
  filter: blur(20px);
  animation: pulse 3s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  max-width: 900px;
  text-align: center;
  padding: var(--space-xl);
  z-index: 1;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(127, 0, 255, 0.1);
  border: 1px solid rgba(127, 0, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: #E100FF;
  margin-bottom: var(--space-xl);
  box-shadow: 0 0 20px rgba(127, 0, 255, 0.15);
  animation: fadeInDown 0.8s ease backwards;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: #38ef7d;
  border-radius: 50%;
  box-shadow: 0 0 8px #38ef7d;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-title-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(127, 0, 255, 0.3));
}

.hero-description {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

/* ---------- Glass Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 64px;
  height: 64px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  transition: var(--transition-base);
}

.card:hover .card-icon {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

/* ---------- Stats Section ---------- */
.stats-container {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-2xl) 0;
  margin: var(--space-4xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 800;
  display: block;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-label {
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

/* ---------- Platforms (Floating Grid) ---------- */
.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition-base);
}

.platform-item:hover {
  background: var(--bg-secondary);
  border-color: var(--text-accent);
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.platform-icon {
  font-size: 1.25rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--text-tertiary);
  transition: var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--text-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: #000;
  padding: var(--space-4xl) 0 var(--space-xl);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-4xl);
}

.footer-brand p {
  margin-top: var(--space-lg);
  max-width: 300px;
}

.footer-title {
  color: white;
  margin-bottom: var(--space-lg);
  font-size: 1rem;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.footer-social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: var(--transition-base);
}

.footer-social:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-4px) rotate(10deg);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 239, 125, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(56, 239, 125, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 239, 125, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page Header ---------- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) var(--space-2xl);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Layouts ---------- */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

/* ---------- Feature List ---------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 1rem;
}

.feature-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Code Block ---------- */
.code-block {
  background: #0d0d12;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
}

.code-dots {
  display: flex;
  gap: 8px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot:nth-child(1) {
  background: #FF5F56;
}

.code-dot:nth-child(2) {
  background: #FFBD2E;
}

.code-dot:nth-child(3) {
  background: #27C93F;
}

.code-lang {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.code-content {
  padding: 24px;
  overflow-x: auto;
}

.code-content pre {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e5e5e5;
  margin: 0;
}

.code-comment {
  color: #6A9955;
  font-style: italic;
}

.code-string {
  color: #CE9178;
}

.code-function {
  color: #DCDCAA;
}

.code-keyword {
  color: #C586C0;
}

/* ---------- Gradients ---------- */
.gradient-1 {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.gradient-2 {
  background: var(--gradient-secondary);
  color: white;
  border: none;
}

.gradient-3 {
  background: var(--gradient-accent);
  color: white;
  border: none;
}

.gradient-4 {
  background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
  color: white;
  border: none;
}

/* Use Case List - reusing feature list mostly */
.use-case-list {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.use-case-list li::marker {
  color: var(--text-accent);
}

/* Responsive adjustments */

/* ---------- Step List (Installation) ---------- */
.step-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: var(--space-lg);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-md), 0 0 15px rgba(127, 0, 255, 0.4);
}

.step-content {
  flex: 1;
  padding-top: 10px;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-description {
  margin-bottom: var(--space-lg);
  font-size: 1rem;
}

/* ---------- Use Case Card ---------- */
.use-case-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  height: 100%;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.use-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.use-case-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.use-case-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.use-case-card .card-description {
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }

  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .two-columns {
    grid-template-columns: 1fr;
  }
}