/* ══════════════════════════════════════════════════════════════════
   MYC NETWORK — FOREST FLOOR DESIGN SYSTEM
   Exact Color Tones & Typography from mycai.pro
   ══════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Forest Floor Palette (mycai.pro exact tokens) */
  --f-cream:      #FAF8F3;   /* Primary Background */
  --f-parchment:  #F4F0E6;   /* Surface Background */
  --f-linen:      #EFE8DA;   /* Secondary Surface */
  --f-bark:       #DDD7CB;   /* Subtle Border */
  --f-stone:      #C0BAB0;   /* Strong Border */
  --f-soil:       #5B5B57;   /* Secondary / Muted Text */
  --f-humus:      #1D1D1B;   /* Deep Primary Text */
  --f-deep:       #1D1D1B;   /* Headings */

  /* Living Mycelium Green Signals */
  --f-spore:      #2E6B45;   /* Primary Accent Green */
  --f-thread:     #3F8C59;   /* Accent Green Hover */
  --f-moss:       #2E6B45;   /* Moss Green */
  --f-glow:       #DDE9DF;   /* Soft Green Highlight */
  --f-glow-mid:   rgba(46, 107, 69, 0.15); /* Soft border accent */

  /* Status Tokens */
  --f-alive:      #4F8A5B;   /* Success */
  --f-dormant:    #B0893B;   /* Warning */
  --f-dead:       #B85450;   /* Error */
  --f-growing:    #3F8C59;   /* In Progress */

  /* Semantic Compatibility Mappings */
  --ink:          var(--f-cream);
  --surface:      #FFFFFF;
  --surface-warm: var(--f-parchment);
  --elevated:     var(--f-parchment);
  --panel:        var(--f-linen);
  --border:       var(--f-bark);
  --border-focus: var(--f-moss);
  --paper:        var(--f-humus);
  --mute:         var(--f-soil);
  --faint:        #7A7870;
  --teal:         var(--f-moss);
  --teal-bright:  var(--f-thread);
  --teal-dim:     var(--f-glow);
  --teal-ink:     #FFFFFF;
  --ok:           var(--f-alive);
  --warn:         var(--f-dormant);
  --danger:       var(--f-dead);
  --purple:       var(--f-moss);
  --purple-dim:   var(--f-glow);
  --accent:       var(--f-moss);
  --accent-glow:  rgba(46, 107, 69, 0.12);
  --accent-glow-strong: rgba(46, 107, 69, 0.25);

  /* Typography */
  --f-serif:      'Playfair Display', Georgia, serif;
  --f-sans:       'DM Sans', system-ui, sans-serif;
  --f-mono:       'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  --font-serif:   var(--f-serif);
  --font-sans:    var(--f-sans);
  --font-mono:    var(--f-mono);

  /* Radii */
  --radius-xs:    4px;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    18px;
  --radius-pill:  100px;

  /* Organic Warm Shadows */
  --shadow-sm:    0 1px 4px rgba(29, 29, 27, 0.05);
  --shadow-md:    0 4px 16px rgba(29, 29, 27, 0.08);
  --shadow-lg:    0 16px 36px rgba(29, 29, 27, 0.12);
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--f-cream);
}

