/* ============================================================
   FLOWIE INVOICE TEMPLATE CLONER
   Design system aligned with flowie-website (May 2026)
   Brand Blue + Gold + Beige · Geist Sans
   ============================================================ */

:root {
  --brand-blue: #222878;
  --brand-blue-dark: #1a1f5e;
  --brand-blue-light: #4a52a8;
  --gold: #F2D599;
  --gold-light: #ffe8b8;
  --gold-dark: #b8922e;

  --beige-light: #F4F1EE;
  --beige-medium: #EAE6E1;
  --beige-dark: #DDD6CD;
  --muted: #5F6672;

  --gradient-start: #0d1033;
  --gradient-mid: #141a4f;
  --gradient-end: #0f1340;

  --success: #008236;
  --success-light: #F0FDF4;
  --error: #DC2626;
  --white: #FFFFFF;

  --shadow-sm: 0 1px 3px 0 rgb(34 40 120 / 0.06), 0 1px 2px -1px rgb(34 40 120 / 0.04);
  --shadow:    0 4px 12px -2px rgb(34 40 120 / 0.08), 0 2px 4px -2px rgb(34 40 120 / 0.04);
  --shadow-md: 0 8px 20px -4px rgb(34 40 120 / 0.10), 0 4px 8px -4px rgb(34 40 120 / 0.06);
  --shadow-lg: 0 16px 32px -8px rgb(34 40 120 / 0.12), 0 8px 16px -6px rgb(34 40 120 / 0.08);
  --shadow-xl: 0 24px 48px -12px rgb(34 40 120 / 0.18), 0 12px 24px -8px rgb(34 40 120 / 0.10);
  --shadow-glow-gold: 0 0 32px rgba(242, 213, 153, 0.35), 0 0 80px rgba(242, 213, 153, 0.15);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;

  --container-max: 1280px;

  --duration-fast: 150ms;
  --duration-base: 200ms;
  --duration-slow: 300ms;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--white);
  color: var(--brand-blue);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: var(--gold); color: var(--brand-blue); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes btnShine { 0% { left: -100%; } 60%, 100% { left: 150%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glowPulse { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.75; transform: scale(1.08); } }
@keyframes aurora {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.35; }
  25% { transform: translate(30px, -20px) rotate(5deg); opacity: 0.55; }
  50% { transform: translate(-20px, 10px) rotate(-3deg); opacity: 0.45; }
  75% { transform: translate(10px, 30px) rotate(2deg); opacity: 0.6; }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes dropPulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(242, 213, 153, 0.5); }
  50% { transform: scale(1.005); box-shadow: 0 0 0 10px rgba(242, 213, 153, 0); } }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgba(242, 213, 153, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(242, 213, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 213, 153, 0); } }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-shimmer-gold {
  background: linear-gradient(110deg, var(--gold) 0%, var(--gold-light) 25%, var(--gold) 50%, var(--gold-light) 75%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  animation: btnShine 3.2s ease-in-out infinite; pointer-events: none;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 16px; position: relative; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(221, 214, 205, 0.6);
}
.navbar-inner {
  max-width: var(--container-max); margin: 0 auto;
  padding: 0 16px; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 640px) { .navbar-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .navbar-inner { padding: 0 48px; } }
.navbar-logo { display: flex; align-items: center; flex-shrink: 0; transition: opacity var(--duration-base) var(--ease-out); }
.navbar-logo:hover { opacity: 0.7; }
.navbar-logo img { height: 28px; width: auto; }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-link {
  font-size: 14px; font-weight: 500; color: var(--brand-blue);
  padding: 8px 12px; border-radius: 8px;
  transition: background var(--duration-base) var(--ease-out);
}
.navbar-link:hover { background: var(--beige-light); }
@media (max-width: 768px) { .navbar-link { display: none; } }

.lang-toggle { display: inline-flex; background: var(--beige-light); border-radius: 8px; padding: 3px; }
.lang-toggle button { padding: 6px 10px; font-size: 12px; font-weight: 600; color: var(--muted); border-radius: 6px; transition: all var(--duration-fast) var(--ease-out); }
.lang-toggle button.active { background: var(--brand-blue); color: var(--white); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: inherit; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; position: relative;
  transition: all var(--duration-base) var(--ease-out);
}
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; min-height: 36px; }
.btn:not(.btn-sm):not(.btn-lg) { padding: 12px 24px; font-size: 16px; border-radius: 12px; min-height: 44px; }
.btn-lg { padding: 16px 32px; font-size: 18px; border-radius: 14px; min-height: 56px; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #f0cf8c 100%);
  color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(242, 213, 153, 0.30), 0 1px 3px rgba(184, 146, 46, 0.15);
}
.btn-primary:hover { background: linear-gradient(135deg, #efc97e 0%, var(--gold) 100%); box-shadow: var(--shadow-glow-gold), var(--shadow-md); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--brand-blue); color: var(--white); }
.btn-secondary:hover { background: var(--brand-blue-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-ghost:hover { background: var(--brand-blue); color: var(--white); }
.btn-outline-dark {
  background: transparent; color: var(--white);
  border-color: rgba(255, 255, 255, 0.3); backdrop-filter: blur(8px);
}
.btn-outline-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn:disabled, .btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ============================================================
   HERO
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  color: var(--white);
  padding: 96px 0 96px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 768px) { .page-header { padding: 128px 0 112px; } }

.hero-aurora { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; mix-blend-mode: screen; }
.hero-aurora-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(242, 213, 153, 0.45), transparent 60%);
  top: -160px; right: -120px; animation: aurora 18s ease-in-out infinite; }
.hero-aurora-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(74, 82, 168, 0.55), transparent 60%);
  bottom: -200px; left: -100px; animation: aurora 22s ease-in-out infinite reverse; }
