/* ===================================================
   COGNIMET — Main Stylesheet
   =================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #6C63FF;
  --primary-dk: #5850EC;
  --secondary:  #3ECFCF;
  --accent:     #FF6584;
  --bg:         #0B0D17;
  --bg-2:       #111320;
  --bg-3:       #161929;
  --card-bg:    rgba(255,255,255,0.04);
  --border:     rgba(255,255,255,0.08);
  --text:       #E8EAFF;
  --text-muted: #8A8FAE;
  --white:      #ffffff;
  --font-body:  'Inter', sans-serif;
  --font-head:  'Space Grotesk', sans-serif;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 20px 60px rgba(0,0,0,.45);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-title { margin: 12px 0 16px; }
.section-desc { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(108,99,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(108,99,255,.55); }

.btn-secondary {
  background: linear-gradient(135deg, #3ECFCF, #6C63FF);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(62,207,207,.35);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(62,207,207,.5); }

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,.25); }

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.1); }

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(11,13,23,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,.5);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(108,99,255,.5), transparent 70%);
  top: -200px; left: -200px;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(62,207,207,.35), transparent 70%);
  bottom: -100px; right: -100px;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,101,132,.25), transparent 70%);
  top: 40%; left: 60%;
}

#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .3;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hero-title { margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.stat-item { text-align: center; padding: 0 28px; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.stat-unit { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.stat-label { display: block; font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--text-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================================
   TRUSTED
   =================================================== */
.trusted {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.015);
}
.trusted-label {
  text-align: center;
  color: var(--text-muted);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 40px;
}
.trust-logo {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 600;
  opacity: .55;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.trust-logo:hover { opacity: 1; }

/* ===================================================
   ABOUT
   =================================================== */
.about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }

.about-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.about-img-block {
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* AI Animation */
.ai-animation { position: relative; width: 300px; height: 300px; }

.ai-circle {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(108,99,255,.3);
  transform: translate(-50%,-50%);
}
.ai-circle:nth-child(1) { width: 300px; height: 300px; animation: spin 20s linear infinite; }
.ai-circle.ai-circle-2 { width: 210px; height: 210px; border-color: rgba(62,207,207,.3); animation: spin 15s linear infinite reverse; }
.ai-circle.ai-circle-3 { width: 120px; height: 120px; border-color: rgba(255,101,132,.3); animation: spin 10s linear infinite; }

@keyframes spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.ai-center-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 30px rgba(108,99,255,.7);
  animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { box-shadow: 0 0 20px rgba(108,99,255,.6); }
  50%      { box-shadow: 0 0 50px rgba(62,207,207,.8); }
}

.ai-nodes { position: absolute; inset: 0; }
.node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
}
.n1 { top: 0;   left: 50%; transform: translateX(-50%); background: var(--secondary); }
.n2 { top: 25%; right: 0; background: var(--primary); }
.n3 { bottom: 25%; right: 0; background: var(--accent); }
.n4 { bottom: 0; left: 50%; transform: translateX(-50%); background: var(--secondary); }
.n5 { bottom: 25%; left: 0; background: var(--primary); }
.n6 { top: 25%; left: 0; background: var(--accent); }

