/* ===========================================================
   TROAN DIGITAL — Editorial Light Design System
   =========================================================== */

:root {
  --bg:        #ffffff;
  --bg-2:      #f7f8fa;
  --bg-3:      #f0f2f5;
  --surface:   #ffffff;
  --surface-2: #f7f8fa;

  --border:    #e4e7ec;
  --border-2:  #d0d5dd;

  --blue:      #1a6fd4;
  --blue-2:    #1558a8;
  --blue-pale: #e8f0fb;

  --green:     #15803d;
  --rose:      #be123c;
  --amber:     #b45309;

  --text:      #111827;
  --text-2:    #374151;
  --muted:     #6b7280;
  --dim:       #9ca3af;

  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10);

  --font:    'Inter', system-ui, sans-serif;
  --heading: 'Space Grotesk', system-ui, sans-serif;
  --maxw:    1200px;
  --ease:    cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 86px }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block }
a { color: var(--blue); text-decoration: none }

::selection { background: rgba(26,111,212,.14); color: var(--text) }

::-webkit-scrollbar { width: 8px }
::-webkit-scrollbar-track { background: var(--bg-2) }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 8px }
::-webkit-scrollbar-thumb:hover { background: #b0b8c4 }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px }

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 120;
  background: var(--blue);
  transition: width .1s linear;
}

/* ---- typography ---- */
h1, h2, h3, h4 {
  font-family: var(--heading);
  line-height: 1.15; font-weight: 700;
  color: var(--text); letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem) }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem) }
h3 { font-size: 1.1rem; font-weight: 600 }
p  { color: var(--muted) }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100% }
.section { padding: 108px 0; position: relative }
@media(max-width: 720px) { .section { padding: 72px 0 } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--blue) }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center }
.section-head .eyebrow { justify-content: center }
.section-head h2 { margin-bottom: 14px }
.section-lead { font-size: 1.05rem; color: var(--muted) }

/* ---- live dot ---- */
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #15803d; box-shadow: 0 0 0 0 rgba(21,128,61,.5);
  animation: ping 1.8s infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(21,128,61,.5) }
  70%  { box-shadow: 0 0 0 7px rgba(21,128,61,0) }
  100% { box-shadow: 0 0 0 0 rgba(21,128,61,0) }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: .9rem; cursor: pointer;
  border: none; padding: 12px 24px; border-radius: var(--r);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 32px; font-size: .95rem }
.btn-block { width: 100% }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 2px 8px rgba(26,111,212,.28);
}
.btn-primary:hover {
  background: var(--blue-2); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,111,212,.34);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover {
  background: var(--bg-2); transform: translateY(-2px);
  border-color: var(--blue); color: var(--blue);
}

/* ===================== HEADER ===================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 72px;
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, height .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.header.scrolled {
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 62px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--heading); font-weight: 700; font-size: 1.15rem; color: var(--text) }
.logo-mark {
  height: 40px; width: auto; max-width: 200px; flex-shrink: 0; object-fit: contain;
  transition: transform .3s var(--ease);
}
.header.scrolled .logo-mark { height: 36px }
.footer .logo-mark { height: 38px; max-width: 220px }
.logo:hover .logo-mark { transform: scale(1.04) }
.logo-text .dot { color: var(--blue) }

.nav { display: flex; align-items: center; gap: 2px }
.nav-link {
  padding: 7px 13px; border-radius: 8px;
  font-size: .88rem; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg-2) }
.nav-cta {
  margin-left: 10px; padding: 9px 20px; border-radius: 9px;
  font-size: .88rem; font-weight: 600;
  background: var(--blue); color: #fff;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover { background: var(--blue-2); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,111,212,.3) }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px }
.menu-toggle span { width: 24px; height: 1.5px; background: var(--text); border-radius: 2px; transition: .3s }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg) }
.menu-toggle.open span:nth-child(2) { opacity: 0 }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg) }

@media(max-width: 880px) {
  .menu-toggle { display: flex }
  .nav {
    position: fixed; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px;
    transform: translateY(-110%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0) }
  .nav-link, .nav-cta { width: 100%; text-align: center; padding: 13px }
  .nav-cta { margin-left: 0; margin-top: 6px }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 148px 0 96px;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--bg);
}

/* subtle dot-grid texture */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, #d1d8e4 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .45;
}

