/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #F8FAFF;
  color: #1E293B;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Stylish content list (add .content-list to any <ul> outside .prose/.lh-prose) ── */
.content-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.content-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
  font-size: .9375rem;
  color: #475569;
  line-height: 1.7;
}
.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #F8FAFF; }
::-webkit-scrollbar-thumb { background: linear-gradient(#00C2FF, #6C47FF); border-radius: 4px; }

/* ============================================================
   PALETTE VARIABLES
============================================================ */
:root {
  --navy:    #0A1628;
  --cyan:    #00C2FF;
  --purple:  #6C47FF;
  --bg:      #F8FAFF;
  --white:   #FFFFFF;
  --text:    #1E293B;
  --muted:   #64748B;
  --border:  rgba(10,22,40,0.08);
  --nav-link: #e2ebf9;
}

/* ============================================================
   KEYFRAMES
============================================================ */
@keyframes fadeInUp   { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }
@keyframes fadeInLeft { from{opacity:0;transform:translateX(-28px)} to{opacity:1;transform:none} }
@keyframes fadeInRight{ from{opacity:0;transform:translateX(28px)} to{opacity:1;transform:none} }
@keyframes floatY     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes marquee    { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes blobPulse  { 0%,100%{border-radius:60% 40% 30% 70%/60% 30% 70% 40%} 50%{border-radius:30% 60% 70% 40%/50% 60% 30% 60%} }
@keyframes gradShift  { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes glowPulse  { 0%{box-shadow:0 0 0 0 rgba(0,194,255,.4)} 70%{box-shadow:0 0 0 12px rgba(0,194,255,0)} 100%{box-shadow:0 0 0 0 rgba(0,194,255,0)} }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.reveal.from-left  { transform: translateX(-30px); }
.reveal.from-right { transform: translateX(30px); }
.reveal.from-scale { transform: scale(.93); }
.reveal.visible    { opacity: 1; transform: none; }
.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 }

/* ============================================================
   LAYOUT
============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-light { background: #F8FAFF; }
.section-white { background: #fff; }
.section-dark  { background: var(--navy); }

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
.gradient-text {
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,194,255,.08);
  color: #007A9E;
  border: 1px solid rgba(0,194,255,.2);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label.dark {
  background: rgba(0,194,255,.12);
  color: #00C2FF;
  border-color: rgba(0,194,255,.2);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: transparent;
  color: #00c2ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,22,40,.18);
}
.btn-accent {
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
  color: #fff;
  background-size: 200% 200%;
  animation: gradShift 4s ease infinite;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,194,255,.4);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
}
.btn-light-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(10,22,40,.2);
}
.btn-light-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,22,40,.18);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #00C2FF;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: gap .25s, color .25s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.btn-ghost:hover { gap: 10px; color: #6C47FF; }

/* ============================================================
   CARDS
============================================================ */
.card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(10,22,40,.07);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1), border-color .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(10,22,40,.1);
  border-color: rgba(0,194,255,.25);
}
.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
  margin-bottom: 20px;
}
.card:hover .icon-box { transform: scale(1.1) rotate(-3deg); }