body {
  background: var(--f-cream);
  color: var(--f-humus);
  font-family: var(--f-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

* { scrollbar-width: thin; scrollbar-color: var(--f-bark) transparent; }

/* Utilities */
.f-serif        { font-family: var(--f-serif); }
.f-serif-italic { font-family: var(--f-serif); font-style: italic; }
.f-mono         { font-family: var(--f-mono); }
.teal           { color: var(--f-moss); }
.mono           { font-family: var(--f-mono); }

/* ── TOP NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 248, 243, 0.90);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--f-bark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
}

.nav-left {
  display: flex; align-items: center; gap: 32px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo-icon {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px;
}
.nav-logo-title {
  display: flex; align-items: center; gap: 8px;
}
.nav-logo-text {
  font-family: var(--f-serif); font-style: italic;
  font-weight: 700; font-size: 22px; color: var(--f-humus);
  letter-spacing: -0.02em;
}
.nav-version-badge {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--f-humus); background: var(--f-parchment);
  border: 1px solid var(--f-bark); padding: 2px 7px;
  border-radius: 4px; font-weight: 600;
}
.nav-testnet-badge {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--f-moss); background: var(--f-glow);
  border: 1px solid var(--f-bark); padding: 2px 7px;
  border-radius: 4px; font-weight: 700; letter-spacing: 0.05em;
}

.nav-links {
  display: flex; gap: 20px; align-items: center;
}
.nav-links a {
  color: var(--f-soil); text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: color 0.2s; letter-spacing: -0.01em; padding: 6px 10px; border-radius: 8px;
}
.nav-links a:hover {
  color: var(--f-humus); background: var(--f-parchment);
}

/* ── NAV DROPDOWN MENU (mycai.pro style) ── */
.nav-dropdown {
  position: relative; display: inline-flex; align-items: center;
}
.nav-dropdown-btn {
  background: transparent; border: none; font-family: var(--f-sans);
  font-size: 13.5px; font-weight: 600; color: var(--f-soil); cursor: pointer;
  display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-dropdown-btn:hover, .nav-dropdown:hover .nav-dropdown-btn {
  color: var(--f-humus); background: var(--f-parchment);
}
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 6px; width: 340px;
  background: rgba(250, 248, 243, 0.98); backdrop-filter: blur(20px);
  border: 1px solid var(--f-bark); border-radius: 14px; padding: 10px;
  box-shadow: var(--shadow-lg); display: none;
  flex-direction: column; gap: 4px; z-index: 2000;
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: flex;
}
.dropdown-item {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px;
  border-radius: 8px; text-decoration: none; transition: all 0.2s;
}
.dropdown-item:hover {
  background: var(--f-parchment);
}
.dropdown-icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--f-cream);
  border: 1px solid var(--f-bark); display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.dropdown-text { display: flex; flex-direction: column; }
.dropdown-title { font-size: 13px; font-weight: 600; color: var(--f-humus); display: flex; align-items: center; gap: 6px; }
.dropdown-desc { font-size: 11px; color: var(--f-soil); line-height: 1.3; }
.nav-badge-new {
  background: var(--f-moss); color: #fff; font-size: 9px; font-family: var(--f-mono);
  padding: 1px 5px; border-radius: 4px; font-weight: 700;
}

/* Nav Actions Right */
.nav-right {
  display: flex; align-items: center; gap: 16px;
}
.nav-cta-portal {
  background: var(--f-moss) !important; color: var(--f-cream) !important;
  padding: 9px 20px !important; border-radius: 100px !important;
  font-weight: 600 !important; font-size: 13px !important; text-decoration: none;
  transition: all 0.2s !important; display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta-portal:hover {
  background: var(--f-thread) !important; transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.nav-cta-secondary {
  border: 1px solid var(--f-bark); color: var(--f-soil);
  padding: 8px 16px; border-radius: 100px; font-size: 12.5px; font-weight: 500;
  text-decoration: none; transition: all 0.2s; background: transparent;
}
.nav-cta-secondary:hover {
  background: var(--f-parchment); color: var(--f-humus); border-color: var(--f-stone);
}

/* ── HERO SECTION ── */
.hero {
  min-height: 90vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px 24px 80px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 10%, rgba(221, 233, 223, 0.45) 0%, transparent 60%);
}
.hero-glow {
  position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 107, 69, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--f-cream); border: 1px solid var(--f-bark);
  padding: 6px 18px; border-radius: 100px; font-size: 11.5px; font-weight: 600;
  color: var(--f-moss); margin-bottom: 24px; position: relative; z-index: 1;
  font-family: var(--f-mono); letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}
.hero-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--f-alive); animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(38px, 5.5vw, 68px); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; max-width: 980px; position: relative; z-index: 1;
  color: var(--f-deep); text-wrap: balance;
}
.hero h1 .gradient-text {
  font-style: italic; color: var(--f-moss);
}
.hero-sub {
  margin-top: 24px; font-size: clamp(16px, 1.8vw, 19px); color: var(--f-soil);
  max-width: 720px; line-height: 1.7; position: relative; z-index: 1;
}
.hero-actions {
  margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center; position: relative; z-index: 1;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--f-moss); color: var(--f-cream);
  padding: 13px 28px; border-radius: 12px; border: none; cursor: pointer;
  font-family: var(--f-sans); font-weight: 600; font-size: 14px; text-decoration: none;
  letter-spacing: 0.01em; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--f-thread); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: var(--f-cream); color: var(--f-humus);
  padding: 13px 26px; border-radius: 12px; border: 1px solid var(--f-bark);
  cursor: pointer; font-family: var(--f-sans); font-weight: 500; font-size: 14px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: var(--f-stone); background: var(--f-parchment);
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1040px; margin: -28px auto 0; position: relative; z-index: 2;
  background: var(--f-cream); border: 1px solid var(--f-bark); border-radius: var(--radius-lg);
  padding: 28px 0; box-shadow: var(--shadow-md);
}
.stat { text-align: center; border-right: 1px solid var(--f-bark); padding: 0 16px; }
.stat:last-child { border-right: none; }
.stat-val { font-family: var(--f-mono); font-size: 26px; font-weight: 700; color: var(--f-moss); }
.stat-lbl { font-size: 11.5px; color: var(--f-soil); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── SECTIONS ── */
section { padding: 90px 24px; position: relative; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  font-family: var(--f-mono); font-size: 11px; font-weight: 700;
  color: var(--f-spore); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.2; max-width: 820px; margin: 0 auto; color: var(--f-deep); text-wrap: balance;
}
.section-desc {
  font-size: 15.5px; color: var(--f-soil); margin: 16px auto 0; max-width: 660px; line-height: 1.7;
}

/* ── ECOSYSTEM ARCHITECTURE ── */
.ecosystem-banner {
  background: var(--f-parchment);
  border: 1px solid var(--f-bark); border-radius: var(--radius-lg);
  padding: 44px; margin-bottom: 40px; position: relative; overflow: hidden;
}
.ecosystem-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700;
  color: var(--f-spore); background: var(--f-glow);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
  border: 1px solid var(--f-bark);
}
.ecosystem-title {
  font-family: var(--f-serif); font-size: 26px; font-weight: 700; margin-bottom: 12px; color: var(--f-deep);
}
.ecosystem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px;
}
.eco-card {
  background: var(--f-cream); border: 1px solid var(--f-bark); border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.eco-card h4 {
  font-size: 16px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; color: var(--f-deep);
}
.eco-card p {
  font-size: 13.5px; color: var(--f-soil); line-height: 1.6;
}

/* ── TARGET GRIDS ── */
.target-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.target-card {
  background: var(--f-cream); border: 1px solid var(--f-bark); border-radius: var(--radius-md);
  padding: 32px 26px; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.target-card:hover {
  border-color: var(--f-moss); transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.target-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--f-glow); display: grid; place-items: center;
  font-size: 20px; margin-bottom: 20px; border: 1px solid var(--f-bark);
}
.target-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--f-deep); }
.target-card p { font-size: 13.5px; color: var(--f-soil); line-height: 1.65; margin-bottom: 16px; }
.target-benefits {
  list-style: none; margin-top: 14px; border-top: 1px solid var(--f-bark); padding-top: 14px;
}
.target-benefits li {
  font-size: 12.5px; color: var(--f-soil); margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.target-benefits li span { color: var(--f-moss); font-weight: bold; }

/* ── VERSUS / COMPARISON ── */
.versus-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.versus-col {
  background: var(--f-cream); border: 1px solid var(--f-bark); border-radius: var(--radius-md);
  padding: 36px 30px; box-shadow: var(--shadow-sm);
}
.versus-col.theirs {
  border-color: rgba(184, 84, 80, 0.4); background: rgba(184, 84, 80, 0.03);
}
.versus-col.ours {
  border-color: rgba(46, 107, 69, 0.4); background: rgba(46, 107, 69, 0.04);
}
.versus-badge {
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px;
  border-radius: var(--radius-xs); display: inline-block; margin-bottom: 16px;
}
.versus-col.theirs .versus-badge { color: var(--f-dead); background: rgba(184, 84, 80, 0.12); }
.versus-col.ours .versus-badge { color: var(--f-moss); background: var(--f-glow); }
.versus-title { font-family: var(--f-serif); font-size: 20px; font-weight: 700; margin-bottom: 14px; color: var(--f-deep); }
.versus-list { list-style: none; }
.versus-list li {
  font-size: 13.5px; line-height: 1.65; margin-bottom: 14px; padding-left: 24px; position: relative; color: var(--f-soil);
}
.versus-col.theirs .versus-list li::before {
  content: '✕'; position: absolute; left: 0; color: var(--f-dead); font-weight: bold;
}
.versus-col.ours .versus-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--f-moss); font-weight: bold;
}