/* horizontal accent strip at top of hero area */
.hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--blue) 0%, transparent 60%);
}

.hero .container { position: relative; z-index: 2 }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: center; width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: var(--blue-pale); border: 1px solid rgba(26,111,212,.2);
  font-size: .78rem; font-weight: 600; color: var(--blue);
  margin-bottom: 24px;
}
.hero-copy h1 { margin-bottom: 22px; color: var(--text) }
.hero-copy h1 .accent { color: var(--blue) }
.hero-sub { font-size: 1.1rem; line-height: 1.7; margin-bottom: 36px; max-width: 520px; color: var(--text-2) }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px }
.hero-trust { display: flex; flex-direction: column; gap: 12px }
.hero-trust > span { font-size: .76rem; color: var(--dim); letter-spacing: .06em; text-transform: uppercase }

/* infinite logo marquee */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 26s linear infinite }
.marquee:hover .marquee-track { animation-play-state: paused }
@keyframes marquee { to { transform: translateX(-50%) } }
.marquee .chip {
  font-size: .76rem; font-weight: 500; color: var(--muted);
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-2); white-space: nowrap;
}

@media(max-width: 880px) {
  .hero { min-height: auto; padding: 118px 0 72px }
  .hero-grid { grid-template-columns: 1fr; gap: 48px }
  .hero-visual { order: -1 }
}

/* hero visual area */
.hero-visual { position: relative; display: flex; justify-content: center }
.hero-glow {
  position: absolute; inset: -32px; z-index: -1;
  background: radial-gradient(circle at 50% 40%, rgba(26,111,212,.08), transparent 65%);
  filter: blur(24px);
}

/* SOC card */
.soc-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 26px;
  width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  transition: transform .25s var(--ease);
}
.soc-card:hover { transform: translateY(-4px) }
.soc-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px }
.soc-title { font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase }
.soc-status { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; color: var(--green); letter-spacing: .06em; text-transform: uppercase }
.soc-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px }
.soc-metric {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 8px; text-align: center;
  transition: border-color .2s;
}
.soc-metric:hover { border-color: var(--blue) }
.soc-metric-val { font-size: 1.25rem; font-weight: 700; color: var(--blue); font-family: var(--heading); line-height: 1 }
.soc-metric-lbl { font-size: .62rem; color: var(--dim); margin-top: 4px; letter-spacing: .04em; text-transform: uppercase }
.soc-feed-label { font-size: .64rem; font-weight: 700; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; margin-bottom: 10px }
.soc-feed { list-style: none; display: flex; flex-direction: column; gap: 7px; min-height: 148px }
.soc-feed li {
  display: flex; align-items: center; gap: 9px; font-size: .75rem;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 10px;
  animation: feedIn .4s var(--ease);
}
@keyframes feedIn { from { opacity: 0; transform: translateX(-6px) } to { opacity: 1; transform: none } }
.feed-tag {
  flex-shrink: 0; font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 2px 7px; border-radius: 4px;
}
.feed-tag.blocked { background: rgba(21,128,61,.1); color: var(--green) }
.feed-tag.alert   { background: rgba(180,83,9,.1);  color: var(--amber) }
.feed-tag.live    { background: rgba(26,111,212,.1); color: var(--blue) }
.feed-text { color: var(--muted); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .74rem }
.soc-bars { display: flex; align-items: flex-end; gap: 3px; height: 32px; margin-top: 14px }
.soc-bars i { flex: 1; background: var(--blue); border-radius: 2px 2px 0 0; opacity: .5; animation: bar 1.4s ease-in-out infinite }
@keyframes bar { 0%,100% { height: 20% } 50% { height: 100% } }

