/* static/css/landing.css - Apolynx AI Clean White Theme (Anthropic Modular LLM Architecture) */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-subtle: #e2e8f0;
  --border-accent: rgba(217, 119, 87, 0.4);
  --border-card: #e2e8f0;
  
  --claude-accent: #d97757;
  --claude-light: #e88d71;
  --claude-dark: #b85a3c;
  --anthropic-gold: #c25734;
  --tech-cyan: #0284c7;
  --tech-emerald: #059669;
  
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Claude Serif', Georgia, Cambria, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glow: 0 10px 30px -5px rgba(217, 119, 87, 0.15);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 16px 36px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Radial Glows */
.ambient-glow-1 {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 87, 0.08) 0%, rgba(244, 162, 97, 0.03) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 1200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(217, 119, 87, 0.3);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon img, .brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--claude-accent);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cluster-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--tech-emerald);
  font-weight: 600;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--tech-emerald);
  box-shadow: 0 0 10px var(--tech-emerald);
  animation: pulse 2s infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--claude-accent), #c25734);
  color: #fff;
  box-shadow: 0 4px 18px rgba(217, 119, 87, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--claude-light), var(--claude-accent));
  box-shadow: 0 6px 24px rgba(217, 119, 87, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #f8fafc;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Hero Section */
.hero {
  padding: 38px 0 50px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* Dominating Hero Logo Showcase */
.hero-logo-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.hero-logo-halo {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(217, 119, 87, 0.3) 0%, rgba(244, 162, 97, 0.12) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: haloBreath 4s ease-in-out infinite alternate;
}

@keyframes haloBreath {
  0% { transform: scale(0.92); opacity: 0.65; }
  100% { transform: scale(1.3); opacity: 1; }
}

.hero-logo-box {
  width: 104px;
  height: 104px;
  border-radius: 28px;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 16px 42px -6px rgba(217, 119, 87, 0.45), 0 0 0 1px rgba(217, 119, 87, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  animation: logoFloat 4s ease-in-out infinite alternate;
}

.hero-logo-box:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 24px 54px -4px rgba(217, 119, 87, 0.6), 0 0 0 2px var(--claude-accent);
}

@keyframes logoFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.hero-logo-dom-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 5px 16px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #c25734;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(217, 119, 87, 0.12);
  position: relative;
  z-index: 1;
}

.hero-badge-wrap {
  display: inline-flex;
  margin-bottom: 24px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 50px;
  font-size: 0.82rem;
  color: #c25734;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-badge-highlighted {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px solid #fdba74;
  border-radius: 50px;
  font-size: 1.05rem;
  color: #9a3412;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px -4px rgba(217, 119, 87, 0.25);
  animation: badgeGlow 4s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 10px 28px -4px rgba(217, 119, 87, 0.25); }
  50% { box-shadow: 0 14px 34px -2px rgba(217, 119, 87, 0.4); }
}

.hero-badge-icon {
  font-size: 1rem;
}

.hero-brand-h1 {
  margin: 0 auto 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-brand-name {
  font-size: clamp(3.6rem, 8vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #0f172a;
  text-shadow: 0 4px 24px rgba(217, 119, 87, 0.18);
}

.hero-brand-from {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
  line-height: 1.2;
  display: block;
}

.hero-brand-anthropic {
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  font-weight: 900;
  color: #d97757;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 2px;
  display: block;
  text-shadow: 0 4px 24px rgba(217, 119, 87, 0.2);
}

.hero-brand-sub {
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--claude-accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 8px;
  display: block;
}

.hero-title {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 14px;
  margin-bottom: 22px;
  color: #1e293b;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #0f172a 20%, #d97757 70%, #c25734 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 840px;
  margin: 0 auto 38px;
  font-size: 1.22rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text-main);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-subtle);
  font-size: 0.88rem;
  font-weight: 600;
}

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

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--claude-accent);
}

