/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #06060b;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: #e4e4e7;
  --text-muted: #71717a;
  --text-dim: #52525b;
  --green: #00ff88;
  --green-dim: #00cc6a;
  --orange: #ff6b35;
  --yellow: #fbbf24;
  --purple: #a78bfa;
  --blue: #38bdf8;
  --pink: #f472b6;
  --gradient: linear-gradient(135deg, var(--orange), var(--green));
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ===== BACKGROUND ===== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  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)' opacity='1'/%3E%3C/svg%3E");
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(6, 6, 11, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 24px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-icon {
  display: flex;
  align-items: center;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #000;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.3);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
}

.hero-content {
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  margin-bottom: 2rem;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-line-1 {
  display: block;
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-line-2 {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--mono);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, rgba(0, 255, 136, 0.04) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 2;
  padding: 7rem 0;
}

.section-dark {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===== PROBLEM/SOLUTION ===== */
.problem-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.problem-card, .solution-card {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  padding: 2.5rem;
}

.problem-icon, .solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.problem-icon {
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange);
}

.solution-icon {
  background: rgba(0, 255, 136, 0.1);
  color: var(--green);
}

.problem-card h3, .solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.problem-card p, .solution-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.problem-card p strong, .solution-card p strong {
  color: var(--text);
}

.problem-arrow {
  flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 2rem;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-card p em {
  color: var(--text);
  font-style: normal;
  font-weight: 500;
}

.feature-card-accent {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.04), rgba(0, 255, 136, 0.02));
  border-color: rgba(167, 139, 250, 0.1);
}

.feature-card p strong {
  color: var(--text);
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.step-card {
  position: relative;
  padding: 2rem;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--mono);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: none;
}

/* ===== CODE BLOCK ===== */
.code-block {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

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

.code-title {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--text-dim);
}

.code-block pre {
  padding: 1.25rem;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.code-keyword { color: var(--purple); }
.code-fn { color: var(--green); }
.code-string { color: var(--orange); }
.code-comment { color: var(--text-dim); }

/* ===== USE CASES ===== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.usecase-card {
  padding: 2rem;
  text-align: center;
}

.usecase-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.usecase-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.usecase-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== COMPARISON ===== */
.comparison-grid {
  display: flex;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  align-items: flex-start;
}

.comparison-col {
  flex: 1;
  text-align: left;
}

.comparison-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.comparison-them { color: var(--text-dim); }
.comparison-us { color: var(--green); }

.comparison-list {
  list-style: none;
}

.comparison-list li {
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.x-mark {
  color: #ef4444;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-mark {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}

/* ===== PRODUCTION ===== */
.production-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.production-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(0, 255, 136, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.production-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.production-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

.production-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.prod-feat {
  font-size: 0.8125rem;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--mono);
}

/* ===== TECH ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-item {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.tech-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.tech-value {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-family: var(--mono);
}

.tech-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
  padding: 10rem 0;
}

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

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-content > p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
  padding-bottom: 0;
  margin-bottom: 1rem;
  opacity: 0.6;
  filter: saturate(0.5);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 250px;
}


.footer-brand p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-sep {
  margin: 0 0.75rem;
}

/* ===== AI BANNER ===== */
.ai-banner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.06), rgba(0, 255, 136, 0.04));
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 20px;
}

.ai-banner-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167, 139, 250, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.12);
}

.ai-banner-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #a78bfa, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-banner-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.ai-banner-content p strong {
  color: var(--text);
}

/* ===== SECURITY MODEL ===== */
.security-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.security-card {
  flex: 1;
  padding: 2.5rem;
  position: relative;
}

