/* =========================================================
   Webify Builder — Shared Dashboard Styles
   Dark Navy + Electric Blue SaaS Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------------------------------------------------------
   CSS Custom Properties
   --------------------------------------------------------- */
:root {
  --navy:          #0A1628;
  --navy-light:    #0F2140;
  --blue:          #2563EB;
  --blue-bright:   #3B82F6;
  --blue-glow:     rgba(37, 99, 235, 0.25);
  --blue-dim:      rgba(59, 130, 246, 0.12);
  --text:          #E8EDF5;
  --text-muted:    #8B9AB5;
  --text-faint:    #4A5C78;
  --border:        #1E3050;
  --border-light:  #263d62;
  --card:          #0F2140;
  --card-hover:    #132850;
  --success:       #10B981;
  --success-dim:   rgba(16, 185, 129, 0.15);
  --warning:       #F59E0B;
  --warning-dim:   rgba(245, 158, 11, 0.15);
  --danger:        #EF4444;
  --danger-dim:    rgba(239, 68, 68, 0.15);
  --info:          #06B6D4;
  --info-dim:      rgba(6, 182, 212, 0.15);

  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4);
  --shadow:        0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.6);
  --shadow-blue:   0 0 32px rgba(37, 99, 235, 0.2);

  --transition:    all 0.2s ease;
  --transition-slow: all 0.35s ease;

  --max-width:     1200px;
  --nav-height:    68px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: var(--blue-bright);
  text-decoration: none;
  transition: var(--transition);
}

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

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

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

/* ---------------------------------------------------------
   Layout Utilities
   --------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

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

.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.pt-48 { padding-top: 48px; }
.pt-96 { padding-top: 96px; }
.pb-48 { padding-bottom: 48px; }
.pb-96 { padding-bottom: 96px; }

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.w-full { width: 100%; }
.hidden { display: none !important; }

/* ---------------------------------------------------------
   Navbar
   --------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.navbar__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  font-weight: 900;
  flex-shrink: 0;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__nav a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.navbar__nav a:hover {
  color: var(--text);
  background: var(--blue-dim);
}

.navbar__nav a.active {
  color: var(--blue-bright);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn--primary:hover:not(:disabled) {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: #fff;
  box-shadow: 0 0 20px var(--blue-glow);
  transform: translateY(-1px);
}

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

.btn--outline:hover:not(:disabled) {
  background: var(--blue-dim);
  border-color: var(--blue);
  color: var(--blue-bright);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

.btn--ghost:hover:not(:disabled) {
  background: var(--blue-dim);
  color: var(--text);
}

.btn--danger {
  background: var(--danger-dim);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.3);
}

.btn--danger:hover:not(:disabled) {
  background: var(--danger);
  color: #fff;
}

.btn--success {
  background: var(--success-dim);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
}

.btn--success:hover:not(:disabled) {
  background: var(--success);
  color: #fff;
}

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

.btn--sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn--xl {
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
}

.btn--full { width: 100%; }

/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-slow);
}

.card:hover {
  border-color: var(--border-light);
}

.card--hover:hover {
  background: var(--card-hover);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.card__body {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Pricing Cards */
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: var(--transition-slow);
}

.pricing-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  background: linear-gradient(160deg, #0d2a55 0%, var(--card) 100%);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pricing-card__price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.pricing-card__price span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.pricing-card__divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-card__feature::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------------------------------------------------------
   Hero Section
   --------------------------------------------------------- */
.hero {
  padding: 120px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--blue-bright);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 28px;
  color: var(--text);
}

.hero__h1 .highlight {
  background: linear-gradient(135deg, var(--blue-bright), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__fine-print {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------------------------------------------------------
   Section Headers
   --------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.section-header__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-header__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input:hover {
  border-color: var(--border-light);
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-input::placeholder {
  color: var(--text-faint);
}

.form-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-dim);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---------------------------------------------------------
   Auth Card (login / signup)
   --------------------------------------------------------- */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: var(--navy);
  position: relative;
}

.auth-wrapper::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.auth-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  text-decoration: none;
}

.auth-card__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
}