/* ============================================================
   HEADER / NAV
============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-color: rgba(10,22,40,.07);
  box-shadow: 0 4px 32px rgba(10,22,40,.05);
}
#header.scrolled .nav-link,
#header.scrolled .logo-text { color: var(--text); }
#header.scrolled .nav-link.active { color: #00c2ff; }
#header.scrolled .hamburger {
  background: rgba(10,22,40,.06);
  border-color: rgba(10,22,40,.15);
}
#header.scrolled .hamburger:hover {
  background: rgba(10,22,40,.11);
  border-color: rgba(10,22,40,.28);
}
#header.scrolled .hamburger span {
  background: var(--navy);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--nav-link);
  letter-spacing: -0.03em;
}
.logo-text span { color: #00C2FF; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 40px;
}
.nav-link {
  position: relative;
  color: var(--nav-link);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 4px 0;
  text-decoration: none;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #00C2FF, #6C47FF);
  border-radius: 2px;
  transition: width .3s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover,
.nav-link.active { color: #00c2ff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.hamburger:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.55);
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: rgba(255,255,255,.9);
  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: 4px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(10,22,40,.07);
  padding: 16px 32px 24px;
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s cubic-bezier(.16,1,.3,1), padding .4s;
}
.mobile-menu.open {
  display: flex;
  max-height: 400px;
}
.mobile-nav-link {
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  transition: background .2s;
  text-decoration: none;
}
.mobile-nav-link:hover { background: #F8FAFF; }

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 80px;
}
/* pp-hero-* aliases so the shared partial works on the homepage too */
.pp-hero-dots   { position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 24px 24px;
}
.pp-hero-spotlight { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px circle at var(--mx, -999px) var(--my, -999px), rgba(0,194,255,.15), transparent 80%);
}
.pp-hero-orb   { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.pp-hero-orb-1 { top: 10%; left: -5%; width: 500px; height: 500px;
  background: radial-gradient(circle, #00C2FF 0%, transparent 70%); opacity: .22;
  animation: floatY 8s ease-in-out infinite;
}
.pp-hero-orb-2 { bottom: 5%; right: -8%; width: 600px; height: 600px;
  background: radial-gradient(circle, #6C47FF 0%, transparent 70%); opacity: .18;
  animation: floatY 11s ease-in-out 2s infinite;
}
.pp-hero-shape { position: absolute; pointer-events: none; will-change: transform; }
.pp-hero-shape-1 { width: 320px; height: 320px; top: -60px; right: 8%; opacity: .7; animation: heroShapeFloat1 18s ease-in-out infinite; }
.pp-hero-shape-2 { width: 220px; height: 220px; bottom: 8%; left: 3%; opacity: .7; animation: heroShapeFloat2 14s ease-in-out 2s infinite; }
.pp-hero-shape-3 { width: 120px; height: 120px; top: 30%; left: 35%; opacity: .45; animation: heroShapeFloat3 20s ease-in-out 5s infinite; }
.pp-hero-shape-4 { width: 80px; height: 80px; bottom: 18%; right: 22%; opacity: .35; animation: heroShapeFloat1 12s ease-in-out 6s infinite; }

.hero-dots {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 24px 24px;
  pointer-events: none;
}
/* Cursor spotlight */
.hero-spotlight {
  position: absolute; inset: 0;
  background: radial-gradient(700px circle at var(--mx, -999px) var(--my, -999px), rgba(0,194,255,.15), transparent 80%);
  pointer-events: none;
}
/* Drifting abstract shapes */
.hero-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
.hero-shape-1 {
  width: 320px; height: 320px;
  top: -60px; right: 8%;
  animation: heroShapeFloat1 18s ease-in-out infinite;
  opacity: .7;
}
.hero-shape-2 {
  width: 220px; height: 220px;
  bottom: 8%; left: 3%;
  animation: heroShapeFloat2 14s ease-in-out 2s infinite;
  opacity: .7;
}
.hero-shape-3 {
  width: 140px; height: 140px;
  top: 30%; left: 42%;
  animation: heroShapeFloat3 20s ease-in-out 4s infinite;
  opacity: .5;
}
.hero-shape-4 {
  width: 90px; height: 90px;
  bottom: 18%; right: 22%;
  animation: heroShapeFloat1 12s ease-in-out 6s infinite;
  opacity: .4;
}
@keyframes heroShapeFloat1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(4deg); }
  66%       { transform: translateY(10px) rotate(-3deg); }
}
@keyframes heroShapeFloat2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  40%       { transform: translateY(16px) rotate(-5deg); }
  70%       { transform: translateY(-8px) rotate(3deg); }
}
@keyframes heroShapeFloat3 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  25%       { transform: translateY(-12px) translateX(8px); }
  75%       { transform: translateY(10px) translateX(-6px); }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  top: 10%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, #00C2FF 0%, transparent 70%);
  opacity: .22;
  animation: floatY 8s ease-in-out infinite;
}
.hero-orb-2 {
  bottom: 5%; right: -8%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6C47FF 0%, transparent 70%);
  opacity: .18;
  animation: floatY 11s ease-in-out 2s infinite;
}
.hero-inner {
  position: relative;
  width: 100%;
  padding: 80px 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-h1 {
  font-size: clamp(36px,4.5vw,58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-checks { display:flex; flex-direction:column; gap:10px; margin-bottom:36px; }
.hero-check  { display:flex; align-items:center; gap:10px; font-size:14px; color:rgba(255,255,255,.75); }
.hero-check svg { flex-shrink:0; color:#00C2FF; }
.hero-btns { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-bottom:16px; }
.hero-note { font-size:12.5px; color:rgba(255,255,255,.3); letter-spacing:.01em; }

/* Hero image side */
.hero-img-wrap { position: relative; }
.hero-img-glow {
  position: absolute; inset: -16px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0,194,255,.2), rgba(108,71,255,.2));
  filter: blur(20px);
}
.hero-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.hero-img-frame img {
  width: 100%; height: 420px;
  object-fit: cover;
}
.hero-img-frame-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.2), transparent 60%);
}
.float-card {
  position: absolute;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(10,22,40,.25);
  border: 1px solid rgba(255,255,255,.6);
}
.float-card-1 {
  top: 20px; left: -28px;
  padding: 14px 18px;
  animation: floatY 4s ease-in-out infinite;
}
.float-card-2 {
  bottom: 24px; right: -24px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  animation: floatY 4.5s ease-in-out 1s infinite;
}
.float-num { font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:22px; color:var(--navy); line-height:1; }
.float-sub { font-size:11.5px; color:var(--muted); margin-top:3px; }
.float-icon-box {
  width:36px; height:36px; border-radius:10px;
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.float-label { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:13px; color:var(--navy); }
.float-label-sub { font-size:11px; color:var(--muted); }

/* Hero stats bar */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 36px;
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
}
.hero-stat {
  flex: 1 1 140px;
  text-align: center;
  padding: 0 24px;
}
.hero-stat:not(:last-child) { border-right: 1px solid rgba(255,255,255,.08); }
.hero-stat-val {
  font-family:'Space Grotesk',sans-serif;
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 6px;
}
.hero-stat-lbl { font-size:13px; color:rgba(255,255,255,.45); }

/* Wave */
.hero-wave { position:absolute; bottom:0; left:0; right:0; line-height:0; }
.hero-wave svg { display:block; width:100%; height:64px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .hamburger { display:flex; }
  .nav-links, .nav-cta { display:none !important; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-img-wrap { display:none; }
  .hero-stat { border-right:none !important; border-bottom:1px solid rgba(255,255,255,.08); padding-bottom:20px; }
  .hero-stat:last-child { border-bottom:none; }
}
@media (max-width: 480px) {
  .container { padding:0 20px; }
}

/* ============================================================
   TPL2 COMPONENT STYLES (hero-visual & trust bar)
============================================================ */

/* Design tokens used by tpl2 components */
:root {
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-soft: 0 16px 40px rgba(2,6,23,0.12);
  --ease-tpl2: cubic-bezier(.4,0,.2,1);
  --dur-2: 220ms;
  --primary-tpl2: #4f46e5;
  --secondary-tpl2: #0ea5e9;
  --bg-elevated-tpl2: #ffffff;
  --bg-surface-tpl2: #f8fafc;
  --bg-overlay-tpl2: rgba(0,0,0,0.06);
  --text-secondary-tpl2: #475569;
  --text-muted-tpl2: #64748b;
  --border-tpl2: rgba(15,23,42,0.12);
  --border-strong-tpl2: rgba(15,23,42,0.18);
  --card-glow-tpl2: radial-gradient(600px circle at 20% 10%, rgba(79,70,229,.12), transparent 40%);
}

/* sf-card */
.sf-card {
  background: var(--bg-elevated-tpl2);
  border: 1px solid var(--border-tpl2);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: transform var(--dur-2) var(--ease-tpl2), box-shadow var(--dur-2) var(--ease-tpl2), border-color var(--dur-2) var(--ease-tpl2);
  position: relative;
  overflow: hidden;
}
.sf-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--card-glow-tpl2);
  opacity: .65;
  pointer-events: none;
}
.sf-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--border-strong-tpl2);
}

/* sf-badge & sf-chip */
.sf-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-overlay-tpl2);
  border: 1px solid var(--border-tpl2);
  color: var(--text-secondary-tpl2);
  font-size: .9rem;
}
.sf-chip {
  display: inline-flex; align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-tpl2);
  background: transparent;
  color: var(--text-secondary-tpl2);
  font-size: .92rem;
  margin: 6px 8px 0 0;
}

