/*
Theme Name: FOIGS
Theme URI: https://foigs.com.hk/
Author: FOIGS
Author URI: https://foigs.com.hk/
Description: Corporate website theme for FOIGS — a Hong Kong-based IT solutions company. Clean, modern, English-only.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: foigs
Tags: corporate, responsive, business, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   1. Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #111827;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: #1F8FFF; text-decoration: none; transition: color .15s ease; }
a:hover { color: #0B2A4A; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.25; color: #0B2A4A; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

:root {
  --color-primary: #0B2A4A;
  --color-accent: #1F8FFF;
  --color-bg: #ffffff;
  --color-bg-alt: #F7F8FA;
  --color-border: #E5E7EB;
  --color-text: #111827;
  --color-muted: #6B7280;
  --color-success: #10B981;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11,42,74,.06);
  --shadow-md: 0 6px 24px rgba(11,42,74,.08);
  --shadow-lg: 0 16px 48px rgba(11,42,74,.12);
  --container-max: 1200px;
  --gutter: 24px;
  --header-h: 88px;
}

/* ============================================================
   2. Layout / Container
   ============================================================ */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(60px, 9vw, 120px); }
.section--alt { background: var(--color-bg-alt); }
.section__head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section__eyebrow { display: inline-block; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin-bottom: .75rem; }
.section__title { margin: 0 0 .5em; }
.section__lead { color: var(--color-muted); font-size: 1.0625rem; }

.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ============================================================
   3. Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.5rem;
  background: var(--color-accent); color: #fff;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .9375rem;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:hover { background: #1378e5; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--dark { background: var(--color-primary); color: #fff; }
