/* ==========================================================================
   BeScan — shared stylesheet
   Design system: Material-inspired, blue & white, mobile-first.
   Token summary:
     Primary        #1a56db   Primary Dark  #123a99   Primary Light #3b82f6
     Ink            #0f172a   Muted         #5b6b82   Surface       #ffffff
     Surface Alt    #f3f7ff   Border        #dbe6fd   Success       #16a34a
   Display type: 'Poppins' (headings) · Body type: 'Inter' (text)
   ========================================================================== */

/* -------------------------------------------------------------------------
   0. Font loading (self-hosted-friendly fallback stack; Google Fonts CDN
      used only as progressive enhancement — site is fully usable without it)
   ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  --color-primary: #1a56db;
  --color-primary-dark: #123a99;
  --color-primary-light: #3b82f6;
  --color-primary-tint: #eaf1ff;
  --color-ink: #0f172a;
  --color-muted: #5b6b82;
  --color-surface: #ffffff;
  --color-surface-alt: #f3f7ff;
  --color-border: #dbe6fd;
  --color-success: #16a34a;

  --font-display: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-1: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-2: 0 8px 24px rgba(26, 86, 219, 0.12);
  --shadow-3: 0 16px 40px rgba(26, 86, 219, 0.18);

  --nav-height: 68px;
  --max-width: 1180px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme overrides, toggled via [data-theme="dark"] on <html> */
[data-theme="dark"] {
  --color-primary: #5b8def;
  --color-primary-dark: #3b6fd6;
  --color-primary-light: #7fa8f5;
  --color-primary-tint: #142138;
  --color-ink: #eef2f9;
  --color-muted: #a6b3c7;
  --color-surface: #0f1626;
  --color-surface-alt: #131c30;
  --color-border: #223252;
  --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-3: 0 16px 40px rgba(0, 0, 0, 0.55);
}

/* -------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--color-muted); }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition);
}
.skip-link:focus { top: 12px; }

section { padding: 72px 0; }
.section-alt { background: var(--color-surface-alt); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.section-head p { font-size: 1.05rem; }

/* -------------------------------------------------------------------------
   3. Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-3); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-outline:hover { background: var(--color-primary-tint); transform: translateY(-2px); }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

.btn-play {
  background: var(--color-ink);
  color: #fff;
  padding: 11px 22px;
}
.btn-play:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-3); }
.btn-play svg { flex-shrink: 0; }
.btn-play .play-text-lines { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-play .play-text-lines small { font-size: 0.68rem; opacity: 0.85; font-weight: 500; }
.btn-play .play-text-lines strong { font-size: 0.98rem; font-weight: 700; }

/* -------------------------------------------------------------------------
   4. Header & Navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), border-color var(--transition);
}

.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-ink);
  flex-shrink: 0;
}
.brand .logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--color-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand .logo-mark svg { width: 20px; height: 20px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-muted);
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--color-primary); background: var(--color-primary-tint); }
.nav-links a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 700;
  background: var(--color-primary-tint);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.theme-toggle:hover { transform: rotate(20deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--color-ink); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-2);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 13px 16px; }
}

/* -------------------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------------------- */
.hero {
  padding: 64px 0 40px;
  overflow: hidden;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

.hero-copy h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  margin-bottom: 0.45em;
}
.hero-copy .subtitle {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-bottom: 1.6em;
  max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--color-muted);
}
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--color-success); flex-shrink: 0; }

/* Signature element: phone frame with a live scanning sweep,
   representing the app's core action (document scanning) */
.hero-visual { display: flex; justify-content: center; }
.scan-device {
  position: relative;
  width: 250px;
  height: 510px;
  background: var(--color-ink);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-3);
}
.scan-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-surface-alt);
  border-radius: 26px;
  overflow: hidden;
}
.scan-doc {
  position: absolute;
  inset: 34px 22px;
  background: var(--color-surface);
  border-radius: 10px;
  box-shadow: var(--shadow-1);
  padding: 20px 16px;
}
.scan-doc .line { height: 9px; border-radius: 4px; background: var(--color-border); margin-bottom: 12px; }
.scan-doc .line:nth-child(1) { width: 80%; }
.scan-doc .line:nth-child(2) { width: 92%; }
.scan-doc .line:nth-child(3) { width: 65%; }
.scan-doc .line:nth-child(4) { width: 88%; margin-top: 18px; }
.scan-doc .line:nth-child(5) { width: 70%; }
.scan-doc .line:nth-child(6) { width: 82%; }

.scan-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 3px solid var(--color-primary-light);
}
.scan-corner.tl { top: 24px; left: 12px; border-right: none; border-bottom: none; border-top-left-radius: 8px; }
.scan-corner.tr { top: 24px; right: 12px; border-left: none; border-bottom: none; border-top-right-radius: 8px; }
.scan-corner.bl { bottom: 24px; left: 12px; border-right: none; border-top: none; border-bottom-left-radius: 8px; }
.scan-corner.br { bottom: 24px; right: 12px; border-left: none; border-top: none; border-bottom-right-radius: 8px; }

