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

:root {
  --purple: #8800FF;
  --purple-light: #f3e8ff;
  --green: #49F59F;
  --bg: #FFFDFA;
  --bg-alt: #F7F5F0;
  --text-dark: #33322E;
  --text-mid: #5a5a55;
  --text-light: #8a8a82;
  --border: #CCC6B8;
  --border-light: #E8E4DC;
  --white: #FFFFFF;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========== INTRO ANIMATION OVERLAY ========== */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: curtainFade 0.6s ease-in 2.8s forwards;
}

.intro-overlay.hidden {
  display: none;
}

.intro-content {
  text-align: center;
  animation: introContentUp 0.5s ease-out 0.3s both;
}

.intro-logo {
  height: 36px;
  margin-bottom: 32px;
  opacity: 0;
  filter: brightness(0) invert(1);
  animation: introFadeIn 0.6s ease-out 0.3s forwards;
}

.intro-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
  opacity: 0;
  animation: introSlideUp 0.6s ease-out 0.8s forwards;
}

.intro-title span {
  color: var(--purple);
}

.intro-tagline {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 500;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  animation: introSlideUp 0.6s ease-out 1.3s forwards;
}

@keyframes introFadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes introSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introContentUp {
  from { transform: translateY(20px); }
  to { transform: translateY(0); }
}

@keyframes curtainFade {
  0% { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

/* Hero animation - elements slide in after curtain */
.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.7s ease-out 3.2s forwards;
}

.hero-anim:nth-child(2) { animation-delay: 3.35s; }
.hero-anim:nth-child(3) { animation-delay: 3.5s; }
.hero-anim:nth-child(4) { animation-delay: 3.65s; }
.hero-anim:nth-child(5) { animation-delay: 3.8s; }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ========== SHARP EDGES (e6data design system) ========== */
.navbar,
.stat-card,
.comparison-card,
.arch-card,
.arch-layer,
.arch-layer-row,
.cost-card,
.scaling-card,
.scaling-box,
.benchmark-card,
.use-case-card,
.feature-card,
.integrations-section,
.integration-item,
.cta-button,
.dropdown-menu,
.dropdown-menu a,
.graph-container,
.graph-annotation,
.badge,
.testimonial-card,
.section-tag span,
.tag-label,
.mobile-toggle span,
.benchmark-details span {
  border-radius: 0;
}

ul {
  list-style: none;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 0 0 12px 12px;
  margin: 0 16px;
  padding: 0 24px;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.logo-text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 28px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 4px;
}

.logo-accent {
  color: var(--purple);
  font-weight: 800;
}

.hero-logo-img {
  height: 32px;
  width: auto;
  margin-bottom: 8px;
}

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

.nav-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}

.nav-item:hover {
  color: var(--purple);
}

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

.chevron {
  transition: transform 0.2s;
}

.dropdown {
  position: relative;
}

/* Invisible bridge so hover doesn't break when moving to dropdown */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 16px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -12px;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 8px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-dark);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: var(--purple-light);
  color: var(--purple);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--green);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(73, 245, 159, 0.4);
}

.nav-cta {
  margin-left: 16px;
}

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

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ========== HERO ========== */
.hero {
  padding: 80px 0 60px;
}

.hero-tag {
  margin-bottom: 24px;
}

.tag-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-alt);
  padding: 8px 16px;
  border-left: 3px solid var(--green);
  display: inline-block;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
  max-width: 900px;
  letter-spacing: -1.5px;
}

.hero-title .purple {
  color: var(--purple);
}

.hero-description {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 800px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.hero-cta:hover {
  color: var(--purple);
  border-color: var(--purple);
}

.hero-cta .arrow {
  transition: transform 0.2s;
}

.hero-cta:hover .arrow {
  transform: translateX(4px);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.stat-card {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--white);
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* ========== SECTIONS COMMON ========== */
.section {
  padding: 80px 0;
}

.section-tag {
  margin-bottom: 24px;
}

.section-tag span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dark);
  background: var(--green);
  padding: 6px 14px;
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 800px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 800px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ========== DESIGN PRINCIPLES ========== */
.design-principles {
  background: var(--bg);
}

.comparison-controls {
  text-align: center;
  margin-bottom: 32px;
}

.comparison-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: var(--purple);
  transform: scale(1.2);
}

.comparison-track {
  position: relative;
  overflow: hidden;
}

.comparison-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  animation: fadeIn 0.4s ease;
}

.comparison-slide.active {
  display: grid;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.comparison-card {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--white);
}

.comparison-card.willbe {
  border-color: var(--purple);
  background: linear-gradient(135deg, #faf5ff 0%, var(--white) 100%);
}

.card-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.comparison-card.willbe .card-label {
  color: var(--purple);
}

.comparison-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* ========== ARCHITECTURE ========== */
.architecture {
  background: var(--bg);
}

.architecture-intro {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 900px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.architecture-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 40px;
}

.architecture-list li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
}