.security-layer-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  background: rgba(255, 107, 53, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.security-layer-tag-green {
  color: var(--green);
  background: rgba(0, 255, 136, 0.1);
}

.security-card h3 {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.security-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.security-desc strong {
  color: var(--text);
}

.security-props {
  list-style: none;
}

.security-props li {
  font-size: 0.8125rem;
  color: var(--text-dim);
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.security-props li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.security-plus {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.security-plus span {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.security-bottom {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.security-bottom p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.security-bottom strong {
  color: var(--text);
}

/* ===== SMART CONTRACTS LAYOUT ===== */
.sc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sc-text .section-tag {
  display: block;
  margin-bottom: 1rem;
}

.sc-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.sc-text p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sc-text p strong {
  color: var(--text);
}

.sc-code .code-block {
  max-width: 100%;
}

/* ===== SHOWCASE GRID ===== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.showcase-item {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.showcase-item.showcase-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.04), rgba(0, 255, 136, 0.02));
  border-color: rgba(167, 139, 250, 0.1);
}

.showcase-item.showcase-large .showcase-tag {
  grid-row: 1;
  align-self: start;
}

.showcase-item.showcase-large h4 {
  grid-column: 1 / -1;
  font-size: 1.25rem;
}

.showcase-item.showcase-large p {
  grid-column: 1 / -1;
}

.showcase-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange);
}

.showcase-item:nth-child(3) .showcase-tag { background: rgba(0, 255, 136, 0.1); color: var(--green); }
.showcase-item:nth-child(4) .showcase-tag { background: rgba(56, 189, 248, 0.1); color: var(--blue); }
.showcase-item:nth-child(5) .showcase-tag { background: rgba(251, 191, 36, 0.1); color: var(--yellow); }
.showcase-item:nth-child(6) .showcase-tag { background: rgba(244, 114, 182, 0.1); color: var(--pink); }
.showcase-item:nth-child(7) .showcase-tag { background: rgba(167, 139, 250, 0.1); color: var(--purple); }

.showcase-item h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.showcase-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Steps grid 4 cols */
.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.steps-grid .fade-in:nth-child(3) { transition-delay: 0.3s; }
.steps-grid .fade-in:nth-child(4) { transition-delay: 0.45s; }

/* showcase stagger */
.showcase-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.showcase-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.showcase-grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.showcase-grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.showcase-grid .fade-in:nth-child(6) { transition-delay: 0.4s; }
.showcase-grid .fade-in:nth-child(7) { transition-delay: 0.48s; }

/* ===== PRODUCTS PAGE ===== */
.nav-links a.active {
  color: var(--text);
}

.product-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  margin-bottom: 1.5rem;
}

.product-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.product-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.product-feature {
  padding: 2rem;
}

.product-feature h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.product-feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-feature p strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.product-security {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.product-security h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.product-comparison {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.product-comp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  align-items: center;
}

.product-comp-row:last-child {
  border-bottom: none;
}

.product-comp-header {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.6875rem;
}

.product-comp-highlight {
  color: var(--green) !important;
  font-weight: 700;
}

.product-comp-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

.product-cta {
  text-align: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.token-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--mono);
}

.coming-soon {
  text-align: center;
  padding: 3rem;
}

.coming-soon h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dim);
}

.coming-soon p {
  color: var(--text-dim);
  font-size: 0.9375rem;
}

.coming-soon a {
  color: var(--orange);
  transition: opacity 0.2s;
}

.coming-soon a:hover {
  opacity: 0.8;
}

/* ===== AT A GLANCE — OS TILES ===== */
.os-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.os-tile {
  flex: 0 0 calc(33.333% - 0.75rem);
  padding: 1.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.os-tile:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.os-tile-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 136, 0, 0.08);
  color: var(--orange);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.os-tile h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.os-tile p {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

.os-tile p em {
  font-style: normal;
  color: var(--text-muted);
}

.os-tile--live {
  border-color: rgba(0, 255, 136, 0.15);
  background: rgba(0, 255, 136, 0.03);
}

.os-tile--live:hover {
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.06);
}

.os-tile--live .os-tile-icon {
  background: rgba(0, 255, 136, 0.1);
  color: var(--green);
}

.os-tile--live h4 {
  color: var(--green);
}

.os-tile--live .badge-dot {
  width: 10px;
  height: 10px;
}

.os-tiles .fade-in:nth-child(2)  { transition-delay: 0.05s; }
.os-tiles .fade-in:nth-child(3)  { transition-delay: 0.10s; }
.os-tiles .fade-in:nth-child(4)  { transition-delay: 0.15s; }
.os-tiles .fade-in:nth-child(5)  { transition-delay: 0.20s; }
.os-tiles .fade-in:nth-child(6)  { transition-delay: 0.25s; }
.os-tiles .fade-in:nth-child(7)  { transition-delay: 0.30s; }
.os-tiles .fade-in:nth-child(8)  { transition-delay: 0.35s; }
.os-tiles .fade-in:nth-child(9)  { transition-delay: 0.40s; }
.os-tiles .fade-in:nth-child(10) { transition-delay: 0.45s; }
.os-tiles .fade-in:nth-child(11) { transition-delay: 0.50s; }
.os-tiles .fade-in:nth-child(12) { transition-delay: 0.55s; }

@media (max-width: 900px) {
  .os-tile { flex: 0 0 calc(50% - 0.5rem); }
}

@media (max-width: 520px) {
  .os-tile { flex: 0 0 100%; }
  .os-tiles { gap: 0.75rem; }
}

/* ===== OS COMPARISON ===== */
.os-comparison {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.os-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.os-col {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.os-col-highlight {
  border-color: rgba(255, 107, 53, 0.2);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.03), rgba(0, 255, 136, 0.02));
}

.os-col-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}

.os-col-label {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--mono);
  margin-bottom: 0.25rem;
}

.os-col-desc {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.os-col-items {
  padding: 0.5rem 0;
}

.os-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.os-item:last-child {
  border-bottom: none;
}

.os-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--text);
}

