/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
  /* Slate palette */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  /* Blue palette */
  --blue-50:   #eff6ff;
  --blue-100:  #dbeafe;
  --blue-200:  #bfdbfe;
  --blue-400:  #60a5fa;
  --blue-500:  #3b82f6;
  --blue-600:  #2563eb;
  --blue-700:  #1d4ed8;
  /* Cyan */
  --cyan-400:  #22d3ee;
  --cyan-500:  #06b6d4;
  /* Indigo */
  --indigo-50:  #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-600: #4f46e5;
  /* Emerald */
  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-600: #059669;

  --container-max: 1440px;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  background: #fff;
  color: var(--slate-900);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* Lucide icons sizing helper */
[data-lucide] { display: inline-block; vertical-align: middle; }

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}
.section-logo {
  width: 400px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}
.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
}
.section-divider {
  width: 5rem;
  height: 4px;
  background: var(--blue-600);
  border-radius: var(--radius-full);
  margin: 0 auto 1.5rem;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--slate-600);
  font-weight: 500;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid var(--slate-100);
}
.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}
@media (min-width: 640px) { .navbar-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .navbar-inner { padding: 0 2rem; } }

.navbar-logo img { height: 2rem; width: auto; }

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.15s;
}
.navbar-links a:hover { color: var(--blue-600); }

.navbar-cta { display: none; }
.btn-nav-cta {
  background: var(--slate-900);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.btn-nav-cta:hover { background: #000; }

.navbar-hamburger {
  color: var(--slate-600);
  padding: 0.5rem;
  flex-shrink: 0;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--slate-100);
  padding: 0.5rem 1rem 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
}
.mobile-menu a:hover { color: var(--blue-600); background: var(--slate-50); }
.mobile-menu .btn-mobile-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  background: var(--blue-600);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .navbar-links { display: flex; }
  .navbar-cta { display: flex; }
  .navbar-hamburger { display: none; }
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: var(--slate-50);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero { padding-top: 12rem; padding-bottom: 8rem; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}
.hero-bg-blob {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 62.5rem;
  height: 31.25rem;
  background: var(--blue-400);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  mix-blend-mode: multiply;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
  opacity: 0.3;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(248,250,252,0.5) 50%, #f8fafc);
  backdrop-filter: blur(2px);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: overlay;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, #000 10%, transparent 80%);
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, #000 10%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 8.5vw, 3.5rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 5rem; }
  .hero h1 .logo-img { height: 7rem; }
  .hero h1 .gradient-text { font-size: 7rem; }
}
.hero h1 .gradient-text {
  background: linear-gradient(to right, var(--blue-600), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(3rem, 12vw, 5rem);
  line-height: 1;
}
.hero h1 .logo-img {
  height: clamp(3.25rem, 12vw, 5rem);
  width: auto;
  vertical-align: middle;
  margin-right: 0;
  display: inline-block;
  line-height: 1;
}

.hero-subtitle {
  max-width: 42rem;
  margin: 0 auto 3rem;
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  color: var(--slate-600);
  font-weight: 500;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.5rem; } }

.hero-features {
  display: grid;
  gap: 1.25rem;
  max-width: 64rem;
  margin: 0 auto 3rem;
  text-align: left;
}
@media (min-width: 768px) {
  .hero-features { grid-template-columns: repeat(3, 1fr); }
}

.hero-feature-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226,232,240,0.6);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, background 0.3s, transform 0.3s;
}
.hero-feature-card:hover {
  box-shadow: 0 8px 30px -4px rgba(59,130,246,0.1);
  background: #fff;
  transform: translateY(-4px);
}
.hero-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(239,246,255,0.8);
  border: 1px solid var(--blue-100);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-600);
}
.hero-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}
.hero-feature-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; justify-content: center; }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--blue-600);
  color: #fff;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(37,99,235,0.2);
  width: 100%;
}
.btn-primary:hover { background: var(--blue-700); }
@media (min-width: 640px) { .btn-primary { width: auto; } }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: #fff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  width: 100%;
}
.btn-secondary:hover { background: var(--slate-50); }
@media (min-width: 640px) { .btn-secondary { width: auto; } }

/* =========================================
   VALUE PROPOSITION
   ========================================= */
.value-prop {
  padding: 6rem 0;
  background: #FAFAFA;
  border-top: 1px solid rgba(226,232,240,0.5);
  position: relative;
  overflow: hidden;
}
.value-prop::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 16rem;
  background: linear-gradient(to bottom, #fff, transparent);
  z-index: 1;
  pointer-events: none;
}
.value-prop .container { position: relative; z-index: 2; }

.value-prop .section-header {
  max-width: 64rem;
}