.arch-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-light);
}

.arch-tab {
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.arch-tab.active {
  color: var(--purple);
  border-bottom-color: var(--purple);
  font-weight: 600;
}

.arch-tab:hover {
  color: var(--purple);
}

.arch-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.arch-card {
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  background: var(--white);
}

.arch-card-e6 {
  border-color: var(--purple);
}

.arch-card-header {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.arch-layer {
  width: 100%;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
}

.arch-layer.highlight-red {
  background: #fff5f5;
  border-color: #e8a0a0;
}

.arch-layer.highlight-purple {
  background: var(--purple-light);
  border-color: var(--purple);
}

.arch-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}

.arch-note {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}

.arch-icons {
  font-size: 20px;
  margin-top: 6px;
  letter-spacing: 4px;
}

.arch-arrow {
  color: var(--text-light);
  font-size: 16px;
}

.arch-layer-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-mid);
}

.format-icons, .cloud-text {
  font-size: 14px;
  color: var(--text-mid);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  background: var(--white);
}

.testimonial-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.company-icon {
  font-size: 24px;
}

.company-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-style: normal;
}

.testimonial-card cite {
  font-size: 14px;
  font-style: normal;
  color: var(--text-light);
  font-weight: 500;
}

/* ========== TECHNOLOGY / COST SAVINGS ========== */
.technology {
  background: var(--bg);
}

.cost-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.cost-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  background: var(--white);
}

.cost-card-e6 {
  border-color: var(--purple);
}

.cost-header {
  margin-bottom: 16px;
}

.cost-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.cost-header-e6 .cost-label {
  color: var(--purple);
}

.cost-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.cost-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Scaling Section */
.scaling-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scaling-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.scaling-card-e6 {
  border-color: var(--purple);
}

.scaling-header {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 16px 24px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.scaling-header-e6 {
  background: var(--purple);
  color: var(--white);
  border-bottom: none;
}

.scaling-row {
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  align-items: start;
}

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

.scaling-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.scaling-sub {
  font-size: 12px;
  color: var(--text-light);
}

.scaling-detail p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.scaling-boxes {
  display: flex;
  gap: 8px;
}

.scaling-box {
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
  color: var(--text-dark);
  background: var(--bg-alt);
}

.scaling-box-lg {
  padding: 12px 28px;
}

.scaling-atomic {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.atomic-grid span {
  color: var(--purple);
  font-size: 14px;
  text-align: center;
}

.atomic-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  line-height: 1.4;
}

.atomic-price small {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
}

/* ========== BENCHMARKS ========== */
.benchmarks {
  background: var(--bg);
}

.benchmark-carousel {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 32px;
}

.benchmark-carousel::-webkit-scrollbar {
  display: none;
}

.benchmark-track {
  display: flex;
  gap: 16px;
  padding-bottom: 8px;
}

.benchmark-card {
  min-width: 220px;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}

.benchmark-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

.benchmark-meta {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 500;
}

.benchmark-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.benchmark-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.benchmark-details {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.benchmark-details span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-mid);
}

.benchmark-actions {
  display: flex;
  gap: 24px;
}

.link-button {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.link-button:hover {
  color: var(--purple);
  border-color: var(--purple);
}

/* ========== USE CASES ========== */
.use-cases {
  background: var(--bg);
}

.use-case-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.use-case-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.use-case-card:hover,
.use-case-card.active {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(136, 0, 255, 0.08);
}

.use-case-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.use-case-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.use-case-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* ========== DEVELOPER EXPERIENCE ========== */
.developer-experience {
  background: var(--bg);
}

.integrations-section {
  margin-top: 40px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

.integrations-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.integrations-subtitle {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.integration-item {
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--bg);
}

.integration-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.integration-item p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ========== FEATURE CARDS ========== */
.feature-cards {
  background: var(--bg);
  padding-bottom: 80px;
}

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

.feature-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px;
}

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

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-mid);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.marketplace-badges {
  display: flex;
  gap: 8px;
}

.badge {
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-mid);
  font-weight: 500;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-legal a {
  font-size: 15px;
  color: var(--text-mid);
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--purple);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-light);
}

/* ========== CONTEXT GRAPH VISUALIZATION ========== */
.graph-visual {
  background: var(--bg-alt);
}

.graph-container {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px 32px 32px;
  overflow: visible;
  box-shadow: 0 4px 40px rgba(136, 0, 255, 0.04);
}

.graph-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Edges */
.graph-edge {
  stroke: var(--border);
  stroke-width: 1.5;
  opacity: 0.6;
  transition: opacity 0.3s, stroke 0.3s;
}

