/* ═══════════════════════════════════════════════
   SYSTEMBENDER — Global Stylesheet v1.0
   Theme: Light professional (Toptal/Linear/Vercel inspired)
   ═══════════════════════════════════════════════ */

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

:root {
  /* Brand */
  --brand:        #3B4FDE;
  --brand-dark:   #2D3FC7;
  --brand-light:  #EEF0FD;
  --brand-gradient: linear-gradient(135deg, hsl(233, 73%, 55%) 0%, hsl(263, 70%, 55%) 100%);
  --purple:       #7C3AED;
  --purple-light: #F3EFFE;

  /* Neutrals */
  --bg:           #FFFFFF;
  --bg2:          #F8FAFC;
  --bg3:          #F1F5F9;
  --dark:         #0F172A;
  --dark2:        #1E293B;
  --dark3:        #334155;

  /* Text */
  --text:         #0F172A;
  --text2:        #334155;
  --muted:        #64748B;
  --subtle:       #94A3B8;

  /* Borders */
  --border:       #E2E8F0;
  --border-md:    #CBD5E1;

  /* Semantic */
  --green:        #059669;
  --green-light:  #ECFDF5;
  --amber:        #D97706;
  --amber-light:  #FFFBEB;
  --red:          #DC2626;

  /* Glassmorphism Variables */
  --glass-bg:     rgba(255, 255, 255, 0.7);
  --glass-border: rgba(226, 232, 240, 0.8);
  --glass-blur:   blur(16px);

  /* Layout */
  --nav-h:        68px;
  --max-w:        1400px;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    18px;

  /* Typography */
  --hf: 'Syne', sans-serif;
  --bf: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 12px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md:  0 8px 24px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 48px rgba(0,0,0,.1), 0 8px 16px rgba(0,0,0,.05);
}

/* ── RESET & BASE ── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--bf);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--bf); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border-md); border-radius: 3px; }

/* ── CONTAINER ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5%; }

/* ═══ NAV ═══ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 5%;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--hf); font-weight: 800; font-size: 1.1rem;
  letter-spacing: .04em; color: var(--text); flex-shrink: 0;
}
.logo-symbol {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  display: flex; align-items: center; justify-content: center;
}
.logo-symbol svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  color: var(--text2); font-size: .875rem; font-weight: 500;
  padding: .5rem .85rem; border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-links > li > a:hover { color: var(--text); background: var(--bg2); }
.nav-links > li > a.active { color: var(--brand); }
.nav-chevron { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.has-drop:hover .nav-chevron { transform: rotate(180deg); }
/* Dropdown */
.nav-drop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: .5rem; min-width: 210px; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-4px);
  transition: opacity .15s, transform .15s;
  /* Bridge the 8px gap so the dropdown stays open as the mouse moves from link to menu */
  padding-top: calc(.5rem + 8px); margin-top: -8px;
}
.has-drop:hover .nav-drop { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-drop a {
  display: flex; align-items: center; gap: 10px;
  padding: .6rem .9rem; border-radius: 6px;
  color: var(--text2); font-size: .85rem; font-weight: 400;
  transition: background .1s, color .1s;
}
.nav-drop a:hover { background: var(--bg2); color: var(--text); }
.nav-drop-icon { width: 30px; height: 30px; border-radius: 7px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-drop-icon svg { width: 14px; height: 14px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-drop-label { font-weight: 600; font-size: .85rem; color: var(--text); }
.nav-drop-sub { font-size: .78rem; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-ghost {
  color: var(--text2); font-size: .85rem; font-weight: 500;
  padding: .45rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); transition: border-color .15s, color .15s;
}
.nav-ghost:hover { border-color: var(--brand); color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff;
  font-size: .85rem; font-weight: 600;
  padding: .45rem 1.1rem; border-radius: var(--radius-sm);
  transition: background .15s, transform .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--brand-dark); }
/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.mob-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%; flex-direction: column; gap: .5rem; z-index: 499;
  box-shadow: var(--shadow-md);
}
.mob-menu.open { display: flex; }
.mob-menu a { color: var(--text2); font-size: 1rem; font-weight: 500; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.mob-menu a:last-child { border-bottom: none; }
.mob-menu .mob-cta { color: var(--brand); font-weight: 600; }

/* ═══ FOOTER ═══ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 0 5%;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand .logo-symbol { background: linear-gradient(135deg, var(--brand), var(--purple)); }
.footer-brand p { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 1.2rem;
  background: rgba(59,79,222,.2); border: 1px solid rgba(59,79,222,.35);
  color: #93A8FF; font-size: .72rem; font-weight: 600;
  padding: .28rem .75rem; border-radius: 100px; letter-spacing: .06em; text-transform: uppercase;
}
.footer-col-label {
  color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-col a { display: block; color: rgba(255,255,255,.65); font-size: .875rem; margin-bottom: .7rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 9px; margin-bottom: .7rem; }
.footer-contact-item svg { width: 14px; height: 14px; fill: none; stroke: rgba(255,255,255,.4); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { color: rgba(255,255,255,.6); font-size: .85rem; line-height: 1.5; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 1.5rem 5%;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .8rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.35); font-size: .8rem; transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,.65); }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: background .15s, color .15s;
}
.footer-social a:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ═══ SHARED SECTION STYLES ═══ */
section { padding: 88px 0; }
.section-alt  { background: var(--bg2); }
.section-dark { background: var(--dark); color: #fff; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 5%; }

.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .9rem;
}
.section-label::before { content: ''; width: 16px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-title { font-family: var(--hf); font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--text); overflow-wrap: break-word; }
.section-title.light { color: #fff; }
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-top: .9rem; max-width: 580px; font-weight: 400; }
.section-sub.light { color: rgba(255,255,255,.6); }
.section-head { margin-bottom: 3.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { max-width: 100%; }
.section-head.center .section-label { display: flex; justify-content: center; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .7rem 1.6rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600; font-family: var(--bf);
  transition: all .15s; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(59,79,222,.3); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark2); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--bg2); }
.btn-ghost { background: transparent; color: var(--text2); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: .85rem 2rem; font-size: .95rem; border-radius: var(--radius); }
.btn-sm { padding: .45rem 1rem; font-size: .8rem; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ═══ CARDS ═══ */
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--border-md); }
.card-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.card-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.purple { background: var(--purple-light); }
.card-icon.purple svg { stroke: var(--purple); }
.card-icon.green { background: var(--green-light); }
.card-icon.green svg { stroke: var(--green); }
.card h3 { font-family: var(--hf); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .875rem; line-height: 1.7; }