.value-prop .section-header h2 {
  width: 100%;
  max-width: 62.5rem;
  font-size: clamp(1.875rem, 4.8vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 auto 1.5rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .value-prop .section-header h2 { font-size: 2.25rem; }
}
.value-prop .section-header h2 .highlight {
  color: var(--blue-600);
  position: relative;
}
.value-prop .section-header h2 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 100%; height: 12px;
  background: var(--blue-100);
  z-index: -1;
}
.value-prop .section-header p {
  font-size: 1.125rem;
  color: var(--slate-500);
}
@media (min-width: 768px) { .value-prop .section-header p { font-size: 1.25rem; } }

.bento-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
}

.bento-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transition: box-shadow 0.5s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.bento-card:hover {
  box-shadow: 0 8px 40px rgba(59,130,246,0.08);
}

.bento-card-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  width: 16rem; height: 16rem;
  transition: background 0.5s;
  pointer-events: none;
}
.bento-card:nth-child(1) .bento-card-glow {
  top: -5rem; right: -5rem;
  background: var(--blue-50);
}
.bento-card:nth-child(1):hover .bento-card-glow { background: var(--blue-100); }
.bento-card:nth-child(2) .bento-card-glow {
  top: -5rem; right: -5rem;
  background: var(--indigo-50);
}
.bento-card:nth-child(2):hover .bento-card-glow { background: var(--indigo-100); }
.bento-card:nth-child(3) .bento-card-glow {
  bottom: -8rem; left: -8rem;
  background: var(--emerald-50);
}
.bento-card:nth-child(3):hover .bento-card-glow { background: var(--emerald-100); }

.bento-card-body { position: relative; z-index: 1; display: flex; flex-direction: column; }

.bento-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.bento-icon.blue  { background: var(--blue-50);   border: 1px solid var(--blue-100);   color: var(--blue-600); }
.bento-icon.indigo{ background: var(--indigo-50); border: 1px solid var(--indigo-100); color: var(--indigo-600); }
.bento-icon.emerald{background: var(--emerald-50);border: 1px solid var(--emerald-100);color: var(--emerald-600);}

.bento-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.bento-badge {
  display: inline-block;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  align-self: flex-start;
}
.bento-badge.blue   { color: var(--blue-600);   background: var(--blue-50);   border: 1px solid var(--blue-100); }
.bento-badge.indigo { color: var(--indigo-600); background: var(--indigo-50); border: 1px solid var(--indigo-100); }
.bento-badge.emerald{ color: var(--emerald-600);background: var(--emerald-50);border: 1px solid var(--emerald-100);}

.bento-points { display: flex; flex-direction: column; gap: 1rem; }
.bento-point { display: flex; align-items: flex-start; gap: 0.75rem; }

.bento-dot {
  margin-top: 4px;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bento-dot.neutral { background: var(--slate-100); }

.bento-dot.blue    { background: var(--blue-100); color: var(--blue-600); }
.bento-dot.indigo  { background: var(--indigo-100); color: var(--indigo-600); }
.bento-dot.emerald { background: var(--emerald-100); color: var(--emerald-600); }

.bento-point p.muted { font-size: 0.875rem; color: var(--slate-500); }
.bento-point p.solution { font-size: 0.875rem; color: var(--slate-800); font-weight: 500; }

/* Bento visual elements */
.bento-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  height: 16.25rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-pipeline {
  width: 100%;
  height: 100%;
  background: rgba(248,250,252,0.5);
  border: 1px solid var(--slate-100);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pipeline-dots { display: flex; gap: 6px; margin-bottom: 0.75rem; border-bottom: 1px solid rgba(226,232,240,0.6); padding-bottom: 0.5rem; }
.pipeline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-200); }

.pipeline-step {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-100);
  padding: 0.625rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 4px;
}
.pipeline-step-icon {
  width: 1.75rem; height: 1.75rem;
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}
.pipeline-step-icon.blue    { background: var(--blue-50);   color: var(--blue-600); }
.pipeline-step-icon.indigo  { background: var(--indigo-50); color: var(--indigo-600); }
.pipeline-step-icon.emerald { background: var(--emerald-50);color: var(--emerald-600); }

.pipeline-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pipeline-bar { height: 6px; border-radius: 3px; background: var(--slate-200); }
.pipeline-bar.short  { width: 50%; background: var(--slate-100); }
.pipeline-bar.medium { width: 83%; }
.pipeline-bar.wide   { width: 75%; }

.pipeline-connector { width: 1px; height: 0.75rem; background: var(--slate-200); margin-left: 1.5rem; }

.bento-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
}
.bento-visual-img-wrap {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  overflow: hidden;
}
.bento-visual-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* =========================================
   PRODUCT ARCHITECTURE
   ========================================= */
.product-arch {
  padding: 6rem 0;
  background: var(--slate-50);
  position: relative;
  overflow: hidden;
}
.product-arch-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.product-arch-bg-blob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50rem; height: 50rem;
  background: rgba(59,130,246,0.05);
  border-radius: 50%;
  filter: blur(100px);
}
.product-arch-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.product-arch .container { position: relative; z-index: 10; }