/* ── PRICING & LICENSING ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pricing-card {
  background: var(--f-cream); border: 1px solid var(--f-bark); border-radius: var(--radius-md);
  padding: 36px 28px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.pricing-card.featured {
  border-color: var(--f-moss); background: var(--f-parchment);
  position: relative; box-shadow: var(--shadow-md);
}
.pricing-badge {
  position: absolute; top: -12px; right: 24px; background: var(--f-moss);
  color: #fff; font-family: var(--f-mono); font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px; letter-spacing: 0.06em;
}
.pricing-tier { font-size: 19px; font-weight: 700; margin-bottom: 6px; color: var(--f-deep); }
.pricing-sub { font-size: 12.5px; color: var(--f-soil); margin-bottom: 20px; }
.pricing-price {
  font-family: var(--f-mono); font-size: 28px; font-weight: 700; color: var(--f-moss); margin-bottom: 24px;
}
.pricing-features {
  list-style: none; margin-bottom: 28px; border-top: 1px solid var(--f-bark); padding-top: 20px;
}
.pricing-features li {
  font-size: 13px; color: var(--f-soil); margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before {
  content: '✓'; color: var(--f-moss); font-weight: 700;
}

/* ── C99 BARE-METAL IDE & CODE BLOCKS ── */
.code-block {
  background: #0B0E0D;
  color: #e6eae7;
  border: 1px solid rgba(46, 107, 69, 0.35);
  border-radius: 14px;
  padding: 18px 22px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.6;
  overflow-x: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin: 16px 0;
}