.hero-aurora-3 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(242, 213, 153, 0.30), transparent 60%);
  top: 40%; left: 35%; animation: glowPulse 8s ease-in-out infinite; }

.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none; z-index: 0;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 75%);
}
.page-header .container { z-index: 1; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  padding: 8px 14px;
  background: rgba(242, 213, 153, 0.10);
  border: 1px solid rgba(242, 213, 153, 0.25);
  border-radius: 999px; backdrop-filter: blur(8px);
  animation: fadeInUp 0.7s var(--ease-out) both;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 8px var(--gold); animation: glowPulse 2.5s ease-in-out infinite; }

.page-header h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s var(--ease-out) both;
}
.page-header h1 .text-muted { color: rgba(255,255,255,0.55); font-weight: 600; }
.page-header .subtitle {
  font-size: clamp(16px, 1.8vw, 19px); line-height: 1.6;
  color: rgba(255, 255, 255, 0.78); max-width: 720px; margin: 0 auto 32px;
  animation: fadeInUp 1.1s var(--ease-out) both;
}
.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px; max-width: 720px; margin: 0 auto;
  animation: fadeInUp 1.3s var(--ease-out) both;
}
.hero-stat {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px; padding: 14px 18px; backdrop-filter: blur(8px);
  min-width: 140px; text-align: center;
}
.hero-stat-value { font-size: 22px; font-weight: 700; color: var(--gold); margin-bottom: 2px; }
.hero-stat-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content { padding: 64px 0 96px; background: var(--beige-light); min-height: 100vh; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--beige-medium);
}

/* ============================================================
   STEP INDICATOR
   ============================================================ */
.step-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.step { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--white); border: 1px solid var(--beige-medium); border-radius: 999px;
  font-size: 14px; color: var(--muted); transition: all var(--duration-base) var(--ease-out); }
.step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--beige-medium); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px;
}
.step.active { color: var(--brand-blue); border-color: var(--brand-blue); box-shadow: var(--shadow-sm); }
.step.active .step-num { background: var(--brand-blue); color: var(--white); }
.step.done { color: var(--success); border-color: rgba(0, 130, 54, 0.3); }
.step.done .step-num { background: var(--success); color: var(--white); }
.step-divider { width: 32px; height: 1px; background: var(--beige-dark); }

/* ============================================================
   UPLOADER (drop zone)
   ============================================================ */
.uploader { max-width: 720px; margin: 0 auto; }

.drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  background: var(--white);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  text-align: center;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
}
.drop-zone > * { position: relative; z-index: 1; }
.drop-zone::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(242, 213, 153, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--brand-blue);
  background: linear-gradient(180deg, rgba(242, 213, 153, 0.10) 0%, var(--white) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold), var(--shadow-md);
}
.drop-zone.dragover { animation: dropPulse 1.2s ease-in-out infinite; }

.drop-icon {
  flex-shrink: 0;
  width: 72px; height: 72px;
  margin: 0 0 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
  box-shadow: var(--shadow-glow-gold);
  animation: float 3s ease-in-out infinite;
}
.drop-title { display: block; font-size: 22px; font-weight: 700; margin: 0 0 8px; color: var(--brand-blue); line-height: 1.2; }
.drop-subtitle { display: block; font-size: 14px; color: var(--muted); margin: 0 0 20px; line-height: 1.4; }
.drop-formats {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin: 0;
}
.drop-formats span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--beige-light); color: var(--muted);
  border: 1px solid var(--beige-medium);
}
.drop-cta {
  display: inline-block; margin: 24px 0 0;
  font-size: 14px; font-weight: 600; color: var(--brand-blue);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.file-input { display: none; }

/* Selected file pill */
.file-meta {
  margin-top: 20px;
  background: var(--white); border: 1px solid var(--beige-medium);
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  animation: fadeIn 0.3s var(--ease-out) both;
}
.file-meta-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--beige-light); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
}
.file-meta-info { flex: 1; min-width: 0; }
.file-meta-name { font-weight: 600; font-size: 14px; color: var(--brand-blue);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta-size { font-size: 12px; color: var(--muted); }
.file-meta-remove { color: var(--muted); padding: 6px; border-radius: 6px; transition: all var(--duration-fast); }
.file-meta-remove:hover { background: var(--beige-light); color: var(--error); }

.uploader-actions { position: relative; margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   PROCESSING STATE
   ============================================================ */
.processing { max-width: 480px; margin: 64px auto; text-align: center; }
.spinner {
  width: 64px; height: 64px; border-radius: 50%;
  border: 4px solid var(--beige-medium); border-top-color: var(--gold);
  margin: 0 auto 24px; animation: spin 0.8s linear infinite;
}
.processing-title { font-size: 22px; font-weight: 700; color: var(--brand-blue); margin-bottom: 8px; }
.processing-sub { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.processing-steps { display: grid; gap: 10px; text-align: left; }
.processing-step {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--white);
  border: 1px solid var(--beige-medium); border-radius: var(--radius);
  font-size: 14px; color: var(--muted);
  transition: all var(--duration-base) var(--ease-out);
}
.processing-step-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--beige-dark);
  flex-shrink: 0;
}
.processing-step.active { color: var(--brand-blue); border-color: var(--brand-blue); }
.processing-step.active .processing-step-dot {
  background: var(--gold); box-shadow: 0 0 0 4px rgba(242, 213, 153, 0.25);
  animation: ringPulse 1.6s ease-in-out infinite;
}
.processing-step.done { color: var(--success); }
.processing-step.done .processing-step-dot { background: var(--success); }

