/* ============ Tokens ============ */
:root {
  --blue-900: #0b1f4d;
  --blue-800: #0f2d6e;
  --blue-700: #1742a8;
  --blue-600: #1f5ae0;
  --blue-500: #3b7bff;
  --blue-300: #93b6ff;
  --blue-100: #e6eeff;
  --blue-50: #f4f7ff;
  --white: #ffffff;
  --ink: #0e1a33;
  --muted: #5a6784;
  --line: #e1e7f3;

  --radius: 0;
  --radius-sm: 0;
  --shadow: 0 10px 30px -12px rgba(15, 45, 110, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(15, 45, 110, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(1140px, 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(780px, 100% - 48px); }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--blue-600); color: #fff; padding: 8px 14px; border-radius: 0; z-index: 200;
}
.skip-link:focus { left: 12px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 0; border: 1px solid transparent;
  font-weight: 600; font-size: 15px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 90, 224, 0.6);
}
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(31, 90, 224, 0.7); }
.btn-ghost { color: var(--blue-700); background: transparent; }
.btn-ghost:hover { background: var(--blue-100); }
.btn-light { background: #fff; color: var(--blue-800); }
.btn-light:hover { box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.4); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--blue-900); }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-800)); color: #fff; font-size: 18px;
  transition: transform 0.4s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 0; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--blue-700); }
.nav-links a.active { color: var(--blue-700); background: var(--blue-100); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; position: relative; }
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--blue-900); border-radius: 0;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-open .menu-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; padding: calc(var(--nav-h) + 80px) 0 100px; overflow: hidden; background: linear-gradient(180deg, var(--blue-50), #fff 70%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 0; filter: blur(70px); opacity: 0.55; }
.blob-1 { width: 520px; height: 520px; background: var(--blue-300); top: -160px; right: -120px; animation: float 14s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: #bfe0ff; bottom: -120px; left: -140px; animation: float 18s ease-in-out infinite reverse; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center top, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, #000 20%, transparent 70%);
  opacity: 0.6;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
}

.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-600); background: var(--blue-100); padding: 6px 14px; border-radius: 0; margin-bottom: 20px;
}
.eyebrow-light { color: #fff; background: rgba(255, 255, 255, 0.14); }

.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; color: var(--blue-900); }
.hero h1 em {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 620px; margin-top: 24px; font-size: 19px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.hero-trust { margin-top: 20px; font-size: 14px; color: var(--muted); }

.hero-card {
  width: min(640px, 100%); margin-top: 64px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 0; box-shadow: var(--shadow-lg); overflow: hidden;
}
.hc-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--blue-50); }
.dot { width: 10px; height: 10px; border-radius: 0; background: var(--blue-100); border: 1px solid var(--blue-300); }
.hc-title { font-size: 13px; color: var(--muted); font-family: ui-monospace, monospace; }
.hc-body { padding: 8px; }
.hc-row {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 0; font-size: 14px;
  opacity: 0; transform: translateX(-12px); animation: rowIn 0.6s var(--ease) forwards;
}
.hc-row:nth-child(1) { animation-delay: 0.9s; }
.hc-row:nth-child(2) { animation-delay: 1.15s; }
.hc-row:nth-child(3) { animation-delay: 1.4s; }
.hc-row:nth-child(4) { animation-delay: 1.65s; background: var(--blue-50); }
@keyframes rowIn { to { opacity: 1; transform: none; } }