.arch-stack {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 2.5rem;
  margin: -4px 0;
  position: relative;
  z-index: 20;
}
.arch-connector-line { width: 1px; height: 100%; background: var(--blue-200); }
.arch-connector-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-full);
  padding: 4px;
  color: var(--blue-400);
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
}

.arch-layer {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 10;
}
.arch-layer:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }

@media (min-width: 768px) {
  .arch-layer { flex-direction: row; min-height: 13.75rem; }
}

.arch-layer.portal { background: #fff; border-color: var(--blue-100); box-shadow: 0 4px 20px -4px rgba(59,130,246,0.1); }
.arch-layer.task   { background: #fff; border-color: var(--blue-100); box-shadow: 0 4px 20px -4px rgba(59,130,246,0.1); }
.arch-layer.model  { background: rgba(238,242,255,0.3); border-color: var(--indigo-100); box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.arch-layer.data   { background: var(--blue-600); border-color: #3b82f6; box-shadow: 0 8px 24px rgba(37,99,235,0.2); }

.arch-layer-left {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid;
}
@media (min-width: 768px) {
  .arch-layer-left { width: 41.67%; border-bottom: none; border-right: 1px solid; }
}
.arch-layer.portal .arch-layer-left { background: rgba(239,246,255,0.5); border-color: var(--slate-100); }
.arch-layer.task   .arch-layer-left { background: var(--slate-50); border-color: var(--slate-100); }
.arch-layer.model  .arch-layer-left { background: var(--indigo-50); border-color: var(--indigo-100); }
.arch-layer.data   .arch-layer-left { background: rgba(29,78,216,0.5); border-color: rgba(59,130,246,0.5); }

.arch-layer-icon-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.arch-layer-icon {
  padding: 0.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
}
.arch-layer.portal .arch-layer-icon,
.arch-layer.task   .arch-layer-icon,
.arch-layer.model  .arch-layer-icon { background: #fff; color: var(--blue-600); }
.arch-layer.model  .arch-layer-icon { color: var(--indigo-600); }
.arch-layer.data   .arch-layer-icon { background: rgba(255,255,255,0.2); color: #fff; }

.arch-layer-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.arch-layer.data .arch-layer-title { color: #fff; }

.arch-layer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
}
.arch-layer.portal .arch-layer-desc,
.arch-layer.task   .arch-layer-desc,
.arch-layer.model  .arch-layer-desc { color: var(--slate-500); }
.arch-layer.data   .arch-layer-desc { color: var(--blue-100); }

.arch-layer-right {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) { .arch-layer-right { width: 58.33%; } }
.arch-layer.data .arch-layer-right { background: var(--blue-600); }

.arch-tags { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.arch-tag {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.2s, color 0.2s;
}
.arch-layer.portal .arch-tag,
.arch-layer.task   .arch-tag { background: var(--slate-50); border: 1px solid var(--slate-200); color: var(--slate-700); }
.arch-layer.portal .arch-tag:hover,
.arch-layer.task   .arch-tag:hover { border-color: var(--blue-300); color: var(--blue-600); }
.arch-layer.data   .arch-tag { background: rgba(59,130,246,0.5); border: 1px solid rgba(96,165,250,0.8); color: #fff; }
.arch-layer.data   .arch-tag:hover { background: rgba(59,130,246,0.7); }

.arch-details { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.arch-detail {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid;
  transition: background 0.2s;
}
.arch-layer.model .arch-detail { background: rgba(248,250,252,0.8); border-color: var(--slate-100); }
.arch-layer.model .arch-detail:hover { background: var(--slate-50); }
.arch-layer.data  .arch-detail { background: rgba(29,78,216,0.3); border-color: rgba(59,130,246,0.5); }
.arch-layer.data  .arch-detail:hover { background: rgba(29,78,216,0.5); }

.arch-detail-label {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.arch-layer.model .arch-detail-label { color: var(--slate-900); }
.arch-layer.data  .arch-detail-label { color: #fff; }

.arch-detail-value {
  font-size: 0.875rem;
  line-height: 1.6;
}
.arch-layer.model .arch-detail-value { color: var(--slate-600); }
.arch-layer.data  .arch-detail-value { color: var(--blue-100); }

/* =========================================
   CORE CAPABILITIES
   ========================================= */
.core-cap {
  padding: 60px 0 96px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(239,246,255,0.8), var(--slate-50));
  border-top: 1px solid rgba(191,219,254,0.5);
  border-bottom: 1px solid rgba(191,219,254,0.5);
}
.core-cap-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.core-cap-bg .blob1 {
  position: absolute; top: 0; right: 0;
  transform: translate(25%, -25%);
  width: 37.5rem; height: 37.5rem;
  background: rgba(191,219,254,0.3);
  border-radius: 50%;
  filter: blur(80px);
}
.core-cap-bg .blob2 {
  position: absolute; bottom: 0; left: 0;
  transform: translate(-25%, 25%);
  width: 31.25rem; height: 31.25rem;
  background: rgba(165,243,252,0.2);
  border-radius: 50%;
  filter: blur(80px);
}
.core-cap-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.core-cap .container { position: relative; z-index: 10; }

.cap-layout {
  display: grid;
  gap: 1.5rem 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .cap-layout { grid-template-columns: 5fr 7fr; }
}

.cap-tabs { display: flex; flex-direction: column; gap: 0.5rem; }

.cap-tab {
  display: flex;
  gap: 0.625rem;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.cap-tab:hover { background: rgba(255,255,255,0.5); border-color: var(--slate-200); }
.cap-tab.active { background: #fff; border-color: var(--blue-200); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }

.cap-tab-icon {
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  transition: background 0.2s, color 0.2s;
}
.cap-tab .cap-tab-icon { background: var(--blue-100); color: var(--blue-600); }
.cap-tab.active .cap-tab-icon { background: var(--blue-600); color: #fff; }

.cap-tab-body {}
.cap-tab-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1px;
  transition: color 0.2s;
}
.cap-tab .cap-tab-title { color: var(--slate-900); }
.cap-tab.active .cap-tab-title { color: var(--blue-600); }

.cap-tab-desc {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 1px;
  line-height: 1.3;
}
.cap-tab-value {
  font-size: 0.75rem;
  color: var(--slate-500);
}
.cap-tab-value .label { color: var(--blue-600); font-weight: 500; }

.cap-images {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}
.cap-image {
  grid-column: 1; grid-row: 1;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
}
.cap-image.active {
  opacity: 1;
  pointer-events: auto;
}
.cap-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: contain;
}

/* =========================================
   DATA RESOURCES
   ========================================= */
.data-resources {
  padding: 6rem 0;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
  color: white;
}

.data-resources-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.data-resources-bg .blob1 {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
  width: 50rem;
  height: 50rem;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  filter: blur(120px);
}

.data-resources-bg .blob2 {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-25%, 25%);
  width: 37.5rem;
  height: 37.5rem;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  filter: blur(100px);
}

.data-resources-bg .grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.data-resources .container {
  position: relative;
  z-index: 2;
}

.data-resources .section-header h2 {
  color: white;
}

.data-resources .section-header p {
  color: #94a3b8;
}

.data-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.5rem;
  margin-top: 4rem;
}

.data-bento-main {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border-radius: 1.5rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.data-bento-main-bg {
  position: absolute;
  inset: 0;
  background: url('src/Frame 1000007132.svg') no-repeat top right;
  background-size: auto 100%;
  opacity: 0.5;
}

.data-bento-main-content {
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}

.data-bento-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.data-bento-number {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.data-bento-label {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.data-bento-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.data-bento-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.data-bento-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.data-bento-card:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.data-bento-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.data-bento-card-header i {
  color: #3b82f6;
}

.data-bento-card-label {
  font-size: 1rem;
  font-weight: 500;
}

.data-bento-card-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
  .data-bento-grid {
    grid-template-columns: 1fr;
  }
  .data-bento-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .data-bento-main {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .data-resources {
    padding: 4rem 0;
  }
  .data-bento-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .data-bento-number {
    font-size: 3.5rem;
  }
  .data-bento-card-number {
    font-size: 2rem;
  }
  .data-bento-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .data-bento-secondary-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   PARTNERS (SOCIAL PROOF)
   ========================================= */
.partners {
  padding: 5rem 0;
  background: white;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.partner-logo {
  padding: 0.875rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 0.875rem;
  color: var(--slate-600);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1.4;
  min-height: 7.5rem;
}

/* Specific styles for first partner logo */
.partners-grid > .partner-logo:nth-child(1) {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.partner-logo img {
  max-height: 58px;
  max-width: 84%;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .partner-logo img {
    max-height: 52px;
  }
}

@media (max-width: 768px) {
  .partners {
    padding: 3rem 0;
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .partner-logo {
    padding: 0.75rem;
    aspect-ratio: 1.28;
    min-height: 6.5rem;
  }
  .partner-logo img {
    max-height: 44px;
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-logo img {
    max-height: 38px;
  }
}

.partner-logo:hover {
  background: white;
  color: var(--blue-600);
  border-color: var(--blue-200);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .partners {
    padding: 3rem 0;
  }
  .partners-grid {
    gap: 1rem;
  }
  .partner-logo {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
}

/* =========================================
   LIBRARY RECOMMENDATION
   ========================================= */
.library-recommendation {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--slate-100);
}

.library-rec-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.library-rec-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.library-rec-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

@media (min-width: 1024px) {
  .library-rec-content {
    flex-direction: row;
    gap: 0;
  }
}

.library-rec-left {
  flex: 0 0 28%;
  width: 100%;
  background: var(--slate-50);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

@media (min-width: 1024px) {
  .library-rec-left {
    width: 400px;
  }
}

.library-rec-screenshot-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: #fff;
}

.library-rec-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.875rem;
  background: var(--slate-100);
}

.library-rec-browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.library-rec-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-300);
}

.library-rec-browser-dots span:nth-child(1) { background: #fc5f57; }
.library-rec-browser-dots span:nth-child(2) { background: #fdbc2c; }
.library-rec-browser-dots span:nth-child(3) { background: #33c748; }

.library-rec-browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  color: var(--slate-500);
  text-align: center;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.library-rec-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.library-rec-caption {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 0.625rem;
}

.library-rec-caption img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.library-rec-caption span {
  font-size: 0.8125rem;
  color: var(--slate-600);
  font-weight: 500;
}

.library-rec-right {
  flex: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.875rem;
}

.library-rec-right-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.library-rec-right-header span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: normal;
}

.library-rec-right-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

.library-rec-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

@media (max-width: 640px) {
  .library-rec-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.library-rec-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.875rem 0.75rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 0.625rem;
  transition: all 0.2s ease;
  cursor: default;
}

.library-rec-logo-card:hover {
  background: #fff;
  border-color: var(--blue-200);
  box-shadow: 0 4px 12px rgba(37,99,235,0.08);
  transform: translateY(-2px);
}

.library-rec-logo-card img {
  height: 72px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(30%) opacity(0.85);
  transition: filter 0.2s ease;
}

.library-rec-logo-card:hover img {
  filter: grayscale(0%) opacity(1);
}

/* =========================================
   SCENARIOS
   ========================================= */
.scenarios {
  padding: 6rem 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

.scenarios-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .scenarios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .scenarios-grid { grid-template-columns: repeat(4, 1fr); } }

.scenario-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,0.6);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.scenario-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-color: var(--blue-200);
}

.scenario-img-wrap {
  height: 12rem;
  overflow: hidden;
  position: relative;
}
.scenario-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,58,138,0.2);
  z-index: 1;
  transition: background 0.3s;
}
.scenario-card:hover .scenario-img-overlay { background: rgba(30,58,138,0.1); }
.scenario-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.scenario-card:hover .scenario-img-wrap img { transform: scale(1.05); }

.scenario-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.scenario-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.scenario-icon {
  padding: 0.5rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 0.5rem;
  transition: background 0.3s, color 0.3s;
}
.scenario-card:hover .scenario-icon { background: var(--blue-600); color: #fff; }
.scenario-body h3 { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); }
.scenario-body p  { font-size: 0.875rem; color: var(--slate-600); line-height: 1.7; }

/* =========================================
   INFRASTRUCTURE
   ========================================= */
.infra {
  padding: 4rem 0;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}
.infra-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.infra-bg .blob1 {
  position: absolute; top: 0; right: 0;
  transform: translate(25%, -25%);
  width: 40rem; height: 40rem;
  background: rgba(37,99,235,0.2);
  border-radius: 50%;
  filter: blur(100px);
}
.infra-bg .blob2 {
  position: absolute; bottom: 0; left: 0;
  transform: translate(-25%, 25%);
  width: 30rem; height: 30rem;
  background: rgba(8,145,178,0.1);
  border-radius: 50%;
  filter: blur(80px);
}
.infra-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 100%);
}
.infra .container { position: relative; z-index: 10; }

.infra-inner { display: flex; flex-direction: column; gap: 2rem; }

.infra-header { text-align: center; max-width: 48rem; margin: 0 auto; }
.infra-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--blue-400);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(59,130,246,0.2);
}
.infra-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.infra-header h2 .gradient-text {
  background: linear-gradient(to right, var(--blue-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.infra-header p { color: var(--slate-300); font-size: 1rem; line-height: 1.6; }

.infra-grid {
  display: grid;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 768px) { .infra-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }

.infra-module {
  background: rgba(30,41,59,0.4);
  border-radius: 0.75rem;
  border: 1px solid rgba(51,65,85,0.5);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.infra-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--blue-500), var(--cyan-400));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.infra-module:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.15);
}
.infra-module:hover::before {
  transform: scaleX(1);
}

.infra-module-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(51,65,85,0.3);
}
.infra-module-icon-wrap {
  padding: 0.5rem;
  background: rgba(59,130,246,0.1);
  border-radius: 0.5rem;
  color: var(--blue-400);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.infra-module:hover .infra-module-icon-wrap {
  background: rgba(59,130,246,0.2);
  transform: scale(1.05);
}
.infra-module-header h3 { font-size: 1.125rem; font-weight: 700; color: var(--slate-100); }

.infra-module-points { display: flex; flex-direction: column; gap: 0.75rem; }
.infra-point { display: flex; align-items: flex-start; gap: 0.75rem; }
.infra-point-icon {
  margin-top: 2px;
  background: var(--slate-900);
  padding: 0.375rem;
  border-radius: 0.375rem;
  border: 1px solid var(--slate-700);
  color: var(--slate-400);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.infra-module:hover .infra-point-icon {
  color: var(--blue-400);
  border-color: rgba(59,130,246,0.3);
  transform: scale(1.1);
}
.infra-point-text h4 { font-size: 0.875rem; font-weight: 700; color: var(--slate-200); margin-bottom: 4px; }
.infra-point-text p  { font-size: 0.875rem; color: var(--slate-400); line-height: 1.5; margin: 0; }

.infra-summary {
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
  padding-top: 1rem;
}
.infra-summary-label {
  color: var(--slate-400);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-align: center;
}
.infra-summary-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px)  { .infra-summary-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .infra-summary-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.infra-summary-card {
  background: rgba(30,41,59,0.3);
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px solid rgba(51,65,85,0.3);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.infra-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--blue-500), var(--cyan-400));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.infra-summary-card:hover {
  background: rgba(30,41,59,0.5);
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.1);
}
.infra-summary-card:hover::before {
  transform: scaleX(1);
}
.infra-summary-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  margin-bottom: 0.5rem;
  color: var(--blue-500);
  transition: all 0.3s ease;
}
.infra-summary-card:hover .infra-summary-check {
  transform: scale(1.1);
  border-color: rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.1);
}
.infra-summary-card h5 { font-size: 0.875rem; font-weight: 700; color: var(--blue-400); margin-bottom: 0.375rem; }
.infra-summary-card p  { font-size: 0.75rem; color: var(--slate-300); line-height: 1.5; margin: 0; }

/* =========================================
   PRICING
   ========================================= */
.pricing {
  padding: 6rem 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  transform: translate(33%, -50%);
  width: 50rem; height: 50rem;
  background: var(--slate-50);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.pricing .container { position: relative; z-index: 10; }

.pricing .section-header {
  max-width: 48rem;
  margin-bottom: 3rem;
}
.pricing .section-header h2 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .pricing .section-header h2 { font-size: 2.25rem; } }

.plans-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 768px)  { .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .plans-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
@media (min-width: 1280px) { .plans-grid { gap: 1.5rem; } }

.plan-card {
  border-radius: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card.normal {
  background: #fff;
  border: 1px solid var(--slate-200);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  color: var(--slate-900);
}
.plan-card.normal:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-color: var(--slate-300);
  transform: translateY(-4px);
}
.plan-card.highlight {
  background: var(--slate-900);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  color: #fff;
  ring: 1px solid var(--slate-800);
}
@media (min-width: 1024px) { .plan-card.highlight { transform: scale(1.05); z-index: 10; } }

.plan-badge {
  position: absolute;
  top: -1rem; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--blue-500), var(--cyan-400));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.375rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  max-width: calc(100% - 2rem);
  white-space: normal;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.plan-header {
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid;
  text-align: left;
}
.plan-card.normal    .plan-header { border-color: var(--slate-100); }
.plan-card.highlight .plan-header { border-color: var(--slate-800); }
.plan-header h3 { font-size: 1.125rem; font-weight: 700; }

.plan-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}

.plan-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  text-align: left;
}
.plan-card.normal    .plan-label { color: var(--slate-400); }
.plan-card.highlight .plan-label { color: var(--slate-500); }

.plan-text {
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: left;
  margin: 0;
}
.plan-card.normal    .plan-text.scenario { color: var(--slate-600); }
.plan-card.highlight .plan-text.scenario { color: var(--slate-300); }
.plan-card.normal    .plan-text.feature  { color: var(--slate-700); font-weight: 600; font-size: 0.875rem; }
.plan-card.highlight .plan-text.feature  { color: var(--slate-200); font-weight: 600; font-size: 0.875rem; }

/* Collaboration plan detail */
.collab-detail {
  margin-top: 3rem;
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
@media (min-width: 768px) { .collab-detail { flex-direction: row; } }

.collab-left {
  background: var(--slate-50);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-100);
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) {
  .collab-left { width: 33.33%; border-bottom: none; border-right: 1px solid var(--slate-100); padding: 3rem 4rem; }
}

.collab-left h3 { font-size: 1.5rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.75rem; }
.collab-left .sub { color: var(--slate-700); font-weight: 700; font-size: 0.875rem; margin-bottom: 0.5rem; }
.collab-left .desc { font-size: 0.875rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 2rem; }

.price-label { font-size: 0.75rem; color: var(--slate-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.price-amount .amount { font-size: 1.875rem; font-weight: 800; color: var(--slate-900); }
.price-amount .period { font-size: 0.875rem; color: var(--slate-500); font-weight: 500; }

.collab-btns { display: flex; flex-direction: column; gap: 0.75rem; }
.btn-collab-primary {
  width: 100%;
  background: var(--blue-600);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  text-align: center;
  transition: background 0.2s;
  box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}
.btn-collab-primary:hover { background: var(--blue-500); }
.btn-collab-secondary {
  width: 100%;
  background: #fff;
  color: var(--slate-700);
  font-weight: 700;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  font-size: 0.875rem;
  text-align: center;
  transition: background 0.2s;
}
.btn-collab-secondary:hover { background: var(--slate-50); }

.collab-right {
  padding: 1.75rem;
  display: grid;
  gap: 2rem 3rem;
  background: #fff;
  position: relative;
  z-index: 10;
}
@media (min-width: 640px)  { .collab-right { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .collab-right { width: 66.67%; padding: 2.5rem 3rem; } }

.collab-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
}
.collab-list { display: flex; flex-direction: column; gap: 0.875rem; }
.collab-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.collab-list .check { color: var(--blue-500); flex-shrink: 0; margin-top: 2px; }
.collab-list span { font-size: 0.875rem; color: var(--slate-600); font-weight: 500; line-height: 1.6; white-space: normal; }

/* =========================================
   SERVICE GUARANTEE
   ========================================= */


/* =========================================
   FAQ
   ========================================= */
.faq {
  padding: 6rem 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}
.faq .section-header h2 { font-size: 1.875rem; }

.faq-list { display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
}
.faq-question span {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 1.125rem;
}
.faq-chevron {
  color: var(--slate-400);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* =========================================
   FINAL CTA
   ========================================= */
.final-cta {
  padding: 6rem 0;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.final-cta-bg .center-blob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50rem; height: 50rem;
  background: rgba(37,99,235,0.2);
  border-radius: 50%; filter: blur(120px);
}
.final-cta-bg .top-blob {
  position: absolute; top: -50%; left: 25%;
  width: 37.5rem; height: 37.5rem;
  background: rgba(6,182,212,0.1);
  border-radius: 50%; filter: blur(100px);
}
.final-cta-bg .bottom-blob {
  position: absolute; bottom: -50%; right: 25%;
  width: 31.25rem; height: 31.25rem;
  background: rgba(99,102,241,0.1);
  border-radius: 50%; filter: blur(80px);
}
.final-cta-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 100%);
  opacity: 0.5;
}
.final-cta-bg .top-gradient {
  position: absolute; top: 0; left: 0; right: 0;
  height: 8rem;
  background: linear-gradient(to bottom, var(--slate-900), transparent);
}
.final-cta .container { position: relative; z-index: 10; text-align: center; }

.final-cta h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .final-cta h2 { font-size: 2.25rem; } }
.final-cta p {
  font-size: 1.125rem;
  color: var(--slate-300);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 640px) {
  .final-cta-btns { flex-direction: row; justify-content: center; gap: 1.5rem; }
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, var(--blue-600), var(--blue-500));
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(37,99,235,0.4);
  width: 100%;
}
.btn-cta-primary:hover {
  background: linear-gradient(to right, var(--blue-500), var(--blue-400));
  box-shadow: 0 0 30px rgba(37,99,235,0.6);
  transform: translateY(-4px);
}
@media (min-width: 640px) { .btn-cta-primary { width: auto; } }

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(30,41,59,0.8);
  color: #fff;
  border: 1px solid rgba(100,116,139,0.5);
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  backdrop-filter: blur(12px);
  transition: background 0.2s, border-color 0.2s;
  width: 100%;
}
.btn-cta-secondary:hover { background: var(--slate-700); border-color: var(--slate-500); }
@media (min-width: 640px) { .btn-cta-secondary { width: auto; } }

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--slate-300);
  border: 1px solid var(--slate-700);
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  width: 100%;
}
.btn-cta-ghost:hover { background: rgba(30,41,59,0.5); color: #fff; border-color: var(--slate-600); }
@media (min-width: 640px) { .btn-cta-ghost { width: auto; } }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 3rem 0;
  border-top: 1px solid var(--slate-800);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .footer-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .footer-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
.footer-logo img { height: 2rem; width: auto; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-top: 1px solid var(--slate-800);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .footer-bottom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 2rem;
  }
  .footer-bottom p {
    margin: 0;
  }
  .footer-bottom p:nth-child(2) {
    flex: 1;
    text-align: center;
  }
  .footer-bottom p:last-child {
    text-align: right;
  }
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-social {
    align-items: flex-end;
  }
}
.footer-social-title {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin: 0;
}
.footer-social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--slate-400);
  transition: all 0.3s ease;
}
.social-link:hover {
  transform: translateY(-2px);
}
.social-link img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.social-link-wechat {
  position: relative;
}
.wechat-qrcode {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 16px;
  padding: 16px;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 100;
  min-width: 180px;
}
.social-link-wechat:hover .wechat-qrcode {
  display: block;
  animation: fadeInUp 0.2s ease-out;
}
.social-link-wechat.open .wechat-qrcode {
  display: block;
  animation: fadeInUp 0.2s ease-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.wechat-qrcode img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 8px;
}
.wechat-qrcode p {
  margin: 12px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-300);
  text-align: center;
}