.auth-card__logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.auth-card__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.auth-card__subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.auth-card__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-card__footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   Alerts & Badges
   --------------------------------------------------------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.alert--error {
  background: var(--danger-dim);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.alert--success {
  background: var(--success-dim);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

.alert--info {
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--blue-bright);
}

.alert--warning {
  background: var(--warning-dim);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fcd34d;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge--blue    { background: var(--blue-dim); color: var(--blue-bright); border: 1px solid rgba(59,130,246,0.2); }
.badge--green   { background: var(--success-dim); color: var(--success); border: 1px solid rgba(16,185,129,0.2); }
.badge--yellow  { background: var(--warning-dim); color: var(--warning); border: 1px solid rgba(245,158,11,0.2); }
.badge--red     { background: var(--danger-dim); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }
.badge--gray    { background: rgba(139,154,181,0.12); color: var(--text-muted); border: 1px solid rgba(139,154,181,0.2); }

/* ---------------------------------------------------------
   API Key Box
   --------------------------------------------------------- */
.api-key-box {
  background: var(--navy);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 16px var(--blue-glow);
}

.api-key-box__value {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--blue-bright);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.api-key-box__copy {
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   Progress Bar
   --------------------------------------------------------- */
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

/* ---------------------------------------------------------
   Table
   --------------------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead {
  background: var(--navy-light);
}

thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

tbody tr:last-child { border-bottom: none; }

tbody tr:hover { background: rgba(15, 33, 64, 0.7); }

tbody td {
  padding: 14px 18px;
  color: var(--text-muted);
  vertical-align: middle;
}

tbody td strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------------------------------------------------------
   Stats Row
   --------------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.stat-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stat-card__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ---------------------------------------------------------
   Steps / How It Works
   --------------------------------------------------------- */
.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-bright);
  flex-shrink: 0;
}

.step__content {}
.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.step__desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Testimonials
   --------------------------------------------------------- */
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial__quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.testimonial__stars {
  color: var(--warning);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* ---------------------------------------------------------
   CTA Banner
   --------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #0d2a55 0%, #091e40 100%);
  border: 1px solid var(--blue);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-faint);
  transition: var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------------------------------------------------------
   Dashboard / Account Page Styles
   --------------------------------------------------------- */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.dash-sidebar {
  background: var(--navy-light);
  border-right: 1px solid var(--border);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}

.dash-sidebar__link:hover {
  background: var(--blue-dim);
  color: var(--text);
}

.dash-sidebar__link.active {
  background: var(--blue-dim);
  color: var(--blue-bright);
}

.dash-main {
  padding: 40px;
  overflow-y: auto;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.dash-header__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.dash-header__sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------------------------------------------------------
   Danger Zone
   --------------------------------------------------------- */
.danger-zone {
  background: var(--danger-dim);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.danger-zone__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 8px;
}

.danger-zone__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Modal / Overlay
   --------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.modal__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

/* ---------------------------------------------------------
   Admin Toolbar
   --------------------------------------------------------- */
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.toolbar__select {
  padding: 9px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.toolbar__select:focus {
  border-color: var(--blue);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .container { padding: 0 16px; }

  .navbar__nav { display: none; }

  .hero { padding: 80px 0 64px; }
  .hero__h1 { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; text-align: center; }

  .section { padding: 64px 0; }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .auth-card {
    padding: 32px 24px;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .dash-layout {
    grid-template-columns: 1fr;
  }
  .dash-sidebar {
    display: none;
  }
  .dash-main {
    padding: 24px 16px;
  }

  .pricing-card {
    padding: 28px 22px;
  }
}

@media (max-width: 480px) {
  .hero__h1 { font-size: 1.7rem; }
  .btn--xl { padding: 14px 28px; font-size: 1rem; }
  .api-key-box { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------
   Scrollbar
   --------------------------------------------------------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

/* ---------------------------------------------------------
   Selection
   --------------------------------------------------------- */
::selection { background: var(--blue-glow); color: var(--text); }

/* ---------------------------------------------------------
   Focus ring
   --------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}