/* text helpers */
.text-muted2 { color: var(--text-muted-tpl2) !important; }
.fw-semibold  { font-weight: 600; }
.fw-bold      { font-weight: 700; }
.small        { font-size: .875rem; }
.fs-4         { font-size: 1.5rem; }
.fs-6         { font-size: 1rem; }
.mt-1         { margin-top: .25rem; }
.mt-2         { margin-top: .5rem; }
.mt-3         { margin-top: 1rem; }
.p-4          { padding: 1.5rem; }
.gap-2        { gap: .5rem; }
.d-flex       { display: flex; }
.flex-wrap    { flex-wrap: wrap; }
.align-items-center  { align-items: center; }
.align-items-start   { align-items: flex-start; }
.justify-content-between { justify-content: space-between; }

/* progress bar */
.progress {
  height: 6px;
  background: var(--bg-overlay-tpl2);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  border-radius: 999px;
  transition: width .6s var(--ease-tpl2);
}

/* hero-visual checklist */
.visual-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.visual-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
.visual-checklist li svg { flex-shrink: 0; }

/* hero-visual overrides — scoped to dark hero background */
#hero .hero-visual {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
#hero .grid-overlay {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}
#hero .hero-visual .floating {
  background: color-mix(in srgb, #00C2FF 22%, transparent);
  border-color: rgba(255,255,255,0.1);
}
#hero .hero-visual .floating.two {
  background: color-mix(in srgb, #6C47FF 20%, transparent);
}
#hero .sf-card {
  background: rgb(255 255 255 / 89%);
}
#hero .sf-chip {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
}
#hero .sf-chip:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(0,194,255,0.5);
  color: #fff;
}

/* hero-visual */
.hero-visual {
  border: 1px solid var(--border-tpl2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-surface-tpl2), transparent);
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--bg-overlay-tpl2) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-overlay-tpl2) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .75;
}
.hero-visual .floating {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--primary-tpl2) 18%, transparent);
  border: 1px solid var(--border-tpl2);
  animation: float-tpl2 6s var(--ease-tpl2) infinite;
}
.hero-visual .floating.two {
  width: 220px; height: 220px;
  left: 52%; top: 18%;
  background: color-mix(in srgb, var(--secondary-tpl2) 16%, transparent);
  animation-delay: -2s;
}
.hero-visual .floating.one {
  left: 14%; top: 48%;
}
@keyframes float-tpl2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* position-relative helper */
.position-relative { position: relative; }

/* Trust bar section */
.trust-bar {
  background: #F8FAFF;
  padding: 32px 0;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.trust-bar-note {
  color: var(--text-muted-tpl2);
  font-size: .875rem;
  margin-top: .5rem;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  align-items: center;
}
.trust-bar-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .trust-bar-grid  { grid-template-columns: 1fr; }
  .trust-bar-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES
============================================================ */
#services { background:#fff; padding:100px 0; }
.section-header-row {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 56px;
}
.section-h2 {
  font-size: clamp(26px,3.5vw,44px); font-weight: 800;
  color: var(--navy); line-height: 1.1; margin-bottom: 12px;
}
.section-desc { font-size:16px; color:var(--muted); max-width:480px; line-height:1.7; }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-card { padding:32px; position:relative; overflow:hidden; cursor:default; }
.service-card-bg { position:absolute; inset:0; opacity:0; border-radius:20px; pointer-events:none; transition:opacity .35s; }
.service-card:hover .service-card-bg { opacity:1; }
.service-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:20px; }
.service-tag { font-size:11.5px; font-weight:600; padding:3px 10px; border-radius:100px; letter-spacing:.01em; }
.cta-card { border-radius:20px; background:var(--navy); padding:32px; display:flex; flex-direction:column; justify-content:center; position:relative; overflow:hidden; }
.cta-glow-1, .cta-glow-2 { position:absolute; border-radius:50%; pointer-events:none; }
.cta-glow-1 { top:-40px; right:-40px; width:180px; height:180px; background:radial-gradient(circle,rgba(0,194,255,.25),transparent); }
.cta-glow-2 { bottom:-40px; left:-40px; width:160px; height:160px; background:radial-gradient(circle,rgba(108,71,255,.2),transparent); }

