/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Premium Indigo Theme Sync */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --primary-rgb: 99, 102, 241;
  --secondary: #10b981;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-gray: #f8fafc;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --design-accent: #18e299;
  --design-accent-soft: #d4fae8;
  --design-ink: #0d0d0d;
  --nav-bg: rgba(255, 255, 255, 0.85);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --surface: #ffffff;
  --surface-muted: #f6f8fb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --focus-ring: 0 0 0 3px rgba(24, 226, 153, 0.28);
}

.glass {
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  z-index: 1000;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 16px 0;
  gap: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.logo-icon {
  font-size: 28px;
}

.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  border-radius: 999px;
  padding: 7px 9px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #047857;
  background: rgba(24, 226, 153, 0.12);
}

.lang-switch-container {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  order: 99;
  padding: 3px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  box-shadow: rgba(0, 0, 0, 0.03) 0 1px 2px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: #666666;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.lang-switch:hover {
  color: var(--design-ink);
  background: #f5f5f5;
}

.lang-switch.active {
  background: var(--design-ink);
  color: white;
}

.lang-switch:focus-visible {
  border-color: var(--design-accent);
  outline: 1px solid var(--design-accent);
  outline-offset: 2px;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.cta-button {
  background: var(--design-ink);
  color: white !important;
  padding: 9px 18px;
  border-radius: 9999px;
  transition: transform 0.3s;
  box-shadow: rgba(0, 0, 0, 0.06) 0 1px 2px;
}

.cta-button:hover {
  transform: translateY(-2px);
  color: white;
  opacity: 0.9;
}

.admin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-gray);
  color: var(--primary);
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.admin-link:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.user-email {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea10 0%, #764ba230 100%);
}

.hero-bg {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: var(--gradient);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(100px);
}

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

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 36px;
  align-items: center;
  text-align: left;
}

.hero-copy {
  max-width: 620px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.hero-support-card {
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.hero-support-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
}

.hero-support-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge {
  display: inline-block;
  background: white;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: var(--ink);
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
}

.play-icon {
  font-size: 12px;
}

.hero-code {
  max-width: 100%;
  background: #1a202c;
  border-radius: 28px;
  padding: 28px;
  text-align: left;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.hero-code pre {
  margin: 0;
}

.hero-code code {
  color: #e2e8f0;
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.8;
}

.code-comment {
  color: #68d391;
}
.code-keyword {
  color: #f687b3;
}
.code-string {
  color: #fbd38d;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: white;
}

.stats-refined {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stats-refined .stat-item {
  padding: 24px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.07);
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

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

.landing-panel-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.09), transparent 42%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header-tight {
  max-width: 760px;
  margin: 0 auto 56px;
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.pain-point-card {
  min-height: 100%;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.08);
}

.pain-point-primary {
  border-top: 4px solid #6366f1;
}

.pain-point-success {
  border-top: 4px solid #10b981;
}

.pain-point-warning {
  border-top: 4px solid #f59e0b;
}

.pain-point-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 32px;
  margin-bottom: 20px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pain-point-card h3 {
  margin-bottom: 14px;
  color: #1e293b;
  font-size: 24px;
  font-weight: 800;
}

.pain-point-card ul {
  margin: 0;
  padding-left: 20px;
  color: #64748b;
  line-height: 1.8;
}

.pain-point-card li + li {
  margin-top: 10px;
}

.solution-bridge {
  display: flex;
  justify-content: center;
  margin: 0 0 34px;
}

.solution-bridge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  color: white;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 22px 48px rgba(99, 102, 241, 0.34);
}

.solution-panel {
  padding: 56px 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, #111827 0%, #1e293b 45%, #4f46e5 100%);
  color: white;
  text-align: center;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.24);
}

.solution-panel h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.1;
}

.solution-panel-copy {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.solution-panel-copy strong {
  font-size: 1.08em;
  color: white;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 28px;
}

.solution-card {
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.solution-card-value {
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
}

.solution-card-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.solution-panel-actions {
  margin-top: 12px;
}

.solution-btn {
  background: white;
  color: #4338ca;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.solution-panel-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.business-model-refined {
  padding: 96px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.model-card {
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.07);
}

.model-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: #4338ca;
  font-size: 12px;
  font-weight: 900;
}

.model-card h3 {
  margin-bottom: 10px;
  color: #1e293b;
  font-size: 28px;
  line-height: 1.2;
}

.model-card h4 {
  margin-bottom: 12px;
  color: #475569;
  font-size: 18px;
}

.model-card p {
  color: #64748b;
  line-height: 1.75;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-gray);
}

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