/* ============================================================
   RESULTS
   ============================================================ */
.results { display: none; max-width: var(--container-max); margin: 0 auto; }
.results.visible { display: block; }

.results-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.results-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.results-meta .badge-success {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--success-light); color: var(--success);
  font-size: 12px; font-weight: 600;
}

.tabs { display: inline-flex; background: var(--white); border: 1px solid var(--beige-medium); border-radius: 12px; padding: 4px; }
.tab { padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--muted); border-radius: 8px; transition: all var(--duration-fast); }
.tab:hover { color: var(--brand-blue); }
.tab.active { background: var(--brand-blue); color: var(--white); box-shadow: var(--shadow-sm); }

.results-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .results-grid { grid-template-columns: 1.2fr 1fr; }
}

.panel { background: var(--white); border: 1px solid var(--beige-medium); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.panel-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--beige-medium);
  background: linear-gradient(180deg, var(--white) 0%, var(--beige-light) 100%);
}
.panel-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-blue); }
.panel-body { padding: 0; }

.preview-frame {
  width: 100%; height: 720px;
  background: var(--beige-light);
  border: 0; display: block;
}

.code-view {
  margin: 0; padding: 18px 20px;
  background: #1a1f5e;
  color: #f4f1ee;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.55;
  max-height: 720px; overflow: auto; tab-size: 2;
}
.code-view code { background: transparent !important; padding: 0 !important; }

/* "Try it" form */
.try-form { padding: 20px; display: grid; gap: 14px; max-height: 720px; overflow: auto; }
.try-form-row { display: grid; grid-template-columns: 1fr; gap: 6px; }
.try-form-row label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.try-form-row input, .try-form-row textarea {
  padding: 10px 12px; border: 1px solid var(--beige-medium); border-radius: 10px;
  font-size: 14px; color: var(--brand-blue); background: var(--beige-light);
  transition: all var(--duration-fast);
}
.try-form-row input:focus, .try-form-row textarea:focus {
  outline: none; border-color: var(--brand-blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(34, 40, 120, 0.1);
}
.try-form-actions { display: flex; gap: 8px; padding-top: 8px; border-top: 1px solid var(--beige-medium); margin-top: 8px; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--brand-blue); color: var(--white);
  padding: 12px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: all var(--duration-base) var(--ease-out);
  z-index: 1000;
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--error); }
.toast.success { background: var(--success); }

/* ============================================================
   CTA BANNER + FOOTER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  color: var(--white); padding: 64px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.cta-inner { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; position: relative; z-index: 1; }
@media (min-width: 768px) { .cta-inner { grid-template-columns: 1.5fr 1fr; } }
.cta-banner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.15; margin-bottom: 8px; }
.cta-banner h2 .accent { color: var(--gold); }
.cta-banner p { color: rgba(255, 255, 255, 0.75); max-width: 560px; }
.kicker-light { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; opacity: 0.9; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
@media (min-width: 768px) { .cta-actions { justify-content: flex-end; } }

.footer { background: var(--brand-blue); color: rgba(255,255,255,0.7); padding: 56px 0 24px; }
.footer a { color: rgba(255,255,255,0.7); transition: color var(--duration-fast); font-size: 14px; display: block; padding: 4px 0; }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-col-title { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 700; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,0.5); font-size: 13px;
}

/* ============================================================
   ERROR STATE
   ============================================================ */
.error-card {
  max-width: 560px; margin: 64px auto;
  background: var(--white); border: 1px solid #fecaca;
  border-left: 4px solid var(--error);
  border-radius: var(--radius-lg); padding: 24px 28px;
  box-shadow: var(--shadow);
}
.error-title { font-weight: 700; color: var(--error); margin-bottom: 8px; }
.error-body { color: var(--muted); font-size: 14px; line-height: 1.6; word-break: break-word; }
.error-actions { margin-top: 16px; }