.c99-ide-container {
  margin: 32px 0 20px;
  border-radius: 20px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(46, 107, 69, 0.15) 0%, rgba(13, 17, 16, 0.95) 45%, #0B0E0D 100%);
  border: 1px solid rgba(46, 107, 69, 0.35);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 35px rgba(46, 107, 69, 0.18);
  overflow: hidden;
  transition: all 0.3s ease;
}
.c99-ide-container:hover {
  border-color: rgba(46, 107, 69, 0.6);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 45px rgba(46, 107, 69, 0.28);
}

.c99-ide-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(18, 24, 21, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}
.c99-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.c99-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.c99-dot.red { background: #ff5f56; box-shadow: 0 0 6px rgba(255, 95, 86, 0.5); }
.c99-dot.yellow { background: #ffbd2e; box-shadow: 0 0 6px rgba(255, 189, 46, 0.5); }
.c99-dot.green { background: #27c93f; box-shadow: 0 0 6px rgba(39, 201, 63, 0.5); }

.c99-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}
.c99-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #8b949e;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  user-select: none;
}
.c99-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #c9d1d9;
}
.c99-tab.active {
  background: rgba(46, 107, 69, 0.25);
  color: #34d399;
  border-color: rgba(46, 107, 69, 0.5);
  box-shadow: 0 2px 10px rgba(46, 107, 69, 0.2);
}
.c99-tab-icon {
  font-size: 13px;
}

.c99-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.c99-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  background: rgba(46, 107, 69, 0.2);
  color: #34d399;
  border: 1px solid rgba(46, 107, 69, 0.4);
}
.c99-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: c99-pulse 2s infinite ease-in-out;
}
@keyframes c99-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.c99-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e6eae7;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.c99-btn-copy:hover {
  background: rgba(46, 107, 69, 0.35);
  border-color: var(--f-moss);
  color: #fff;
}