.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 0; flex-shrink: 0; }
.tag-blue { background: var(--blue-100); color: var(--blue-700); }
.tag-sky { background: #dff1ff; color: #0b6bb3; }
.tag-navy { background: var(--blue-900); color: #fff; }
.hc-status { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--blue-600); white-space: nowrap; }
.hc-status.done::before { content: "✓ "; }
.ellipsis::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* ============ Stats ============ */
.stats { padding: 20px 0 60px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px; border-radius: 0; border: 1px solid var(--line); background: #fff; }
.stat-num { display: block; font-size: 44px; font-weight: 800; color: var(--blue-700); letter-spacing: -0.03em; }
.stat-label { color: var(--muted); font-size: 15px; }

/* ============ Sections ============ */
.section { padding: 110px 0; }
.section-tint { background: var(--blue-50); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--blue-900); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  padding: 32px; border: 1px solid var(--line); border-radius: 0; background: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.card-icon {
  width: 52px; height: 52px; border-radius: 0; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--blue-100); color: var(--blue-600); transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--blue-600); color: #fff; transform: rotate(-6deg); }
.card h3 { font-size: 21px; color: var(--blue-900); }
.card p { margin-top: 10px; color: var(--muted); }
.card ul { margin: 20px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.card li::before { content: "→"; color: var(--blue-500); margin-right: 10px; }

/* Tabs */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 12px; box-shadow: var(--shadow); }
.tab-list { position: relative; display: flex; gap: 4px; padding: 6px; background: var(--blue-50); border-radius: 0; }
.tab {
  position: relative; z-index: 1; flex: 1; padding: 12px 16px; border: 0; background: transparent; border-radius: 0;
  font-weight: 600; color: var(--muted); transition: color 0.3s;
}
.tab.active { color: var(--blue-700); }
.tab-indicator {
  position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 0; background: #fff;
  box-shadow: 0 4px 12px -4px rgba(15, 45, 110, 0.25); transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}
.tab-panels { padding: 40px 32px 32px; }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel.active { animation: panelIn 0.5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel-text h3 { font-size: 28px; color: var(--blue-900); }
.panel-text p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 0;
  background: var(--blue-100); color: var(--blue-600); font-size: 13px; font-weight: 700;
}

.flow { position: relative; display: grid; gap: 14px; padding-left: 8px; }
.flow::before { content: ""; position: absolute; left: 25px; top: 24px; bottom: 24px; width: 2px; background: var(--blue-100); }
.flow-step {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 0;
  background: var(--blue-50); border: 1px solid var(--line); font-weight: 500;
  opacity: 0; transform: translateX(16px);
}
.tab-panel.active .flow-step { animation: rowIn 0.5s var(--ease) forwards; }
.tab-panel.active .flow-step:nth-child(2) { animation-delay: 0.12s; }
.tab-panel.active .flow-step:nth-child(3) { animation-delay: 0.24s; }
.tab-panel.active .flow-step:nth-child(4) { animation-delay: 0.36s; }
.flow-dot { width: 14px; height: 14px; border-radius: 0; background: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-100); flex-shrink: 0; }
.flow-step:last-child { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.flow-step:last-child .flow-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { position: relative; padding: 36px 32px; border-radius: 0; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.step::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); transition: width 0.8s var(--ease) 0.3s;
}
.step.visible::after { width: 100%; }
.step-num { font-size: 15px; font-weight: 700; color: var(--blue-500); font-family: ui-monospace, monospace; }
.step h3 { margin-top: 18px; font-size: 26px; color: var(--blue-900); }
.step p { margin-top: 10px; color: var(--muted); }