/* ─── BIG FLOATING AI ACCESS BUTTON ────────────────────────────── */
.floating-ai-cta-wrap {
  position: fixed;
  bottom: 52px;
  bottom: max(52px, env(safe-area-inset-bottom) + 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999; /* ALWAYS IN FRONT OF ALL CONTENT */
  width: auto;
  max-width: 92vw;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  filter: drop-shadow(0 14px 34px rgba(217, 119, 87, 0.55));
  animation: floatingBounce 3.5s ease-in-out infinite;
}

.btn-floating-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  background: linear-gradient(135deg, #d97757 0%, #c25734 60%, #b84926 100%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  box-shadow: 0 16px 38px -6px rgba(217, 119, 87, 0.6), 0 6px 18px -2px rgba(194, 87, 52, 0.4);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.btn-floating-ai:hover {
  background: linear-gradient(135deg, #e88d71 0%, #d97757 50%, #c25734 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 48px -4px rgba(217, 119, 87, 0.65), 0 8px 24px -2px rgba(194, 87, 52, 0.45);
}

.btn-floating-ai:active {
  transform: translateY(0) scale(0.99);
}

.btn-floating-ai::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  animation: shimmerSweep 3.5s infinite;
}

@keyframes shimmerSweep {
  0% { left: -60%; }
  35% { left: 130%; }
  100% { left: 130%; }
}

@keyframes floatingBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

.floating-ai-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.floating-ai-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  letter-spacing: 0.05em;
  font-weight: 800;
}

/* Interactive Playground Section */
.playground-section {
  padding: 60px 0 90px;
  background: #ffffff;
}

.preview-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.preview-nav-tabs {
  display: flex;
  gap: 6px;
  background: #e2e8f0;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.preview-tab-btn {
  padding: 6px 14px;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.preview-tab-btn.active {
  background: var(--claude-accent);
  color: #fff;
}

.preview-body {
  padding: 32px;
  background: #ffffff;
}

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

.model-output-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.box-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.node-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.badge-colibri {
  background: #e0f2fe;
  color: var(--tech-cyan);
  border: 1px solid #bae6fd;
}

.badge-nemotron {
  background: #fff7ed;
  color: #c25734;
  border: 1px solid #fed7aa;
}

.box-content {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.box-content p {
  margin-bottom: 10px;
}

.box-content code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  color: #0f172a;
  font-family: var(--font-mono);
  font-size: 0.85em;
}

/* Feature & Architecture Sections */
.section {
  padding: 90px 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--claude-accent);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  background: #ffffff;
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: var(--claude-accent);
}

.feature-title {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0f172a;
}

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

/* Calculator Section */
.calc-section {
  background: #f8fafc;
  padding: 90px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.calc-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-slider-group {
  margin-bottom: 28px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.slider-label span:last-child {
  color: #c25734;
  font-size: 1.2rem;
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--claude-accent);
  height: 8px;
  background: #e2e8f0;
  border-radius: 5px;
  cursor: pointer;
}

.savings-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.savings-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #166534;
  margin-bottom: 8px;
  font-weight: 700;
}

.savings-amount {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--tech-emerald);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.savings-sub {
  font-size: 0.92rem;
  color: #15803d;
  font-weight: 500;
}

/* SEO Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
  box-shadow: var(--shadow-card);
}

.article-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.article-category {
  font-size: 0.76rem;
  color: var(--claude-accent);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--claude-accent);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* Footer */
.footer {
  border-top: 1px solid #1e293b;
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 30px;
  margin-top: 60px;
}

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

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--claude-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
  color: #64748b;
}

/* ──────────────────────────────────────────────────────────────────────
   AUTHENTICATION MODAL (Compulsory Gmail + Mobile OTP + Geolocation)
   ────────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  padding: 24px 22px 20px;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: #f1f5f9;
}

.modal-header {
  text-align: center;
  margin-bottom: 12px;
}

.modal-icon-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--claude-accent), #c25734);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 4px 15px rgba(217, 119, 87, 0.3);
}

.modal-icon-badge svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Step Progression Indicator */
.auth-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  gap: 8px;
}

.auth-step-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: #f1f5f9;
  color: var(--text-subtle);
  border: 1px solid var(--border-subtle);
}

.auth-step-pill.active {
  background: #fff7ed;
  color: #c25734;
  border-color: #fed7aa;
}

.auth-step-pill.completed {
  background: #ecfdf5;
  color: var(--tech-emerald);
  border-color: #a7f3d0;
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: #e2e8f0;
}

/* Form inputs & buttons inside modal */
.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.input-with-prefix {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.input-with-prefix:focus-within {
  border-color: var(--claude-accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.15);
}

.input-prefix {
  padding: 12px 14px;
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  border-right: 1px solid var(--border-subtle);
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #0f172a;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.btn-google svg {
  width: 20px;
  height: 20px;
}

.geo-status-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #0284c7;
  margin-top: 14px;
}