/* =========================================
   CONTACT MODAL
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
@media (min-width: 640px) { .modal-overlay { padding: 1.5rem; } }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.4);
  backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 28rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  animation: modal-in 0.2s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.5rem;
  color: var(--slate-400);
  border-radius: var(--radius-full);
  transition: color 0.15s, background 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--slate-600); background: var(--slate-100); }
.modal-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}
.modal-card > p {
  font-size: 0.875rem;
  color: var(--slate-500);
  text-align: center;
  margin-bottom: 1.5rem;
}
.modal-email-box {
  width: 100%;
  background: var(--slate-50);
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--slate-100);
}
.modal-email-box .label { font-size: 0.875rem; font-weight: 500; color: var(--slate-500); margin-bottom: 4px; }
.modal-email-box a {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  text-align: center;
  word-break: break-all;
  transition: color 0.15s;
}
.modal-email-box a:hover { color: var(--blue-700); }
.modal-divider { width: 100%; height: 1px; background: var(--slate-100); margin: 1.5rem 0; }
.modal-qr-section { width: 100%; display: flex; flex-direction: column; align-items: center; }
.modal-qr-section .qr-label { font-size: 0.875rem; font-weight: 500; color: var(--slate-500); margin-bottom: 1.5rem; }
.modal-qr-wrap {
  width: 12rem; height: 12rem;
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 0.5rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  background: #fff;
}
.modal-qr-wrap img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================
   RESPONSIVE REFINEMENTS
   ========================================= */