/* scroll hint */
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid var(--border-2); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px }
.scroll-hint span { width: 3px; height: 7px; border-radius: 2px; background: var(--blue); animation: scroll 1.6s infinite }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0) } 40% { opacity: 1 } 80% { opacity: 0; transform: translateY(10px) } }
@media(max-width: 880px) { .scroll-hint { display: none } }

/* ===================== STATS ===================== */
.stats { padding: 0; margin-top: -28px }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px }
.stat {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 20px; text-align: center;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow) }
.stat::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.stat.shown::after { transform: scaleX(1) }
.stat-val { font-size: 2.2rem; font-weight: 700; font-family: var(--heading); line-height: 1; color: var(--blue) }
.stat-lbl { font-size: .84rem; color: var(--muted); margin-top: 7px }
@media(max-width: 720px) { .stats-grid { grid-template-columns: repeat(2,1fr) } }

/* ===================== CARDS GRID ===================== */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px }
@media(max-width: 920px) { .cards-grid { grid-template-columns: repeat(2,1fr) } }
@media(max-width: 600px) { .cards-grid { grid-template-columns: 1fr } }

.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: var(--shadow) }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px }
.ic-cyan   { background: var(--blue-pale); color: var(--blue) }
.ic-purple { background: #f0ebff; color: #6d28d9 }
.ic-amber  { background: #fef3c7; color: #92400e }
.ic-green  { background: #dcfce7; color: #15803d }
.ic-sky    { background: #e0f2fe; color: #0369a1 }
.ic-rose   { background: #ffe4e6; color: #be123c }
.card-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 100px;
  background: var(--blue-pale); color: var(--blue);
  border: 1px solid rgba(26,111,212,.2);
}
.card h3 { margin-bottom: 9px; color: var(--text) }
.card p  { font-size: .9rem; line-height: 1.65 }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px }
.card-tags span {
  font-size: .7rem; color: var(--muted);
  padding: 3px 8px; border: 1px solid var(--border);
  border-radius: 6px; background: var(--bg-2);
}

/* ===================== WHY US ===================== */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px }
@media(max-width: 920px) { .why-grid { grid-template-columns: repeat(2,1fr) } }
@media(max-width: 520px) { .why-grid { grid-template-columns: 1fr } }
.why-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.why-card:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow) }
.why-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: var(--blue-pale); color: var(--blue);
}
.why-icon svg { width: 22px; height: 22px }
.why-card h3 { font-size: 1.04rem; margin-bottom: 8px; color: var(--text) }
.why-card p  { font-size: .9rem; line-height: 1.62 }

