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

:root {
  --ink: #0f172a;
  --mut: #475569;
  --line: #e2e8f0;
  --card-grey: #f8fafc;
  --bento-bg: #f1f5f9;
  --green-new: #10b981;
  --ai-cyan: #06b6d4;
  --ai-indigo: #4f46e5;
  --ai-emerald: #10b981;
  --ai-grad: linear-gradient(135deg, #0284c7 0%, #4f46e5 52%, #059669 100%);
  --ai-grad-soft: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(79, 70, 229, 0.10) 50%, rgba(16, 185, 129, 0.12) 100%);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  background-image:
    radial-gradient(at 15% 8%, rgba(56, 189, 248, 0.09) 0px, transparent 48%),
    radial-gradient(at 85% 12%, rgba(99, 102, 241, 0.08) 0px, transparent 48%),
    radial-gradient(at 50% 45%, rgba(16, 185, 129, 0.06) 0px, transparent 55%),
    linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px, 32px 32px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* =========================================================================
   0. UI/UX PRO MAX & MAGIC-UI LIGHT-MODE AI TECH UTILITIES
   ========================================================================= */
.ai-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.90) 100%);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 16px 40px -10px rgba(14, 165, 233, 0.09),
    0 4px 14px rgba(15, 23, 42, 0.04);
}

.ai-prism-panel {
  background: linear-gradient(145deg, #f0f9ff 0%, #eef2ff 52%, #ecfdf5 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 30px -8px rgba(79, 70, 229, 0.08);
  color: #0f172a;
}

.ai-beam-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.96));
  color: #0f172a;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid rgba(14, 165, 233, 0.35);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12), inset 0 1px 0 #ffffff;
}

@keyframes aiPulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.18); }
}

.ai-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: aiPulseGlow 2.2s infinite ease-in-out;
}

/* =========================================================================
   1. STICKY HEADER (Pure White Frosted Glass + White AI Prism Logo)
   ========================================================================= */
.aiml-navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 74px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.aiml-nav-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.aiml-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.aiml-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.aiml-nav-item {
  border: 0;
  background: none;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.15s;
}

.aiml-nav-item:hover {
  color: #0284c7;
}