.section-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

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

.feature-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Framework Support Section */
.frameworks {
  padding: 100px 0;
  background: white;
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.framework-card {
  background: var(--bg-gray);
  padding: 32px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.framework-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.framework-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--gradient);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}

.framework-card.vue .framework-logo {
  background: linear-gradient(135deg, #42b883 0%, #35495e 100%);
}

.framework-card.react .framework-logo {
  background: linear-gradient(135deg, #61dafb 0%, #21a0c6 100%);
}

.framework-card.angular .framework-logo {
  background: linear-gradient(135deg, #dd0031 0%, #c3002f 100%);
}

.framework-card.svelte .framework-logo {
  background: linear-gradient(135deg, #ff3e00 0%, #ff6347 100%);
}

.framework-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.framework-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.framework-note {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #667eea15 0%, #764ba225 100%);
  border-radius: 12px;
}

.framework-note p {
  font-size: 16px;
  color: var(--text);
  margin: 0;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: white;
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefit-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.benefit-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.benefit-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-item p {
  color: var(--text-light);
  line-height: 1.8;
}

.comparison-card {
  background: var(--bg-gray);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.comparison-header {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 24px;
  text-align: center;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.comparison-row span:first-child {
  font-weight: 600;
}

.bad {
  color: #e53e3e;
}
.good {
  color: #38a169;
}

/* Use Cases */
.use-cases {
  padding: 100px 0;
  background: var(--bg-gray);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.use-case-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.use-case-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.use-case-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.use-case-card p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.use-case-code {
  background: #1a202c;
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}

.use-case-code code {
  color: #e2e8f0;
  font-family: "Fira Code", monospace;
  font-size: 13px;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--gradient);
  color: white;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  padding: 24px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(49, 46, 129, 0.28);
  backdrop-filter: blur(10px);
}

.cta-content {
  text-align: left;
  padding: 22px;
}

.cta-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

.btn-outline-large {
  padding: 18px 40px;
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-large:hover {
  background: white;
  color: var(--primary);
}

.github-icon {
  font-size: 20px;
}

.cta-features {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.cta-side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-side-card {
  min-height: 0;
  padding: 24px;
  border-radius: 24px;
  background: rgba(10, 14, 33, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-side-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-side-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.cta-side-card p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.check {
  font-size: 20px;
  font-weight: 900;
}

.x {
  font-size: 20px;
  font-weight: 900;
  color: #e53e3e;
  opacity: 0.6;
}


/* Footer */
.footer {
  background: #1a202c;
  color: white;
  padding: 60px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-section a {
  display: block;
  color: #a0aec0;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: #a0aec0;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #2d3748;
  color: #a0aec0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-content {
    gap: 10px;
  }
  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }
  .logo-text {
    white-space: nowrap;
  }
  .lang-switch-container {
    order: 97;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
    order: 98;
    margin-left: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
  }
  .nav-links:not(.show-mobile-nav) {
    display: none;
  }
  .nav-links.show-mobile-nav {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    z-index: 1001;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.show-mobile-nav a {
    width: 100%;
    padding: 10px 12px;
  }
  .nav-links.show-mobile-nav .auth-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-shell,
  .pain-points-grid,
  .solution-grid,
  .model-grid,
  .cta-shell {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: none;
  }
  .hero-content,
  .hero-shell,
  .cta-content {
    text-align: center;
  }
  .hero-buttons,
  .cta-buttons,
  .cta-features {
    justify-content: center;
  }
  .hero-support-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .frameworks-grid {
    grid-template-columns: 1fr;
  }
  .benefits-content {
    grid-template-columns: 1fr;
  }
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-buttons {
    flex-direction: column;
  }
  .solution-panel {
    padding: 34px 22px;
  }
  .solution-panel h2,
  .cta-title {
    font-size: 34px;
  }
  .solution-panel-copy,
  .cta-subtitle {
    font-size: 18px;
  }
  .cta-shell {
    padding: 16px;
  }
  .cta-content {
    padding: 14px 8px;
  }
  .cta-features {
    flex-direction: column;
    align-items: center;
  }
  .pricing-page-container {
    padding-top: 88px;
  }
  .pricing {
    padding: 72px 0 64px;
  }
  .pricing-hero {
    margin-bottom: 24px;
  }
  .pricing-hero-metrics {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .pricing-hero-metrics > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .pricing-hero-metrics > div:last-child {
    border-bottom: 0;
  }
  .pricing-explainer {
    padding: 20px;
  }
  .pricing-tier-grid,
  .pricing-detail-grid,
  .pricing-explainer-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 28px 24px;
  }
  .pricing-explainer,
  .pricing-panel,
  .pricing-addon-card,
  .pricing-card {
    border-radius: 14px;
  }
  .pricing-addon-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .addon-action {
    width: 100%;
    text-align: left !important;
  }
  .topup-wrapper,
  .addons-section .addon-card,
  .pricing-detail-grid > div {
    padding: 24px !important;
  }
  .features-page-shell {
    padding-top: 88px;
  }
  .features-hero {
    padding: 40px 0 32px;
  }
  .features-hero h1 {
    font-size: 40px;
  }
  .features-table-shell,
  .ios-limitations {
    border-radius: 16px;
  }
  .ios-limitations {
    padding: 22px;
  }
  .ios-limitations-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeInUp 0.8s ease-out;
}

.hero-content > *:nth-child(2) {
  animation-delay: 0.1s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 0.2s;
}
.hero-content > *:nth-child(4) {
  animation-delay: 0.3s;
}
.hero-content > *:nth-child(5) {
  animation-delay: 0.4s;
}

/* Contact Form Styles */
.contact-form {
  margin-top: 15px;
}

.contact-form .form-group {
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: white;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
  height: 80px;
  resize: vertical;
}

.contact-form .btn-submit {
  width: 100%;
  padding: 10px;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-form .btn-submit:hover {
  background: #f7fafc;
  transform: translateY(-2px);
}

/* Pricing Section */
.pricing-page {
  background: #f7f8fb;
}

.pricing-page-container {
  min-height: calc(100vh - 400px);
}

.pricing {
  padding: 112px 0 96px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 248, 251, 0.98) 36%, #f7f8fb 100%);
}

.pricing-hero {
  max-width: 940px;
  margin: 0 auto 34px;
  text-align: center;
}

.pricing-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: var(--surface);
  color: #047857;
  font-size: 13px;
  font-weight: 700;
}

.pricing-hero .section-title {
  margin-bottom: 14px;
  color: var(--ink);
}

.pricing-hero .section-subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
}

.pricing-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.pricing-hero-metrics > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.pricing-hero-metrics > div:last-child {
  border-right: 0;
}

.pricing-hero-metrics span {
  display: block;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.pricing-hero-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-tier-grid {
  align-items: stretch;
}

.pricing-explainer {
  max-width: 1100px;
  margin: 0 auto 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.pricing-explainer-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pricing-explainer-header h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.pricing-explainer-header p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-explainer-cta {
  white-space: nowrap;
}

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

.pricing-explainer-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-muted);
}

.pricing-explainer-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
}

.pricing-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.pricing-operations {
  max-width: 1100px;
  margin: 34px auto 0;
}

.pricing-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.pricing-panel h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 19px;
}

.pricing-usage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-usage-list li {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #334155;
  font-weight: 600;
}

.pricing-usage-list li:last-child {
  border-bottom: 0;
}

.pricing-addon-section {
  margin: 54px auto 0;
  max-width: 880px;
}

.pricing-addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.pricing-addon-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.pricing-addon-card p {
  margin: 0;
  color: var(--muted);
}

.addon-action {
  flex: 0 0 auto;
  text-align: right;
}

.addon-price {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.addon-cta {
  padding: 10px 18px;
  font-size: 14px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 226, 153, 0.55);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.pricing-card.popular {
  border: 1px solid rgba(24, 226, 153, 0.72);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.1);
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}


/* Features Page: Mintlify-inspired documentation surface */
.features-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(24, 226, 153, 0.16), rgba(255, 255, 255, 0) 360px),
    #ffffff;
}

.features-page-shell {
  padding: 104px 0 80px;
}

.features-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0 48px;
  text-align: center;
}

.features-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 9999px;
  background: #d4fae8;
  color: #0f7a54;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.features-hero h1 {
  margin: 0;
  color: #0d0d0d;
  font-size: clamp(42px, 7vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.features-hero p {
  margin: 18px auto 0;
  max-width: 620px;
  color: #666666;
  font-size: 18px;
  line-height: 1.55;
}

.features-table-shell {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.03) 0 2px 4px;
}

.features-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #ffffff;
}

.features-table th,
.features-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.features-table th {
  position: sticky;
  top: 70px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  color: #666666;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.features-table td:first-child {
  color: #0d0d0d;
  font-weight: 600;
}

.features-table td:nth-child(2) {
  color: #666666;
  line-height: 1.5;
}

.features-table tr:last-child td {
  border-bottom: none;
}

.features-table tr:hover {
  background: #fafafa;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.status-ready { background: #e6f4ea; color: #1e7e34; }
.status-beta { background: #fff3cd; color: #856404; }

.api-code {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  background: #fafafa;
  color: #0d0d0d;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.ios-limitations {
  margin-top: 64px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.03) 0 2px 4px;
}

.ios-limitations h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #0d0d0d;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0;
}

.ios-limitations-intro {
  max-width: 760px;
  margin: 0 0 28px;
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
}

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

.ios-limit-card {
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.03) 0 2px 4px;
}

.ios-limit-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #0d0d0d;
  font-size: 18px;
  font-weight: 600;
}

.ios-limit-card p,
.ios-limit-card li {
  color: #666666;
  line-height: 1.65;
}

.ios-limit-card ul {
  margin: 0;
  padding-left: 20px;
}

.ios-limitations-note {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(24, 226, 153, 0.28);
  border-radius: 16px;
  background: #f4fff9;
}

.ios-limitations-note p {
  margin: 0;
  color: #333333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-page-shell {
    padding-top: 88px;
  }
  .features-hero {
    padding: 40px 0 32px;
  }
  .features-hero h1 {
    font-size: 40px;
  }
  .features-table-shell,
  .ios-limitations {
    border-radius: 16px;
  }
  .ios-limitations {
    padding: 22px;
  }
  .ios-limitations-grid {
    grid-template-columns: 1fr;
  }
}