/* ============================================================
   PRODUCTS
============================================================ */
#products { background: var(--card-glow-tpl2), #F8FAFF; padding:100px 0; }
.products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.product-card { padding:32px; position:relative; overflow:hidden; }
.product-top-bar { position:absolute; top:0; left:0; right:0; height:3px; }
.product-badge { display:flex; align-items:center; gap:6px; padding:6px 12px; border-radius:100px; flex-shrink:0; }
.product-category { font-size:11.5px; font-weight:700; color:#94A3B8; letter-spacing:.06em; text-transform:uppercase; display:block; margin-bottom:6px; }
.product-tags { display:flex; flex-wrap:wrap; gap:6px; margin:16px 0; }
.product-tag { font-size:11.5px; font-weight:500; color:#475569; background:#F1F5F9; border:1px solid rgba(10,22,40,.08); padding:4px 10px; border-radius:100px; }
.products-note { margin-top:28px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:20px 28px; background:#fff; border:1px solid rgba(10,22,40,.07); border-radius:14px; font-size:14px; color:var(--muted); }

/* Learning Hub */
#learning-hub { padding: 100px 0; }

/* Learning Hub card footer */
.lh-card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:4px; }
.lh-coming-soon { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:#94A3B8; font-family:'Space Grotesk',sans-serif; }
.lh-coming-soon i { font-size:12px; }

/* Learning Hub meta row (date · duration · level) */
.lh-meta-row { display:flex; flex-wrap:wrap; gap:12px; font-size:12.5px; color:#64748B; }
.lh-meta-row span { display:inline-flex; align-items:center; gap:5px; }
.lh-meta-row i { font-size:11px; opacity:.7; }
.lh-meta-row-hero { font-size:14px; color:rgba(255,255,255,.7); margin-top:12px; }

/* ============================================================
   WHY SINEFEX
============================================================ */
#why { background:#fff; padding:100px 0; }
.compare-table { border-radius:20px; overflow:hidden; border:1px solid rgba(10,22,40,.08); box-shadow:0 8px 40px rgba(10,22,40,.06); }
.compare-header { display:grid; grid-template-columns:1fr 1fr; }
.compare-header-typical { background:#F8FAFF; padding:18px 28px; border-bottom:1px solid rgba(10,22,40,.08); border-right:1px solid rgba(10,22,40,.08); font-size:12px; font-weight:700; color:#94A3B8; letter-spacing:.06em; text-transform:uppercase; }
.compare-header-sf { background:var(--navy); padding:18px 28px; border-bottom:1px solid rgba(255,255,255,.08); font-size:14px; font-weight:700; color:#00C2FF; }
.compare-row { display:grid; grid-template-columns:1fr 1fr; }
.compare-cell { display:flex; align-items:flex-start; gap:14px; padding:22px 28px; }
.compare-cell.typical { background:#fff; border-right:1px solid rgba(10,22,40,.06); }
.compare-cell.sinefex-0 { background:var(--navy); }
.compare-cell.sinefex-1 { background:#0d1e35; }
.compare-row:not(:last-child) .compare-cell.typical { border-bottom:1px solid rgba(10,22,40,.06); }
.compare-row:not(:last-child) .compare-cell.sinefex-0,
.compare-row:not(:last-child) .compare-cell.sinefex-1 { border-bottom:1px solid rgba(255,255,255,.06); }
.compare-icon { width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.icon-x { background:rgba(239,68,68,.08); }
.icon-check { background:rgba(0,194,255,.15); }
.why-cta { margin-top:40px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; background:linear-gradient(135deg,rgba(0,194,255,.06),rgba(108,71,255,.06)); border:1px solid rgba(0,194,255,.15); border-radius:16px; padding:28px 32px; }
.why-cta-title { font-family:'Space Grotesk',sans-serif; font-size:18px; font-weight:700; color:var(--navy); margin-bottom:6px; }

/* ============================================================
   PHILOSOPHY
============================================================ */
#philosophy { background: var(--card-glow-tpl2), #F8FAFF; padding: 100px 0; }
.philosophy-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.philosophy-img-wrap { margin-top:36px; border-radius:18px; overflow:hidden; box-shadow:0 24px 60px rgba(10,22,40,.12); position:relative; }
.philosophy-img-wrap img { width:100%; height:200px; object-fit:cover; }
.philosophy-img-badge { position:absolute; bottom:20px; left:20px; background:rgba(255,255,255,.95); backdrop-filter:blur(12px); border-radius:12px; padding:12px 16px; box-shadow:0 8px 24px rgba(10,22,40,.15); }
.philosophy-img-badge-title { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14px; color:var(--navy); }
.philosophy-img-badge-sub { font-size:12px; color:var(--muted); margin-top:2px; }
.principles-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.principle-card { padding:24px; }
.principle-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.pride-card { grid-column:1/-1; background:linear-gradient(135deg,var(--navy),#1a2f52); border-radius:16px; padding:24px; display:flex; align-items:center; gap:20px; }
.pride-icon { width:48px; height:48px; border-radius:12px; background:linear-gradient(135deg,#00C2FF,#6C47FF); display:flex; align-items:center; justify-content:center; flex-shrink:0; }

/* ============================================================
   CASE STUDIES
============================================================ */
#case-studies { background:var(--navy); padding:100px 0; position:relative; overflow:hidden; }
.case-bg-dots {
  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),
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 24px 24px;
  pointer-events: none;
}
.case-bg-glow {
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,.1), transparent 70%);
  pointer-events: none;
  animation: floatY 12s ease-in-out infinite;
}
.case-bg-glow-2 {
  position: absolute; bottom: -200px; left: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,71,255,.1), transparent 70%);
  pointer-events: none;
  animation: floatY 16s ease-in-out 3s infinite;
}
.cases-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:20px; }
.case-card { position:relative; overflow:hidden; border-radius:20px; cursor:pointer; }
.case-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.16,1,.3,1); }
.case-card:hover img { transform:scale(1.06); }
.case-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(10,22,40,.95) 0%,rgba(10,22,40,.4) 50%,rgba(10,22,40,.1) 100%); }
.case-content { position:absolute; bottom:0; left:0; right:0; padding:36px; }
.case-content-sm { position:absolute; bottom:0; left:0; right:0; padding:24px; }
.case-cat { font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; display:block; margin-bottom:10px; }
.case-title { font-family:'Space Grotesk',sans-serif; font-weight:700; color:#fff; letter-spacing:-.02em; line-height:1.25; margin-bottom:12px; }
.case-extra { max-height:0; overflow:hidden; opacity:0; transition:max-height .4s,opacity .35s; margin-bottom:8px; }
.case-card:hover .case-extra { max-height:100px; opacity:1; }
.cases-stack { display:flex; flex-direction:column; gap:20px; }
.case-card-sm { min-height:220px; }

/* ============================================================
   PROCESS
============================================================ */
#process { background:#fff; padding:100px 0; }
.steps-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; position:relative; }
.step-card { padding:28px 20px; text-align:center; position:relative; z-index:1; }
.step-connector { position:absolute; top:28px; left:calc(50% + 28px); right:calc(-50% + 28px); height:1.5px; z-index:0; }
.step-icon { width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; position:relative; }
.step-badge { position:absolute; top:-6px; right:-6px; width:20px; height:20px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center; font-size:9px; font-weight:700; color:#fff; font-family:'Space Grotesk',sans-serif; }
.process-cta { margin-top:48px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; background:linear-gradient(135deg,rgba(0,194,255,.06),rgba(108,71,255,.06)); border:1px solid rgba(0,194,255,.12); border-radius:14px; padding:24px 32px; }

/* Process v2 */
.process-header-v2 { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; margin-bottom:60px; }
.process-header-v2 .section-label { display:inline-block; margin-bottom:0; }
.steps-grid-v2 { display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; margin-bottom:0; }
.steps-grid-v2::after { content:''; position:absolute; bottom:28px; left:calc(10% + 28px); right:calc(10% + 28px); height:1px; background:linear-gradient(90deg, rgba(10,22,40,.15), rgba(0,194,255,.3), rgba(10,22,40,.15)); z-index:0; }
.step-item { display:flex; flex-direction:column; padding:28px 20px 72px; position:relative; z-index:1; background:#fff; border-radius:16px; margin:0 6px; border:1px solid rgba(10,22,40,.07); transition:box-shadow .3s; }
.step-item:hover { box-shadow:0 12px 40px rgba(0,194,255,.1); }
.step-icon-v2 { width:60px; height:60px; display:flex; align-items:center; justify-content:center; color:var(--blue); margin-bottom:20px; opacity:.85; }
.step-title-v2 { font-family:'Space Grotesk',sans-serif; font-size:15px; font-weight:600; color:var(--navy); margin-bottom:10px; line-height:1.3; }
.step-desc-v2 { font-size:13.5px; color:#64748B; line-height:1.65; flex:1; }
.step-num-circle { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); width:40px; height:40px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Space Grotesk',sans-serif; font-size:12px; font-weight:700; z-index:2; border:3px solid #fff; box-shadow:0 4px 12px rgba(10,22,40,.25); }

/* ============================================================
   TECHNOLOGY
============================================================ */
#technology { background: var(--card-glow-tpl2), #F8FAFF; padding:100px 0; }
.stacks-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.stack-card { background:#fff; border-radius:20px; padding:32px; position:relative; overflow:hidden; }
.stack-top-bar { position:absolute; top:0; left:0; right:0; height:3px; }
.stack-head { display:flex; align-items:center; gap:12px; margin-bottom:24px; }
.stack-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; }
.tech-badges-wrap { display:flex; flex-wrap:wrap; gap:8px; }
.tech-stack-badge { display:inline-flex; align-items:center; gap:8px; padding:10px 18px; background:#F8FAFF; border:1px solid rgba(10,22,40,.08); border-radius:100px; font-size:13px; font-weight:500; color:var(--text); transition:all .3s cubic-bezier(.16,1,.3,1); cursor:default; }
.tech-stack-badge:hover { background:#fff; border-color:#00C2FF; transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,194,255,.15); }
.tech-stack-badge img { display:inline-block; flex-shrink:0; }
.tech-note { font-size:13px; color:#94A3B8; text-align:center; margin-top:28px; }

/* ============================================================
   TESTIMONIALS
============================================================ */
#testimonials { background:#fff; padding:100px 0; }
.rating-bar { display:flex; justify-content:center; margin-bottom:44px; }
.rating-badge { display:inline-flex; align-items:center; gap:14px; background:#fff; border:1px solid rgba(10,22,40,.08); border-radius:100px; padding:10px 24px; box-shadow:0 4px 24px rgba(10,22,40,.07); }
.stars { display:flex; gap:3px; }
.star-ico { color:#F59E0B; font-size:14px; }
.rating-divider { width:1px; height:20px; background:rgba(10,22,40,.1); }
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testimonial-card { padding:32px; }
.quote-icon { font-size:48px; color:rgba(0,194,255,.2); line-height:1; margin-bottom:12px; font-family:Georgia,serif; }
.testimonial-text { font-size:15px; color:#334155; line-height:1.75; margin-bottom:28px; font-style:italic; }
.testimonial-author { display:flex; align-items:center; gap:12px; }
.author-avatar { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-family:'Space Grotesk',sans-serif; font-size:13px; font-weight:700; }
.author-name { font-family:'Space Grotesk',sans-serif; font-size:14px; font-weight:700; color:var(--navy); }
.author-role { font-size:12.5px; color:#94A3B8; }

/* ============================================================
   CONTACT
============================================================ */
#contact { background:var(--navy); padding:100px 0; position:relative; overflow:hidden; }
.contact-bg-dots {
  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),
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 24px 24px;
  pointer-events: none;
}
.contact-glow-1 {
  position: absolute; bottom: -200px; left: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,71,255,.15), transparent 70%);
  pointer-events: none;
  animation: floatY 14s ease-in-out 1s infinite;
}
.contact-glow-2 {
  position: absolute; top: -150px; right: -150px;
  width: 550px; height: 550px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,.13), transparent 70%);
  pointer-events: none;
  animation: floatY 10s ease-in-out 4s infinite;
}
/* Contact drifting shapes */
.contact-shape {
  position: absolute;
  pointer-events: none;
}
.contact-shape-1 {
  width: 260px; height: 260px;
  bottom: 5%; right: 4%;
  opacity: .6;
  animation: heroShapeFloat2 18s ease-in-out 2s infinite;
}
.contact-shape-2 {
  width: 180px; height: 180px;
  top: 10%; left: 2%;
  opacity: .5;
  animation: heroShapeFloat1 22s ease-in-out 5s infinite;
}
.contact-grid { display:grid; grid-template-columns:1fr 1.1fr; gap:64px; align-items:start; }
.contact-h2 { font-size:clamp(26px,3.5vw,44px); font-weight:800; color:#fff; letter-spacing:-.03em; line-height:1.1; margin-bottom:20px; }
.contact-desc { font-size:16px; color:rgba(255,255,255,.55); line-height:1.75; margin-bottom:40px; }
.contact-perks { display:flex; flex-direction:column; gap:16px; margin-bottom:48px; }
.contact-perk { display:flex; align-items:center; gap:14px; font-size:14px; color:rgba(255,255,255,.7); }
.perk-icon { width:36px; height:36px; border-radius:10px; background:rgba(0,194,255,.1); border:1px solid rgba(0,194,255,.2); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.trust-badge { display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:14px 18px; }
.trust-badge-icon { width:32px; height:32px; border-radius:8px; background:linear-gradient(135deg,#00C2FF,#6C47FF); display:flex; align-items:center; justify-content:center; }
.trust-badge-title { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:13px; color:#fff; }
.trust-badge-sub { font-size:11.5px; color:rgba(255,255,255,.45); }
.form-box { background:#fff; border-radius:24px; padding:40px; box-shadow:0 40px 80px rgba(0,0,0,.3); }
.form-title { font-family:'Space Grotesk',sans-serif; font-size:22px; font-weight:700; color:var(--navy); letter-spacing:-.02em; margin-bottom:24px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.form-group { margin-bottom:16px; }
.form-label { display:block; font-size:12.5px; font-weight:600; color:#374151; margin-bottom:6px; }
.form-input { width:100%; padding:13px 16px; border-radius:10px; border:1.5px solid rgba(10,22,40,.12); background:#F8FAFF; color:var(--navy); font-family:'Inter',sans-serif; font-size:14px; outline:none; transition:border-color .25s,box-shadow .25s; box-sizing:border-box; }
.form-input::placeholder { color:#9CA3AF; }
.form-input:focus { border-color:#00C2FF; box-shadow:0 0 0 3px rgba(0,194,255,.12); }
.form-submit { width:100%; padding:15px; justify-content:center; font-size:15px; }
.form-footnote { font-size:12px; color:#94A3B8; text-align:center; margin-top:12px; }
.success-msg { text-align:center; padding:40px 20px; display:none; }
.success-msg.show { display:block; }
.success-icon { width:64px; height:64px; border-radius:50%; background:rgba(0,194,255,.1); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; }
.success-title { font-family:'Space Grotesk',sans-serif; font-size:22px; font-weight:700; color:var(--navy); margin-bottom:10px; }
.success-sub { font-size:14px; color:var(--muted); line-height:1.7; }

/* footer-cta-strip */
.footer-cta-strip { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; padding:36px 0; border-bottom:1px solid rgba(255,255,255,.06); }
.footer-cta-title { font-family:'Space Grotesk',sans-serif; font-size:20px; font-weight:700; color:#fff; margin-bottom:4px; letter-spacing:-.02em; }
.footer-cta-sub { font-size:14px; color:rgba(255,255,255,.45); }

/* Responsive additions */
@media (max-width: 1024px) {
  .services-grid, .stacks-grid { grid-template-columns:repeat(2,1fr); }
  .steps-grid { grid-template-columns:repeat(3,1fr); }
  .steps-grid-v2 { grid-template-columns:repeat(3,1fr); gap:12px; }
  .steps-grid-v2::after { display:none; }
  .process-header-v2 { grid-template-columns:1fr; gap:16px; }
  .cases-grid { grid-template-columns:1fr; }
  .cases-stack { flex-direction:row; }
  .footer-main { grid-template-columns:1fr 1fr; }
}
@media (max-width: 768px) {
  /* All section grids → single column */
  .services-grid,
  .products-grid,
  .principles-grid,
  .philosophy-grid,
  .testimonials-grid,
  .stacks-grid,
  .contact-grid,
  .cases-grid { grid-template-columns:1fr; }

  .compare-header, .compare-row { grid-template-columns:1fr; }
  .compare-cell.typical { border-right:none; }
  .steps-grid { grid-template-columns:repeat(2,1fr); }
  .steps-grid-v2 { grid-template-columns:repeat(2,1fr); gap:12px; }
  .cases-stack { flex-direction:column; }
  .form-row { grid-template-columns:1fr; }

  /* Section vertical padding */
  #services, #products, #learning-hub, #why, #philosophy,
  #case-studies, #process, #technology, #testimonials, #contact {
    padding: 60px 0;
  }

  /* Section header spacing */
  .section-header-row { margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns:1fr; }
  .step-connector { display:none; }
  .steps-grid-v2 { grid-template-columns:1fr; }
  .step-item { margin:0; }
}

/* ============================================================
   FOOTER (tpl1 background & colors, tpl2 structure)
============================================================ */
#footer {
  background: #060E1C;
  position: relative;
  overflow: hidden;
}
.footer-top-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,194,255,.4), rgba(108,71,255,.4), transparent);
}
.footer-bg-dots {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 24px 24px;
  pointer-events: none;
}
.footer-glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,194,255,.07), transparent 70%);
  pointer-events: none;
}
.footer-glow-2 {
  position: absolute; top: 0; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,71,255,.06), transparent 70%);
  pointer-events: none;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
  gap: 30px;
  padding: 56px 0;
}
.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  max-width: 300px;
}
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.footer-social-chip:hover {
  border-color: rgba(0,194,255,.4);
  color: #00C2FF;
  background: rgba(0,194,255,.06);
}
.footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-link {
  font-size: 13.5px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color .2s;
}
.footer-link:hover { color: #00C2FF; }
.footer-cta-desc {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  line-height: 1.6;
}
.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  margin-top: 16px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  color: rgba(255,255,255,.3);
}
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-link {
  font-size: 12.5px;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal-link:hover { color: rgba(255,255,255,.7); }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.06);
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   NAV AUTH — login button, popup, user avatar + dropdown
============================================================ */

/* Wraps the auth button + popup/dropdown */
.nav-auth-wrap {
  position: relative;
  flex-shrink: 0;
}

/* ── Login button (guest state) ── */
.nav-auth-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--nav-link);
  transition: background .25s, border-color .25s, transform .2s;
  padding: 0;
  flex-shrink: 0;
}
.nav-auth-btn svg { width: 20px; height: 20px; }
.nav-auth-btn:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.55);
  transform: scale(1.06);
}
#header.scrolled .nav-auth-btn {
  background: rgba(10,22,40,.06);
  border-color: rgba(10,22,40,.15);
  color: var(--navy);
}
#header.scrolled .nav-auth-btn:hover {
  background: rgba(10,22,40,.11);
  border-color: rgba(10,22,40,.28);
}

/* ── User avatar pill button (authenticated state) ── */
.nav-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 3px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.nav-user-btn:hover { background: rgba(255,255,255,.15); }
.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  flex-shrink: 0;
  object-fit: cover;
}
.nav-user-chevron {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  transition: transform .2s;
}

/* ── Shared popup base ── */
.nav-auth-popup,
.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(10,22,40,.08);
  box-shadow: 0 24px 64px rgba(10,22,40,.16), 0 4px 16px rgba(10,22,40,.05);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  transition: opacity .2s cubic-bezier(.16,1,.3,1), transform .2s cubic-bezier(.16,1,.3,1);
  z-index: 200;
}
.nav-auth-popup.open,
.nav-user-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
/* Caret arrow */
.nav-auth-popup::before,
.nav-user-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-top: 1px solid rgba(10,22,40,.08);
  border-left: 1px solid rgba(10,22,40,.08);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

/* ── Auth popup sizing ── */
.nav-auth-popup { width: 320px; overflow: hidden; }

/* Tabs */
.nap-tabs {
  display: flex;
  border-bottom: 1px solid rgba(10,22,40,.07);
}
.nap-tab {
  flex: 1;
  padding: 14px 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.nap-tab.active { color: var(--navy); border-bottom-color: var(--purple); }
.nap-tab:hover:not(.active) { color: var(--text); }

/* Panels */
.nap-panels { padding: 20px; }
.nap-panel { display: none; }
.nap-panel.active { display: block; }

/* Error box */
.nap-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  color: #dc2626;
  margin-bottom: 14px;
  display: none;
}
.nap-error.show { display: block; }

/* Form fields */
.nap-field { margin-bottom: 13px; }
.nap-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  font-family: 'Inter', sans-serif;
  letter-spacing: .01em;
}
.nap-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid rgba(10,22,40,.12);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.nap-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(108,71,255,.1);
}
.nap-input.is-error { border-color: #dc2626; }
.nap-field-error {
  font-size: 11.5px;
  color: #dc2626;
  margin-top: 4px;
  display: none;
  font-family: 'Inter', sans-serif;
}
.nap-field-error.show { display: block; }

/* Remember me */
.nap-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
}
.nap-remember input[type=checkbox] { accent-color: var(--purple); cursor: pointer; }