/* ===================== HOW IT WORKS ===================== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative }
@media(max-width: 880px) { .steps { grid-template-columns: repeat(2,1fr) } }
@media(max-width: 480px) { .steps { grid-template-columns: 1fr } }
.step {
  position: relative; padding: 30px 24px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), border-color .3s;
}
.step:hover { transform: translateY(-4px); border-color: var(--blue) }
.step-n {
  font-family: var(--heading); font-size: 2.2rem; font-weight: 700;
  color: var(--blue); line-height: 1; margin-bottom: 14px; opacity: .9;
}
.step h3 { margin-bottom: 8px; color: var(--text) }
.step p  { font-size: .9rem }

/* ===================== PRICING ===================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start }
@media(max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto } }
.plan {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px; position: relative;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.plan:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow) }
.plan.highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26,111,212,.08), var(--shadow);
  background: #fafcff;
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
}
.plan-name { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px }
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--text); font-family: var(--heading); line-height: 1 }
.plan-period { font-size: .88rem; color: var(--muted) }
.plan-tagline { font-size: .88rem; color: var(--muted); margin: 10px 0 20px; min-height: 40px }
.plan hr { border: none; border-top: 1px solid var(--border); margin: 0 0 20px }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text-2) }
.plan-features li svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--green); margin-top: 3px }
.pricing-note { text-align: center; margin-top: 28px; font-size: .88rem; color: var(--dim) }

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center }
@media(max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 44px } }
.about-copy h2 { margin-bottom: 18px }
.about-copy p  { margin-bottom: 14px }
.about-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px }
.about-certs .cert {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 600; color: var(--text-2);
  padding: 7px 13px; border: 1px solid var(--border);
  border-radius: 100px; background: var(--bg-2);
  transition: border-color .2s, color .2s;
}
.about-certs .cert:hover { border-color: var(--blue); color: var(--blue) }
.about-certs .cert::before { content: '✓'; color: var(--green); font-weight: 700 }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.team-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px; text-align: center;
  transition: transform .3s var(--ease), border-color .3s;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--blue) }
.team-avatar {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-weight: 700; font-size: 1.3rem; color: #fff;
}
.team-card h3 { font-size: .98rem; margin-bottom: 3px; color: var(--text) }
.team-role { font-size: .8rem; color: var(--blue); font-weight: 600; margin-bottom: 10px }
.team-certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px }
.team-certs span {
  font-size: .66rem; font-weight: 600; color: var(--blue);
  padding: 2px 8px; border: 1px solid rgba(26,111,212,.25);
  border-radius: 100px; background: var(--blue-pale);
}

/* ===================== TESTIMONIALS ===================== */
.t-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 30px;
  transition: transform .3s var(--ease), border-color .3s; position: relative;
}
.t-card:hover { transform: translateY(-5px); border-color: var(--blue) }
.t-quote-mark {
  font-family: Georgia, serif; font-size: 3rem; line-height: .6;
  color: var(--blue); opacity: .2; height: 22px; display: block;
}
.t-stars { color: var(--amber); font-size: .9rem; margin-bottom: 14px; letter-spacing: 2px }
.t-quote { color: var(--text-2); font-size: .95rem; line-height: 1.7; margin-bottom: 20px }
.t-author { display: flex; align-items: center; gap: 11px }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-weight: 700; color: #fff; flex-shrink: 0;
}
.t-name { font-weight: 700; font-size: .9rem; color: var(--text) }
.t-role { font-size: .78rem; color: var(--muted) }

/* ===================== INSIGHTS ===================== */
.post {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.post:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: var(--shadow) }
.post-thumb { height: 148px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden }
.post-thumb.cyan   { background: #e8f0fb }
.post-thumb.rose   { background: #ffe4e6 }
.post-thumb.purple { background: #f0ebff }
.post-thumb svg { width: 44px; height: 44px; opacity: .35; color: var(--text); transition: transform .4s }
.post:hover .post-thumb svg { transform: scale(1.08) }
.post-body { padding: 22px }
.post-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; flex-wrap: wrap }
.post-cat {
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--blue); padding: 2px 9px; border-radius: 100px;
  background: var(--blue-pale); border: 1px solid rgba(26,111,212,.2);
}
.post-read { font-size: .74rem; color: var(--dim) }
.post-date { font-size: .74rem; color: var(--dim); margin-left: auto }
.post h3 { font-size: 1.01rem; margin-bottom: 8px; line-height: 1.35; color: var(--text) }
.post p  { font-size: .87rem }
.post-more { margin-top: 14px; font-size: .82rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 5px; transition: gap .25s }
.post:hover .post-more { gap: 10px }

/* ===================== FAQ ===================== */
.faq-wrap { max-width: 800px; margin: 0 auto }
.faq-list  { display: flex; flex-direction: column; gap: 10px }
.faq-item  {
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; background: var(--bg); transition: border-color .25s;
}
.faq-item.open { border-color: var(--blue) }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center;
  justify-content: space-between; gap: 14px; padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  font-weight: 600; font-size: .96rem; color: var(--text); font-family: var(--font);
}
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; transition: transform .3s }
.faq-item.open .faq-icon { transform: rotate(180deg) }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--blue); border-radius: 2px }
.faq-icon::before { top: 9px; left: 2px; right: 2px; height: 2px }
.faq-icon::after  { left: 9px; top: 2px; bottom: 2px; width: 2px; transition: opacity .3s }
.faq-item.open .faq-icon::after { opacity: 0 }
.faq-a       { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease) }
.faq-a-inner { padding: 0 24px 20px; color: var(--muted); font-size: .93rem }

/* ===================== CTA BAND ===================== */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: 62px 48px; text-align: center;
  background: var(--blue); color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 12px }