.scan-beam {
  position: absolute;
  left: 12px; right: 12px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
  box-shadow: 0 0 14px 2px rgba(59, 130, 246, 0.7);
  animation: scan-sweep 3.2s ease-in-out infinite;
}
@keyframes scan-sweep {
  0%   { top: 30px; opacity: 0; }
  8%   { opacity: 1; }
  50%  { top: 460px; opacity: 1; }
  58%  { opacity: 0; }
  100% { top: 30px; opacity: 0; }
}
.scan-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: var(--color-ink);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

/* -------------------------------------------------------------------------
   6. Feature cards
   ------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: var(--color-primary-light);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-tint);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--color-primary);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.92rem; margin-bottom: 0; }

/* -------------------------------------------------------------------------
   7. Screenshots
   ------------------------------------------------------------------------- */
.screens-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 4px 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-light) transparent;
}
.screens-row figure {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 190px;
  margin: 0;
  text-align: center;
}
.screens-row img {
  border-radius: 22px;
  box-shadow: var(--shadow-2);
  transition: transform var(--transition);
}
.screens-row figure:hover img { transform: translateY(-8px); }
.screens-row figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* -------------------------------------------------------------------------
   8. Why choose / value list
   ------------------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.value-item { display: flex; gap: 16px; }
.value-item .value-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.value-item .value-icon svg { width: 22px; height: 22px; }
.value-item h3 { font-size: 1.03rem; margin-bottom: 4px; }
.value-item p { font-size: 0.92rem; margin-bottom: 0; }

/* -------------------------------------------------------------------------
   9. Privacy & security panel
   ------------------------------------------------------------------------- */
.privacy-panel {
  background: linear-gradient(155deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px clamp(20px, 5vw, 56px);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 780px) { .privacy-panel { grid-template-columns: 1fr; } }
.privacy-panel h2 { color: #fff; }
.privacy-panel > p:first-of-type { color: rgba(255,255,255,0.85); }
.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-size: 0.98rem;
}
.privacy-list li:last-child { border-bottom: none; }
.privacy-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.privacy-actions { margin-top: 24px; }
.privacy-panel .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.privacy-panel .btn-outline:hover { background: rgba(255,255,255,0.14); }

/* -------------------------------------------------------------------------
   10. CTA band
   ------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { max-width: 50ch; margin-inline: auto; margin-bottom: 1.6em; }

/* -------------------------------------------------------------------------
   11. Generic content page layout (about/support/policy/terms)
   ------------------------------------------------------------------------- */
.page-hero {
  padding: 56px 0 40px;
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.page-hero p { max-width: 60ch; margin-inline: auto; font-size: 1.05rem; }

.content-block { max-width: 820px; margin: 0 auto; }
.content-block h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
  padding-top: 0.4em;
}
.content-block h2:first-child { margin-top: 0; }
.content-block h3 { font-size: 1.05rem; margin-top: 1.4em; }
.content-block ul { margin: 0 0 1em; padding-left: 0; }
.content-block ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--color-muted);
}
.content-block ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary-light);
}
.content-block .updated-note {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-muted);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.6em;
}

/* Two-column about layout */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }
.about-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.about-card .value-icon { margin-bottom: 14px; }

/* Team / developer card */
.dev-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
}
.dev-card .dev-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.dev-card h3 { margin-bottom: 2px; }
.dev-card p { margin: 0; font-size: 0.92rem; }

/* -------------------------------------------------------------------------
   12. Contact page
   ------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.contact-card .value-icon { margin: 0 auto 16px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card a.contact-link {
  color: var(--color-primary);
  font-weight: 600;
  word-break: break-word;
}

/* -------------------------------------------------------------------------
   13. FAQ (accordion)
   ------------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-surface);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-ink);
}
.faq-question .faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--color-primary);
  transition: transform var(--transition);
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 20px;
}
.faq-item.is-open .faq-answer { padding: 0 20px 20px; }
.faq-answer p { margin: 0; font-size: 0.95rem; }

/* -------------------------------------------------------------------------
   14. Support steps
   ------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}
.step-card .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1rem; margin-bottom: 6px; }
.step-card p { font-size: 0.92rem; margin: 0; }

/* -------------------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-ink);
  color: #cbd5e1;
  padding: 56px 0 24px;
  margin-top: 40px;
}
[data-theme="dark"] .site-footer { background: #070c17; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #b6c2d9; font-size: 0.94rem; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-desc { font-size: 0.92rem; color: #9fb0c9; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #93a4bd;
}

/* -------------------------------------------------------------------------
   16. Scroll-to-top button
   ------------------------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-3);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 400;
}
.scroll-top-btn.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top-btn:hover { background: var(--color-primary-dark); }
.scroll-top-btn svg { width: 20px; height: 20px; }

/* -------------------------------------------------------------------------
   17. Scroll reveal animation
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------------------
   18. Utility spacing
   ------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