/* ═══ BADGES ═══ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .22rem .65rem; border-radius: 100px;
}
.badge-green { background: var(--green-light); color: var(--green); border: 1px solid rgba(5,150,105,.15); }
.badge-blue { background: var(--brand-light); color: var(--brand); border: 1px solid rgba(59,79,222,.15); }
.badge-amber { background: var(--amber-light); color: var(--amber); border: 1px solid rgba(217,119,6,.15); }
.badge-purple { background: var(--purple-light); color: var(--purple); border: 1px solid rgba(124,58,237,.15); }
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.75)} }

/* ═══ CHIP ═══ */
.chip {
  display: inline-flex; align-items: center;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text2); font-size: .75rem; font-weight: 500;
  padding: .28rem .75rem; border-radius: 100px;
}
.chip.brand { background: var(--brand-light); border-color: rgba(59,79,222,.15); color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.2rem; }

/* ═══ FEAT LIST ═══ */
.feat-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text2); }
.feat-check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-light); border: 1.5px solid rgba(59,79,222,.2);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.feat-check svg { width: 10px; height: 10px; fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ═══ STATS ROW ═══ */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.stat-box { background: var(--bg); padding: 2rem; text-align: center; }
.stat-box.dark { background: var(--dark2); }
.stat-num { font-family: var(--hf); font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--text); }
.stat-num.brand { color: var(--brand); }
.stat-num em { font-style: normal; color: var(--brand); }
.stat-label { font-size: .8rem; color: var(--muted); margin-top: .5rem; font-weight: 400; line-height: 1.4; overflow-wrap: break-word; }
.stat-box.dark .stat-num { color: #fff; }
.stat-box.dark .stat-label { color: rgba(255,255,255,.5); }

/* ═══ LOGO BAR ═══ */
.logo-bar { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.client-logo {
  display: flex; align-items: center; gap: 8px;
  opacity: .55; transition: opacity .2s; filter: grayscale(1);
}
.client-logo:hover { opacity: .8; filter: grayscale(0); }
.client-logo-text { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; color: var(--dark); }
.client-logo svg { fill: var(--dark); }
.linkedin-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0A66C2; color: #fff;
  font-size: .8rem; font-weight: 600; padding: .35rem .85rem; border-radius: 100px;
}
.linkedin-badge svg { width: 14px; height: 14px; fill: #fff; }

/* ═══ PROCESS STEPS ═══ */
.process-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.process-line { position: absolute; left: 19px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--brand), rgba(59,79,222,.05)); }
.process-step { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); position: relative; }
.process-step:last-child { border-bottom: none; }
.step-dot {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hf); font-size: .8rem; font-weight: 800; color: var(--brand);
  position: relative; z-index: 1;
}
.step-body { padding-top: 4px; }
.step-body h3, .step-body h4 { font-family: var(--hf); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; }
.step-body p { color: var(--muted); font-size: .875rem; line-height: 1.65; }