.about-card {
  position: absolute;
  background: rgba(22,25,41,.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  z-index: 2;
}
.card-float  { top: 20px;   left: -20px;  animation: floatA 6s ease-in-out infinite; }
.card-float-2 { bottom: 30px; right: -20px; animation: floatB 7s ease-in-out infinite; }

@keyframes floatA {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

.about-card-icon {
  width: 44px; height: 44px;
  background: rgba(108,99,255,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.about-card-icon.accent-2 { background: rgba(62,207,207,.15); color: var(--secondary); }

.card-stat { font-weight: 700; font-size: .95rem; color: var(--white); }
.card-sub  { font-size: .78rem; color: var(--text-muted); }

.about-content .section-tag { margin-bottom: 12px; }

.section-body {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.pillar:hover { border-color: rgba(108,99,255,.4); }
.pillar-icon {
  width: 40px; height: 40px;
  background: rgba(108,99,255,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.pillar strong { display: block; color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.pillar p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ===================================================
   SERVICES
   =================================================== */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,99,255,.06), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(108,99,255,.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(108,99,255,.15);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 60px; height: 60px;
  background: rgba(108,99,255,.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: rgba(108,99,255,.25); }

.service-card h3 { margin-bottom: 12px; color: var(--white); }
.service-card p { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; line-height: 1.7; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags span {
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.2);
  color: var(--primary);
}

/* ===================================================
   PRODUCTS
   =================================================== */
.products { background: var(--bg-2); }

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.product-showcase:last-child { margin-bottom: 0; }
.product-showcase.reverse { direction: rtl; }
.product-showcase.reverse > * { direction: ltr; }

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hrm-tag   { background: rgba(108,99,255,.12); border: 1px solid rgba(108,99,255,.3); color: var(--primary); }
.tutor-tag { background: rgba(62,207,207,.1);  border: 1px solid rgba(62,207,207,.3); color: var(--secondary); }

.product-content h2 { margin-bottom: 16px; }
.product-content p  { color: var(--text-muted); margin-bottom: 28px; font-size: 1.02rem; line-height: 1.8; }

.product-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: .95rem;
}
.feature-check {
  width: 22px; height: 22px;
  background: rgba(108,99,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.tutor-check { background: rgba(62,207,207,.12); color: var(--secondary); }

.product-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* HRM Mockup */
.product-mockup {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.mockup-title {
  margin-left: 10px;
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-body { display: flex; height: 320px; }

.dash-sidebar {
  width: 130px;
  background: rgba(255,255,255,.02);
  border-right: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: .75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.sidebar-item:hover { background: rgba(255,255,255,.04); color: var(--white); }
.sidebar-item.active { background: rgba(108,99,255,.15); color: var(--primary); border-right: 2px solid var(--primary); }

.dash-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }

.dash-metrics { display: flex; gap: 10px; }
.metric-box {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
}
.metric-box.accent { background: rgba(108,99,255,.12); border-color: rgba(108,99,255,.25); }
.metric-val { font-size: 1.2rem; font-weight: 700; color: var(--white); font-family: var(--font-head); }
.metric-lbl { font-size: .65rem; color: var(--text-muted); margin-top: 2px; }

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  padding: 0 4px;
}
.chart-bar {
  flex: 1;
  height: var(--h);
  background: rgba(108,99,255,.25);
  border-radius: 3px 3px 0 0;
  transition: background var(--transition);
}
.chart-bar.active { background: linear-gradient(to top, var(--primary), var(--secondary)); }

.dash-ai-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  color: var(--accent);
  background: rgba(255,101,132,.08);
  border: 1px solid rgba(255,101,132,.2);
  border-radius: 6px;
  padding: 6px 10px;
}
.ai-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* AI Tutor Mockup */
.tutor-mockup {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(62,207,207,.15), rgba(108,99,255,.1));
  border-bottom: 1px solid var(--border);
}
.tutor-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tutor-name  { font-weight: 700; font-size: .95rem; color: var(--white); }
.tutor-status { font-size: .75rem; color: var(--secondary); }

.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .82rem;
  line-height: 1.6;
}
.chat-msg.bot {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  color: var(--text);
}
.chat-msg.user {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  color: var(--white);
}
.chat-msg strong { color: var(--secondary); }
.chat-msg.user strong { color: var(--white); }

.chat-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: fit-content;
  border-bottom-left-radius: 3px;
}
.chat-typing span {
  width: 7px; height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing .9s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%,60%,100% { transform: translateY(0); opacity: .4; }
  30%         { transform: translateY(-5px); opacity: 1; }
}

.chat-progress { padding: 12px 16px 8px; border-top: 1px solid var(--border); }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.progress-bar {
  height: 5px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 10px;
  transition: width 1s ease;
}

.subject-chips { display: flex; gap: 8px; padding: 10px 16px 14px; flex-wrap: wrap; }
.chip {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.chip.active, .chip:hover {
  background: rgba(62,207,207,.12);
  border-color: rgba(62,207,207,.35);
  color: var(--secondary);
}

/* ===================================================
   TECH STACK
   =================================================== */
.tech-stack { background: var(--bg); border-top: 1px solid var(--border); }

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.tech-item {
  padding: 12px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: default;
}
.tech-item:hover {
  border-color: rgba(108,99,255,.4);
  color: var(--white);
  background: rgba(108,99,255,.08);
  transform: translateY(-3px);
}

/* ===================================================
   TEAM
   =================================================== */
.team { background: var(--bg-2); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: rgba(108,99,255,.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(108,99,255,.12);
}

.team-avatar {
  width: 76px; height: 76px;
  background: var(--color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 24px color-mix(in srgb, var(--color) 40%, transparent);
}
.team-avatar.team-photo {
  padding: 3px;
  overflow: hidden;
}
.team-avatar.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--white); }
.team-role    { font-size: .82rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-bio     { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }

.team-social a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.team-social a:hover { color: var(--primary); }

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials { background: var(--bg); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(108,99,255,.3); }
.testimonial-card.featured {
  background: linear-gradient(135deg, rgba(108,99,255,.1), rgba(62,207,207,.06));
  border-color: rgba(108,99,255,.35);
}

.stars { color: #FFB347; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }

.testimonial-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .88rem; color: var(--white); }
.testimonial-author span   { font-size: .78rem; color: var(--text-muted); }

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #1a1640 0%, #0d1f1f 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,.35), transparent);
  top: -200px; left: -100px;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(62,207,207,.25), transparent);
  bottom: -150px; right: -100px;
}
.cta-inner { position: relative; z-index: 2; }
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 40px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===================================================
   CONTACT
   =================================================== */
.contact { background: var(--bg-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { margin: 12px 0 16px; font-size: 2rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; font-size: .95rem; }

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(108,99,255,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item strong { display: block; color: var(--white); font-size: .9rem; margin-bottom: 3px; }
.contact-item p { color: var(--text-muted); font-size: .88rem; margin: 0; }

.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(108,99,255,.1); }

.contact-form-wrapper {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-muted); letter-spacing: .04em; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
}

.form-group select option { background: var(--bg-3); color: var(--white); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(108,99,255,.6);
  background: rgba(108,99,255,.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--secondary);
  background: rgba(62,207,207,.06);
  border: 1px solid rgba(62,207,207,.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.form-success.visible { display: flex; }
.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--accent);
  background: rgba(255,101,132,.08);
  border: 1px solid rgba(255,101,132,.22);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 16px;
}
.form-error.visible { display: flex; }

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: #070910;
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: .88rem; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { color: var(--primary); border-color: var(--primary); background: rgba(108,99,255,.1); }

.footer-col h4 { font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: .88rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li { font-size: .88rem; color: var(--text-muted); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: .82rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .82rem; color: var(--text-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(108,99,255,.45);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(108,99,255,.6); }

/* ===================================================
   FLOATING AI CHAT
   =================================================== */
.ai-chat-widget {
  position: fixed;
  right: 28px;
  bottom: 92px;
  z-index: 900;
  font-family: var(--font-body);
}

.ai-chat-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(108,99,255,.38);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ai-chat-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 52px rgba(62,207,207,.35);
}
.ai-chat-pulse {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2df7a3;
  border: 2px solid var(--white);
}

.ai-chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(380px, calc(100vw - 32px));
  background: rgba(17,20,34,.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.98);
  transform-origin: bottom right;
  transition: opacity var(--transition), transform var(--transition);
}
.ai-chat-widget.open .ai-chat-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.ai-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, rgba(108,99,255,.22), rgba(62,207,207,.1));
  border-bottom: 1px solid var(--border);
}
.ai-chat-head strong {
  display: block;
  color: var(--white);
  font-size: .98rem;
  margin-bottom: 4px;
}
.ai-chat-head span {
  display: block;
  color: var(--text-muted);
  font-size: .76rem;
}
.ai-chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.ai-chat-body {
  height: 300px;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-chat-message {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
}
.ai-chat-message.user {
  align-self: flex-end;
  background: rgba(108,99,255,.18);
  border-color: rgba(108,99,255,.35);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.ai-chat-message.bot {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.ai-chat-form {
  padding: 14px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.025);
}
.ai-chat-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.ai-chat-profile input,
.ai-chat-input-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05);
  color: var(--white);
  font: inherit;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.ai-chat-profile input {
  height: 38px;
  padding: 0 12px;
  font-size: .82rem;
}
.ai-chat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.ai-chat-input-row textarea {
  min-height: 44px;
  max-height: 96px;
  resize: none;
  padding: 12px;
  font-size: .86rem;
}
.ai-chat-profile input:focus,
.ai-chat-input-row textarea:focus {
  border-color: rgba(108,99,255,.55);
  background: rgba(255,255,255,.075);
}
.ai-chat-input-row button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.ai-chat-status {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: .72rem;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .about-grid,
  .product-showcase,
  .contact-grid { grid-template-columns: 1fr; }

  .product-showcase.reverse { direction: ltr; }

  .about-visual { display: none; }

  .hero-stats { flex-wrap: wrap; gap: 0; }
  .stat-item { padding: 12px 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(11,13,23,.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { display: none; }

  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .ai-chat-widget {
    right: 16px;
    bottom: 84px;
  }
  .ai-chat-body {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-lg { padding: 14px 28px; }
  .ai-chat-profile { grid-template-columns: 1fr; }
}

/* ===================================================
   INNER PAGE — PAGE HERO
   =================================================== */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.bc-sep { opacity: .4; }

.page-hero-content { max-width: 780px; }
.page-hero-content .section-tag { margin-bottom: 16px; }
.page-hero-content h1 { margin-bottom: 20px; letter-spacing: -0.02em; }
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 40px;
}

.page-hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 0;
  width: fit-content;
}
.ph-metric { text-align: center; padding: 0 32px; }
.ph-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ph-label { display: block; font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.ph-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

/* ===================================================
   ABOUT PAGE — STORY
   =================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Timeline */
.story-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }

.timeline-item {
  display: grid;
  grid-template-columns: 56px 24px 1fr;
  gap: 0 16px;
  align-items: start;
  padding-bottom: 32px;
}
.tl-year {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  padding-top: 2px;
}
.tl-line {
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(108,99,255,.1));
  position: relative;
  align-self: stretch;
  margin: 6px auto 0;
  min-height: 100%;
}
.tl-line::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--bg-2);
  box-shadow: 0 0 0 3px rgba(108,99,255,.25);
}
.tl-line.last { background: linear-gradient(to bottom, var(--secondary), transparent); }
.tl-line.last::before { background: var(--secondary); box-shadow: 0 0 0 3px rgba(62,207,207,.25); }

.tl-content { padding-bottom: 8px; }
.tl-content h4 { font-size: .95rem; color: var(--white); margin-bottom: 6px; }
.tl-content p  { font-size: .85rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ===================================================
   ABOUT PAGE — FOUNDER
   =================================================== */
.founder-section { background: var(--bg); }

.founder-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 60px;
}

.founder-visual { display: flex; justify-content: center; }

.founder-avatar-block {
  position: relative;
  width: 260px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-avatar-ring {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1.5px solid rgba(108,99,255,.3);
  animation: spin 20s linear infinite;
}
.founder-avatar-ring.ring-2 {
  width: 180px; height: 180px;
  border-color: rgba(62,207,207,.25);
  animation-direction: reverse;
  animation-duration: 14s;
}

.founder-avatar {
  width: 130px; height: 130px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(108,99,255,.4);
  z-index: 1;
}
.founder-avatar.photo-avatar {
  width: 150px;
  height: 150px;
  padding: 4px;
  overflow: hidden;
}
.founder-avatar.photo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.founder-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,25,41,.95);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.badge-apu {
  color: var(--primary);
  top: 10px; right: -20px;
  animation: floatA 6s ease-in-out infinite;
}
.badge-amb {
  color: var(--secondary);
  bottom: 10px; left: -20px;
  animation: floatB 7s ease-in-out infinite;
}

.founder-header { margin-bottom: 24px; }
.founder-header h2 { font-size: 2.2rem; color: var(--white); margin-bottom: 8px; }
.founder-role { color: var(--primary); font-weight: 600; font-size: 1rem; }

.founder-credentials { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.cred-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.cred-card:hover { border-color: rgba(108,99,255,.4); }
.cred-icon {
  width: 40px; height: 40px;
  background: rgba(108,99,255,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.cred-icon.accent  { background: rgba(62,207,207,.12); color: var(--secondary); }
.cred-icon.accent-2 { background: rgba(255,101,132,.1); color: var(--accent); }
.cred-card strong { display: block; color: var(--white); font-size: .9rem; margin-bottom: 2px; }
.cred-card span   { font-size: .82rem; color: var(--text-muted); }

.founder-bio { color: var(--text-muted); font-size: .97rem; line-height: 1.8; margin-bottom: 12px; }
.founder-bio strong { color: var(--white); }

.founder-quote {
  background: rgba(108,99,255,.07);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
  font-style: italic;
}
.founder-quote cite { display: block; margin-top: 12px; font-size: .82rem; color: var(--primary); font-style: normal; font-weight: 600; }

.founder-social { display: flex; gap: 10px; }

/* Ambassador Block */
.ambassador-block {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 20px;
}
.amb-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.amb-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.amb-content h3 { font-size: 1.25rem; color: var(--white); margin-bottom: 16px; }
.amb-content p  { color: var(--text-muted); font-size: .92rem; line-height: 1.8; margin-bottom: 12px; }
.amb-content strong { color: var(--white); }
.amb-content em { color: var(--secondary); font-style: normal; font-weight: 600; }

.amb-crafts { display: flex; flex-direction: column; gap: 10px; }
.craft-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(62,207,207,.06);
  border: 1px solid rgba(62,207,207,.2);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text);
  font-weight: 500;
}
.craft-icon { font-size: 1rem; }

/* ===================================================
   ABOUT PAGE — MISSION / VISION
   =================================================== */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mv-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.mv-card:hover { transform: translateY(-4px); }
.mission-card { border-color: rgba(108,99,255,.2); }
.vision-card  { border-color: rgba(62,207,207,.2); }
.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.vision-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}
.mv-icon {
  width: 60px; height: 60px;
  background: rgba(108,99,255,.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}
.mv-icon.accent { background: rgba(62,207,207,.1); color: var(--secondary); }
.mv-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.vision-card .mv-label { color: var(--secondary); }
.mv-card h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 14px; }
.mv-card p  { color: var(--text-muted); font-size: .9rem; line-height: 1.75; margin-bottom: 20px; }
.mv-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mv-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .87rem;
  color: var(--text-muted);
}
.mv-list li::before { content: '→'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.vision-card .mv-list li::before { color: var(--secondary); }

/* ===================================================
   ABOUT PAGE — VALUES
   =================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: all var(--transition);
}
.value-card:hover { border-color: rgba(108,99,255,.4); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(108,99,255,.1); }
.value-num {
  position: absolute;
  top: 20px; right: 20px;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(108,99,255,.35);
  font-family: var(--font-head);
}
.value-icon {
  width: 52px; height: 52px;
  background: rgba(108,99,255,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.value-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.value-card p  { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ===================================================
   ABOUT PAGE — GLOBAL OFFICES
   =================================================== */
.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.office-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
}
.office-card.hq {
  background: linear-gradient(135deg, rgba(108,99,255,.08), rgba(62,207,207,.04));
  border-color: rgba(108,99,255,.25);
}
.office-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(108,99,255,.12); }

.office-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108,99,255,.15);
  border: 1px solid rgba(108,99,255,.3);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.office-badge.regional { background: rgba(62,207,207,.1); border-color: rgba(62,207,207,.3); color: var(--secondary); }

.office-flag { font-size: 2.5rem; margin-bottom: 14px; }
.office-card h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.office-role { color: var(--text-muted); font-size: .88rem; margin-bottom: 20px; }

.office-details { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.od-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-muted);
}
.od-item svg { color: var(--primary); flex-shrink: 0; }