.cta-band p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 540px; margin: 0 auto 28px }
.cta-band .btn-primary {
  background: #fff; color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.cta-band .btn-primary:hover {
  background: var(--blue-pale); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
.cta-band .btn-ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.4);
}
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7) }
@media(max-width: 600px) { .cta-band { padding: 44px 24px } }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 58px; align-items: start }
@media(max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px } }
.contact-copy h2 { margin-bottom: 14px }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 28px }
.contact-list li { display: flex; align-items: center; gap: 14px }
.ci-icon {
  width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-pale); color: var(--blue);
  border: 1px solid rgba(26,111,212,.15);
}
.ci-icon svg { width: 18px; height: 18px }
.ci-label { font-size: .76rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em }
.ci-value  { font-weight: 600; color: var(--text); font-size: .92rem }

.contact-form {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
@media(max-width: 520px) { .field-row { grid-template-columns: 1fr } }
.field { margin-bottom: 16px; display: flex; flex-direction: column }
.field label { font-size: .82rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 9px; padding: 12px 14px;
  color: var(--text); font-family: var(--font); font-size: .93rem;
  outline: none; transition: border-color .2s, box-shadow .2s;
  width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim) }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,111,212,.1);
  background: #fff;
}
.field.invalid input { border-color: var(--rose) }
.form-note { text-align: center; font-size: .78rem; color: var(--dim); margin-top: 12px }

/* ===================== FOOTER ===================== */
.footer {
  border-top: 1px solid var(--border); padding: 62px 0 28px;
  background: var(--bg-2);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; margin-bottom: 44px }
@media(max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr } .footer-brand { grid-column: 1/-1 } }
@media(max-width: 460px) { .footer-grid { grid-template-columns: 1fr } }
.footer-brand p { font-size: .88rem; margin-top: 14px; max-width: 300px }
.footer-col h4  { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 14px }
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 9px }
.footer-col a, .footer-col li { font-size: .88rem; color: var(--muted); transition: color .2s }
.footer-col a:hover { color: var(--blue) }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding-top: 26px; border-top: 1px solid var(--border);
}
.footer-bottom p  { font-size: .82rem; color: var(--dim) }
.footer-status    { display: inline-flex; align-items: center; gap: 8px }

/* ===================== BACK TO TOP ===================== */
.to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  width: 44px; height: 44px; border-radius: 11px;
  background: #fff; border: 1px solid var(--border-2); color: var(--blue);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, box-shadow .2s, border-color .2s;
  box-shadow: var(--shadow-sm);
}
.to-top.show  { opacity: 1; visibility: visible; transform: none }
.to-top:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px) }
.to-top svg   { width: 18px; height: 18px }

/* ===================== TOAST ===================== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--green);
  border-radius: 12px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); max-width: 380px;
  animation: slideUp .3s var(--ease);
}
.toast p { color: var(--text); font-size: .88rem; margin: 0 }
@keyframes slideUp { from { opacity: 0; transform: translate(-50%,14px) } to { opacity: 1; transform: translate(-50%,0) } }
@media(min-width: 640px) {
  .toast { left: auto; right: 24px; transform: none; animation: slideUpR .3s var(--ease) }
}
@keyframes slideUpR { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

/* ===================== SECTION BACKGROUNDS ===================== */
.section.alt-bg {
  background: var(--bg-2);
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease) }
.reveal.shown { opacity: 1; transform: none }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease) }
.stagger.shown > * { opacity: 1; transform: none }
.stagger.shown > *:nth-child(1) { transition-delay: .04s }
.stagger.shown > *:nth-child(2) { transition-delay: .10s }
.stagger.shown > *:nth-child(3) { transition-delay: .16s }
.stagger.shown > *:nth-child(4) { transition-delay: .22s }
.stagger.shown > *:nth-child(5) { transition-delay: .28s }
.stagger.shown > *:nth-child(6) { transition-delay: .34s }

@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
  .reveal, .stagger > * { opacity: 1; transform: none }
  .marquee-track { animation: none !important }
}
