/* ============================================
   MIMIK AI — Design System & Styles
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #06060e;
  --bg-secondary: #0c0c1d;
  --bg-card: rgba(14, 14, 36, 0.6);
  --bg-card-hover: rgba(20, 20, 50, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --accent-cyan: #00e5ff;
  --accent-purple: #a855f7;
  --accent-violet: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;

  --text-primary: #f0f0f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 229, 255, 0.2);

  --gradient-hero: linear-gradient(135deg, #06060e 0%, #0f0a2e 50%, #120828 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  --gradient-card: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(168, 85, 247, 0.08));

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

  /* Spacing */
  --section-gap: 120px;
  --container-max: 1200px;
  --container-padding: 24px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--border-glow);
  background: rgba(0, 229, 255, 0.06);
  color: var(--accent-cyan);
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(6, 6, 14, 0.85);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--bg-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
  transition: width 0.3s var(--ease-smooth);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.3);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 400px at 30% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 70% 60%, rgba(168, 85, 247, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  animation: bg-drift 20s ease-in-out infinite alternate;
}

@keyframes bg-drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(-30px, -20px) rotate(2deg);
  }
}

.hero-image-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.15;
  filter: blur(2px);
  pointer-events: none;
}

.hero-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 2;
}

.hero-content .badge {
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* --- Section Base --- */
section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header .badge {
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Features Section --- */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.5s var(--ease-smooth);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Showcase Section --- */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.showcase-row:last-child {
  margin-bottom: 0;
}

.showcase-row.reverse {
  direction: rtl;
}

.showcase-row.reverse>* {
  direction: ltr;
}

.showcase-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.showcase-image img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease-smooth);
}

.showcase-image:hover img {
  transform: scale(1.03);
}

.showcase-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(168, 85, 247, 0.05));
  pointer-events: none;
}

.showcase-text .badge {
  margin-bottom: 20px;
}

.showcase-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.showcase-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.showcase-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* --- Pricing Section --- */
.pricing {
  background: var(--bg-secondary);
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.pricing-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.5s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(168, 85, 247, 0.06));
  border-color: var(--accent-cyan);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.08);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient-accent);
  color: var(--bg-primary);
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.price {
  margin-bottom: 32px;
}

.price .amount {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-left: 4px;
}

.price .period {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features .icon {
  color: var(--accent-green);
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
  padding: 16px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  text-align: center;
}

.pricing-cta.primary {
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border: none;
}

.pricing-cta.primary:hover {
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.pricing-cta.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.pricing-cta.secondary:hover {
  border-color: var(--border-glow);
  background: var(--bg-glass);
}

.crypto-notice {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.crypto-notice p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.crypto-notice strong {
  color: var(--accent-gold);
}

.crypto-icons {
  display: flex;
  gap: 12px;
}

.crypto-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass-hover);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s var(--ease-smooth);
}

.crypto-icon:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  transform: scale(1.1);
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), var(--border-glow), transparent);
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 24px;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  position: relative;
  z-index: 2;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Testimonials / Stats --- */
.stats-section {
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.5s var(--ease-smooth);
}

.stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-block {
  position: relative;
  text-align: center;
  padding: 80px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(168, 85, 247, 0.08));
  border: 1px solid var(--border-glow);
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 300px at 20% 50%, rgba(0, 229, 255, 0.06), transparent),
    radial-gradient(ellipse 400px 300px at 80% 50%, rgba(168, 85, 247, 0.06), transparent);
  pointer-events: none;
}

.cta-block h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}

.cta-block p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-block .hero-actions {
  position: relative;
}

/* --- Footer --- */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-subtle);
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-smooth);
}

.footer-socials a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* --- Animations (Scroll-triggered via JS) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-smooth);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-smooth);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-smooth);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-smooth);
}

.stagger.active>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger.active>*:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger.active>*:nth-child(3) {
  transition-delay: 0.19s;
}

.stagger.active>*:nth-child(4) {
  transition-delay: 0.26s;
}