.edge-dim {
  stroke: var(--border-light);
  stroke-width: 1;
  opacity: 0.4;
  stroke-dasharray: 6 4;
}

.edge-pii {
  stroke: #e05252;
  stroke-width: 1.5;
  opacity: 0.5;
  stroke-dasharray: 4 3;
}

/* Edge labels */
.edge-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  fill: var(--text-light);
  text-anchor: middle;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.edge-label-pii {
  fill: #e05252;
  opacity: 0.8;
}

/* Nodes - common */
.graph-node circle,
.graph-node rect {
  transition: transform 0.3s, filter 0.3s;
  cursor: pointer;
}

.graph-node:hover circle,
.graph-node:hover rect {
  filter: drop-shadow(0 0 12px rgba(136, 0, 255, 0.25));
}

/* Namespace node */
.node-namespace circle {
  fill: var(--purple);
  stroke: none;
}

.node-namespace .node-icon {
  fill: var(--white);
  font-size: 16px;
  text-anchor: middle;
  dominant-baseline: central;
}

.node-namespace .node-label {
  fill: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-anchor: middle;
  letter-spacing: 0.3px;
}

/* Table nodes */
.node-table circle {
  fill: var(--green);
  stroke: none;
}

.node-table .node-icon {
  fill: var(--text-dark);
  font-size: 16px;
  text-anchor: middle;
  dominant-baseline: central;
}

.node-table .node-label {
  fill: var(--text-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-anchor: middle;
  letter-spacing: 0.3px;
}

/* Column nodes */
.node-column circle {
  fill: var(--bg-alt);
  stroke: var(--border);
  stroke-width: 1.5;
}

.node-column .node-label-sm {
  fill: var(--text-mid);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  text-anchor: middle;
  dominant-baseline: central;
}

/* PII nodes */
.node-pii rect {
  fill: #fde8e8;
  stroke: #e05252;
  stroke-width: 1.5;
}

.node-pii .node-label-sm {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
}

.pii-text {
  fill: #c53030;
}

/* Graph floating annotations */
.graph-annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mid);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  animation: floatIn 0.6s ease-out both;
}

.graph-annotation strong {
  color: var(--text-dark);
  font-weight: 700;
}

.ann-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
}

.ann-dot-orange {
  background: #f59e0b;
}

.ann-dot-green {
  background: var(--green);
}

.ann-pagerank {
  top: 24px;
  right: 24px;
  animation-delay: 0.2s;
}

.ann-recommendation {
  bottom: 90px;
  left: 24px;
  animation-delay: 0.4s;
}

.ann-health {
  bottom: 90px;
  right: 24px;
  animation-delay: 0.6s;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Graph legend */
.graph-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-namespace {
  background: var(--purple);
}

.legend-table {
  background: var(--green);
}

.legend-column {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
}

.legend-pii {
  background: #fde8e8;
  border: 1.5px solid #e05252;
}

.legend-line {
  width: 24px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

/* Floating animation for graph nodes */
@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.node-float {
  animation: nodeFloat 4s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

/* AI Agent node */
.node-agent rect {
  fill: var(--text-dark);
}

.agent-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  fill: var(--white);
  text-anchor: middle;
  letter-spacing: 1px;
}

.edge-agent {
  stroke: var(--text-dark);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  opacity: 0.7;
}

/* Quality node */
.node-quality rect {
  fill: #e8fde8;
  stroke: var(--green);
  stroke-width: 1.5;
}

.quality-text {
  fill: #1a7a1a;
}

.edge-quality {
  stroke: var(--green);
  stroke-width: 1.5;
  opacity: 0.5;
  stroke-dasharray: 4 3;
}

/* Legend agent dot */
.legend-agent {
  background: var(--text-dark);
}

/* Subtle pulse on namespace node */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.node-namespace circle {
  animation: pulse 3s ease-in-out infinite;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .integration-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    margin: 0 8px;
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 32px;
  }

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

  .comparison-slide {
    grid-template-columns: 1fr;
  }

  .arch-comparison {
    grid-template-columns: 1fr;
  }

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

  .cost-comparison {
    grid-template-columns: 1fr;
  }

  .scaling-section {
    grid-template-columns: 1fr;
  }

  .scaling-row {
    grid-template-columns: 1fr;
  }

  .use-case-track {
    grid-template-columns: 1fr;
  }

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

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

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

  .graph-container {
    padding: 20px 12px 16px;
  }

  .graph-annotation {
    font-size: 9px;
    padding: 6px 10px;
  }

  .ann-pagerank {
    top: 8px;
    right: 8px;
  }

  .ann-recommendation {
    bottom: 50px;
    left: 8px;
  }

  .ann-health {
    bottom: 50px;
    right: 8px;
  }

  .graph-legend {
    gap: 12px;
  }

  .legend-item {
    font-size: 11px;
  }

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