.geo-status-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────────────────
   Dopanet Auth Navbar Integration & Dropdown Menu
   ────────────────────────────────────────────────────────────────────── */
.auth-profile-wrap {
  position: relative;
  display: inline-block;
}

.auth-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
}

.auth-profile-badge:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.auth-profile-badge.logged-out {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c25734;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.12);
}

.auth-profile-badge.logged-out:hover {
  background: #ffedd5;
  border-color: var(--claude-accent);
}

.auth-profile-badge.logged-in {
  background: #ffffff;
  border-color: #cbd5e1;
}

.auth-profile-badge.has-mobile {
  border-color: #a7f3d0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.auth-profile-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.auth-profile-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--claude-accent), #c25734);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.auth-profile-name {
  display: flex;
  align-items: center;
}

.auth-name-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.25;
}

.auth-name-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-name-sub {
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.status-verified {
  color: #059669;
}

.status-otp-pending {
  color: #2563eb;
}

.status-no-mob {
  color: #d97706;
}

/* Dropdown Menu */
.auth-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 270px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  padding: 10px;
  z-index: 9999;
  display: none;
  animation: dopaFadeIn 0.18s ease-out;
}

.auth-dropdown-menu.show {
  display: block;
}

.auth-dropdown-header {
  padding: 8px 10px 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}

.auth-dropdown-user {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-dropdown-email {
  font-size: 0.76rem;
  color: #64748b;
  word-break: break-all;
  margin-top: 2px;
}

.auth-dropdown-id {
  font-size: 0.72rem;
  color: var(--tech-emerald);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-top: 5px;
}

.auth-dropdown-loc {
  font-size: 0.74rem;
  color: #475569;
  margin-top: 4px;
}

.auth-dropdown-mob {
  margin-top: 6px;
  font-size: 0.76rem;
}

.auth-dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 6px 0;
}

.auth-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: 8px;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.auth-dropdown-item:hover {
  background: #f8fafc;
  color: #0f172a;
}

.auth-dropdown-item i {
  width: 16px;
  text-align: center;
  color: var(--claude-accent);
}

.auth-dropdown-item.logout {
  color: #dc2626;
}

.auth-dropdown-item.logout i {
  color: #dc2626;
}

.auth-dropdown-item.logout:hover {
  background: #fef2f2;
  color: #b91c1c;
}

/* ─── GPS & LOCATION ENFORCEMENT MODAL (DopaLeads Architecture) ──── */
.dopa-permission-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: dopaFadeIn 0.25s ease-out;
}

.dopa-perm-dialog {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 30px 26px 26px;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  text-align: center;
  animation: dopaScaleUp 0.25s ease-out;
}

.dopa-perm-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}

.dopa-perm-close:hover {
  color: #0f172a;
}

.dopa-perm-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff7ed;
  border: 2px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.dopa-perm-icon {
  font-size: 1.5rem;
  color: var(--claude-accent);
}

.dopa-perm-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.dopa-perm-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 18px;
}

.dopa-perm-steps {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
  margin-bottom: 20px;
}

.dopa-perm-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.45;
}

.dopa-perm-step:last-child {
  margin-bottom: 0;
}

.dopa-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--claude-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.dopa-perm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ─── TOP ANNOUNCEMENT BANNER ─────────────────────────────────── */
.top-announcement-banner {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border-bottom: 1px solid rgba(217, 119, 87, 0.35);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 87, 0.22);
  color: #fb923c;
  border: 1px solid rgba(217, 119, 87, 0.45);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.banner-text {
  color: #e2e8f0;
  font-size: 0.82rem;
}

.banner-text strong {
  color: #ffffff;
}

.banner-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.banner-link:hover {
  color: #fb923c;
}