@media (max-width: 1024px) {
  .cap-layout {
    gap: 1.25rem;
  }

  .library-rec-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }

  .navbar-inner {
    height: 3.75rem;
  }

  .navbar-logo img {
    height: 1.75rem;
  }

  .hero {
    padding-top: 6.75rem;
    padding-bottom: 4rem;
  }

  .hero-subtitle {
    margin-bottom: 2rem;
  }

  .hero-feature-card {
    padding: 1.25rem;
  }

  .hero-ctas {
    width: 100%;
    max-width: 26rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.875rem;
    line-height: 1.25;
  }

  .section-header p {
    font-size: 1rem;
  }

  .value-prop,
  .product-arch,
  .core-cap,
  .scenarios,
  .pricing,
  .faq,
  .final-cta {
    padding: 4.5rem 0;
  }

  .bento-card {
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: 1.25rem;
  }

  .bento-card h3 {
    font-size: 1.25rem;
  }

  .bento-visual {
    height: 13rem;
  }

  .arch-layer-left,
  .arch-layer-right {
    padding: 1.25rem;
  }

  .arch-tag {
    font-size: 0.8125rem;
    padding: 0.45rem 0.75rem;
  }

  .data-bento-grid {
    margin-top: 3rem;
  }

  .data-bento-main {
    padding: 2rem;
    min-height: 18rem;
  }

  .data-bento-label {
    font-size: 1.25rem;
  }

  .partner-logo {
    aspect-ratio: 1.75;
  }

  .library-recommendation {
    margin-top: 3rem;
    padding-top: 2rem;
  }

  .library-rec-header h3 {
    font-size: 1.5rem;
  }

  .library-rec-content {
    border-radius: 1rem;
  }

  .library-rec-left,
  .library-rec-right {
    padding: 1rem;
  }

  .library-rec-logo-card {
    padding: 1.25rem 0.75rem;
  }

  .library-rec-logo-card img {
    height: 56px;
  }

  .collab-left,
  .collab-right {
    padding: 1.25rem;
  }

  .collab-left h3 {
    font-size: 1.25rem;
  }

  .price-amount .amount {
    font-size: 1.625rem;
  }

  .faq-question {
    padding: 1.125rem 1rem;
    align-items: flex-start;
  }

  .faq-question span {
    font-size: 1rem;
    line-height: 1.5;
  }

  .faq-answer {
    padding: 0 1rem 1.25rem;
  }

  .final-cta p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .footer {
    padding: 2.5rem 0;
  }

  .wechat-qrcode {
    position: static;
    transform: none;
    margin: 0.75rem auto 0;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    flex-wrap: nowrap;
    gap: 0.125rem;
  }

  .hero h1 .logo-img {
    height: 2.15rem;
  }

  .hero h1 .gradient-text {
    font-size: 1.95rem;
    white-space: nowrap;
  }

  .hero-subtitle {
    max-width: 18rem;
  }

  .data-bento-secondary-grid,
  .library-rec-logos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 6.5rem;
  }

  .hero h1 .logo-img {
    height: 1.95rem;
  }

  .hero h1 .gradient-text {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    max-width: 15rem;
  }

  .data-bento-main {
    padding: 1.5rem;
  }

  .data-bento-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
  }

  .data-bento-number {
    font-size: 2.75rem;
  }

  .data-bento-label {
    font-size: 1.125rem;
  }

  .partner-logo {
    aspect-ratio: 1.6;
  }

  .partner-logo img {
    max-height: 36px;
  }

  .library-rec-browser-url {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
  }

  .plan-badge {
    top: -0.875rem;
    padding: 0.35rem 0.875rem;
    font-size: 0.75rem;
  }

  .modal-card {
    padding: 1.5rem 1rem;
  }

  .modal-qr-wrap {
    width: 10rem;
    height: 10rem;
  }

  .modal-email-box a {
    font-size: 1rem;
  }
}
