/* ═══════════════════════════════════════════════════════════════════════════
   Prism Space Landing Page — Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ────────────────────────────────────────────────────────── */
:root {
  /* Surface */
  --bg-primary: #000000;
  --bg-secondary: #080808;
  --bg-card: rgba(18, 18, 18, 0.7);
  --bg-card-hover: rgba(28, 28, 28, 0.85);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-tertiary: #666666;

  /* Accent */
  --accent-green: #67cf3c;  /* Premium Green */
  --accent-green-bright: #88e755;
  --accent-green-dark: #39a300;

  /* Borders */
  --border-subtle: rgba(103, 207, 60, 0.15);
  --border-hover: rgba(103, 207, 60, 0.35);

  /* Glow */
  --glow-green: rgba(103, 207, 60, 0.15);

  /* Sizing */
  --max-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

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

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

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

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

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

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

/* ─── Utilities ────────────────────────────────────────────────────────────── */
.gradient-text {
  color: var(--accent-green);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(103, 207, 60, 0.08);
  border: 1px solid rgba(103, 207, 60, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-green);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 24px var(--glow-green), 0 0 0 1px rgba(103, 207, 60, 0.3);
}
.btn-primary:hover {
  background: var(--accent-green-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--glow-green), 0 0 0 1px rgba(103, 207, 60, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(103, 207, 60, 0.06);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(6, 6, 15, 0.7);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent-green);
  color: #000 !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--accent-green-bright);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 28px 60px;
  overflow: hidden;
}

/* Ambient glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.5;
}
.hero-glow--1 {
  width: 600px;
  height: 600px;
  background: var(--accent-green);
  top: -100px;
  left: -150px;
  opacity: 0.08;
}
.hero-glow--2 {
  width: 500px;
  height: 500px;
  background: var(--accent-green);
  bottom: -80px;
  right: -100px;
  opacity: 0.05;
}

/* Subtle grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 207, 60, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 207, 60, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-green);
  background: rgba(103, 207, 60, 0.06);
  border: 1px solid rgba(103, 207, 60, 0.15);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease-out;
}

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

#hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  animation: fadeInUp 0.7s ease-out;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.9s ease-out;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  animation: fadeInUp 1s ease-out;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-green);
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ─── Hero Visual (Mock Browser) ───────────────────────────────────────────── */
.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  width: 100%;
  max-width: 860px;
  animation: floatUp 1.1s ease-out;
}

.mock-browser {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(103, 207, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mock-dot--red { background: #ff5f57; }
.mock-dot--yellow { background: #febc2e; }
.mock-dot--green { background: #28c840; }

.mock-address-bar {
  flex: 1;
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.mock-browser-body {
  display: flex;
  min-height: 340px;
}

.mock-sidebar {
  width: 56px;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 12px;
}

.mock-sidebar-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: background 0.2s;
}
.mock-sidebar-item.active {
  background: rgba(103, 207, 60, 0.2);
}

.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  gap: 16px;
}

.mock-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mock-clock span:first-child {
  font-size: 3.4rem;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent-green);
}

.mock-date {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.mock-greeting {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.mock-quote {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-tertiary);
  max-width: 400px;
  text-align: center;
}

.mock-widgets {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.mock-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(103, 207, 60, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.mock-widget-icon {
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Features Section
   ═══════════════════════════════════════════════════════════════════════════ */
#features {
  padding: 120px 0;
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-card--large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

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

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

/* Demo output block inside the large card */
.feature-demo {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
}

.demo-label {
  font-weight: 700;
  color: var(--accent-green);
  margin-right: 8px;
}

.demo-line {
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.demo-bullet {
  color: var(--text-tertiary);
  padding-left: 16px;
  margin-bottom: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AI Tools Section
   ═══════════════════════════════════════════════════════════════════════════ */
#ai-tools {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
}

#ai-tools::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-green);
  opacity: 0.2;
}

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

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.tool-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.tool-card p {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Architecture Section
   ═══════════════════════════════════════════════════════════════════════════ */
#architecture {
  padding: 120px 0;
}

.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.arch-node {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  min-width: 220px;
  flex: 1;
  max-width: 280px;
  transition: all 0.3s;
}

.arch-node:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.arch-node--ext { border-top: 3px solid var(--accent-green); }
.arch-node--run { border-top: 3px solid var(--accent-green-bright); }
.arch-node--ai  { border-top: 3px solid var(--accent-green-dark); }

.arch-node-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.arch-node h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.arch-node p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.arch-arrow {
  font-size: 1.5rem;
  color: var(--text-tertiary);
  font-weight: 300;
}

.arch-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.arch-service:hover {
  border-color: var(--border-hover);
}

.arch-service-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(103, 207, 60, 0.08);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.arch-service strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.arch-service p {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA / Install Section
   ═══════════════════════════════════════════════════════════════════════════ */
#install {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.cta-section {
  text-align: center;
  position: relative;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--accent-green);
  opacity: 0.04;
  border-radius: 50%;
  filter: blur(120px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.mock-browser-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Product Showcase Section
   ═══════════════════════════════════════════════════════════════════════════ */
#showcase {
  padding: 120px 0;
  background: var(--bg-primary);
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.showcase-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 48px;
}

.showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  color: var(--text-secondary);
}
.showcase-tab:hover {
  background: rgba(103, 207, 60, 0.04);
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.showcase-tab.active {
  background: rgba(103, 207, 60, 0.08);
  border-color: var(--accent-green);
  color: var(--accent-green);
  box-shadow: 0 4px 20px rgba(103, 207, 60, 0.1);
}
.tab-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.7;
}
.tab-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.showcase-display {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 480px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-view {
  display: none;
  flex-direction: column;
  gap: 28px;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.showcase-view.active {
  display: flex;
  opacity: 1;
}
.showcase-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.showcase-text p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 720px;
}

.showcase-visual-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.mock-browser-mini {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #000;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.mock-browser-bar-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0c0c0c;
  border-bottom: 1px solid var(--border-subtle);
}
.mock-browser-bar-mini span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════════════════ */
#main-footer {
  padding: 48px 28px;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.footer-tagline a {
  color: var(--accent-green);
  transition: opacity 0.2s;
}
.footer-tagline a:hover {
  opacity: 0.8;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Animations
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

/* Scroll-triggered fade-in via IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .showcase-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .showcase-tab {
    flex: 1;
    min-width: 150px;
    justify-content: center;
    padding: 12px 16px;
  }
  .showcase-display {
    padding: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card--large {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .arch-services {
    grid-template-columns: repeat(2, 1fr);
  }
  .arch-arrow {
    display: none;
  }
  .arch-flow {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .showcase-tabs {
    flex-direction: column;
  }
  .showcase-tab {
    width: 100%;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card--large {
    grid-column: span 1;
  }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arch-services {
    grid-template-columns: 1fr;
  }
  .arch-flow {
    flex-direction: column;
  }
  .arch-node {
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .mock-widgets {
    flex-direction: column;
  }
}