.c99-specs-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
  background: rgba(12, 16, 14, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  font-family: var(--f-mono);
  font-size: 11px;
}
.c99-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8b949e;
  white-space: nowrap;
}
.c99-spec-val {
  color: #38bdf8;
  font-weight: 600;
}

.c99-ide-body {
  display: flex;
  background: #0B0E0D;
  position: relative;
  overflow: hidden;
}
.c99-line-numbers {
  padding: 20px 14px 20px 18px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #3f4e46;
  text-align: right;
  user-select: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 13, 12, 0.8);
}
.c99-code-viewport {
  flex: 1;
  padding: 20px 24px;
  overflow-x: auto;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #e6eae7;
  background: transparent;
}
.c99-code-viewport code {
  font-family: inherit;
  font-size: inherit;
}

/* Syntax Highlighting */
.cm { color: #64748b; font-style: italic; }       /* Comment */
.kw { color: #38bdf8; font-weight: 600; }          /* Keyword */
.type { color: #34d399; font-weight: 600; }        /* Types */
.fn { color: #a78bfa; font-weight: 500; }          /* Functions */
.str { color: #fbbf24; }                           /* Strings/Headers */
.num { color: #f472b6; }                           /* Numbers/Hex */
.reg { color: #facc15; font-weight: 600; }         /* Registers */

/* Interactive Execution Tester Bar */
.c99-tester-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(16, 22, 19, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}
.c99-tester-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 280px;
}
.c99-tester-input {
  flex: 1;
  background: #0B0E0D;
  border: 1px solid rgba(46, 107, 69, 0.4);
  border-radius: 8px;
  padding: 7px 12px;
  color: #e6eae7;
  font-family: var(--f-mono);
  font-size: 12px;
  outline: none;
}
.c99-tester-input:focus {
  border-color: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.2);
}
.c99-btn-run {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2E6B45 0%, #3F8C59 100%);
  border: 1px solid #3F8C59;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(46, 107, 69, 0.3);
}
.c99-btn-run:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(46, 107, 69, 0.45);
}
.c99-sim-result {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: #080B0A;
  border: 1px solid rgba(46, 107, 69, 0.3);
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: #34d399;
  display: none;
}

/* 6-Lock Hardware Shield Architecture Grid */
.c99-shield-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .c99-shield-grid { grid-template-columns: 1fr; }
}
.c99-shield-card {
  background: var(--f-parchment);
  border: 1px solid var(--f-bark);
  border-radius: 14px;
  padding: 22px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.c99-shield-card:hover {
  border-color: var(--f-moss);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.c99-shield-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.c99-shield-locknum {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--f-moss);
  background: var(--f-glow);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--f-glow-mid);
}
.c99-shield-badge {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--f-soil);
}
.c99-shield-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--f-deep);
  margin-bottom: 6px;
}
.c99-shield-desc {
  font-size: 12.8px;
  color: var(--f-soil);
  line-height: 1.6;
}

/* ── CONTACT MODAL ── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(29, 29, 27, 0.45);
  backdrop-filter: blur(8px); display: none; place-items: center;
  z-index: 3000; padding: 20px;
}
.modal-backdrop.active { display: grid; }
.modal-box {
  background: var(--f-cream); border: 1px solid var(--f-bark); border-radius: var(--radius-lg);
  padding: 36px; max-width: 480px; width: 100%; position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 18px; right: 18px; background: transparent; border: none;
  font-size: 24px; color: var(--f-soil); cursor: pointer; line-height: 1;
}
.modal-title { font-family: var(--f-serif); font-size: 22px; font-weight: 700; margin-bottom: 6px; color: var(--f-deep); }
.modal-desc { font-size: 13px; color: var(--f-soil); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 700;
  color: var(--f-soil); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em;
}
.form-input {
  width: 100%; background: #FFFFFF; border: 1px solid var(--f-bark); border-radius: var(--radius-sm);
  padding: 10px 14px; font-family: var(--f-sans); font-size: 13.5px; color: var(--f-humus);
  outline: none; transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--f-moss); }

/* ── FOOTER ── */
footer {
  background: var(--f-parchment); border-top: 1px solid var(--f-bark);
  padding: 70px 48px 30px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 2fr; gap: 48px; max-width: 1100px; margin: 0 auto 40px;
}
.footer-brand p { font-size: 13.5px; color: var(--f-soil); line-height: 1.65; margin-top: 12px; max-width: 360px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 {
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 700;
  color: var(--f-deep); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--f-soil); text-decoration: none;
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--f-moss); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--f-bark);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--f-soil);
}

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .target-grid, .pricing-grid, .versus-grid, .ecosystem-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   UNIFIED 0G-STYLE CAPSULE NAVBAR (Forest Floor Design System)
   Inspired by 0g.ai — clean floating glass capsule with structured dropdowns
   ========================================================================== */