.plan-name {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.plan-price {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.plan-desc {
  min-height: 48px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pricing-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pricing-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 18px;
}

.plan-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 800;
}

.credit-badge {
  display: inline-flex;
  justify-content: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.credit-badge-neutral {
  background: #f1f5f9;
  color: #334155;
}

.credit-badge-primary {
  background: var(--design-accent-soft);
  color: #047857;
}

.credit-badge-success {
  background: #ecfdf5;
  color: #065f46;
}

.plan-features {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

.plan-features .check {
  color: #059669;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.5;
}

.pricing-policy-note {
  margin: auto 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
}

/* --- Tooltip Styles --- */
.nativify-tooltip {
  position: absolute;
  z-index: 9999;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nativify-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.tooltip-content {
  background: #1e293b;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  max-width: 250px;
  text-align: center;
  position: relative;
  line-height: 1.5;
}

.tooltip-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #1e293b;
}

/* Info Icon Utility */
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-light);
  font-size: 11px;
  cursor: help;
  margin-left: 4px;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.info-icon:hover {
  background: var(--primary);
  color: white;
}
/* Top-up Cards & Locked State */
.topup-card {
  position: relative;
  flex: 1 1 190px;
  min-width: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.topup-card h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.topup-price {
  color: #047857;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.topup-credits {
  margin: 10px 0 0;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.topup-lock-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #94a3b8;
}

.topup-notice {
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
}

.topup-notice-warning {
  background: #fffbeb;
  color: #92400e;
}

.topup-hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.topup-cta {
  width: 100%;
  margin-top: 12px;
  padding: 9px;
  font-size: 12px;
  text-align: center;
}

.topup-policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
}

.topup-policy i {
  margin-top: 3px;
  color: #d97706;
}

.topup-policy p {
  margin: 0;
  color: #92400e;
  font-size: 13px;
  line-height: 1.55;
}

.topup-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topup-card:not(.locked):hover {
  transform: translateY(-4px);
  border-color: rgba(24, 226, 153, 0.55);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.topup-card.locked {
  background: #f8fafc;
  opacity: 0.86;
  border-style: dashed !important;
  user-select: none;
}

.topup-card.locked .topup-price {
  color: #94a3b8;
}

.topup-card .btn {
  transition: all 0.2s;
}

.topup-card .btn:hover {
  filter: brightness(1.1);
}