.aiml-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.aiml-login-link {
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.aiml-login-link:hover {
  border-color: #38bdf8;
  color: #0284c7;
  background: #f0f9ff;
}

.aiml-signup-btn {
  background: var(--ai-grad);
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  padding: 9px 14px 9px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.aiml-signup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -4px rgba(14, 165, 233, 0.45);
}

.arrow-circle-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================================
   2. HERO SECTION WITH PORCELAIN AURORA MESH & TECH GRID
   ========================================================================= */
.aiml-hero {
  position: relative;
  padding: 86px 24px 56px;
  text-align: center;
  overflow: hidden;
  background: transparent;
}

.aurora-left {
  position: absolute;
  left: -6%;
  top: 8%;
  width: 560px;
  height: 460px;
  background:
    radial-gradient(circle at 30% 65%, rgba(56, 189, 248, 0.26) 0%, transparent 58%),
    radial-gradient(circle at 60% 40%, rgba(99, 102, 241, 0.22) 0%, transparent 58%),
    radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.22) 0%, transparent 52%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.aurora-right {
  position: absolute;
  right: -6%;
  top: 10%;
  width: 600px;
  height: 500px;
  background:
    radial-gradient(circle at 65% 40%, rgba(14, 165, 233, 0.24) 0%, transparent 58%),
    radial-gradient(circle at 40% 70%, rgba(129, 140, 248, 0.22) 0%, transparent 58%),
    radial-gradient(circle at 20% 80%, rgba(52, 211, 153, 0.20) 0%, transparent 52%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-h1 {
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 auto 20px;
}

.hero-subtitle {
  font-size: clamp(16.5px, 1.5vw, 20px);
  font-weight: 400;
  color: #334155;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 34px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--ai-grad);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 16px 22px 16px 26px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 14px 32px -6px rgba(79, 70, 229, 0.36);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -6px rgba(14, 165, 233, 0.46);
}

.arrow-circle-lg {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 16px 26px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.15s;
}

.btn-hero-secondary:hover {
  background: #f0f9ff;
  border-color: #38bdf8;
  color: #0284c7;
  transform: translateY(-2px);
}

/* =========================================================================
   3. 15-SECOND CLIENT SETUP BAND (Frosted Porcelain Card)
   ========================================================================= */
.mcp-band {
  background: linear-gradient(90deg, #f0f9ff 0%, #eef2ff 50%, #ecfdf5 100%);
  border-top: 1px solid #e0f2fe;
  border-bottom: 1px solid #e0f2fe;
  padding: 48px 24px 56px;
}

.amcp {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.amcp-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid #bae6fd;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.06);
}

.amcp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.amcp-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}

.amcp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px;
}

.amcp-tab {
  border: 0;
  background: transparent;
  color: #475569;
  font: inherit;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.amcp-tab.on {
  background: var(--ai-grad);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

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

.amcp-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  min-width: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.amcp-sh {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.amcp-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--ai-grad);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.amcp-st {
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
}

.amcp-tx {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.amcp-tx b {
  color: #0f172a;
}

.amcp-url-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 6px 6px 6px 12px;
  background: #f8fafc;
  margin-top: 6px;
}

.amcp-url-text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: #0284c7;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amcp-copy-btn {
  background: linear-gradient(135deg, #0284c7, #4f46e5);
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 7px 14px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.amcp-docs-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================================
   4. AI MODELS CATALOG SECTION
   ========================================================================= */
.models-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 48px;
}

.section-h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 30px;
}

.aiml-search-wrap {
  position: relative;
  margin-bottom: 20px;
}

.aiml-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.aiml-search-input {
  width: 100%;
  height: 54px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 0 20px 0 48px;
  font: inherit;
  font-size: 16px;
  color: #0f172a;
  outline: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.aiml-search-input::placeholder {
  color: #94a3b8;
}

.aiml-search-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.aiml-cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.aiml-cat-row::-webkit-scrollbar {
  display: none;
}

.aiml-cat-pill {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.aiml-cat-pill:hover, .aiml-cat-pill.active {
  background: var(--ai-grad);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.25);
}

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

.aiml-model-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 24px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.aiml-model-card:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.10);
}

.aiml-mc-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.aiml-mc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f9ff, #eef2ff);
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.aiml-mc-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.aiml-mc-name {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.aiml-badge-new {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.aiml-mc-provider {
  font-size: 13.5px;
  color: #64748b;
  margin-top: 2px;
}

.aiml-mc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.aiml-mc-type-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
}

.aiml-mc-type-tag {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}

.aiml-models-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.btn-outline-rect {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 12px 24px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-outline-rect:hover {
  border-color: #0ea5e9;
  color: #0284c7;
  background: #f0f9ff;
}

.btn-dark-rect {
  background: var(--ai-grad);
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  padding: 12px 24px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px -5px rgba(79, 70, 229, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-dark-rect:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -5px rgba(14, 165, 233, 0.45);
}

/* =========================================================================
   5. PARTNERS & MEET STORY-ULTRA + GPT-IMAGE 2.5 CARD
   ========================================================================= */
.partners-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 32px 0 64px;
}

.gpt-sol-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 55%, #ecfdf5 100%);
  border: 1px solid #bae6fd;
  border-radius: 28px;
  padding: 52px 60px;
  box-shadow: 0 16px 48px rgba(14, 165, 233, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.gpt-sol-left {
  max-width: 540px;
}

.gpt-sol-title {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}

.gpt-sol-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 26px;
}

/* =========================================================================
   6. INFRASTRUCTURE STATS 2x2 GIANT CARDS
   ========================================================================= */
.inference-section {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.section-eyebrow {
  font-size: 17px;
  color: #475569;
  margin: 0 0 10px;
}

.inference-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.inference-glow {
  position: absolute;
  inset: -20px;
  background:
    radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.22), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.18), transparent 45%),
    radial-gradient(circle at 85% 40%, rgba(16, 185, 129, 0.22), transparent 45%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}

.inference-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid #bae6fd;
  border-radius: 22px;
  padding: 52px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.06);
}

.inference-num {
  font-size: clamp(52px, 6.2vw, 82px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.inference-label {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
}

/* =========================================================================
   7. FEATURE PACKED BENTO GRID (White Porcelain & Quartz)
   ========================================================================= */
.feature-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px;
}

.bento-top-card {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
  border: 1px solid #bae6fd;
  border-radius: 28px;
  padding: 44px 48px 0;
  margin-top: 40px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.06);
}

.bento-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bento-h3 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.bento-p {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 0 28px;
}

.playground-ghost-preview {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cbd5e1;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  padding: 24px 32px 32px;
  box-shadow: 0 -4px 30px rgba(14, 165, 233, 0.05);
}

.bento-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bento-half-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.light-code-card {
  background: #f8fafc;
  border: 1px solid #bae6fd;
  border-radius: 18px;
  padding: 22px;
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 24px rgba(14, 165, 233, 0.06);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #0f172a;
  overflow-x: auto;
  margin-top: 20px;
  white-space: pre;
}

.hl-kw { color: #4f46e5; font-weight: 700; }
.hl-str { color: #059669; font-weight: 600; }
.hl-num { color: #0284c7; font-weight: 700; }

/* =========================================================================
   8. 3-TIER ROLEPLAY PASS PRICING
   ========================================================================= */
.plans-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.aiml-plan-box {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
}

.aiml-plan-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #0f172a;
}

.aiml-plan-price {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 20px;
  color: #0f172a;
}

.aiml-plan-cta {
  width: 100%;
  background: var(--ai-grad);
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px -6px rgba(79, 70, 229, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.aiml-plan-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -6px rgba(14, 165, 233, 0.45);
}

.aiml-plan-subhead {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 18px 0 10px;
}

.aiml-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14.5px;
  color: #334155;
}

.aiml-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
  line-height: 1.5;
}

.growth-cta-section {
  position: relative;
  padding: 96px 24px 110px;
  text-align: center;
  overflow: hidden;
}

.btn-giant-cta {
  background: var(--ai-grad);
  color: #ffffff;
  border: 0;
  border-radius: 20px;
  padding: 22px 64px;
  font: inherit;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 24px;
  box-shadow: 0 18px 42px -8px rgba(79, 70, 229, 0.4);
}

/* =========================================================================
   9. FOOTER & FLOATING WHITE-GLASS SWITCHER
   ========================================================================= */
.aiml-footer {
  border-top: 1px solid #e2e8f0;
  padding: 72px 24px 56px;
  background: rgba(255, 255, 255, 0.92);
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #334155;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-col a:hover {
  color: #0284c7;
}

.social-row {
  display: flex;
  gap: 8px;
  margin: 22px 0;
}

.social-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.badges-row {
  max-width: 1020px;
  margin: 56px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

/* Floating Brand Switcher Pill (Frosted White Porcelain instead of Dark Black) */
.brand-switcher-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  color: #0f172a;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.brand-chip {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.brand-chip.active, .brand-chip:hover {
  background: var(--ai-grad);
  color: #ffffff;
  border-color: transparent;
}

.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

/* Views & Modals (100% Light-Mode Porcelain) */
.app-view { display: none; }
.app-view.active { display: block; }

.console-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.playground-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 24px;
  min-height: 600px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.06);
}