.stagger.active>* {
  opacity: 1;
  transform: translateY(0);
}

/* --- Particle Canvas --- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* --- Purchase Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-smooth);
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(145deg, #0e0e24, #12102e);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 48px 40px 36px;
  box-shadow:
    0 0 80px rgba(0, 229, 255, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.5s var(--ease-bounce);
  overflow: hidden;
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
  z-index: 10;
}

.modal-close:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotate(90deg);
}

.modal-step {
  animation: modalFadeIn 0.4s var(--ease-smooth);
}

.modal-step.hidden {
  display: none;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

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

.modal-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.modal-icon.success-pulse {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  font-size: 1.8rem;
  font-weight: 700;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
}

.modal-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-subtitle strong {
  color: var(--accent-cyan);
}

.modal-price-tag {
  text-align: center;
  margin-bottom: 28px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  display: flex;
  justify-content: center;
}

.modal-price-tag span:first-child {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.modal-currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Form */
.modal-form {
  margin-bottom: 28px;
}

.modal-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.modal-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: all 0.3s var(--ease-smooth);
}

.modal-input::placeholder {
  color: var(--text-muted);
}

.modal-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.modal-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.modal-input-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 8px;
  display: none;
}

.modal-input-error.visible {
  display: block;
  animation: shakeError 0.4s ease;
}

@keyframes shakeError {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

/* Actions */
.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  font-family: var(--font-sans);
  text-align: center;
}

.modal-btn-ghost {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.modal-btn-ghost:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
  background: var(--bg-glass);
}

.modal-btn-primary {
  background: var(--gradient-accent);
  border: none;
  color: var(--bg-primary);
}

.modal-btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

/* Crypto Address Blocks */
.crypto-address-block {
  margin-bottom: 16px;
}

.crypto-address-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.crypto-address-value {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-cyan);
  word-break: break-all;
}

.crypto-address-value span:first-child {
  flex: 1;
  user-select: all;
}

.copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  font-family: var(--font-sans);
}

.copy-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
}

.copy-btn.copied {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
}

/* Notice */
.modal-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  margin-bottom: 28px;
  margin-top: 8px;
}

.notice-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-notice p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-notice strong {
  color: var(--accent-gold);
}

/* ============================================
   SUBPAGE STYLES
   ============================================ */

/* --- Page Hero (shared across all subpages) --- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  background: var(--gradient-hero);
}

.page-hero .badge {
  margin-bottom: 24px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Documentation Layout --- */
.docs-section,
.api-section {
  padding: 80px 0 var(--section-gap);
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-group {
  margin-bottom: 32px;
}

.sidebar-group h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.sidebar-group ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-group a {
  display: block;
  padding: 6px 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease-smooth);
  border-left: 2px solid transparent;
}

.sidebar-group a:hover,
.sidebar-group a.active {
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.04);
  border-left-color: var(--accent-cyan);
}

.docs-content article {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-subtle);
}

.docs-content article:last-child {
  border-bottom: none;
}

.docs-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.docs-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

.docs-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.docs-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.docs-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(0, 229, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent-cyan);
}

/* Code Blocks */
.code-block {
  margin: 16px 0 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.3);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.copy-code-btn {
  padding: 4px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
}

.copy-code-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.code-block pre {
  padding: 16px 20px;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: transparent;
  padding: 0;
}

/* Docs Cards and Callouts */
.docs-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.docs-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.docs-card p {
  margin-bottom: 12px;
}

.info-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.12);
  margin: 20px 0;
}

.callout-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-callout p {
  font-size: 0.9rem;
  margin: 0;
}

/* Docs Lists */
.docs-list {
  margin: 12px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.docs-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Docs Steps */
.docs-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.docs-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.docs-step .step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  font-size: 0.9rem;
  margin: 0;
}

.docs-step h4 {
  margin: 0 0 8px;
}