/* Security */
.section-dark { background: radial-gradient(ellipse at top left, var(--blue-700), var(--blue-900) 65%); color: #fff; }
.security-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.security-intro h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.security-intro p { margin: 18px 0 32px; color: rgba(255, 255, 255, 0.75); font-size: 18px; }
.security-items { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sec-item {
  padding: 26px; border-radius: 0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s, transform 0.4s var(--ease);
}
.sec-item:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-4px); }
.sec-item h4 { font-size: 17px; }
.sec-item p { margin-top: 8px; color: rgba(255, 255, 255, 0.7); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 0; background: #fff; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item[open] { border-color: var(--blue-300); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 17px; color: var(--blue-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 0; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600); font-size: 20px; transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 24px 22px; color: var(--muted); }

/* CTA */
.cta { padding: 0 0 110px; }
.cta-inner {
  position: relative; overflow: hidden; text-align: center; padding: 80px 32px; border-radius: 0; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-800));
}
.cta-inner::before {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 0; top: -200px; right: -100px;
  background: rgba(255, 255, 255, 0.12); animation: float 12s ease-in-out infinite;
}
.cta-inner > * { position: relative; }
.cta h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.cta p { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, 0.85); }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--blue-50); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 260px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-900); margin-bottom: 6px; }
.footer-col a { color: var(--muted); font-size: 15px; width: fit-content; background: linear-gradient(var(--blue-600), var(--blue-600)) 0 100% / 0 1px no-repeat; transition: color 0.2s, background-size 0.3s var(--ease); }
.footer-col a:hover { color: var(--blue-700); background-size: 100% 1px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.back-top:hover { color: var(--blue-700); }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .cards, .steps, .stats-grid { grid-template-columns: 1fr; }
  .tab-panel, .security-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; padding: 16px 24px 24px;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px); box-shadow: 0 10px 20px -10px rgba(15, 45, 110, 0.2);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.35s var(--ease), opacity 0.35s;
  }
  .menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .nav { background: #fff; }
  .nav-links a { padding: 12px 14px; }
}
@media (max-width: 560px) {
  .nav-actions .contact-btn { display: none; }
  .security-items { grid-template-columns: 1fr; }
  .tab-panels { padding: 28px 12px 16px; }
  .tab { padding: 10px 8px; font-size: 14px; }
  .hc-row { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Solutions & workflow additions ============ */
.card { display: flex; flex-direction: column; position: relative; }
.card ul { margin-bottom: 24px; }
.card-link { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--blue-600); transition: color 0.2s, letter-spacing 0.3s var(--ease); }
.card-link:hover { color: var(--blue-800); letter-spacing: 0.01em; }

.card-premium {
  grid-column: 1 / -1; color: #fff; border-color: var(--blue-800);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
}
.card-premium h3 { color: #fff; }
.card-premium p, .card-premium ul { color: rgba(255, 255, 255, 0.75); }
.card-premium ul { border-top-color: rgba(255, 255, 255, 0.15); }
.card-premium li::before { color: var(--blue-300); }
.card-premium .card-icon { background: rgba(255, 255, 255, 0.1); color: #fff; }
.card-premium:hover { border-color: var(--blue-500); }
.card-premium:hover .card-icon { background: var(--blue-500); }
.card-premium .card-link { color: var(--blue-300); }
.card-premium .card-link:hover { color: #fff; }

.badge {
  position: absolute; top: 24px; right: 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; background: var(--blue-500); color: #fff;
}
.badge-inline { position: static; display: inline-block; margin-bottom: 14px; }

.tab-list { overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; white-space: nowrap; }
.tab-pill { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 6px; margin-left: 4px; background: var(--blue-600); color: #fff; vertical-align: 2px; }

.tab-panel { align-items: start; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.tools-label { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip { font-size: 13px; font-weight: 500; padding: 6px 12px; background: var(--blue-50); border: 1px solid var(--line); color: var(--blue-800); transition: background 0.2s, border-color 0.2s; }
.chip:hover { background: var(--blue-100); border-color: var(--blue-300); }

.flows { display: grid; gap: 28px; }
.flow-label { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); }
.flow-step { font-size: 15px; }
.tab-panel.active .flow-step:nth-child(5) { animation-delay: 0.48s; }
.tab-panel.active .flow-group:nth-child(2) .flow-step { animation-delay: 0.3s; }
.tab-panel.active .flow-group:nth-child(2) .flow-step:nth-child(2) { animation-delay: 0.42s; }
.tab-panel.active .flow-group:nth-child(2) .flow-step:nth-child(3) { animation-delay: 0.54s; }
.tab-panel.active .flow-group:nth-child(2) .flow-step:nth-child(4) { animation-delay: 0.66s; }
.tab-panel.active .flow-group:nth-child(2) .flow-step:nth-child(5) { animation-delay: 0.78s; }

.flag {
  margin-left: auto; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 8px; background: #ffe8a3; color: #6b4b00; animation: pulse 2s ease-in-out infinite;
}
.tag-flag { background: #ffe8a3; color: #6b4b00; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 60, 0.6); } 50% { box-shadow: 0 0 0 5px rgba(255, 200, 60, 0); } }

@media (max-width: 900px) {
  .card-premium { grid-column: auto; }
  .badge { position: static; display: inline-block; margin-bottom: 16px; width: fit-content; }
}

/* ============ Solid light-blue buttons (no gradients) ============ */
.btn, .btn-primary, .btn-ghost, .btn-light, .btn-outline-light {
  background: var(--blue-300); color: #111111; border-color: var(--blue-300); box-shadow: none;
}
.btn:hover, .btn-primary:hover, .btn-ghost:hover, .btn-light:hover, .btn-outline-light:hover {
  background: #a6c3ff; border-color: #a6c3ff; box-shadow: 0 10px 20px -10px rgba(15, 45, 110, 0.35);
}

/* Workflows: no background box, so the page glow shows through */
.section-tint { background: transparent; }
.tabs { background: transparent; border: 0; box-shadow: none; padding: 0; }

/* Closing card: no floating corner shape */
.cta-inner::before { display: none; }

/* Fade the hero glow out at the bottom so it blends into the page below */
.hero-bg {
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

/* Give the italic gradient text room so the slanted letters aren't clipped */
.hero h1 em { display: inline-block; padding: 0 0.12em 0.06em; }

/* Floating back-to-top button (mobile only) */
.to-top {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 48px; height: 48px; border: 0; border-radius: 0;
  background: var(--blue-300); color: #111111; font-size: 22px; font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(15, 45, 110, 0.45);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:active { background: #a6c3ff; }
@media (max-width: 900px) { .to-top { display: block; } }