.btn--dark:hover { background: #061a30; color: #fff; }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn--outline:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.btn--lg { padding: 1rem 1.85rem; font-size: 1rem; }

/* ============================================================
   4. Header / Site Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.site-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.site-brand__mark { width: 32px; height: 32px; flex: 0 0 32px; }
.site-brand__name { font-weight: 800; font-size: 1.125rem; letter-spacing: .04em; color: var(--color-primary); }
.site-brand--lockup { gap: 0; }
.site-brand__lockup {
  display: block;
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
@media (max-width: 560px) {
  .site-brand__lockup { height: 44px; max-width: 200px; }
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.75rem; }
.site-nav a { color: var(--color-text); font-weight: 500; font-size: .95rem; padding: .25rem 0; position: relative; }
.site-nav a:hover { color: var(--color-accent); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--color-accent); }
.site-nav .btn { padding: .55rem 1.1rem; font-size: .875rem; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    flex-direction: column; align-items: stretch; padding: 1.25rem var(--gutter);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; gap: 1rem; }
}

/* ============================================================
   5. Hero — animated aurora
   ============================================================ */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(100px, 16vw, 180px) 0 clamp(90px, 13vw, 160px);
  background: #06162b;
  overflow: hidden;
  isolation: isolate;
  --mx: 50%;
  --my: 50%;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  animation: gridDrift 60s linear infinite;
}
.hero__spotlight {
  position: absolute; inset: 0;
  background: radial-gradient(circle 480px at var(--mx) var(--my), rgba(120,180,255,.18), transparent 70%);
  transition: background .15s ease-out;
  mix-blend-mode: screen;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
}
.orb--1 { width: 520px; height: 520px; left: -120px; top: -80px; background: #1F8FFF; animation: orbDrift 22s ease-in-out infinite; }
.orb--2 { width: 460px; height: 460px; right: -140px; top: 20%;  background: #6366F1; animation: orbDrift 28s ease-in-out -6s infinite reverse; opacity: .45; }
.orb--3 { width: 380px; height: 380px; left: 30%;     bottom: -120px; background: #06B6D4; animation: orbDrift 32s ease-in-out -12s infinite; opacity: .35; }
.orb--4 { width: 300px; height: 300px; right: 25%;    top: 5%;  background: #8B5CF6; animation: orbDrift 26s ease-in-out -3s infinite reverse; opacity: .3; }

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(40px, -30px) scale(1.08); }
  50%      { transform: translate(-20px, 40px) scale(.96); }
  75%      { transform: translate(30px, 20px) scale(1.04); }
}
@keyframes gridDrift {
  to { background-position: 56px 56px; }
}

.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #cfe3ff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}
.hero__lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.3rem);
  color: rgba(220,232,255,.78);
  margin-bottom: 2.25rem;
  max-width: 660px;
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .btn {
  box-shadow: 0 8px 32px rgba(31,143,255,.32);
}
.hero .btn--ghost { box-shadow: none; backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.hero__meta {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 3.5rem;
  color: rgba(190,210,240,.6);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500;
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent); box-shadow: 0 0 12px rgba(31,143,255,.7);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero__meta span:nth-child(2)::before { animation-delay: .8s; background: #8B5CF6; box-shadow: 0 0 12px rgba(139,92,246,.7); }
.hero__meta span:nth-child(3)::before { animation-delay: 1.6s; background: #06B6D4; box-shadow: 0 0 12px rgba(6,182,212,.7); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.85); }
}

/* ============================================================
   6. Cards (service / news / generic)
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #1F8FFF 0%, #0B2A4A 100%);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: #fff;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.card p { color: var(--color-muted); margin: 0 0 1rem; font-size: .95rem; }
.card__link { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--color-accent); }
.card__link::after { content: ' →'; transition: margin-left .15s ease; }
.card:hover .card__link::after { margin-left: 4px; }

.news-card { overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--color-border); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card__thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #0B2A4A, #1F8FFF); background-size: cover; background-position: center; }
.news-card__body { padding: 1.5rem; }
.news-card__meta { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); margin-bottom: .5rem; }
.news-card h3 { font-size: 1.125rem; margin: 0 0 .5rem; line-height: 1.4; }
.news-card h3 a { color: var(--color-primary); }
.news-card h3 a:hover { color: var(--color-accent); }
.news-card p { color: var(--color-muted); font-size: .9rem; margin: 0; }

/* ============================================================
   7. About / Content
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid__visual { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(135deg, #0B2A4A, #1F8FFF); position: relative; overflow: hidden; }
.about-grid__visual::after { content: ''; position: absolute; inset: 0; background: url('img/hero-pattern.svg'); opacity: .3; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 3rem; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.5rem 1rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); }
.stat__num { font-size: 2rem; font-weight: 800; color: var(--color-primary); line-height: 1; margin-bottom: .25rem; }
.stat__label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }

.values-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.values-list li { padding-left: 2rem; position: relative; color: var(--color-text); }
.values-list li::before { content: ''; position: absolute; left: 0; top: .5rem; width: 14px; height: 14px; background: var(--color-accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(31,143,255,.15); }

/* ============================================================
   8. Page header / breadcrumb (non-hero pages)
   ============================================================ */
.page-header {
  background: var(--color-bg-alt);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--color-border);
}
.page-header__inner { max-width: 820px; }
.page-header h1 { margin: 0 0 .5rem; }
.page-header__lead { color: var(--color-muted); font-size: 1.0625rem; margin: 0; }

/* ============================================================
   9. Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 64px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.25rem; }
.contact-info__item { padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); display: flex; gap: 1rem; align-items: flex-start; }
.contact-info__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(31,143,255,.12); display: inline-flex; align-items: center; justify-content: center; color: var(--color-accent); flex: 0 0 40px; }
.contact-info__label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 .25rem; }
.contact-info__value { font-weight: 600; color: var(--color-primary); margin: 0; }
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--color-primary); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: .75rem .9rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  font: inherit; color: var(--color-text);
  margin-bottom: 1.1rem;
  transition: border .15s ease, background .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: 0; border-color: var(--color-accent); background: #fff; box-shadow: 0 0 0 4px rgba(31,143,255,.12); }

/* ============================================================
   10. CTA strip
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, #0B2A4A, #1F8FFF);
  color: #fff; padding: clamp(48px, 8vw, 80px) 0;
  text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: .5rem; }
.cta-strip p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 1.75rem; }

/* ============================================================
   11. Single / blog content
   ============================================================ */
.post-content { max-width: 740px; margin: 0 auto; padding-block: clamp(48px, 7vw, 80px); }
.post-content h2 { margin-top: 2.5rem; }
.post-content h3 { margin-top: 2rem; }
.post-content blockquote { margin: 2rem 0; padding: 1.5rem 1.75rem; border-left: 4px solid var(--color-accent); background: var(--color-bg-alt); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--color-primary); }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-meta { color: var(--color-muted); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }

/* ============================================================
   12. Footer
   ============================================================ */
.site-footer { background: var(--color-primary); color: rgba(255,255,255,.7); padding: 64px 0 24px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gutter); margin-bottom: 48px; }
@media (max-width: 880px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.75); font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer__about p { font-size: .9rem; line-height: 1.6; }
.site-footer__brand { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.site-footer__brand-name { color: #fff; font-weight: 800; font-size: 1.125rem; letter-spacing: .04em; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* ============================================================
   13. 404 / utility
   ============================================================ */
.not-found { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.not-found h1 { font-size: clamp(5rem, 14vw, 9rem); margin: 0; background: linear-gradient(135deg, #0B2A4A, #1F8FFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.not-found p { color: var(--color-muted); margin-bottom: 2rem; }

.pagination { display: flex; justify-content: center; gap: .5rem; padding: 2rem 0; }
.pagination .page-numbers { padding: .5rem .85rem; border-radius: var(--radius); border: 1px solid var(--color-border); color: var(--color-text); font-weight: 600; font-size: .9rem; }
.pagination .page-numbers.current { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.pagination a.page-numbers:hover { background: var(--color-bg-alt); }

.screen-reader-text { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }

/* search form */
.search-form { display: flex; gap: .5rem; max-width: 480px; }
.search-form input[type="search"] { flex: 1; padding: .65rem .9rem; border: 1px solid var(--color-border); border-radius: 999px; background: #fff; font: inherit; }
.search-form input[type="search"]:focus { outline: 0; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(31,143,255,.12); }
.search-form button { padding: .65rem 1.25rem; background: var(--color-primary); color: #fff; border: 0; border-radius: 999px; font-weight: 600; }

/* ============================================================
   14. Utility helpers
   ============================================================ */
.text-center { text-align: center; }
.muted { color: var(--color-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.125rem; color: var(--color-muted); }

/* ============================================================
   15. Motion / scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ============================================================
   16. Headline gradient text
   ============================================================ */
.section__title,
.page-header h1 {
  background: linear-gradient(180deg, #0B2A4A 0%, #1c456f 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}

/* ============================================================
   17. Premium card hover
   ============================================================ */
.card {
  position: relative;
  background: #fff;
  isolation: isolate;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 240px at var(--cx, 50%) var(--cy, 50%), rgba(31,143,255,.12), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none; z-index: 0;
}
.card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(31,143,255,.5), rgba(139,92,246,.4), rgba(6,182,212,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none; z-index: 1;
}
.card:hover::before,
.card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(11,42,74,.14); border-color: transparent; }
.card > * { position: relative; z-index: 2; }

.card__icon {
  position: relative;
  box-shadow: 0 8px 28px rgba(31,143,255,.28);
}
.card__icon::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(31,143,255,.4), rgba(139,92,246,.3));
  filter: blur(14px); opacity: .6; z-index: -1;
}

/* ============================================================
   18. Section background flourishes
   ============================================================ */
.section,
.section--alt { position: relative; overflow: hidden; }
.section--alt::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  top: -10%; right: -10%;
  background: radial-gradient(circle, rgba(31,143,255,.06), transparent 70%);
  pointer-events: none; z-index: 0;
}
.section--alt::after {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  bottom: -15%; left: -10%;
  background: radial-gradient(circle, rgba(139,92,246,.05), transparent 70%);
  pointer-events: none; z-index: 0;
}
.section > .container,
.section--alt > .container { position: relative; z-index: 1; }

/* ============================================================
   19. Page header — softened with gradient & orb
   ============================================================ */
.page-header { position: relative; overflow: hidden; }
.page-header::before {
  content: ''; position: absolute;
  width: 800px; height: 400px;
  top: -50%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(31,143,255,.10), transparent 70%);
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header .section__eyebrow { position: relative; display: inline-block; }
.page-header .section__eyebrow::before {
  content: ''; position: absolute;
  left: -16px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(31,143,255,.7);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ============================================================
   20. Hero CTA glow on hover
   ============================================================ */
.hero .btn:not(.btn--ghost):hover {
  box-shadow: 0 12px 44px rgba(31,143,255,.55);
  background: #1378e5;
}

/* ============================================================
   21. CTA strip — animated
   ============================================================ */
.cta-strip { position: relative; overflow: hidden; isolation: isolate; }
.cta-strip::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(31,143,255,.4), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(139,92,246,.35), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(6,182,212,.3), transparent 50%);
  filter: blur(40px);
  animation: ctaAurora 24s ease-in-out infinite;
  z-index: -1;
}
@keyframes ctaAurora {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(3%, -2%) scale(1.05); }
  66%      { transform: translate(-2%, 3%) scale(.97); }
}

/* ============================================================
   22. About visual — animated gradient
   ============================================================ */
.about-grid__visual {
  position: relative;
  background: linear-gradient(135deg, #0B2A4A, #1F8FFF, #6366F1, #0B2A4A);
  background-size: 300% 300%;
  animation: aboutShift 18s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(31,143,255,.25);
}
.about-grid__visual::before {
  content: ''; position: absolute; inset: 0;
  background: url('img/hero-pattern.svg');
  opacity: .25;
}
.about-grid__visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.18), transparent 50%);
}
@keyframes aboutShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ============================================================
   23. News card thumb — animated gradient default
   ============================================================ */
.news-card__thumb:not([style*="background-image"]) {
  background: linear-gradient(135deg, #0B2A4A, #1F8FFF, #6366F1, #06B6D4);
  background-size: 200% 200%;
  animation: aboutShift 16s ease-in-out infinite;
  position: relative;
}
/* Distinct gradient per news card so thumbnails don't all look identical */
.news-card:nth-child(3n+1) .news-card__thumb:not([style*="background-image"]) {
  background: linear-gradient(135deg, #0B2A4A 0%, #1F8FFF 60%, #6CC4FF 100%);
}
.news-card:nth-child(3n+2) .news-card__thumb:not([style*="background-image"]) {
  background: linear-gradient(135deg, #1E1B4B 0%, #6366F1 55%, #A78BFA 100%);
}
.news-card:nth-child(3n+3) .news-card__thumb:not([style*="background-image"]) {
  background: linear-gradient(135deg, #042F2E 0%, #06B6D4 55%, #5EEAD4 100%);
}
/* Subtle grid-pattern overlay for a tech/product feel */
.news-card__thumb:not([style*="background-image"])::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%);
  opacity: .6;
}

/* ============================================================
   23b. Visual network (constellation inside about-grid__visual)
   ============================================================ */
.visual-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.vn-stars circle {
  animation: vn-twinkle 4s ease-in-out infinite;
  opacity: .5;
}
.vn-stars circle:nth-child(3n)   { animation-delay: .7s;  animation-duration: 5s; }
.vn-stars circle:nth-child(3n+1) { animation-delay: 1.4s; animation-duration: 3.6s; }
.vn-stars circle:nth-child(5n)   { animation-delay: 2.1s; animation-duration: 4.4s; }
.vn-stars circle:nth-child(7n)   { animation-delay: 2.8s; }
@keyframes vn-twinkle {
  0%, 100% { opacity: .25; }
  50%      { opacity: 1; }
}

.vn-lines line {
  opacity: .35;
  stroke-dasharray: 200;
  stroke-dashoffset: 0;
  animation: vn-line-draw 6s ease-in-out infinite;
}
.vn-lines line:nth-child(even) { animation-delay: 1.5s; }
.vn-lines line:nth-child(3n)   { animation-delay: 3s; }
@keyframes vn-line-draw {
  0%, 100% { opacity: .15; }
  50%      { opacity: .55; }
}

.vn-sat {
  transform-box: fill-box;
  transform-origin: center;
  animation: vn-sat-pulse 3.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes vn-sat-pulse {
  0%, 100% { transform: scale(1);    opacity: .75; }
  50%      { transform: scale(1.45); opacity: 1;   }
}

.vn-hub {
  transform-box: fill-box;
  transform-origin: center;
  animation: vn-hub-pulse 2.6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(31,143,255,.8));
}
@keyframes vn-hub-pulse {
  0%, 100% { transform: scale(1);    }
  50%      { transform: scale(1.18); }
}

.vn-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: vn-ring-expand 4.8s ease-out infinite;
}
.vn-ring--1 { animation-delay: 0s; }
.vn-ring--2 { animation-delay: 1.6s; }
.vn-ring--3 { animation-delay: 3.2s; }
@keyframes vn-ring-expand {
  0%   { transform: scale(0.4); opacity: .9; }
  100% { transform: scale(4);   opacity: 0;  }
}

.vn-particle {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 4px rgba(125,196,255,.8));
}
.vn-particle--1 { animation: vn-drift-1 14s ease-in-out infinite; }
.vn-particle--2 { animation: vn-drift-2 18s ease-in-out -4s infinite; }
.vn-particle--3 { animation: vn-drift-3 16s ease-in-out -8s infinite; }
@keyframes vn-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, -30px); }
}
@keyframes vn-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-30px, 40px); }
}
@keyframes vn-drift-3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-50px, 25px); }
}

/* Make sure the constellation sits on top of the gradient/pattern */
.about-grid__visual { position: relative; }
.about-grid__visual::before,
.about-grid__visual::after { z-index: 0; }

/* ============================================================
   23c. Accessibility — focus states
   ============================================================ */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.card:focus-within,
.news-card:focus-within {
  box-shadow: 0 0 0 3px rgba(31,143,255,.3), 0 12px 32px rgba(11,42,74,.08);
}
.site-nav a:focus-visible { outline-offset: 4px; }

/* ============================================================
   23d. Footer meta tag + hidden honeypot
   ============================================================ */
.footer-meta-tag {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
}
.hidden-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

/* ============================================================
   24. Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