.os-col-highlight .os-item-name {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.os-item-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.125rem;
}

/* ===== SYSCALL GRID ===== */
.syscall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.syscall-card {
  padding: 2rem;
}

.syscall-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.syscall-name {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.syscall-equiv {
  font-size: 0.6875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.syscall-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.syscall-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== POLICY GRID ===== */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.policy-card {
  padding: 1.75rem;
}

.policy-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.policy-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.policy-card code {
  font-family: var(--mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  color: var(--green);
}

/* ===== CUSTODY TRUST TABLE ===== */
.custody-trust {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.custody-trust-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  align-items: center;
}

.custody-trust-row:last-child {
  border-bottom: none;
}

.custody-trust-header {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.6875rem;
}

.custody-role {
  font-weight: 600;
  color: var(--text);
  font-size: 0.8125rem;
}

/* ===== TRUST COLUMNS ===== */
.trust-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.trust-col {
  padding: 2.5rem;
}

.trust-col-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.trust-col-sub {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.trust-list {
  list-style: none;
}

.trust-list li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

/* ===== CONDITIONS GRID ===== */
.conditions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 3rem;
}

.condition-tag {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--mono);
  font-weight: 500;
}

/* ===== FLOATING SECTION DOTS (homepage) ===== */
.section-dots {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.section-dots.visible {
  opacity: 1;
}

.section-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.section-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  flex-shrink: 0;
}

.section-dot:hover::after,
.section-dot.active::after {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
  transform: scale(1.3);
}

.dot-label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: auto;
  background: rgba(6, 6, 11, 0.85);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.section-dot:hover .dot-label,
.dot-label:hover {
  opacity: 1;
  transform: translateX(0);
}

.section-dot.active .dot-label {
  color: var(--green);
}

/* Wide screens: always show labels */
@media (min-width: 1440px) {
  .dot-label {
    opacity: 0.5;
    transform: translateX(0);
  }
  .section-dot.active .dot-label {
    opacity: 1;
  }
}

/* ===== INTENTS PAGE ===== */
.intents-command {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.intents-command-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.intents-command-header .syscall-name {
  background: rgba(0, 255, 136, 0.1);
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--green);
  background-clip: unset;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.intents-gasless-badge {
  font-size: 0.6875rem;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== SKILL URL COPY BLOCK ===== */
.skill-url-block {
  text-align: center;
}

.skill-url-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
}

.skill-url-text {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.rates-grid {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.skill-url-copy,
.skill-copy-btn {
  flex-shrink: 0;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.skill-url-copy:hover,
.skill-copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.skill-url-hint {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* Skill card copy row */
.skill-copy-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  border: 1px solid var(--border);
  min-width: 0;
  max-width: 100%;
}

.skill-copy-url {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

/* ===== AGENT TERMINAL ===== */
.agent-terminal {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.agent-terminal .code-header {
  border-radius: 0;
}

.terminal-body {
  height: 320px;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.terminal-body::-webkit-scrollbar { width: 6px; }
.terminal-body::-webkit-scrollbar-track { background: transparent; }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.term-line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
  white-space: pre-wrap;
  word-break: break-all;
}

.term-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.term-prompt { color: var(--blue); }
.term-cmd { color: var(--text); }
.term-ok { color: var(--green); }
.term-dim { color: var(--text-dim); }
.term-val { color: var(--orange); }
.term-key { color: var(--text-muted); }

.term-cursor {
  color: var(--green);
  animation: cursor-blink 1s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.intents-command h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.intents-command p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.intents-command code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

.intents-command .code-block {
  font-size: 0.8125rem;
}

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  overflow: hidden;
}

.skill-card {
  padding: 1.75rem;
  min-width: 0;
  overflow: hidden;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.skill-icon {
  color: var(--green);
  display: flex;
  align-items: center;
}

.skill-name {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.skill-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

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

@media (max-width: 1100px) {
  .skills-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-dots { display: none; }
  .intents-command-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .rates-grid { grid-template-columns: 1fr; }
  .nav-logo img { height: 24px; }
}

/* ===== RESPONSIVE: NEW SECTIONS ===== */
@media (max-width: 1024px) {
  .syscall-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .os-comparison { flex-direction: column; }
  .os-arrow { justify-content: center; transform: rotate(90deg); }
  .syscall-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  .custody-trust-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    padding: 0.75rem 0.75rem;
    font-size: 0.6875rem;
    gap: 0.5rem;
  }

  .footer { padding: 2.5rem 0 25px; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .footer-brand { max-width: 100%; }
  .footer-links {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-col { text-align: center; }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .footer-sep { display: none; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.features-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.features-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.features-grid .fade-in:nth-child(5) { transition-delay: 0.4s; }
.features-grid .fade-in:nth-child(6) { transition-delay: 0.5s; }

.steps-grid .fade-in:nth-child(2) { transition-delay: 0.15s; }
.steps-grid .fade-in:nth-child(3) { transition-delay: 0.3s; }

.usecases-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.usecases-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.usecases-grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.usecases-grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.usecases-grid .fade-in:nth-child(6) { transition-delay: 0.4s; }

.hero .fade-in:nth-child(1) { transition-delay: 0.1s; }
.hero .fade-in:nth-child(2) { transition-delay: 0.25s; }
.hero .fade-in:nth-child(3) { transition-delay: 0.35s; }
.hero .fade-in:nth-child(4) { transition-delay: 0.45s; }
.hero .fade-in:nth-child(5) { transition-delay: 0.55s; }
.hero .fade-in:nth-child(6) { transition-delay: 0.65s; }

/* ===== ANIMATED LOGO ===== */
.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.logo-svg {
  width: 100%;
  max-width: 465px;
  height: auto;
  filter: drop-shadow(0 2px 20px rgba(250, 204, 34, 0.15));
}

.fish-bob {
  animation: fish-bob 3.5s ease-in-out infinite;
  transform-origin: 200px 140px;
}

.fish-tail {
  animation: fish-tail-wag 0.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 100% 47%;
}

.fish-body {
  animation: fish-body-wave 0.8s ease-in-out infinite 0.1s;
  transform-box: fill-box;
  transform-origin: 100% 47%;
}

.fish-head {
  animation: fish-head-sway 3.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 15% 50%;
}

.fish-eye {
  animation: fish-eye-blink 5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

@keyframes fish-bob {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(3px, -7px); }
  50% { transform: translate(0px, -2px); }
  70% { transform: translate(-3px, -6px); }
}

@keyframes fish-tail-wag {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(7deg); }
  75% { transform: rotate(-7deg); }
}

@keyframes fish-body-wave {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(2.5deg); }
  70% { transform: rotate(-2.5deg); }
}

@keyframes fish-head-sway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-0.8deg); }
  75% { transform: rotate(0.8deg); }
}

@keyframes fish-eye-blink {
  0%, 91%, 100% { transform: scaleY(1); }
  95.5% { transform: scaleY(0.1); }
}

/* ===== SYMBOL PAGE ===== */
.symbol-fish {
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
}

.symbol-fish-svg {
  width: 340px;
  height: auto;
  filter: drop-shadow(0 4px 40px rgba(250, 204, 34, 0.2));
}

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

.symbol-logo-img {
  height: 2rem;
  width: auto;
  margin-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.symbol-body {
  max-width: 480px;
  margin: 0 auto;
}

.symbol-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.symbol-sign-off {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.125rem !important;
  color: var(--text) !important;
  margin-top: 2.5rem;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .symbol-fish-svg {
    width: 240px;
  }

  .symbol-fish {
    margin-bottom: 3.5rem;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-layout { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-item.showcase-large { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 6, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
  }

  .nav-mobile-toggle {
    display: flex;
    z-index: 100;
  }

  .hero {
    padding: 7rem 1.25rem 3rem;
    min-height: auto;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .logo-svg {
    max-width: 300px;
  }

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

  .showcase-item.showcase-large {
    display: block;
  }

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

  .security-grid {
    flex-direction: column;
  }

  .security-plus {
    justify-content: center;
  }

  .ai-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

  .product-comp-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    padding: 0.75rem 0.75rem;
    font-size: 0.6875rem;
    gap: 0.5rem;
  }

  .comparison-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .comparison-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
  }

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

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .problem-grid {
    flex-direction: column;
  }

  .problem-arrow {
    transform: rotate(90deg);
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .cta-section {
    padding: 6rem 0;
  }

  .production-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