/* Tables */
.docs-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.docs-table th {
  text-align: left;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

.docs-table td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.docs-table tr:last-child td {
  border-bottom: none;
}

.docs-table td code {
  font-size: 0.82em;
}

/* Docs Mini Grid (for skill categories) */
.docs-grid-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.docs-mini-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-smooth);
}

.docs-mini-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.docs-mini-card span {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 10px;
}

.docs-mini-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.docs-mini-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --- Skill Library Page --- */
.skill-search-wrap {
  margin: 36px auto 20px;
  max-width: 480px;
}

.skill-search {
  width: 100%;
  padding: 14px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s var(--ease-smooth);
}

.skill-search::placeholder {
  color: var(--text-muted);
}

.skill-search:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.skill-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s var(--ease-smooth);
}

.filter-btn:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border-color: transparent;
}

.skills-library {
  padding: 60px 0 var(--section-gap);
}

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

.skill-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-smooth);
}

.skill-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.skill-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.skill-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.skill-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.skill-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0, 229, 255, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.skill-installs {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
}

.skills-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.skills-cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.skills-cta strong {
  color: var(--accent-cyan);
}

/* --- Changelog Page --- */
.changelog-section {
  padding: 60px 0 var(--section-gap);
}

.changelog-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.changelog-entry {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-subtle);
}

.changelog-entry:last-child {
  border-bottom: none;
}

.changelog-date {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.version-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: rgba(0, 229, 255, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.version-badge.major {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.3);
}

.changelog-date time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.changelog-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.changelog-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tag-new,
.tag-improved,
.tag-fixed {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-new {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.tag-improved {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
}

.tag-fixed {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
}

.changelog-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 20px 0 10px;
}

.changelog-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.changelog-body li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.changelog-body li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.changelog-body code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  background: rgba(0, 229, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-cyan);
}

/* --- API Reference Page --- */
.api-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.api-method {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.api-method.get {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
}

.api-method.post {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
}

.api-method.put {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
}

.api-method.delete {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.api-path {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* --- Blog Page --- */
.blog-section {
  padding: 60px 0 var(--section-gap);
}

.blog-featured {
  padding: 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.04), rgba(168, 85, 247, 0.06));
  border: 1px solid var(--border-glow);
  margin-bottom: 48px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blog-category {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
}

.blog-meta time,
.blog-read-time {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.blog-featured h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-featured p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: color 0.2s;
}

.blog-read-more:hover {
  color: var(--accent-purple);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.blog-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* --- Legal Pages (Privacy / Terms) --- */
.legal-section {
  padding: 60px 0 var(--section-gap);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-highlight {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.04), rgba(168, 85, 247, 0.04));
  border: 1px solid var(--border-glow);
  margin-bottom: 48px;
}

.legal-highlight-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.legal-highlight h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-highlight p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.legal-content article {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 10px;
}

.legal-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 10px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.legal-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content a {
  color: var(--accent-cyan);
  transition: color 0.2s;
}

.legal-content a:hover {
  color: var(--accent-purple);
}

/* --- About Page --- */
.about-section {
  padding: var(--section-gap) 0;
}

.about-block {
  max-width: 720px;
  margin: 0 auto;
}

.about-lead {
  font-size: 1.3rem !important;
  color: var(--text-primary) !important;
  font-weight: 600;
  margin-bottom: 24px !important;
}

.about-block p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-block strong {
  color: var(--text-primary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-smooth);
}

.value-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  text-align: center;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.contact-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card a {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--accent-purple);
}

/* --- Responsive --- */
@media (max-width: 1024px) {

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .steps-grid::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .docs-layout {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }

  .skills-grid,
  .blog-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .docs-grid-small {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
    --container-padding: 20px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 6, 14, 0.95);
    backdrop-filter: blur(24px);
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .showcase-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-row.reverse {
    direction: ltr;
  }

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

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

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

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
  }

  .sidebar-group {
    margin-bottom: 0;
  }

  .skills-grid,
  .blog-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .docs-grid-small {
    grid-template-columns: 1fr;
  }

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

  .blog-featured {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-block {
    padding: 48px 24px;
  }

  .hero-image-bg {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

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

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