.office-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.office-tags span {
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.2);
  color: var(--primary);
}

/* Team row CTA */
.team-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.team-cta-row p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ===================================================
   SERVICES PAGE
   =================================================== */
.svc-link { text-decoration: none; display: block; cursor: pointer; }
.svc-link:hover { text-decoration: none; }

.svc-featured-icon { background: rgba(108,99,255,.2) !important; }
.svc-featured-badge {
  display: inline-flex;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

/* Service Detail Section */
.svc-detail-section { background: var(--bg); }
.svc-alt-section    { background: var(--bg-2); }

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.svc-detail-grid.reverse { direction: rtl; }
.svc-detail-grid.reverse > * { direction: ltr; }

.svc-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.3);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.teal-badge { background: rgba(62,207,207,.1); border-color: rgba(62,207,207,.3); color: var(--secondary); }

.svc-detail-content h2 { margin-bottom: 16px; }
.svc-detail-lead {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.75;
}

.svc-capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin: 28px 0; }
.svc-cap-col h4 { font-size: .82rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.svc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-muted); }
.svc-check { color: var(--primary); font-weight: 700; flex-shrink: 0; font-size: 1rem; }
.accent-check { color: var(--secondary); }

/* Code Window */
.code-window {
  background: #0d0f1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.code-filename { margin-left: 10px; font-size: .78rem; color: var(--text-muted); font-family: 'Courier New', monospace; }
.code-body { padding: 20px 24px; font-family: 'Courier New', monospace; font-size: .82rem; line-height: 1.7; }
.code-line { display: block; min-height: 1.4em; }
.code-line.pl-1 { padding-left: 20px; }
.code-line.pl-2 { padding-left: 40px; }
.code-line.pl-3 { padding-left: 60px; }
.c-kw   { color: #c792ea; }
.c-str  { color: #c3e88d; }
.c-fn   { color: #82aaff; }
.c-tag  { color: #89ddff; }
.c-attr { color: #ffcb6b; }
.code-cursor { display: inline-block; width: 8px; height: 1.2em; background: var(--primary); animation: blink 1.2s step-end infinite; vertical-align: text-bottom; margin-top: 4px; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.svc-tech-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tech-pill:hover { border-color: var(--primary); color: var(--primary); }

/* ML Visual */
.ml-visual-block { display: flex; flex-direction: column; gap: 14px; }
.ml-stat-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.ml-stat-header { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.ml-metrics { display: flex; flex-direction: column; gap: 14px; }
.ml-metric { display: flex; align-items: center; gap: 12px; }
.ml-label { font-size: .82rem; color: var(--text-muted); width: 72px; flex-shrink: 0; }
.ml-bar { flex: 1; height: 6px; background: rgba(255,255,255,.08); border-radius: 10px; overflow: hidden; }
.ml-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 10px; transition: width 1.5s ease; }
.ml-fill.teal { background: linear-gradient(90deg, var(--secondary), #6C63FF); }
.ml-fill.pink { background: linear-gradient(90deg, var(--accent), #FF9A9E); }
.ml-val { font-size: .82rem; font-weight: 700; color: var(--white); width: 32px; text-align: right; flex-shrink: 0; }

.ml-deploy-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.deploy-row { display: flex; gap: 12px; margin-bottom: 10px; }
.deploy-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.deploy-status.active { color: #28c840; background: rgba(40,200,64,.1); border-color: rgba(40,200,64,.3); }
.deploy-status span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.deploy-info { font-size: .78rem; color: var(--text-muted); }

/* ML Capabilities Grid */
.ml-capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.ml-cap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: all var(--transition);
}
.ml-cap:hover { border-color: rgba(62,207,207,.4); }
.ml-cap-icon {
  width: 40px; height: 40px;
  background: rgba(62,207,207,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-bottom: 10px;
}
.ml-cap strong { display: block; color: var(--white); font-size: .9rem; margin-bottom: 4px; }
.ml-cap p { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* Products Brief */
.products-brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.product-brief-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}
.product-brief-card:hover { transform: translateY(-4px); }
.hrm-brief   { border-color: rgba(108,99,255,.2); }
.tutor-brief { border-color: rgba(62,207,207,.2); }

.pb-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(108,99,255,.3);
}
.tutor-pb-icon { background: linear-gradient(135deg, var(--secondary), var(--primary)); box-shadow: 0 8px 24px rgba(62,207,207,.25); }

.pb-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.25);
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
}
.tutor-lbl { color: var(--secondary); background: rgba(62,207,207,.1); border-color: rgba(62,207,207,.25); }

.product-brief-card h3 { font-size: 1.2rem; color: var(--white); }
.product-brief-card p  { color: var(--text-muted); font-size: .9rem; line-height: 1.75; }
.pb-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pb-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-muted);
}
.pb-features li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.tutor-brief .pb-features li::before { color: var(--secondary); }

.pb-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.pb-big { font-size: 2.4rem; font-weight: 700; font-family: var(--font-head); color: var(--primary); }
.pb-big.teal { color: var(--secondary); }
.pb-caption { font-size: .82rem; color: var(--text-muted); }

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: all var(--transition);
}
.process-step:hover { border-color: rgba(108,99,255,.4); transform: translateY(-4px); }
.ps-num {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: rgba(108,99,255,.4);
}
.ps-icon {
  width: 52px; height: 52px;
  background: rgba(108,99,255,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.process-step h3 { font-size: .98rem; color: var(--white); margin-bottom: 10px; }
.process-step p  { font-size: .86rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.ps-duration {
  display: inline-flex;
  padding: 3px 10px;
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.2);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--primary);
}

/* Tech Categories */
.tech-categories { display: flex; flex-direction: column; gap: 28px; }
.tech-cat-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.tech-cat-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-cat-pills .tech-item { cursor: default; }

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.cp-info-header h2 { font-size: 1.8rem; color: var(--white); margin-bottom: 12px; }
.cp-info-header p  { color: var(--text-muted); font-size: .92rem; margin-bottom: 32px; }
.cp-info-header strong { color: var(--white); }

.cp-channels { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.cp-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}
.cp-channel:hover { border-color: rgba(108,99,255,.4); transform: translateX(4px); }
.cp-ch-icon {
  width: 40px; height: 40px;
  background: rgba(108,99,255,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.cp-ch-icon.accent  { background: rgba(62,207,207,.1); color: var(--secondary); }
.cp-ch-icon.tg-icon { background: rgba(0,136,204,.15); color: #29b6f6; }
.cp-channel strong { display: block; color: var(--white); font-size: .88rem; margin-bottom: 2px; }
.cp-channel span   { font-size: .82rem; color: var(--text-muted); }
.cp-arrow { margin-left: auto; color: var(--text-muted); transition: color var(--transition); flex-shrink: 0; }
.cp-channel:hover .cp-arrow { color: var(--primary); }

.cp-offices { margin-bottom: 28px; }
.cp-offices h3 { font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.cp-office {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cp-office:last-child { border-bottom: none; }
.cp-office-flag { font-size: 1.5rem; flex-shrink: 0; }
.cp-office strong { display: block; color: var(--white); font-size: .9rem; margin-bottom: 2px; }
.cp-office span   { display: block; font-size: .8rem; color: var(--text-muted); }
.cp-hq-tag, .cp-rep-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 4px;
}
.cp-hq-tag  { background: rgba(108,99,255,.12); color: var(--primary); }
.cp-rep-tag { background: rgba(62,207,207,.1); color: var(--secondary); }

.cp-social { display: flex; gap: 10px; }

/* Contact Form */
.cp-form-wrapper {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.cp-form-header { margin-bottom: 28px; }
.cp-form-header h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.cp-form-header p  { color: var(--text-muted); font-size: .88rem; }

.req { color: var(--accent); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-muted);
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--border);
  padding: 0;
}
.form-check label { cursor: pointer; }
.form-check a { color: var(--primary); }
.form-check a:hover { text-decoration: underline; }

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}
.why-card:hover { border-color: rgba(108,99,255,.4); transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px;
  background: rgba(108,99,255,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 16px;
}
.why-card h3 { font-size: .98rem; color: var(--white); margin-bottom: 10px; }
.why-card p  { font-size: .84rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 820px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 4px;
  text-align: left;
  font-size: .97rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--white); }
.faq-item.open .faq-question { color: var(--primary); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-answer p {
  padding: 0 4px 22px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.8;
  margin: 0;
}

/* ===================================================
   RESPONSIVE — NEW PAGES
   =================================================== */
@media (max-width: 1100px) {
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .story-grid     { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .founder-grid         { grid-template-columns: 1fr; }
  .founder-visual       { display: none; }
  .mv-grid              { grid-template-columns: 1fr; }
  .offices-grid         { grid-template-columns: 1fr; }
  .svc-detail-grid      { grid-template-columns: 1fr; }
  .svc-detail-grid.reverse { direction: ltr; }
  .svc-capabilities     { grid-template-columns: 1fr; }
  .products-brief-grid  { grid-template-columns: 1fr; }
  .process-grid         { grid-template-columns: repeat(2, 1fr); }
  .contact-page-grid    { grid-template-columns: 1fr; }
  .amb-grid             { grid-template-columns: 1fr; }
  .page-hero-metrics    { flex-wrap: wrap; }
  .team-cta-row         { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 768px) {
  .page-hero { padding: 130px 0 60px; }
  .values-grid  { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid     { grid-template-columns: 1fr; }
  .ml-capabilities-grid { grid-template-columns: 1fr; }
  .cp-form-wrapper { padding: 24px 20px; }
  .ambassador-block { padding: 24px 20px; }
  .ph-metric { padding: 10px 16px; }
}