/* ═══ TESTIMONIALS ═══ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.testimonial .quote { font-size: 2rem; color: var(--brand); line-height: 1; margin-bottom: .8rem; font-family: Georgia, serif; }
.testimonial p { color: var(--text2); font-size: .95rem; line-height: 1.7; font-style: italic; margin-bottom: 1.2rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-author .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-family: var(--hf); font-weight: 700; color: var(--brand); font-size: .9rem; }
.testimonial-author .name { font-weight: 600; font-size: .875rem; color: var(--text); }
.testimonial-author .role { font-size: .78rem; color: var(--muted); }
.stars { display: flex; gap: 2px; margin-bottom: .75rem; }
.stars svg { width: 14px; height: 14px; fill: #F59E0B; }

/* ═══ TECH GRID ═══ */
.tech-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg3); border: 1px solid var(--border);
  font-size: .8rem; color: var(--text2); font-weight: 500;
  padding: .35rem .9rem; border-radius: 100px;
  transition: border-color .15s, background .15s;
}
.tech-pill:hover { border-color: rgba(59,79,222,.3); background: var(--brand-light); color: var(--brand); }
.tech-pill .t-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

/* ═══ INTAKE FORM ═══ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text2); margin-bottom: .4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: .7rem 1rem;
  font-size: .9rem; font-family: var(--bf); color: var(--text);
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59,79,222,.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .78rem; color: var(--muted); margin-top: .3rem; }

/* ═══ PAGE HERO ═══ */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative; overflow: hidden;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 5%; position: relative; z-index: 2; }
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #F0F3FF 0%, #F8FAFC 60%, #FDF4FF 100%);
}
.page-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .5;
}
.page-hero h1 { font-family: var(--hf); font-size: clamp(1.9rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--text); max-width: 780px; overflow-wrap: break-word; }
.page-hero h1 em { font-style: normal; color: var(--brand); }
.page-hero .sub { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 580px; margin-top: 1.2rem; line-height: 1.75; }
.hero-actions { display: flex; gap: .8rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-pill { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); background: var(--brand-light); border: 1px solid rgba(59,79,222,.15); padding: .3rem .9rem; border-radius: 100px; margin-bottom: 1.4rem; }
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }

/* ═══ CASE STUDY CARDS ═══ */
.case-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-card-header { padding: 2rem 2rem 1rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.case-industry { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.case-card h3 { font-family: var(--hf); font-size: 1.2rem; font-weight: 700; color: var(--text); letter-spacing: -.015em; }
.case-card-body { padding: 0 2rem 2rem; }
.case-card-body p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.case-metrics { display: flex; gap: 1.5rem; flex-wrap: wrap; padding: 1.25rem; background: var(--bg2); border-radius: var(--radius-sm); margin-top: .5rem; }
.metric-item .m-val { font-family: var(--hf); font-size: 1.6rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1; }
.metric-item .m-lbl { font-size: .75rem; color: var(--muted); margin-top: 3px; }

/* ═══ PRODUCT CARDS ═══ */
.product-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card-top { padding: 2.5rem; border-bottom: 1px solid var(--border); }
.product-card-logo { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.product-card-logo svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-card h3 { font-family: var(--hf); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .6rem; }
.product-card > .product-card-top > p { color: var(--muted); font-size: .95rem; line-height: 1.7; }
.product-card-bottom { padding: 1.75rem 2.5rem; background: var(--bg2); }

/* ═══ TEAM CARDS ═══ */
.team-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.team-photo { width: 100%; height: 280px; object-fit: cover; object-position: center top; display: block; }
.team-info { padding: 1.5rem; }
.team-info h3 { font-family: var(--hf); font-size: 1.2rem; font-weight: 700; color: var(--text); }
.team-info .title { color: var(--brand); font-size: .85rem; font-weight: 600; margin: .2rem 0 .75rem; }
.team-info p { color: var(--muted); font-size: .875rem; line-height: 1.7; }
.team-links { display: flex; gap: .6rem; margin-top: 1rem; }
.team-links a {
  width: 32px; height: 32px; border-radius: 7px;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all .15s;
}
.team-links a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.team-links svg { width: 15px; height: 15px; fill: currentColor; }

/* ═══ DUAL CTA PANEL ═══ */
.dual-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.dual-panel-side { padding: 3rem; }
.dual-panel-side:first-child { border-right: 1px solid var(--border); }
.dual-panel-side .panel-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .75rem; }
.dual-panel-side h3 { font-family: var(--hf); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .75rem; line-height: 1.2; }
.dual-panel-side p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.anim { animation: fadeUp .5s ease both; }
.anim-d1 { animation-delay: .1s; }
.anim-d2 { animation-delay: .2s; }
.anim-d3 { animation-delay: .3s; }
.anim-d4 { animation-delay: .4s; }

/* ═══ GRIDS ═══ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; }
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

/* ═══ UTILITIES ═══ */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.divider { width: 40px; height: 3px; background: var(--brand); border-radius: 2px; margin-bottom: 1.25rem; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1000px) {
  .grid-split, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .dual-panel { grid-template-columns: 1fr; }
  .dual-panel-side:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-box { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .logo-bar { gap: 2rem; }
}

/* ═══ FOCUS VISIBLE ═══ */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible { border-radius: var(--radius-sm); }

/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.25,.46,.45,.94), transform .65s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ═══ ENHANCED HOVER — TESTIMONIAL ═══ */
.testimonial { transition: box-shadow .2s, transform .2s, border-color .2s; }
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(59,79,222,.22); }

/* ═══ THEME TOGGLE ═══ */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted);
  transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0; padding: 0;
}
.theme-toggle:hover { background: var(--bg3); color: var(--text); border-color: var(--border-md); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* ═══ SHOWCASE CREDIT ═══ */
.showcase-credit {
  text-align: center;
  padding: 1.5rem 5%;
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.showcase-credit a { color: var(--brand); font-weight: 600; transition: opacity .15s; }
.showcase-credit a:hover { opacity: .75; }

/* ═══ DARK MODE VARIABLES ═══ */
:root[data-theme="dark"] {
  --bg:           #0B0F19;
  --bg2:          #131B2E;
  --bg3:          #1E293B;
  --dark:         #F8FAFC;
  --dark2:        #F1F5F9;
  --dark3:        #E2E8F0;
  --text:         #F1F5F9;
  --text2:        #CBD5E1;
  --muted:        #94A3B8;
  --subtle:       #64748B;
  --border:       #1E293B;
  --border-md:    #334155;
  --brand-light:  rgba(59,79,222,.18);
  --purple-light: rgba(124,58,237,.14);
  --green-light:  rgba(5,150,105,.14);
  --amber-light:  rgba(217,119,6,.14);
  --glass-bg:     rgba(19, 27, 46, 0.7);
  --glass-border: rgba(30, 41, 59, 0.8);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
  --shadow:       0 4px 12px rgba(0,0,0,.35), 0 2px 4px rgba(0,0,0,.2);
  --shadow-md:    0 8px 24px rgba(0,0,0,.4), 0 4px 8px rgba(0,0,0,.2);
  --shadow-lg:    0 20px 48px rgba(0,0,0,.5), 0 8px 16px rgba(0,0,0,.25);
}

:root[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ═══ DARK MODE — NAV ═══ */
:root[data-theme="dark"] #nav {
  background: rgba(15,23,42,.92);
  border-bottom-color: #1E293B;
}
:root[data-theme="dark"] .mob-menu {
  background: #1E293B;
  border-bottom-color: #1E293B;
}
:root[data-theme="dark"] .mob-menu a { color: var(--text2); border-bottom-color: var(--border); }
:root[data-theme="dark"] .nav-drop {
  background: #1E293B;
  border-color: #334155;
}
:root[data-theme="dark"] .nav-drop a:hover { background: var(--bg3); }

/* ═══ DARK MODE — COMPONENTS ═══ */
:root[data-theme="dark"] .card { background: var(--bg2); border-color: var(--border); }
:root[data-theme="dark"] .testimonial { background: var(--bg2); }
:root[data-theme="dark"] .screen-card { background: var(--bg2); border-color: var(--border); }
:root[data-theme="dark"] .dual-panel { border-color: var(--border); }
:root[data-theme="dark"] .dual-panel-side:first-child { border-right-color: var(--border); }
:root[data-theme="dark"] .dual-panel-side:last-child { background: var(--bg2); }
:root[data-theme="dark"] .stat-box { background: var(--bg2); }
:root[data-theme="dark"] .stats-row { background: var(--border); }
:root[data-theme="dark"] .form-input,
:root[data-theme="dark"] .form-select,
:root[data-theme="dark"] .form-textarea { background: var(--bg2); border-color: var(--border); color: var(--text); }
:root[data-theme="dark"] .tech-pill { background: var(--bg2); border-color: var(--border); }
:root[data-theme="dark"] .process-step { border-bottom-color: var(--border); }
:root[data-theme="dark"] .step-dot { background: var(--bg); border-color: var(--brand); }
:root[data-theme="dark"] .founder-card { background: var(--bg2); border-color: var(--border); }
:root[data-theme="dark"] .showcase-credit { background: var(--bg); border-top-color: var(--border); }

/* ═══ DARK MODE — SECTION DARK & FOOTER ═══ */
:root[data-theme="dark"] .section-dark { background: #05080F; }
:root[data-theme="dark"] footer { background: #05080F; }
:root[data-theme="dark"] .page-hero-bg { background: linear-gradient(135deg, #0D1526 0%, #0F172A 60%, #11091E 100%); }

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══ GLASSMORPHISM PANELS ═══ */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* ═══ POINTER INTERACTIONS ═══ */
.interactive-hover {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
              border-color 0.3s ease;
}
.interactive-hover:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

/* ── INTERACTIVE MOCK STYLES ── */
.mock-dashboard-wrapper {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.3s, transform 0.3s;
}
.mock-dashboard-wrapper:hover {
  border-color: rgba(59,79,222,.3);
}

/* Custom visual components */
.canvas-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: all; /* Make sure canvas reacts to mouse pointer */
}

.glow-btn {
  position: relative;
  overflow: hidden;
}
.glow-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.glow-btn:hover::after {
  transform: translateX(100%);
}

.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-terminal {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand);
}
.terminal-caret {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  background: var(--brand);
  border-radius: 1px;
  vertical-align: middle;
  animation: caret-blink 1.1s step-end infinite;
}
@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}



/* ═══════════════════════════════════════════════
   VISUAL REFRESH — Scroll reveals, micro-interactions,
   grain texture, stagger animations
   ═══════════════════════════════════════════════ */

/* ── STAGGER REVEAL ── */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.25,.46,.45,.94), transform .55s cubic-bezier(.25,.46,.45,.94);
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 480ms; }
.reveal-stagger.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 560ms; }

