/* =========================================================
   Double Click — IT Solutions & Consultants
   "Deep Tech" redesign — design system pinned in
   design-system/double-click-website/MASTER.md
   ========================================================= */
:root{
  /* Brand blue — exact values from the Double Click brand guide */
  --primary: #1c6c8f;
  --primary-dark: #124a61;
  --primary-300: #5591ab;   /* 25% tint */
  --primary-200: #8eb5c6;   /* 50% tint */
  --primary-100: #c6dae3;   /* 75% tint */
  --primary-50:  #e2eef4;   /* high-contrast tint for text on brand blue */

  /* Brand grayscale */
  --gray-900: #000000;
  --gray-700: #404040;
  --gray-500: #7f7f7f;
  --gray-300: #bfbfbf;

  /* Deep Tech extensions (already in the brand's live palette) */
  --dark: #081a38;          /* dark sections / hero */
  --panel: #0e2438;         /* panels on dark */
  --ink: #0e2438;           /* body text on light */
  --muted: #5a7186;         /* muted text on light */
  --light: #eef9ff;
  --surface: #f5fbff;       /* light section background */
  --border: #dfeaf1;

  /* Exception: WhatsApp's own brand green, WhatsApp buttons only */
  --whatsapp: #25d366;

  --font-display: 'Rubik', 'Segoe UI', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  --line-dark: rgba(85,145,171,.25);      /* hairlines on dark */
  --glass-border: rgba(142,181,198,.3);   /* glass card borders on dark */
  --glass-bg: rgba(255,255,255,.04);

  --glow-cta: 0 0 34px rgba(28,108,143,.6);
  --shadow-sm: 0 2px 10px rgba(9,30,62,.06);
  --shadow-md: 0 14px 34px rgba(9,30,62,.10);
  --shadow-lg: 0 24px 60px rgba(9,30,62,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html, body{ overflow-x: clip; }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--dark);
}
p{ margin: 0 0 1em; color: var(--muted); }
svg{ flex-shrink: 0; }