/* Submit */
.nap-submit {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  background-size: 200% 200%;
  animation: gradShift 4s ease infinite;
}
.nap-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(108,71,255,.35);
}
.nap-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.nap-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: napSpin .6s linear infinite;
  display: none;
  flex-shrink: 0;
}
.nap-submit.loading .nap-spinner { display: block; }
.nap-submit.loading .nap-btn-text { display: none; }
@keyframes napSpin { to { transform: rotate(360deg); } }

/* ── User dropdown sizing ── */
.nav-user-dropdown { width: 240px; overflow: hidden; }

.nud-profile {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
}
.nud-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #fff; flex-shrink: 0;
  object-fit: cover; overflow: hidden;
}
.nud-name  { font-size: .875rem; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nud-email { font-size: .7rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nud-divider { height: 1px; background: #f0f3f9; margin: 2px 0; }
.nud-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  font-size: .8125rem; font-weight: 500; color: #334155;
  text-decoration: none; background: none; border: none;
  width: 100%; text-align: left; cursor: pointer; transition: background .1s;
}
.nud-link:hover { background: #f8f9fc; color: #0f172a; }
.nud-link i { font-size: .875rem; color: #6C47FF; flex-shrink: 0; }
.nud-link-danger { color: #dc2626; }
.nud-link-danger i { color: #dc2626; }
.nud-link-danger:hover { background: #fef2f2; }

/* ── Mobile responsive ── */
@media (max-width: 768px) {
  .nav-auth-popup,
  .nav-user-dropdown {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    width: auto;
  }
  .nav-auth-popup::before,
  .nav-user-dropdown::before { display: none; }
}

/* ─────────────────────────────────────────────
   NAV CART ICON + DROPDOWN
   ───────────────────────────────────────────── */
.nav-cart-wrap { position: relative; }

.nav-cart-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--nav-link);
  transition: background .25s, border-color .25s, transform .2s;
  padding: 0;
  flex-shrink: 0;
  position: relative;
}
.nav-cart-btn svg { width: 20px; height: 20px; }
.nav-cart-btn:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.55);
  transform: scale(1.06);
}
#header.scrolled .nav-cart-btn {
  background: rgba(10,22,40,.06);
  border-color: rgba(10,22,40,.15);
  color: var(--navy);
}
#header.scrolled .nav-cart-btn:hover {
  background: rgba(10,22,40,.11);
  border-color: rgba(10,22,40,.28);
}

#header.scrolled .nav-user-btn {
  background: rgba(10,22,40,.06);
  border-color: rgba(10,22,40,.15);
}
#header.scrolled .nav-user-btn:hover {
  background: rgba(10,22,40,.11);
  border-color: rgba(10,22,40,.28);
}
#header.scrolled .nav-user-chevron { color: #64748b; }

