:root {
  --bg: #09090b;
  --bg-gradient: radial-gradient(circle at 50% -20%, #1e1b4b 0%, #09090b 60%);
  --panel: rgba(24, 24, 27, 0.6);
  --panel-hover: rgba(39, 39, 42, 0.7);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dark: #d4d4d8;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.4);
  --accent-2: #818cf8;
  --border: rgba(63, 63, 70, 0.4);
  --border-light: rgba(82, 82, 91, 0.6);
  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

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

body, html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  width: min(1200px, 100% - 3rem);
  margin: 0 auto;
}

/* ───── Background Effects ───── */

.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -2;
}

.glow-bg {
  position: absolute;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.15), transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

.glow-bg-2 {
  position: absolute;
  top: 45%;
  right: -20vw;
  width: 60vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.1), transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

/* ───── Header ───── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}

.glass {
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
  min-height: 90px;
  height: auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  vertical-align: middle;
  object-fit: contain;
  margin: 0;
}

.nav {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a:not(.btn-sm) {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover:not(.btn-sm) {
  color: var(--text);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: -0.5rem;
}

.lang-toggle a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.lang-toggle a:hover {
  color: var(--text);
}

.lang-toggle .active {
  color: var(--text);
}

.lang-toggle .separator {
  color: var(--border-light);
  font-weight: 400;
}

/* ───── Buttons ───── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.full-width { width: 100%; }
.mt-4 { margin-top: 1rem; }

/* ───── Hero ───── */

.hero {
  padding: 7rem 0 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-brand {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
  line-height: 1.1;
  filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.15));
}

.hero-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.hero-copy {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.social-proof p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.chips {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chip {
  padding: 0.4rem 1rem;
  border-radius: 99px;
  background: var(--panel);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-dark);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.image-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ───── Sections ───── */

.section {
  padding: 5rem 0;
  position: relative;
}

.metrics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(24,24,27,0.3) 0%, transparent 100%);
}

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

.text-center {
  text-align: center;
}

.text-center .eyebrow {
  justify-content: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.25;
}

/* ───── Metrics ───── */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.metric-card {
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  border-top: 2px solid transparent;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--accent);
}

.metric-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.metric-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.metric-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ───── Split Section (How It Works) ───── */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.steps-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 48px;
  width: 2px;
  height: calc(100% - 16px);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.3), transparent);
}

.step-num {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.step-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.split-image {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: visible;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  height: 100%;
  min-height: 400px;
}

.split-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-img {
  width: 100%;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.split-image:hover .dashboard-img {
  transform: scale(1);
}

/* ───── Who It's For (Audience) ───── */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.audience-card {
  padding: 2.5rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.audience-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}

.audience-card:hover::before {
  opacity: 1;
}

.audience-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.audience-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.audience-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.audience-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.audience-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ───── Capabilities ───── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border-top: 2px solid transparent;
}

.feature-card:hover {
  background: var(--panel-hover);
  border-color: var(--border-light);
  border-top-color: var(--accent-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -10px rgba(0,0,0,0.4);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ───── Business Request Form ───── */

.request-wrapper {
  padding: 3rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.request-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.request-header {
  margin-bottom: 2rem;
}

.request-header h2 {
  margin-bottom: 0.75rem;
}

.request-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.location-map {
  height: 250px;
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  z-index: 1; /* Keep below dropdowns/header */
}

.setup-details {
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.2);
}

.setup-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  list-style: none;
  user-select: none;
}

.setup-summary::-webkit-details-marker { display: none; }

.setup-summary::after {
  content: "▸";
  margin-left: auto;
  transition: transform 0.2s ease;
  font-size: 0.8rem;
}

details[open] .setup-summary::after {
  transform: rotate(90deg);
}

.setup-icon {
  font-size: 1.1rem;
}

.setup-status {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  background: rgba(248, 113, 113, 0.1);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.2);
  font-weight: 600;
}

.setup-status.setup-ok {
  background: rgba(52, 211, 153, 0.1);
  color: var(--success);
  border-color: rgba(52, 211, 153, 0.2);
}

.setup-body {
  padding: 0 1.25rem 1.25rem;
}

.setup-help {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.setup-save-btn {
  align-self: flex-end;
  margin-top: 1.65rem;
  flex-shrink: 0;
}

.biz-form-grid {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.label-hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.flex-grow { flex: 1; }

.btn-geo {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

/* geo button handled by JS textContent */

/* Business result card */

.biz-result {
  margin-top: 2rem;
}

.result-card {
  padding: 1.5rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.result-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.result-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.result-success {
  background: rgba(52, 211, 153, 0.05);
  border-color: rgba(52, 211, 153, 0.3);
}

.result-success h4 {
  color: var(--success);
}

.result-error {
  background: rgba(248, 113, 113, 0.05);
  border-color: rgba(248, 113, 113, 0.3);
}

.result-error h4 {
  color: var(--danger);
}

/* ───── Developer Console ───── */

.console-section {
  padding-bottom: 8rem;
}

.console-wrapper {
  padding: 3rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.console-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.console-header {
  margin-bottom: 2rem;
}

.console-header h2 {
  margin-bottom: 0.5rem;
}

.console-header p {
  color: var(--text-muted);
}

.api-example-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.api-chip {
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 500;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.panel {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.panel-span-2 {
  grid-column: 1 / -1;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.panel-head h3 {
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.half {
  flex: 1;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.input-modern {
  width: 100%;
  background-color: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.input-modern:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.input-modern::placeholder {
  color: var(--border-light);
}

textarea.input-modern {
  resize: vertical;
  min-height: 80px;
}

select.input-modern {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1aa' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.input-modern:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2338bdf8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

select.input-modern option {
  background-color: var(--bg);
  color: var(--text);
}

.agent-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.benefit-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.badge-neutral {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-success {
  background: rgba(52, 211, 153, 0.1);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.status-warn {
  background: rgba(251, 191, 36, 0.1);
  color: var(--warn);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-error {
  background: rgba(248, 113, 113, 0.1);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.checkbox-modern {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  user-select: none;
  margin-top: 1rem;
}

.checkbox-modern input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.checkbox-modern:hover input ~ .checkmark {
  border-color: var(--accent);
}

.checkbox-modern input:checked ~ .checkmark {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-modern input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-modern .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.output-panel {
  margin-top: 2rem;
}

.code-block {
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: #a1a1aa;
  max-height: 400px;
}

/* ───── CTA Banner ───── */

.cta-section {
  padding-bottom: 0;
}

.cta-banner {
  padding: 4rem 3rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(129, 140, 248, 0.08) 0%, transparent 50%),
    var(--panel);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ───── Footer ───── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
  margin-top: 5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(24,24,27,0.4) 100%);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 32px;
  width: auto;
  display: block;
}

.footer-copy {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ───── Responsive ───── */

@media (max-width: 968px) {
  .hero-grid,
  .split-section,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .metrics-grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-brand {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .metrics-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }


  .hero {
    padding: 4rem 0;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .request-wrapper,
  .console-wrapper,
  .cta-banner {
    padding: 1.5rem;
  }

  .api-example-bar {
    gap: 0.5rem;
  }

  .footer-links {
    gap: 2rem;
  }
}