.container{ width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
section{ position: relative; }
main section[id]{ scroll-margin-top: 96px; }
.visually-hidden{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

:focus-visible{ outline: 3px solid var(--primary-300); outline-offset: 3px; border-radius: 4px; }
::selection{ background: var(--primary); color: #fff; }

.skip-link{
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 600;
  padding: 12px 20px; border-radius: 12px; transition: top .25s var(--ease);
}
.skip-link:focus-visible{ top: 16px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Dark-section shared recipes ---------- */
.dk{ background: var(--dark); color: var(--primary-200); }
.dk::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: linear-gradient(rgba(85,145,171,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(85,145,171,.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.dk > .container{ position: relative; }
.dk h1,.dk h2,.dk h3{ color:#fff; }
.dk p{ color: var(--primary-200); }
.glow-spot{ position:absolute; pointer-events:none; background: radial-gradient(ellipse, rgba(28,108,143,.45) 0%, rgba(28,108,143,0) 70%); }
.grad-text{
  background: linear-gradient(90deg, var(--primary-300), var(--primary-100));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family: var(--font-display); font-weight:600;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--primary); margin-bottom: 13px;
}
.eyebrow::before{
  content:""; width:7px; height:7px; border-radius:50%; background: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(85,145,171,.16);
}
.dk .eyebrow{ color: var(--primary-300); }
.dk .eyebrow::before{ box-shadow: 0 0 8px var(--primary-300); }
.section-head{ max-width: 680px; margin-bottom: 46px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.7rem, 2.7vw, 2.35rem); }
.section-head p{ font-size: 1.04rem; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--font-display); font-weight:600; font-size:.95rem;
  padding: 15px 30px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn:active{ transform: translateY(1px) scale(.985); }
.btn-glow{ background: var(--primary); color:#fff; box-shadow: var(--glow-cta); }
.btn-glow:hover{ background:#20779d; transform: translateY(-2px); box-shadow: 0 0 44px rgba(28,108,143,.75); }
.btn-primary{ background: var(--primary); color:#fff; box-shadow: 0 10px 30px rgba(28,108,143,.3); }
.btn-primary:hover{ background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost-dark{ border-color: rgba(142,181,198,.45); color: var(--primary-100); }
.btn-ghost-dark:hover{ border-color: var(--primary-100); background: rgba(28,108,143,.25); transform: translateY(-2px); color:#fff; }
.btn-outline{ border-color: var(--primary); color: var(--primary); background:#fff; }
.btn-outline:hover{ background: var(--primary); color:#fff; transform: translateY(-2px); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.65; cursor: progress; transform:none !important; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal-stagger > *{ transition-delay: calc(var(--i,0) * 90ms); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: fixed; inset-inline:0; top:0; z-index:100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.solid{
  background: rgba(8,26,56,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px rgba(2,8,20,.35);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; height:76px; }
.logo img{ height:36px; width:auto; }
.main-nav{ display:flex; align-items:center; gap:6px; }
.main-nav a.nav-link{
  font-family: var(--font-display); font-weight:500; font-size:.93rem;
  color: var(--primary-200); padding: 9px 14px; border-radius: 10px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.main-nav a.nav-link:hover{ color:#fff; background: rgba(28,108,143,.28); }
.main-nav a.nav-link.active{ color:#fff; background: rgba(28,108,143,.4); }
.header-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none; background:transparent; border:1px solid var(--glass-border); border-radius:10px;
  width:46px; height:46px; align-items:center; justify-content:center; color: var(--primary-100);
}

/* Mobile nav drawer */
.mobile-nav{
  position: fixed; inset:0; z-index:150; background: rgba(8,26,56,.98);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display:flex; flex-direction:column; padding: 24px;
  transform: translateX(100%); transition: transform .35s var(--ease); visibility:hidden;
}
.mobile-nav.open{ transform:none; visibility:visible; }
.mn-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 26px; }
.mn-head img{ height:32px; }
.mn-close{
  background:transparent; border:1px solid var(--glass-border); border-radius:10px;
  width:46px; height:46px; display:flex; align-items:center; justify-content:center; color: var(--primary-100);
}
.mobile-nav a{
  font-family: var(--font-display); font-weight:600; font-size:1.15rem; color:#fff;
  padding: 15px 10px; border-bottom: 1px solid var(--line-dark); min-height:46px; display:flex; align-items:center;
}
.mobile-nav .mn-cta{ margin-top:auto; padding-top:22px; }

/* =========================================================
   HERO
   ========================================================= */
.hero{ padding: 150px 0 0; overflow:hidden; }
.hero .glow-hero{ top:-160px; left:30%; width:700px; height:500px; }
.hero-grid{ display:grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items:center; }
.hero-badge{
  display:inline-flex; align-items:center; gap:9px;
  background: rgba(28,108,143,.25); border:1px solid rgba(142,181,198,.35); border-radius:999px;
  padding: 8px 18px; font-family: var(--font-display); font-weight:600; font-size:.82rem; color: var(--primary-100);
}
.hero-badge .pulse-dot{ width:7px; height:7px; border-radius:50%; background: var(--primary-300); box-shadow: 0 0 8px var(--primary-300); }
.hero h1{ font-size: clamp(2.1rem, 4.3vw, 3.4rem); margin: 20px 0 18px; font-weight:800; }
.hero .lead{ font-size: 1.1rem; max-width: 520px; }
.hero-actions{ display:flex; gap:14px; margin-top: 26px; flex-wrap:wrap; }
.hero-chips{ display:flex; gap:10px; margin-top: 24px; flex-wrap:wrap; }
.hero-chips span{
  border:1px solid rgba(142,181,198,.3); border-radius:999px; padding: 6px 15px;
  font-size:.82rem; color: var(--primary-200);
}

/* Network node graphic — organic "working brain" motion.
   Node drift, link tracking and pulse travel are driven by JS
   (heroNet in main.js) so the links stay attached to the moving
   nodes; CSS handles only the glow layers. */
.hero-net{ position:relative; min-height: 460px; }
.hero-net svg{ width:100%; height:auto; overflow:visible; }

/* Glowing hub */
.hub-core{ filter: drop-shadow(0 0 18px rgba(28,108,143,.85)); }
.hub-glow{
  transform-box: fill-box; transform-origin: center;
  animation: glowBreathe 4.5s ease-in-out infinite alternate;
}
@keyframes glowBreathe{
  from{ opacity:.55; transform: scale(1) }
  to{ opacity:1; transform: scale(1.14) }
}

/* Radar ping expanding from the hub */
.net-ping{
  transform-box: fill-box; transform-origin: center;
  animation: ping 4s ease-out infinite;
}
@keyframes ping{
  0%{ transform: scale(1); opacity:.7 }
  75%, 100%{ transform: scale(2.1); opacity:0 }
}

/* Hub ring breathing */
.net-hub-ring{ transform-box: fill-box; transform-origin: center; animation: hubPulse 3.5s var(--ease) infinite; }
@keyframes hubPulse{ 0%,100%{ opacity:.5; transform: scale(1) } 50%{ opacity:1; transform: scale(1.05) } }

/* Nodes glow softly; motion comes from JS */
.nnode > circle{ filter: drop-shadow(0 0 9px rgba(85,145,171,.5)); }

/* Traveling pulses glow */
.pl{ filter: drop-shadow(0 0 6px rgba(198,218,227,.85)); }

/* Badge + live dots ping softly */
.hero-badge .pulse-dot, .stat-live .pulse-dot{ animation: dotPing 2.4s ease-out infinite; }
@keyframes dotPing{
  0%{ box-shadow: 0 0 0 0 rgba(85,145,171,.55) }
  70%{ box-shadow: 0 0 0 9px rgba(85,145,171,0) }
  100%{ box-shadow: 0 0 0 0 rgba(85,145,171,0) }
}

/* Stats bar */
.stats-bar{
  margin-top: 64px; border-top: 1px solid var(--line-dark);
  display:flex; align-items:center; padding: 26px 0; gap: 0; position:relative;
}
.stat{ flex:1; min-width:0; }
.stat .num{ font-family: var(--font-display); font-weight:800; font-size:1.8rem; color:#fff; line-height:1.1; }
.stat .label{ font-size:.82rem; color: var(--primary-300); }
.stat-div{ width:1px; height:52px; background: var(--line-dark); margin: 0 20px; }
.stat-live{ flex:1.4; display:flex; align-items:center; gap:10px; font-size:.9rem; color: var(--primary-200); }
.stat-live .pulse-dot{ width:8px; height:8px; border-radius:50%; background: var(--primary-300); box-shadow: 0 0 10px var(--primary-300); }

/* =========================================================
   SYSTEMS
   ========================================================= */
.systems{ padding: 76px 0 80px; overflow: hidden; }
.systems .glow-sys{ top:80px; right:-180px; width:560px; height:480px; }
.systems-grid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:22px; }
.sys-card{
  background: var(--glass-bg); border:1px solid rgba(142,181,198,.25); border-radius: var(--radius-lg);
  padding: 28px; display:flex; flex-direction:column; gap:11px; position:relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.sys-card:hover{ transform: translateY(-4px); border-color: rgba(142,181,198,.5); box-shadow: 0 0 34px rgba(28,108,143,.25); }
.sys-card h3{ transition: transform .4s var(--ease), color .4s var(--ease); }
.sys-card:hover h3{ transform: translateX(4px); color: var(--primary-100); }
.sys-tag{ font-size:.78rem; font-weight:700; color: var(--primary-200); text-transform:uppercase; letter-spacing:.08em; }
.sys-card h3{ font-size: 1.85rem; font-weight:800; margin:0; }
.sys-sub{ font-size:.88rem; color: var(--primary-200); margin:0; }
.sys-desc{ font-size:.92rem; line-height:1.6; color: var(--primary-100); margin:0; }
.sys-feats{ display:flex; flex-direction:column; gap:9px; margin-top:4px; }
.sys-feats li{ display:flex; gap:9px; align-items:flex-start; font-size:.86rem; color: var(--primary-200); }
.sys-feats svg{ margin-top:3px; }
.sys-actions{ margin-top:auto; padding-top:14px; display:flex; gap:10px; }
.sys-actions .btn{ flex:1; padding: 12px 0; font-size:.86rem; border-radius:10px; }
.btn-sys-ghost{ border-color: rgba(142,181,198,.4); color: var(--primary-100); }
.btn-sys-ghost:hover{ border-color: var(--primary-100); color:#fff; }
.btn-sys{ background: rgba(28,108,143,.55); color:#fff; }
.btn-sys:hover{ background: var(--primary); }

.sys-featured{
  background: rgba(28,108,143,.22); border:1.5px solid var(--primary-300);
  box-shadow: 0 0 44px rgba(28,108,143,.35);
}
.sys-featured .sys-tag{ color: var(--primary-100); }
.sys-featured .sys-sub{ color: var(--primary-100); }
.sys-featured .sys-desc{ color: var(--primary-50); }
.sys-featured .sys-feats li{ color: var(--primary-50); }
.sys-featured .btn-sys-ghost{ border-color: rgba(226,238,244,.5); color:#fff; }
.sys-featured .btn-sys{ background: var(--primary); box-shadow: 0 0 24px rgba(28,108,143,.6); }
.sys-pop{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background: var(--primary); color:#fff; font-family: var(--font-display); font-weight:700; font-size:.75rem;
  padding: 6px 16px; border-radius:999px; white-space:nowrap; box-shadow: 0 0 20px rgba(28,108,143,.6);
  display:inline-flex; align-items:center; gap:6px;
}
.sys-path{
  margin-top: 34px; display:flex; align-items:center; justify-content:center; gap:16px; flex-wrap:wrap;
  font-family: var(--font-display); font-weight:800; font-size:1.05rem; color: var(--primary-200);
}
.sys-path .mid{ color: var(--primary-100); }
.sys-path em{ font-style:normal; font-family: var(--font-body); font-weight:400; font-size:.9rem; color: var(--primary-200); margin-left:10px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services{ background: var(--surface); padding: 80px 0; }
.services-grid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:22px; }
.service-card{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; display:flex; flex-direction:column; gap:12px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover, .service-card:focus-visible{
  transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-100);
}
.icon-tile{
  width:48px; height:48px; border-radius:14px; background: var(--dark);
  display:flex; align-items:center; justify-content:center;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
/* Icon tilts and grows on card hover — same motion as the service pages */
.service-card:hover .icon-tile,
.service-card:focus-visible .icon-tile{ transform: rotate(-8deg) scale(1.06); background: var(--primary); }
.service-card h3{ font-size:1.13rem; margin:0; }
.service-card p{ font-size:.92rem; margin:0; }
.service-more{
  display:inline-flex; align-items:center; gap:8px; margin-top:10px;
  font-family: var(--font-display); font-weight:600; font-size:.88rem; color: var(--primary);
}
.service-card:hover .service-more{ text-decoration: underline; }
.service-more svg{ transition: transform .4s var(--ease); }
.service-card:hover .service-more svg{ transform: translateX(5px); }

/* =========================================================
   WHY / ABOUT
   ========================================================= */
.why{ background:#fff; padding: 84px 0; }
.why-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.why h2{ font-size: clamp(1.7rem, 2.7vw, 2.2rem); }
.check-list{ display:flex; flex-direction:column; gap:14px; margin-top: 18px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; font-size:.96rem; color: var(--ink); }
.check-list b{ font-family: var(--font-display); }
.check-list svg{ margin-top:3px; }
.why-callout{
  display:flex; align-items:center; gap:14px; margin-top: 24px;
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding: 16px 20px;
}
.why-callout strong{ font-family: var(--font-display); color: var(--dark); display:block; }
.why-callout span{ color: var(--muted); font-size:.9rem; }
.why-panel{
  position:relative; background: var(--dark); border-radius: var(--radius-xl); padding: 36px; overflow:hidden;
  min-height: 380px;
}
.why-panel::before{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(85,145,171,.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(85,145,171,.08) 1px, transparent 1px);
  background-size: 36px 36px;
}
.why-panel .glow-why{ top:-80px; right:-60px; width:360px; height:300px; background: radial-gradient(ellipse, rgba(28,108,143,.5) 0%, rgba(28,108,143,0) 70%); }
.wp-head{ display:flex; justify-content:space-between; align-items:center; position:relative; margin-bottom:18px; gap:10px; flex-wrap:wrap; }
.wp-head strong{ font-family: var(--font-display); color:#fff; font-size:.98rem; }
.wp-badge{
  background: rgba(28,108,143,.4); border:1px solid rgba(142,181,198,.35); color: var(--primary-100);
  font-weight:700; font-size:.76rem; padding: 5px 12px; border-radius:999px;
}
.wp-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; position:relative; }
.wp-cell{
  background: rgba(255,255,255,.05); border:1px solid rgba(142,181,198,.25); border-radius:14px; padding: 16px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.wp-cell:hover{ transform: translateY(-3px); border-color: rgba(142,181,198,.5); }
.wp-cell .num{ font-family: var(--font-display); font-weight:800; font-size:1.45rem; color:#fff; }
.wp-cell .label{ font-size:.8rem; color: var(--primary-200); }

/* =========================================================
   ACADEMY
   ========================================================= */
.academy{ padding: 72px 0; overflow: hidden; }
.academy .glow-ac{ top:-120px; left:40%; width:500px; height:340px; }
.academy-grid{ display:flex; align-items:center; justify-content:space-between; gap: 40px; }
.academy h2{ font-size: clamp(1.5rem, 2.4vw, 1.95rem); max-width: 620px; margin-bottom: 10px; }
.academy p{ max-width: 560px; margin: 0; font-size:.98rem; }
.academy-perks{ display:flex; gap: 18px; margin-top: 16px; flex-wrap:wrap; }
.academy-perks li{ display:flex; align-items:center; gap:8px; font-size:.86rem; color: var(--primary-100); }
.academy-actions{ display:flex; gap:14px; flex-shrink:0; flex-wrap:wrap; }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners{ background: var(--surface); padding: 64px 0; }
.partners .section-head{ margin-bottom: 34px; }
.brand-marquee{ overflow:hidden; position:relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand-track{ display:flex; align-items:center; gap: 20px; width:max-content; animation: marquee 36s linear infinite; }
.brand-marquee:hover .brand-track, .brand-marquee:focus-within .brand-track{ animation-play-state: paused; }
.brand-track img{
  height: 66px; width:auto; background:#fff; border:1px solid var(--border); border-radius:12px;
  padding: 10px 18px; object-fit: contain;
}
@keyframes marquee{ from{ transform: translateX(0) } to{ transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce){
  .brand-track{ animation:none; flex-wrap:wrap; width:auto; justify-content:center; }
  .brand-track img[aria-hidden="true"]{ display:none; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials{ background:#fff; padding: 80px 0; }
.tm-track-wrap{ position:relative; }
.tm-track{
  display:flex; gap: 22px; overflow-x:auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: none;
}
.tm-track::-webkit-scrollbar{ display:none; }
.tm-card{
  flex: 0 0 calc((100% - 44px) / 3); min-width: 300px; scroll-snap-align: start;
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display:flex; flex-direction:column; gap: 14px;
}
.tm-stars{ display:flex; gap:4px; }
.tm-card blockquote{ margin:0; font-size:.95rem; line-height:1.7; color: var(--ink); }
.tm-person{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.tm-avatar{
  width:42px; height:42px; border-radius:50%; background: var(--primary-100);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size:.9rem; color: var(--primary-dark);
}
.tm-person strong{ font-family: var(--font-display); font-size:.9rem; color: var(--dark); display:block; }
.tm-person span{ font-size:.78rem; color: var(--muted); }
.tm-controls{ display:flex; gap:10px; justify-content:center; margin-top: 22px; }
.tm-controls button{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--border); background:#fff;
  display:flex; align-items:center; justify-content:center; color: var(--primary);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.tm-controls button:hover{ background: var(--primary); color:#fff; transform: translateY(-2px); }

/* =========================================================
   CONTACT / QUOTE
   ========================================================= */
.quote{ background: var(--surface); padding: 84px 0; }
.quote-grid{ display:grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items:start; }
.contact-rows{ display:flex; flex-direction:column; gap:16px; margin-top: 10px; }
.contact-row{ display:flex; align-items:center; gap:14px; }
.contact-row:hover .icon-tile{ transform: rotate(-8deg) scale(1.06); background: var(--primary); }
.contact-row strong{ font-family: var(--font-display); font-size:.95rem; color: var(--dark); display:block; }
.contact-row span{ font-size:.9rem; color: var(--muted); }
.quote-form{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius-xl); padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-bottom:16px; }
.field label{ display:block; font-family: var(--font-display); font-weight:600; font-size:.85rem; color: var(--dark); margin-bottom: 7px; }
.field input, .field select, .field textarea{
  width:100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: var(--font-body); font-size:.94rem; color: var(--ink); background: var(--surface);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--primary); background:#fff;
  box-shadow: 0 0 0 4px rgba(28,108,143,.14);
}
.form-note{ font-size:.8rem; color: var(--muted); text-align:center; margin: 12px 0 0; }
.form-success, .form-error{
  display:none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-size:.92rem;
}
.form-success.show, .form-error.show{ display:block; }
.form-success{ background: #e8f7ee; border:1px solid #bfe6cf; color:#1c6b40; }
.form-error{ background: #fdeeee; border:1px solid #f2c7c7; color:#8f2525; }
.form-error a{ color:#8f2525; text-decoration: underline; font-weight:700; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ padding: 72px 0 0; }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; position:relative;
}
.site-footer h4{ color:#fff; font-size:1rem; margin-bottom: 16px; }
.footer-brand img{ height:38px; margin-bottom: 16px; }
.footer-brand p{ font-size:.92rem; max-width: 320px; }
.footer-links{ display:flex; flex-direction:column; gap: 11px; }
.footer-links a{ font-size:.92rem; color: var(--primary-200); transition: color .25s var(--ease); display:inline-flex; align-items:center; gap:8px; }
.footer-links a:hover{ color:#fff; }
.footer-contact{ display:flex; flex-direction:column; gap: 13px; }
.footer-contact li{ display:flex; gap:11px; align-items:flex-start; font-size:.9rem; color: var(--primary-200); }
.footer-contact svg{ margin-top:3px; }
.footer-social{ display:flex; gap:10px; margin-top: 18px; }
.footer-social a{
  width:40px; height:40px; border-radius:12px; border:1px solid var(--glass-border);
  display:flex; align-items:center; justify-content:center; color: var(--primary-200);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover{ background: var(--primary); color:#fff; transform: translateY(-2px); }
.newsletter-form{ display:flex; gap:8px; margin-top: 14px; flex-wrap:wrap; }
.newsletter-form input{
  flex:1; min-width: 170px; padding: 12px 14px; border-radius: 12px;
  border:1px solid rgba(142,181,198,.35); background: rgba(255,255,255,.04); color:#fff;
  font-family: var(--font-body); font-size:.9rem;
}
.newsletter-form input::placeholder{ color: var(--primary-300); }
.newsletter-form input:focus{ outline:none; border-color: var(--primary-300); box-shadow: 0 0 0 4px rgba(28,108,143,.25); }
.newsletter-form .btn{ padding: 12px 20px; font-size:.88rem; }
.nl-status{ flex-basis:100%; font-size:.84rem; }
.footer-bottom{
  margin-top: 52px; border-top: 1px solid var(--line-dark);
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding: 22px 0; position:relative; font-size:.86rem; color: var(--primary-300);
}
.footer-bottom a{ color: var(--primary-200); } .footer-bottom a:hover{ color:#fff; }

/* ---------- Floating buttons ---------- */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 26px rgba(37,211,102,.4);
  transition: transform .3s var(--ease);
}
.wa-float:hover{ transform: scale(1.08); }
.back-to-top{
  position: fixed; right: 22px; bottom: 90px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: var(--dark); color: var(--primary-100);
  border: 1px solid var(--glass-border);
  display:flex; align-items:center; justify-content:center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.back-to-top.show{ opacity:1; pointer-events:auto; transform:none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px){
  .hero-grid{ grid-template-columns: 1fr; position: relative; }
  /* On small screens the network sits faded behind the hero text
     instead of disappearing */
  .hero-net{
    position: absolute; inset: 0; min-height: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: .22; z-index: 0; pointer-events: none; overflow: hidden;
  }
  .hero-net svg{ width: min(92vw, 520px); height: auto; }
  .hero-grid > :not(.hero-net){ position: relative; z-index: 1; }
  .stats-bar{ flex-wrap: wrap; gap: 18px 0; }
  .stat{ flex: 1 1 40%; }
  .stat-div{ display:none; }
  .stat-live{ flex: 1 1 100%; }
  .systems-grid{ grid-template-columns: 1fr; max-width: 560px; margin-inline:auto; }
  .sys-featured{ order: -1; }
  .services-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why-grid{ grid-template-columns: 1fr; gap: 40px; }
  .academy-grid{ flex-direction: column; align-items: flex-start; }
  .quote-grid{ grid-template-columns: 1fr; gap: 40px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 40px; }
  .tm-card{ flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 860px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-cta .btn{ display:none; }
}
@media (max-width: 640px){
  .hero{ padding-top: 120px; }
  .services-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .stat{ flex: 1 1 100%; }
  .tm-card{ flex-basis: 100%; }
  .sys-actions{ flex-direction: column; }
  .sys-actions .btn{ padding: 13px 0; }
}

/* =========================================================
   SUBPAGE: page hero (dark)
   ========================================================= */
.page-hero{ padding: 150px 0 64px; overflow:hidden; }
.page-hero .glow-ph{ top:-160px; left:35%; width:640px; height:460px; }
.breadcrumb{ display:flex; align-items:center; gap:10px; font-size:.85rem; color: var(--primary-300); margin-bottom: 18px; flex-wrap:wrap; }
.breadcrumb a{ color: var(--primary-200); } .breadcrumb a:hover{ color:#fff; }
.breadcrumb svg{ opacity:.6; }
.page-hero h1{ font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight:800; max-width: 760px; }
.page-hero .lead{ font-size: 1.08rem; max-width: 640px; }
.audience-chips{ display:flex; gap:10px; margin-top: 22px; flex-wrap:wrap; }
.audience-chips span{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(142,181,198,.3); border-radius:999px; padding: 7px 16px;
  font-size:.84rem; color: var(--primary-100);
}

/* =========================================================
   SUBPAGE: horizontal system row cards
   ========================================================= */
.plans{ background: var(--surface); padding: 72px 0; }
.plans-stack{ display:flex; flex-direction:column; gap: 26px; }
.plan-row{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius-xl);
  display:grid; grid-template-columns: 0.9fr 1.25fr; gap: 0; overflow:hidden; position:relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  scroll-margin-top: 110px;
}
.plan-row:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-row:hover .plan-title .icon-tile{ transform: rotate(-8deg) scale(1.06); }
.plan-head{
  padding: 36px; display:flex; flex-direction:column; gap: 13px;
  border-right: 1px solid var(--border);
}
.plan-audience{
  display:inline-flex; align-self:flex-start; align-items:center; gap:8px;
  background: var(--light); border-radius:999px; padding: 6px 14px;
  font-size:.78rem; font-weight:700; color: var(--primary-dark);
}
.plan-title{ display:flex; align-items:center; gap:14px; }
.plan-title .icon-tile{ width:52px; height:52px; border-radius:16px; }
.plan-title h2{ font-size: 2rem; font-weight:800; margin:0; }
.plan-title small{ display:block; font-family: var(--font-body); font-weight:600; font-size:.82rem; color: var(--muted); letter-spacing:0; }
.plan-tagline{ font-size:.95rem; line-height:1.65; margin:0; }
.plan-actions{ margin-top:auto; padding-top:16px; display:flex; gap:12px; flex-wrap:wrap; }
.plan-actions .btn{ padding: 13px 24px; font-size:.9rem; }
.demo-note{ display:flex; gap:8px; align-items:flex-start; font-size:.78rem; color: var(--muted); margin: 4px 0 0; }
.demo-note svg{ margin-top:2px; }
.plan-feats{ padding: 32px 36px; display:flex; flex-direction:column; }
.plan-includes{
  display:inline-flex; align-items:center; gap:9px; align-self:flex-start;
  background: #eef7f0; border:1px solid #cfe8d6; color:#1c6b40; border-radius: 10px;
  font-weight:700; font-size:.82rem; padding: 7px 14px; margin-bottom: 18px;
}
.feature-cols{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.feature-item{ display:flex; gap:13px; align-items:flex-start; }
.f-ico{
  flex-shrink:0; width:40px; height:40px; border-radius:12px; background: var(--light);
  display:flex; align-items:center; justify-content:center;
}
.feature-item strong{ display:block; font-family: var(--font-display); font-size:.92rem; color: var(--dark); margin-bottom:3px; }
.feature-item span{ font-size:.84rem; line-height:1.55; color: var(--muted); }

.plan-row.recommended{ border: 1.5px solid var(--primary-300); box-shadow: 0 0 40px rgba(28,108,143,.14); }
.plan-row.featured .plan-head{ background: var(--dark); border-right-color: rgba(85,145,171,.25); }
.plan-row.featured .plan-head .plan-title h2{ color:#fff; }
.plan-row.featured .plan-head .plan-title small{ color: var(--primary-200); }
.plan-row.featured .plan-head .plan-tagline{ color: var(--primary-100); }
.plan-row.featured .plan-audience{ background: rgba(28,108,143,.35); color: var(--primary-50); }
.plan-row.featured .demo-note{ color: var(--primary-200); }
.plan-ribbon{
  position:absolute; top: 18px; right: -46px; transform: rotate(45deg);
  background: var(--primary); color:#fff; font-family: var(--font-display); font-weight:700; font-size:.72rem;
  padding: 7px 52px; letter-spacing:.06em; text-transform:uppercase; box-shadow: 0 4px 14px rgba(28,108,143,.35);
}

/* =========================================================
   SUBPAGE: gallery (See It In Action)
   ========================================================= */
.gallery{ padding: 76px 0 84px; }
.gallery .glow-gl{ top:-140px; right:10%; width:560px; height:420px; }
.gallery-tabs{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom: 30px; position:relative; }
.gallery-tabs button{
  font-family: var(--font-display); font-weight:600; font-size:.9rem;
  padding: 12px 24px; border-radius: 12px; min-height:46px;
  background: rgba(255,255,255,.05); border:1px solid rgba(142,181,198,.3); color: var(--primary-200);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.gallery-tabs button:hover{ color:#fff; border-color: var(--primary-200); }
.gallery-tabs button.active{ background: var(--primary); border-color: var(--primary); color:#fff; box-shadow: 0 0 24px rgba(28,108,143,.5); }
.gallery-pane{ display:none; }
.gallery-pane.active{ display:block; }
.device-frame{
  max-width: 980px; margin-inline:auto; border-radius: 16px; overflow:hidden;
  border: 1px solid rgba(142,181,198,.3); background: var(--panel);
  box-shadow: 0 30px 80px rgba(2,8,20,.55), 0 0 50px rgba(28,108,143,.18);
  position:relative;
}
.device-topbar{
  display:flex; align-items:center; gap:8px; padding: 12px 16px;
  background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(142,181,198,.2);
}
.device-topbar .dot{ width:11px; height:11px; border-radius:50%; background: rgba(142,181,198,.35); }
.device-url{
  flex:1; max-width: 380px; margin-inline:auto; display:flex; align-items:center; justify-content:center; gap:7px;
  background: rgba(8,26,56,.6); border:1px solid rgba(142,181,198,.2); border-radius: 8px;
  padding: 6px 14px; font-size:.78rem; color: var(--primary-200);
}
/* Fixed-ratio stage: any screenshot size fits, never cropped */
.device-shot{
  aspect-ratio: 16 / 10; background: #06121f;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.device-shot img{ width:100%; height:100%; object-fit: contain; display:block; }

/* Page-name buttons under the frame (Dashboard / Students / ...) */
.shot-btns{ display:flex; gap:10px; justify-content:center; margin-top: 20px; flex-wrap:wrap; }
.shot-btns button{
  font-family: var(--font-display); font-weight:600; font-size:.85rem;
  padding: 10px 20px; border-radius: 999px; min-height:44px;
  background: rgba(255,255,255,.04); border:1px solid rgba(142,181,198,.28); color: var(--primary-200);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.shot-btns button:hover{ color:#fff; border-color: var(--primary-200); transform: translateY(-2px); }
.shot-btns button.active{
  background: rgba(28,108,143,.55); border-color: var(--primary-300); color:#fff;
  box-shadow: 0 0 20px rgba(28,108,143,.45);
}
.shot-caption{ text-align:center; margin: 14px 0 0; font-size:.88rem; color: var(--primary-200); }
.shot-placeholder{
  min-height: 380px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
  color: var(--primary-200); font-size:.95rem; text-align:center; padding: 40px;
}

/* =========================================================
   SUBPAGE: compare table
   ========================================================= */
.compare-section{ background:#fff; padding: 80px 0; }
.compare-wrap{ overflow-x:auto; border:1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.compare-table{ width:100%; border-collapse: collapse; min-width: 680px; font-size:.92rem; }
.compare-table th, .compare-table td{ padding: 14px 18px; text-align:center; border-bottom:1px solid var(--border); }
.compare-table th:first-child, .compare-table td:first-child{ text-align:left; }
.compare-table thead th{
  background: var(--dark); color:#fff; font-family: var(--font-display); font-size:1rem; padding: 18px;
}
.compare-table thead th:nth-child(3){ background: var(--primary); }
.compare-table tbody tr:nth-child(even){ background: var(--surface); }
.compare-table tbody tr:last-child td{ font-weight:700; font-family: var(--font-display); font-size:.82rem; color: var(--primary-dark); }
.compare-table td:first-child{ color: var(--ink); font-weight:600; }
.ck{ color:#1c8f4e; } .xk{ color:#c9cfd6; }

/* CTA band (shared) */
.cta-band{ padding: 72px 0; }
.cta-band .glow-cta2{ top:-120px; left:40%; width:500px; height:340px; }
.cta-inner{ text-align:center; position:relative; }
.cta-inner h2{ font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 680px; margin-inline:auto; }
.cta-inner p{ max-width: 540px; margin: 0 auto 26px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Subpage responsive */
@media (max-width: 1024px){
  .plan-row{ grid-template-columns: 1fr; }
  .plan-head{ border-right: none; border-bottom: 1px solid var(--border); }
  .plan-row.featured .plan-head{ border-bottom-color: rgba(85,145,171,.25); }
  .feature-cols{ grid-template-columns: 1fr; }
}

/* =========================================================
   2026-08-23 — audit fixes: proof strip, FAQ, table, mobile
   ========================================================= */
.proof-strip{ background: var(--surface); padding: 0 0 64px; }
.proof-quote{
  max-width: 820px; margin: 0 auto; background:#fff; border:1px solid var(--border); border-radius: var(--radius-xl);
  padding: 30px 36px 28px; display:grid; grid-template-columns: auto 1fr; gap: 8px 22px; align-items:start;
  box-shadow: var(--shadow-sm);
}
.proof-quote svg{ grid-row: 1 / span 2; margin-top: 2px; }
.proof-quote blockquote{ margin:0; font-size: 1.08rem; line-height: 1.7; color: var(--ink); }
.proof-quote figcaption{ font-size:.88rem; color: var(--muted); }
.proof-quote figcaption strong{ color: var(--primary-dark); font-family: var(--font-display); }

.faq{ background: var(--surface); padding: 80px 0; }
.faq-grid{ max-width: 820px; margin: 0 auto; display:grid; gap: 12px; }
.faq details{ background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: 0 22px; }
.faq details[open]{ border-color: var(--primary-300); box-shadow: 0 0 26px rgba(28,108,143,.10); }
.faq summary{
  cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap: 16px;
  font-family: var(--font-display); font-weight:700; font-size:1rem; color: var(--dark); padding: 18px 0;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:1.3rem; color: var(--primary); flex-shrink:0; transition: transform .2s var(--ease); }
.faq details[open] summary::after{ transform: rotate(45deg); }
.faq details p{ margin: 0 0 18px; color: var(--muted); line-height: 1.7; font-size:.95rem; }
.faq summary:focus-visible{ outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 6px; }

.compare-table td:first-child, .compare-table th:first-child{ position: sticky; left: 0; background:#fff; z-index:1; }
.compare-table thead th:first-child{ background: var(--dark); }
.compare-table tbody tr:nth-child(even) td:first-child{ background: var(--surface); }
.xk{ font-weight:700; }

@media (max-width: 640px){
  .plan-ribbon{
    position: static; transform: none; align-self: flex-start; display:inline-block;
    border-radius: 999px; padding: 6px 14px; margin: 22px 0 -10px 24px; box-shadow: none;
  }
  .plan-row{ display:flex; flex-direction:column; }
  .back-to-top{ display:none; }
  .proof-quote{ grid-template-columns: 1fr; padding: 24px 22px; }
  .proof-quote svg{ grid-row: auto; }
}