.pg-sidebar {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pg-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.pg-messages {
  flex: 1;
  overflow-y: auto;
  max-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 86%;
  white-space: pre-wrap;
}

.msg-bubble.user {
  align-self: flex-end;
  background: var(--ai-grad);
  color: #ffffff;
}

.msg-bubble.assistant {
  align-self: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open { display: flex; }

.stripe-modal {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 165, 233, 0.18);
}

.stripe-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #eef2ff 55%, #ecfdf5 100%);
  color: #0f172a;
  border-bottom: 1px solid #bae6fd;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stripe-body { padding: 24px 26px; }

.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 12.5px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.form-field input, .form-field select {
  width: 100%;
  padding: 11px 14px;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
}

/* Light-Mode Quartz Code Box (Replacing #17171c Dark Code Box) */
.code-box {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: inset 0 1px 0 #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  padding: 14px 16px;
  border-radius: 14px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

table.clean-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.clean-table th, table.clean-table td { text-align: left; padding: 13px 12px; border-bottom: 1px solid #e2e8f0; }
table.clean-table th { color: #475569; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }

@media (max-width: 960px) {
  .amcp-grid, .aiml-models-grid, .inference-grid, .bento-bottom-grid, .plans-two-col, .footer-grid, .gpt-sol-card, .playground-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