/* ── GRAIN TEXTURE OVERLAY FOR DARK SECTIONS ── */
.section-dark {
  position: relative;
}
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}
.section-dark > * { position: relative; z-index: 1; }

/* ── NAV SCROLLED ENHANCEMENT ── */
#nav.scrolled {
  box-shadow: 0 1px 16px rgba(0,0,0,.08);
}
:root[data-theme="dark"] #nav.scrolled {
  box-shadow: 0 1px 16px rgba(0,0,0,.4);
}

/* ── CTA BUTTON GLOW HOVER ── */
.btn-primary:hover {
  box-shadow: 0 0 0 3px rgba(59,79,222,.18), var(--shadow-sm);
}

/* ── CARD LIFT MICRO-INTERACTION (unified) ── */
.card-lift {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59,79,222,.22);
}

/* ── GRADIENT BORDER ANIMATION (for CTA sections) ── */
@keyframes gradBorderSpin {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.grad-border-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.grad-border-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--brand), var(--purple), #00C896, var(--brand));
  background-size: 300% 300%;
  animation: gradBorderSpin 4s ease infinite;
  border-radius: inherit;
  z-index: 0;
}
.grad-border-inner {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2px;
}

/* ── PROCESS STEP LEFT-BORDER FLASH ── */
.process-step-card {
  border-left: 3px solid transparent;
  transition: border-color .2s, background .2s;
}
.process-step-card:hover {
  border-left-color: var(--brand);
  background: var(--bg2);
}

/* ── REDUCED MOTION: disable stagger reveals ── */
@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .section-dark::after { display: none; }
  .grad-border-wrap::before { animation: none; }
}
