/* ==========================================================================
   QUICKLINKSINDEXER - High Performance Dark Theme CSS
   Engineered for Core Web Vitals, Speed & Modern Visual Hierarchy
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #07090e;
  --bg-secondary: #0d111a;
  --bg-card: #121824;
  --bg-card-hover: #162032;
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-border-hover: rgba(59, 130, 246, 0.4);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-primary: #3b82f6;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #8b5cf6 100%);
  --accent-glow: rgba(59, 130, 246, 0.25);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img, svg {
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Helpers */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.subheading {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

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

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #1e1b4b, #172554, #0f172a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  color: #cbd5e1;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.announcement-link {
  color: #38bdf8;
  font-weight: 600;
  margin-left: 0.5rem;
}

.announcement-link:hover {
  text-decoration: underline;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--success);
  animation: pulse-ring 1.8s infinite;
}

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

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.logo-icon svg {
  width: 18px;
  height: 18px;
}

.logo-text strong {
  color: #38bdf8;
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.desktop-nav .nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.desktop-nav .nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: 0.2s;
}

.mobile-menu {
  display: none;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--bg-card-border);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Glow Spheres */
.glow-sphere {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.18;
}

.glow-sphere-1 {
  top: -150px;
  left: 20%;
  background: #3b82f6;
}

.glow-sphere-2 {
  top: 100px;
  right: 15%;
  background: #8b5cf6;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #60a5fa;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 3rem;
  line-height: 1.65;
}

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

/* Hero Live Demo Card */
.hero-demo-card {
  max-width: 820px;
  margin: 0 auto 4rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  text-align: left;
}

.demo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--bg-card-border);
  font-size: 0.8125rem;
}

.demo-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.75rem;
}

.pulse-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.demo-card-body {
  padding: 1.5rem;
}

.demo-input-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.demo-input-group input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.demo-input-group input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.demo-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: #cbd5e1;
}

/* Demo Simulation Results */
.demo-live-results {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  margin-bottom: 1.25rem;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.result-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.75rem;
}

.result-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.result-steps {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.step-item.done {
  color: #10b981;
}

.step-item.pending {
  color: #fbbf24;
}

.result-guarantee-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 0.65rem;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Trust Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1050px;
  margin: 0 auto 3.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #38bdf8;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Client Proof Logos */
.client-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2.5rem;
}

.proof-title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.proof-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.logo-item {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #475569;
  transition: color var(--transition-fast);
}

.logo-item:hover {
  color: #94a3b8;
}

/* Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-normal);
}

.problem-card:hover {
  border-color: var(--bg-card-border-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.warning-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.danger-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.info-icon {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.problem-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* How It Works Section */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step:hover {
  border-color: var(--bg-card-border-hover);
  background: var(--bg-card-hover);
}

.step-badge {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #38bdf8;
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features & Use Cases Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-normal);
}

.feature-box:hover {
  border-color: var(--bg-card-border-hover);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.feature-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Calculator Section */
.calculator-card {
  background: linear-gradient(180deg, #121824 0%, #0d121c 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.calc-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.calc-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.calc-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.calc-count {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.35rem;
}

.slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #38bdf8;
  cursor: pointer;
  box-shadow: 0 0 12px #38bdf8;
  border: 2px solid #ffffff;
  transition: transform 0.1s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-markers {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.credit-perks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.calc-summary {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.calc-stat-box {
  margin-bottom: 1.5rem;
}

.calc-metric-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.calc-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.calc-per-url {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.calc-comparison-box {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.comp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.strikethrough {
  text-decoration: line-through;
  color: #94a3b8;
}

.highlight-savings {
  color: #34d399;
  font-size: 0.95rem;
}

/* Comparison Table */
.table-responsive {
  overflow-x: auto;
  margin-top: 3.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
}

.comparison-table th, 
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9375rem;
}

.comparison-table thead th {
  background: rgba(0, 0, 0, 0.4);
  font-weight: 700;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: rgba(59, 130, 246, 0.08);
  border-left: 1px solid rgba(59, 130, 246, 0.2);
  border-right: 1px solid rgba(59, 130, 246, 0.2);
}

.check {
  color: #10b981;
  font-weight: 700;
}

.cross {
  color: #ef4444;
  font-weight: 700;
}

.warning {
  color: #f59e0b;
}

.highlight-text {
  color: #38bdf8;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--bg-card-border-hover);
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  background: linear-gradient(180deg, #162032 0%, #101623 100%);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
}

.card-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.card-price .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.card-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.card-price .period {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.credits-count {
  font-size: 1.05rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.25rem;
}

.rate-per-link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-save {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.guarantee-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.guarantee-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.guarantee-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.guarantee-text p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* API Section */
.api-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.api-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.75rem 0 2.25rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.api-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.docs-note {
  font-size: 0.8125rem;
  color: #34d399;
  font-weight: 600;
}

.code-terminal {
  background: #090d14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.terminal-header {
  background: #0f1420;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-buttons {
  display: flex;
  gap: 6px;
}

.btn-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

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

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #94a3b8;
}

.code-lang-tabs {
  display: flex;
  gap: 4px;
}

.tab-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.terminal-body {
  padding: 1.5rem;
  overflow-x: auto;
}

.terminal-body pre {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.token-cmd { color: #38bdf8; font-weight: 600; }
.token-kw { color: #c084fc; font-weight: 600; }
.token-str { color: #34d399; }

.terminal-footer {
  background: #0d121c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #94a3b8;
}

.terminal-footer code {
  color: #38bdf8;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 860px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(59, 130, 246, 0.4);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.35rem 1.5rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-arrow {
  font-size: 1.35rem;
  font-weight: 400;
  color: #38bdf8;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-content p {
  margin-bottom: 0.75rem;
}

.faq-content p:last-child {
  margin-bottom: 0;
}

.faq-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.faq-content li {
  margin-bottom: 0.35rem;
}

/* CTA Banner */
.cta-banner-section {
  padding: 4rem 0 6rem;
}

.cta-box {
  background: linear-gradient(135deg, #131b2e 0%, #0d121c 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 4.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.cta-glow {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: #3b82f6;
  opacity: 0.15;
}

.cta-box h2 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.cta-foot-notes {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.8125rem;
  color: #94a3b8;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #05070a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
  max-width: 320px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.footer-links-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

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

.footer-links-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links-col a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom em {
  display: block;
  font-style: normal;
  color: #475569;
  margin-top: 0.35rem;
}

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

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .section-title {
    font-size: 1.95rem;
  }
  .problem-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .process-flow {
    grid-template-columns: 1fr;
  }
  .calc-body-grid {
    grid-template-columns: 1fr;
  }
  .calculator-card {
    padding: 2rem 1.25rem;
  }
  .api-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .hero-demo-card {
    padding: 0;
  }
  .demo-input-group {
    flex-direction: column;
  }
  .cta-box h2 {
    font-size: 2rem;
  }
}