.myca-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 20px;
  pointer-events: none;
}

.myca-navbar {
  pointer-events: auto;
  max-width: 1240px;
  margin: 0 auto;
  height: 56px;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(221, 215, 203, 0.9);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 18px;
  box-shadow: 0 4px 24px rgba(29, 29, 27, 0.05), 0 1px 3px rgba(29, 29, 27, 0.03);
}

.myca-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.myca-brand img,
.myca-brand-logo,
.myca-logo {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.myca-brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.myca-brand-name {
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--f-humus);
  letter-spacing: -0.02em;
}

.myca-brand-accent {
  color: var(--f-moss);
  font-style: italic;
}

.myca-chain-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  background: var(--f-linen);
  color: var(--f-soil);
  border: 1px solid var(--f-bark);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.myca-nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.myca-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--f-soil);
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.18s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.myca-nav-link:hover, .myca-nav-dropdown:hover > .myca-dropdown-trigger {
  color: var(--f-humus);
  background: rgba(46, 107, 69, 0.06);
}

.myca-nav-link.active, .myca-dropdown-trigger.active {
  color: var(--f-moss);
  font-weight: 600;
  background: rgba(46, 107, 69, 0.1);
}

.myca-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.myca-nav-dropdown:hover .myca-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.myca-nav-dropdown {
  position: relative;
  padding: 6px 0;
}

.myca-dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 360px;
  background: rgba(250, 248, 243, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--f-bark);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(29, 29, 27, 0.12), 0 2px 6px rgba(29, 29, 27, 0.06);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.myca-nav-dropdown:hover .myca-dropdown-panel,
.myca-nav-dropdown:focus-within .myca-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.myca-dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.myca-dropdown-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.18s ease;
}

.myca-dropdown-card:hover {
  background: var(--f-linen);
  transform: translateX(2px);
}

.myca-dd-icon {
  font-size: 17px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--f-parchment);
  border: 1px solid var(--f-bark);
  border-radius: 9px;
  flex-shrink: 0;
}

.myca-dd-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.myca-dd-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--f-humus);
  display: flex;
  align-items: center;
  gap: 6px;
}

.myca-dd-sub {
  font-size: 11px;
  color: var(--f-soil);
  line-height: 1.35;
}

.myca-dd-badge {
  font-size: 9px;
  font-family: var(--f-mono);
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(46, 107, 69, 0.12);
  color: var(--f-moss);
}

.myca-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.myca-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--f-humus);
  border: 1px solid var(--f-bark);
  border-radius: 999px;
  text-decoration: none;
  background: var(--f-linen);
  transition: all 0.18s ease;
}

.myca-btn-secondary:hover {
  border-color: var(--f-moss);
  color: var(--f-moss);
  background: var(--f-parchment);
}

.myca-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  font-size: 12.5px;
  font-weight: 600;
  color: #FAF8F3 !important;
  background: var(--f-moss);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(46, 107, 69, 0.25);
  transition: all 0.18s ease;
  border: 1px solid var(--f-moss);
}

.myca-btn-primary:hover {
  background: #235436;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 107, 69, 0.35);
}

@media (max-width: 900px) {
  .myca-nav-center { display: none; }
  .myca-navbar { padding: 0 12px; }
}

/* Global Language Switcher */
.lang-selector {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px 6px;
  gap: 3px;
  margin-right: 8px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn:hover {
  color: #fff;
}
.lang-btn.active {
  color: #000;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
  user-select: none;
}