.nav-cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 17px; height: 17px;
  border-radius: 9px;
  background: #6C47FF;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  pointer-events: none;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
.nav-cart-badge.pop { transform: scale(1.35); }

.nav-cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(10,22,40,.14), 0 0 0 1px rgba(10,22,40,.07);
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 1000;
  overflow: hidden;
}
.nav-cart-dropdown::before {
  content: '';
  position: absolute;
  top: -6px; right: 12px;
  width: 12px; height: 12px;
  background: #fff;
  border-top: 1px solid rgba(10,22,40,.07);
  border-left: 1px solid rgba(10,22,40,.07);
  transform: rotate(45deg);
}
.nav-cart-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.ncd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(10,22,40,.07);
}
.ncd-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--navy);
}
.ncd-count {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--muted);
}

.ncd-items {
  max-height: 280px;
  overflow-y: auto;
  padding: 6px 0;
}
.ncd-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 16px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.ncd-empty i { font-size: 28px; margin-bottom: 8px; opacity: .3; }
.ncd-empty p { margin: 0; }

.ncd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 16px;
  transition: background .15s;
}
.ncd-item:hover { background: rgba(10,22,40,.03); }

.ncd-item-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
}
.ncd-item-info { flex: 1; min-width: 0; }
.ncd-item-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ncd-item-price {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--muted);
  margin-top: 1px;
}
.ncd-item-remove {
  width: 28px; height: 28px;
  border-radius: 7px;
  border: none; background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 13px;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.ncd-item-remove:hover { background: #fee2e2; color: #dc2626; }

.ncd-footer {
  border-top: 1px solid rgba(10,22,40,.07);
  padding: 12px 16px;
}
.ncd-total {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; color: var(--navy);
  margin-bottom: 10px;
}
.ncd-total-price { font-weight: 700; font-size: 15px; }
.ncd-checkout-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%;
  padding: 11px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6C47FF, #5035CC);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(108,71,255,.3);
}
.ncd-checkout-btn:hover {
  background: linear-gradient(135deg, #7A55FF, #6040DD);
  box-shadow: 0 6px 20px rgba(108,71,255,.4);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .nav-cart-dropdown {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    width: auto;
  }
  .nav-cart-dropdown::before { display: none; }
}

/* ── Cart button states ── */
.btn-cart-incart {
  background: rgba(108,71,255,.08) !important;
  color: #6C47FF !important;
  border: 2px solid rgba(108,71,255,.22);
  cursor: default;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}
.btn-cart-owned {
  background: linear-gradient(135deg, #22C55E, #16A34A) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(34,197,94,.3);
  text-decoration: none;
}
.btn-cart-owned:hover {
  background: linear-gradient(135deg, #16A34A, #15803D) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34,197,94,.4);
}

/* ============================================================
   HOMEPAGE — utility classes replacing inline styles
============================================================ */

/* ── Hero label entrance animation ── */
.anim-hero-label { animation: fadeInUp .6s .1s both; }

/* ── Section header layout helpers ── */
.section-header-left { max-width: 560px; }
.section-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-self: flex-end;
}

/* ── Compact button size ── */
.btn-compact { padding: 11px 22px; font-size: 13.5px; }

/* ── Utility ── */
.container-rel { position: relative; }
.case-card-flex { flex: 1; }

/* ── Services — fixed cyan accent ── */
.service-card-bg-cyan {
  background: linear-gradient(135deg, rgba(0,194,255,.12), rgba(0,194,255,.04));
}
.icon-box-cyan { background: rgba(0,194,255,.1); }
.service-icon { font-size: 22px; color: #00C2FF; }
.service-card h3, .service-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 10px;
}
.service-card p, .service-card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-tag-cyan { color: #00C2FF; background: rgba(0,194,255,.1); }

/* ── CTA card children ── */
.cta-card-label { align-self: flex-start; position: relative; margin-bottom: 20px; }
.cta-card h3, .cta-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.cta-card p, .cta-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 28px;
  position: relative;
}
.cta-card-btn { align-self: flex-start; position: relative; }

/* ── Product cards ── */
.product-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.product-card h3, .product-card-title { font-size: 19px; font-weight: 700; color: #0A1628; }
.product-card p, .product-card-desc { font-size: 14px; color: #64748B; line-height: 1.7; }

.product-top-bar-cyan  { background: linear-gradient(90deg, #00C2FF, transparent); }
.product-top-bar-purple { background: linear-gradient(90deg, #6C47FF, transparent); }

.product-badge-cyan   { background: rgba(0,194,255,.1); }
.product-badge-purple { background: rgba(108,71,255,.1); }

.product-badge-label { font-size: 12px; font-weight: 600; color: #00C2FF; }
.product-badge-label-purple { color: #6C47FF; }

.btn-ghost-purple { color: #6C47FF; }
.btn-ghost-purple:hover { color: #5035CC; }
.btn-ghost-sm { font-size: 12px; }

/* ── Learning Hub — grid and coming-soon teaser ── */
.lh-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lh-thumb-placeholder i { font-size: 2.5rem; }
.lh-placeholder-cyan   { background: linear-gradient(135deg, rgba(0,194,255,.3), rgba(0,194,255,.08)); }
.lh-placeholder-purple { background: linear-gradient(135deg, rgba(108,71,255,.3), rgba(108,71,255,.08)); }
.lh-placeholder-green  { background: linear-gradient(135deg, rgba(16,185,129,.3), rgba(16,185,129,.08)); }
.lh-card-btn-muted { background: #f1f5f9; color: #475569; }
.lh-card-btn-muted:hover { background: #e2e8f0; }

/* ── Philosophy ── */
.philosophy-desc { font-size: 16px; color: #64748B; line-height: 1.75; margin-bottom: 32px; }
.principle-icon-cyan   { background: rgba(0,194,255,.08); }
.principle-icon-purple { background: rgba(108,71,255,.08); }
.principle-card h3 { font-size: 15px; font-weight: 700; color: #0A1628; margin-bottom: 8px; }
.principle-card p  { font-size: 13px; color: #64748B; line-height: 1.65; }
.pride-card-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 4px; }
.pride-card-desc  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }

/* ── Case Studies ── */
.section-h2-light { color: #fff; }
.cases-subtitle { font-size: 16px; color: rgba(255,255,255,.5); max-width: 420px; line-height: 1.7; }
.case-card-featured { min-height: 480px; }
.case-title-lg { font-size: 22px; }
.case-title-sm { font-size: 17px; }
.case-cat-sm   { font-size: 10.5px; }
.case-result-text { color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.case-result-span { color: rgba(255,255,255,.65); font-size: 12.5px; line-height: 1.5; }
.case-result-label { font-weight: 600; }

/* ── Process CTA ── */
.process-cta-left { display: flex; align-items: center; gap: 12px; }
.process-cta-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00C2FF, #6C47FF);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-cta-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: #0A1628; }
.process-cta-desc  { font-size: 13px; color: #64748B; }

/* ── Technology stack bars ── */
.stack-top-bar-cyan   { background: linear-gradient(90deg, #00C2FF, transparent); }
.stack-top-bar-purple { background: linear-gradient(90deg, #6C47FF, transparent); }
.stack-head h3 { font-size: 17px; font-weight: 700; color: #0A1628; }

/* ── Contact ── */
.contact-label { margin-bottom: 20px; }
textarea.form-textarea { resize: none; }

/* ── Homepage Articles grid ── */
.articles-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-home-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(10,22,40,.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .3s, transform .3s;
}
.article-home-card:hover {
  box-shadow: 0 14px 40px rgba(10,22,40,.1);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.article-home-img-wrap { overflow: hidden; }
.article-home-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.article-home-card:hover .article-home-img { transform: scale(1.04); }
.article-home-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #6C47FF 0%, #00C2FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: rgba(255,255,255,.35);
}
.article-home-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-home-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.article-home-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #6C47FF;
  font-family: 'Space Grotesk', sans-serif;
}
.article-home-date {
  font-size: 11px;
  color: #94A3B8;
  font-family: 'Inter', sans-serif;
}
.article-home-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0A1628;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.article-home-card:hover .article-home-title { color: #6C47FF; }
.article-home-excerpt {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.article-home-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6C47FF;
  font-family: 'Space Grotesk', sans-serif;
  margin-top: auto;
  transition: gap .2s;
}
.article-home-card:hover .article-home-read { gap: 8px; }

@media (max-width: 1024px) {
  .articles-home-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .lh-grid-4 { grid-template-columns: 1fr; }
  .section-header-actions { align-self: flex-start; }
  .articles-home-grid { grid-template-columns: 1fr; }
}
