/* ══════════════════════════════════════════════════════
   TRONIVA TECH — SHARED STYLESHEET
   Palette: Navy #0f2240 · Blue #1a3a6e · Cyan #00b8d4
══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Figtree:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

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

:root {
  /* Brand colours (from logo) */
  --navy-deep:   #0a1c38;
  --navy:        #0f2240;
  --blue:        #1a3a6e;
  --blue-mid:    #2060a8;
  --cyan:        #00b8d4;
  --cyan-bright: #12d3ec;
  --cyan-soft:   #e0f6fa;
  --cyan-mist:   #f0fbfd;

  /* Neutrals */
  --gray-dk:  #2d3748;
  --gray:     #64748b;
  --gray-lt:  #94a3b8;
  --border:   #cdd8e8;
  --border-lt:#e4ecf5;

  /* Backgrounds */
  --bg:       #f5f8fc;
  --bg2:      #eaf0f8;
  --white:    #ffffff;

  /* Typography */
  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Figtree', sans-serif;

  /* Spacing */
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(15,34,64,.06);
  --shadow:     0 6px 24px rgba(15,34,64,.1);
  --shadow-lg:  0 16px 56px rgba(15,34,64,.14);
  --shadow-cyan:0 8px 32px rgba(0,184,212,.2);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--gray-dk);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }
.text-center { text-align: center; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 2rem;
  transition: background .35s, box-shadow .35s, border-color .35s;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(10,28,56,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-img { height: 42px; width: auto; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.25rem; font-weight: 800;
  color: var(--white); letter-spacing: -.02em;
}
.logo-text span { color: var(--cyan); }

nav { display: flex; align-items: center; gap: 0.25rem; }
nav a {
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.75); text-decoration: none;
  padding: .5rem .85rem; border-radius: 8px;
  transition: color .2s, background .2s;
}
nav a:hover, nav a.active { color: var(--white); background: rgba(255,255,255,.08); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .6rem 1.4rem; border-radius: 100px;
  font-family: var(--font-body); font-size: .875rem; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none;
  transition: all .22s; white-space: nowrap;
}
.btn-cyan {
  background: var(--cyan); color: var(--navy-deep);
}
.btn-cyan:hover { background: var(--cyan-bright); transform: translateY(-1px); box-shadow: var(--shadow-cyan); }
.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
}
.btn-outline-white:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-navy {
  background: var(--navy); color: var(--white);
}
.btn-navy:hover { background: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-sm { padding: .45rem 1rem; font-size: .8rem; }

/* hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; z-index: 10;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; flex-direction: column; gap: .25rem;
  padding: 1.25rem 1.5rem 1.75rem;
  background: rgba(10,28,56,.98); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.06);
  position: absolute; top: 76px; left: 0; right: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button {
  font-family: var(--font-body); font-size: .975rem; font-weight: 500;
  color: rgba(255,255,255,.75); text-decoration: none;
  background: none; border: none; cursor: pointer;
  padding: .65rem .75rem; border-radius: 8px;
  text-align: left; transition: all .2s;
}
.mobile-menu a:hover, .mobile-menu button:hover { color: var(--white); background: rgba(255,255,255,.06); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: .5rem; }

/* ── PAGE HERO (dark) ── */
.page-hero {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--blue) 100%);
  padding: 140px 2rem 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 40%, rgba(0,184,212,.15) 0%, transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; color: var(--white);
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 580px; font-weight: 300;
}
.page-hero .label {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: .75rem;
}

/* breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 1.75rem;
}
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { width: 12px; height: 12px; }

/* ── SECTION ── */
section { padding: 6rem 2rem; }
.section-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan);
  background: var(--cyan-mist); border: 1px solid rgba(0,184,212,.2);
  padding: .3rem .9rem; border-radius: 100px; margin-bottom: 1rem;
}
.section-tag.dark { background: rgba(0,184,212,.12); color: var(--cyan-bright); border-color: rgba(0,184,212,.25); }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--navy-deep); line-height: 1.1;
  margin-bottom: 1rem;
}
.section-title.white { color: var(--white); }
.section-sub {
  font-size: 1.05rem; color: var(--gray); font-weight: 300; max-width: 540px;
}
.section-sub.white { color: rgba(255,255,255,.65); }
.section-head { margin-bottom: 3.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-lg);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(0,184,212,.25); }
.card-accent {
  position: relative; overflow: hidden;
}
.card-accent::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.card-accent:hover::after { transform: scaleX(1); }

/* ── ICON BOX ── */
.icon-box {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--cyan-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; color: var(--blue); }
.icon-box.dark { background: rgba(0,184,212,.15); }
.icon-box.dark svg { color: var(--cyan-bright); }

/* ── TAG / CHIP ── */
.chip {
  display: inline-block;
  padding: .3rem .85rem; border-radius: 100px;
  font-size: .75rem; font-weight: 600;
  background: var(--cyan-soft); color: var(--blue-mid);
}
.chip.navy { background: rgba(15,34,64,.08); color: var(--navy); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border-lt); margin: 0; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.6);
  padding: 4rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo-text { font-size: 1.1rem; }
.footer-brand p {
  font-size: .875rem; line-height: 1.75; max-width: 280px;
  margin-top: .75rem; color: rgba(255,255,255,.5);
}
.footer-col h4 {
  font-family: var(--font-head); font-weight: 700; color: var(--white);
  margin-bottom: 1rem; font-size: .9rem; letter-spacing: .02em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a, .footer-col ul li span {
  font-size: .85rem; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-email {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; color: var(--cyan); text-decoration: none;
  transition: opacity .2s;
}
.footer-email:hover { opacity: .8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.92); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0; transform: translateX(-24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0; transform: translateX(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

/* Stagger delays */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }

/* ── SCROLL TRACK ── */
.scroll-track {
  display: flex; gap: 1.5rem;
  overflow-x: auto; padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.scroll-track::-webkit-scrollbar { height: 5px; }
.scroll-track::-webkit-scrollbar-track { background: transparent; }
.scroll-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.scroll-track > * { scroll-snap-align: start; flex-shrink: 0; }

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(0,184,212,.18) 0%, transparent 70%);
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--white); letter-spacing: -.03em; margin-bottom: 1rem;
}
.cta-strip p { font-size: 1.05rem; color: rgba(255,255,255,.65); margin-bottom: 2.5rem; font-weight: 300; }
.cta-strip .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border-lt);
  border-bottom: 1px solid var(--border-lt);
  padding: 2.5rem 2rem;
}
.stats-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item { text-align: center; padding: 1rem; }
.stat-val {
  font-family: var(--font-head);
  font-size: 2.5rem; font-weight: 800;
  color: var(--navy); letter-spacing: -.04em; line-height: 1;
}
.stat-val span { color: var(--cyan); }
.stat-lbl { font-size: .85rem; color: var(--gray); margin-top: .35rem; font-weight: 500; }
.stat-divider { border-right: 1px solid var(--border-lt); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 4.5rem 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-divider:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .container { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  section { padding: 4rem 1.25rem; }
  .page-hero { padding: 120px 1.25rem 60px; }
}