.banner-link.dispute-badge {
  background: rgba(234, 88, 12, 0.15);
  color: #fb923c;
  padding: 2px 9px;
  border-radius: 6px;
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.banner-link.dispute-badge:hover {
  background: rgba(234, 88, 12, 0.28);
  color: #ffffff;
}

/* ─── ANTHROPIC ECOSYSTEM & CORPORATE LINEAGE ──────────────────── */
.anthropic-ecosystem-section {
  padding: 80px 0 100px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.ecosystem-parent-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  padding: 5px 14px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ecosystem-mini-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ecosystem-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.ecosystem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}

.ecosystem-card.parent-card {
  border-color: #fdba74;
  background: linear-gradient(180deg, #ffffff 0%, #fffbf7 100%);
}

.ecosystem-card.dispute-card {
  border-color: #fed7aa;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
}

.ecosystem-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.ecosystem-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ecosystem-card-icon.anthropic-icon {
  background: #ffedd5;
  border: 1px solid #fed7aa;
}

.ecosystem-card-icon.legal-icon {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.ecosystem-card-icon.dopaleads-icon {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.ecosystem-card-icon.dopadeals-icon {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.ecosystem-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 4px;
}

.ecosystem-tag.parent-tag {
  background: #ea580c;
  color: #ffffff;
}

.ecosystem-tag.legal-tag {
  background: #dc2626;
  color: #ffffff;
}

.ecosystem-tag.product-tag {
  background: #0284c7;
  color: #ffffff;
}

.ecosystem-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0 2px;
  line-height: 1.3;
}

.ecosystem-meta {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.ecosystem-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
}

.ecosystem-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eco-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eco-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.eco-btn.eco-primary {
  background: #ea580c;
  color: #ffffff;
  border: 1px solid #ea580c;
}

.eco-btn.eco-primary:hover {
  background: #c2410c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.eco-btn.eco-sub {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.eco-btn.eco-sub:hover {
  background: #ffffff;
  border-color: #94a3b8;
  color: #0f172a;
}

.eco-btn.eco-dispute {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.eco-btn.eco-dispute:hover {
  background: #fee2e2;
  border-color: #f87171;
}

.eco-btn.eco-product {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.eco-btn.eco-product:hover {
  background: #dcfce7;
  border-color: #86efac;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .features-grid, .articles-grid { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .playground-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding: 0 16px;
    max-width: 100%;
  }

  /* Navigation on Mobile */
  .navbar {
    height: 60px;
  }

  .nav-container {
    height: 60px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tag {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .cluster-pill {
    display: none;
  }

  .auth-profile-name {
    display: none;
  }

  .auth-profile-badge {
    padding: 6px 10px;
    border-radius: 50px;
  }

  /* Hero Section on Mobile */
  .hero {
    padding: 16px 0 32px;
    overflow-x: hidden;
  }

  .hero-logo-showcase {
    margin-bottom: 18px;
  }

  .hero-logo-box {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .hero-logo-halo {
    width: 140px;
    height: 140px;
  }

  .hero-logo-badge {
    font-size: 0.68rem;
    padding: 4px 12px;
    letter-spacing: 0.05em;
  }

  .hero-badge-wrap {
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 6px 12px;
    line-height: 1.4;
    border-radius: 20px;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
  }

  .hero-badge-highlighted {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    padding: 10px 18px !important;
    line-height: 1.45 !important;
    letter-spacing: 0.02em !important;
    gap: 8px !important;
    box-shadow: 0 6px 20px -3px rgba(217, 119, 87, 0.28) !important;
  }

  .hero-brand-name {
    font-size: clamp(2.3rem, 8.5vw, 3.2rem);
    letter-spacing: -0.03em;
  }

  .hero-brand-from {
    font-size: clamp(1.1rem, 4.2vw, 1.45rem);
    margin-top: 2px;
  }

  .hero-brand-anthropic {
    font-size: clamp(2rem, 7.5vw, 2.85rem);
    letter-spacing: 0.04em;
    margin-top: 2px;
  }

  .hero-brand-sub {
    font-size: clamp(0.95rem, 3.8vw, 1.3rem);
    letter-spacing: 0.05em;
    margin-top: 6px;
  }

  .hero-title {
    font-size: clamp(1.2rem, 4.4vw, 1.55rem);
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 100%;
  }

  /* Hero CTA Group: Centered Pill Structure matching Desktop View */
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto 36px;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    padding: 13px 22px;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(217, 119, 87, 0.3);
  }

  .hero-cta-group .btn-secondary {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  /* Trust Metrics on Mobile */
  .trust-strip {
    gap: 12px 18px;
    padding-top: 22px;
    font-size: 0.78rem;
    justify-content: center;
  }

  .trust-item {
    gap: 6px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .research-vision-card {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  /* Centered Floating AI Access Button on Mobile (Matching Desktop Look & Alignment) */
  .floating-ai-cta-wrap {
    position: fixed;
    bottom: 42px;
    bottom: max(42px, env(safe-area-inset-bottom) + 24px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    width: auto;
    max-width: calc(100vw - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    filter: drop-shadow(0 10px 28px rgba(217, 119, 87, 0.55));
  }

  .btn-floating-ai {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    background: linear-gradient(135deg, #d97757 0%, #c25734 60%, #b84926 100%);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    box-shadow: 0 12px 30px -4px rgba(217, 119, 87, 0.55), 0 4px 14px -2px rgba(194, 87, 52, 0.35);
    cursor: pointer;
    text-decoration: none;
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
    white-space: nowrap;
  }

  .floating-ai-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .floating-ai-text {
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-floating-ai .floating-ai-badge {
    display: inline-flex !important;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 2px 7px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    letter-spacing: 0.04em;
    font-weight: 800;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 375px) {
  .btn-floating-ai {
    padding: 10px 12px;
    gap: 6px;
    font-size: 0.82rem;
  }

  .floating-ai-text {
    font-size: 0.8rem;
  }

  .btn-floating-ai .floating-ai-badge {
    font-size: 0.6rem;
    padding: 2px 5px;
  }
}

/* ──────────────────────────────────────────────────────────────────────
   Enquiry / Suggestion / Complaint Modal in Landing Page
   ────────────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: fadeInModal 0.2s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalScaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.legal-modal-card {
  max-width: 680px;
  width: 92%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.legal-modal-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff7ed;
  color: var(--claude-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.legal-modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.legal-modal-subtitle {
  font-size: 0.74rem;
  color: #64748b;
  margin: 2px 0 0;
  font-weight: 600;
}

.legal-modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1.6;
}

.share-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s;
}

.share-modal-close:hover {
  color: #0f172a;
}

/* ─── RESEARCH-ORIENTED STYLES FOR APOLYNX RESOURCE OPTIMISATION & CPU CLUSTER ─── */
.research-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 26px;
  margin-top: 36px;
}

@media (max-width: 640px) {
  .research-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.research-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.research-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(217, 119, 87, 0.08);
}

.research-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
}

.research-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
}

.research-card-body {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.68;
  flex: 1;
}

.research-card-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--claude-accent);
}

/* DSL Code Block Styling */
.dsl-code-window {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
  margin-top: 32px;
  font-family: var(--font-mono, monospace);
}

.dsl-code-header {
  background: #1e293b;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}

.dsl-code-body {
  padding: 24px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #f8fafc;
  overflow-x: auto;
}

.dsl-kw { color: #f472b6; font-weight: 700; }
.dsl-prop { color: #60a5fa; }
.dsl-action { color: #34d399; font-weight: 600; }
.dsl-num { color: #fbbf24; }
.dsl-comment { color: #94a3b8; font-style: italic; }

/* Shift Comparison Cards */
.shift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.shift-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px 26px;
  position: relative;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.shift-card.highlight {
  border-color: #fed7aa;
  background: linear-gradient(180deg, #ffffff 0%, #fffbf6 100%);
  box-shadow: 0 10px 30px rgba(217, 119, 87, 0.12);
}

/* ─── 3-Layer SEO Architecture Knowledge Hub ───────────────────────── */
.seo-layer-block {
  margin-bottom: 44px;
}

.seo-layer-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  flex-wrap: wrap;
}

.seo-layer-badge {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
}

.layer-1-badge { background: #fff7ed; color: #c25734; border: 1px solid #fed7aa; }
.layer-2-badge { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.layer-3-badge { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }

.seo-layer-header h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.seo-layer-header span.layer-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-left: auto;
}

.articles-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.article-category {
  font-size: 0.76rem;
  color: var(--claude-accent);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.article-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-title a {
  color: inherit;
  text-decoration: none;
}

.article-title a:hover {
  color: var(--claude-accent);
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 16px;
}

.article-tag-pill {
  font-size: 0.72rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.article-card-footer {
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
}

.article-card-footer a {
  color: var(--claude-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.article-card-footer a:hover {
  text-decoration: underline;
}

.footer-seo-directory {
  margin-top: 36px;
  padding: 28px 0 16px;
  border-top: 1px solid #e2e8f0;
}

.footer-seo-layers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.footer-seo-layers-grid h5 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.footer-seo-layers-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-seo-layers-grid li {
  margin-bottom: 7px;
}

.footer-seo-layers-grid a {
  font-size: 0.82rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-seo-layers-grid a:hover {
  color: var(--claude-accent);
  text-decoration: underline;
}


