:root {
  --bg: #fcfbff;
  --bg-alt: #f4f1ff;
  --surface: #ffffff;
  --surface-2: #f2effc;
  --border: rgba(91, 33, 182, 0.1);
  --text: #1e1b4b;
  --muted: #5d5b7e;
  --text-soft: #3f3c66;
  --cyan: #4f46e5;
  --violet: #9333ea;
  --pink: #db2777;
  --green: #16a34a;
  --amber: #d97706;
  --blue: #2563eb;
  --red: #dc2626;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #9333ea 55%, #db2777 100%);
  --radius: 16px;
  --shadow: 0 24px 50px -24px rgba(76, 29, 149, 0.35);
  --card-shadow: 0 10px 30px -16px rgba(76, 29, 149, 0.22);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { width: min(820px, 92%); }
.muted { color: var(--muted); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.7);
}
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(34, 211, 238, 0.7); }
.btn-ghost { border-color: var(--border); background: rgba(255, 255, 255, 0.03); color: var(--text); }
.btn-ghost:hover { border-color: rgba(34, 211, 238, 0.5); }
.btn-light { background: #fff; color: #0b1020; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav:has(.nav-links.open) {
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 700; }
.brand b { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a.active:not(.btn) { color: var(--text); position: relative; }
.nav-links a.active:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gradient);
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 150px 0 140px;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.12) 1px, transparent 0) 0 0 / 32px 32px;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 700px;
  background:
    radial-gradient(closest-side, rgba(139, 92, 246, 0.35), transparent) 70% 30% / 700px 700px no-repeat,
    radial-gradient(closest-side, rgba(34, 211, 238, 0.25), transparent) 20% 10% / 600px 600px no-repeat;
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-grid > *, .split > *, .contact-grid > *, .tab-panel > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan); font-size: 0.85rem; font-weight: 600; margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); animation: pulse 2s infinite; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.95rem; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }

.hero-visual { position: relative; }
.terminal {
  background: #0a0f1f;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 1px rgba(139, 92, 246, 0.15);
  overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #0e1530; border-bottom: 1px solid var(--border); }
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.terminal-bar span:nth-child(2) { background: #f59e0b; }
.terminal-bar span:nth-child(3) { background: #22c55e; }
.terminal-bar em { margin-left: 10px; color: var(--muted); font-style: normal; font-size: 0.8rem; font-family: var(--mono); }
.terminal-body { padding: 18px 20px; font-family: var(--mono); font-size: 0.85rem; min-height: 250px; color: #cbd5e1; }
.terminal-body .line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: fadeIn 0.3s ease; }
.terminal-body .prompt { color: var(--cyan); margin-right: 8px; }
.terminal-body .ok { color: var(--green); }
.terminal-body .info { color: var(--violet); }
.terminal-body .warn { color: var(--amber); }
.cursor { display: inline-block; width: 8px; height: 1em; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }

.pipeline { display: flex; gap: 8px; margin-top: 18px; }
.stage {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8rem; color: var(--muted); font-weight: 600;
}
.stage i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: 0.75rem; }
.stage.done { color: var(--text); border-color: rgba(34, 197, 94, 0.35); }
.stage.done i { background: rgba(34, 197, 94, 0.18); color: var(--green); }
.stage.active { color: var(--text); border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 0 24px -6px rgba(34, 211, 238, 0.6); }
.stage.active i { background: var(--gradient); color: #fff; animation: pulse 1.6s infinite; }

.float-card {
  position: absolute; display: flex; flex-direction: column;
  padding: 12px 18px; border-radius: 14px;
  background: rgba(17, 26, 51, 0.9); backdrop-filter: blur(10px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.float-card strong { font-size: 1.4rem; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float-card span { font-size: 0.78rem; color: var(--muted); }
.fc-1 { top: -26px; right: -18px; }
.fc-2 { bottom: -100px; left: 24px; animation-delay: -2.5s; }

/* Stats */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.3rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.split > div { padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.split h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

.check-list, .x-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li, .x-list li { position: relative; padding-left: 32px; color: var(--text-soft); }
.check-list li::before, .x-list li::before {
  position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800;
}
.check-list li::before { content: "✓"; background: rgba(34, 197, 94, 0.15); color: var(--green); }
.x-list li::before { content: "✕"; background: rgba(239, 68, 68, 0.15); color: var(--red); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(139, 92, 246, 0.55); }
.card:hover::after { opacity: 1; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.icon svg, .ci-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Tabs */
.tabs { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.tab-buttons { display: flex; gap: 8px; background: var(--bg); padding: 6px; border-radius: 14px; width: fit-content; margin: 0 auto 30px; }
.tab-btn {
  padding: 10px 22px; border-radius: 10px; border: 0; background: transparent; color: var(--muted);
  font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.95rem; transition: all 0.2s;
}
.tab-btn.active { background: var(--gradient); color: #fff; }
.tab-panel { display: none; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tab-panel.active { display: grid; animation: fadeIn 0.4s ease; }
.tab-text p { color: var(--muted); }

.diagram { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; gap: 22px; justify-items: center; }
.lb { padding: 10px 22px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; position: relative; }
.envs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.env { padding: 22px 12px; border-radius: 12px; text-align: center; font-weight: 700; border: 1px solid var(--border); background: var(--surface); }
.env small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; margin-top: 4px; }
.env.blue { border-color: rgba(59, 130, 246, 0.45); color: #93c5fd; opacity: 0.65; }
.env.green { border-color: rgba(34, 197, 94, 0.6); color: #86efac; box-shadow: 0 0 30px -8px rgba(34, 197, 94, 0.6); }
.bar { display: flex; width: 100%; height: 46px; border-radius: 12px; overflow: hidden; font-size: 0.82rem; font-weight: 600; }
.bar span { display: grid; place-items: center; white-space: nowrap; }
.bar-old { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.bar-new { background: rgba(34, 197, 94, 0.3); color: #86efac; animation: grow 3s ease-in-out infinite alternate; }
.steps-mini { display: flex; gap: 10px; }
.steps-mini span { padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; border: 1px solid var(--border); color: var(--muted); }
.steps-mini span.on { border-color: rgba(34, 197, 94, 0.5); color: #86efac; }
.pods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.pod { padding: 16px 0; text-align: center; border-radius: 10px; background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.35); color: #93c5fd; font-weight: 600; font-family: var(--mono); font-size: 0.85rem; }
.pod.new { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.45); color: #86efac; }
.pod.updating { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.45); color: #fcd34d; animation: pulse 1.4s infinite; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gradient); }
.pillar .num { font-family: var(--mono); font-size: 0.9rem; color: var(--violet); font-weight: 600; display: block; margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); opacity: 0.4; }
.timeline li { position: relative; text-align: center; padding: 0 8px; }
.step {
  position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); font-weight: 800; font-size: 1.2rem; color: var(--cyan);
  box-shadow: 0 0 0 6px var(--bg), 0 0 30px -6px rgba(34, 211, 238, 0.7);
}
.timeline p { color: var(--muted); font-size: 0.95rem; }

/* Tech stack */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stack-group { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stack-group h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 6px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.88rem; font-weight: 500; transition: border-color 0.2s, color 0.2s; }
.chips span:hover { border-color: rgba(34, 211, 238, 0.5); color: var(--cyan); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 34px 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); position: relative; }
.plan .check-list { margin: 10px 0 30px; flex: 1; }
.plan-sub { color: var(--muted); }
.plan.featured { background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), var(--surface) 60%); border-color: rgba(139, 92, 246, 0.55); transform: scale(1.03); box-shadow: 0 30px 60px -30px rgba(139, 92, 246, 0.7); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--gradient); color: #fff; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; transition: border-color 0.2s; }
.faq details[open] { border-color: rgba(34, 211, 238, 0.4); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--cyan); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* CTA banner */
.cta-banner { padding: 0 0 100px; background: var(--bg-alt); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 50px 56px; border-radius: 24px; background: var(--gradient);
  box-shadow: 0 30px 70px -30px rgba(139, 92, 246, 0.8);
}
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, 0.88); margin: 0; max-width: 560px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.contact-info { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact-info li { display: flex; align-items: center; gap: 14px; color: var(--text-soft); }
.contact-info a:hover { color: var(--cyan); }
.contact-info li { align-items: flex-start; }
.contact-info address { font-style: normal; line-height: 1.6; }
.ci-label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 2px; }
.footer-address { font-style: normal; color: var(--muted); font-size: 0.9rem; line-height: 1.6; max-width: 260px; }
.ci-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); flex-shrink: 0; }
.contact-form { padding: 34px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--text-soft); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15); }
.contact-form .invalid { border-color: var(--red); }
.form-status { margin: 0; font-size: 0.92rem; min-height: 1.4em; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 60px 0 0; background: #050813; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid a:not(.brand) { display: block; color: var(--muted); margin-bottom: 10px; font-size: 0.93rem; transition: color 0.2s; }
.footer-grid a:not(.brand):hover { color: var(--cyan); }
.footer-grid .muted { margin-top: 14px; max-width: 320px; font-size: 0.93rem; }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.footer-bottom a:hover { color: var(--cyan); }

/* Inner page hero */
.page-hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.12) 1px, transparent 0) 0 0 / 32px 32px;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { position: relative; max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-hero .lead { margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--cyan); }
.breadcrumb a:hover { text-decoration: underline; }
.section-tight { padding: 70px 0; }

/* About page */
.about-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.about-intro > * { min-width: 0; }
.about-panel {
  padding: 34px; border-radius: 20px; border: 1px solid rgba(139, 92, 246, 0.35);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.14), var(--surface) 70%);
  box-shadow: 0 30px 60px -30px rgba(139, 92, 246, 0.6);
}
.about-panel h3 { font-size: 1.3rem; margin-bottom: 20px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 38px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.mv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gradient); }
.mv-card .eyebrow { display: block; margin-bottom: 8px; }
.mv-card h3 { font-size: 1.4rem; }
.mv-card p { color: var(--muted); margin: 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-item { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s; }
.why-item:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-4px); }
.why-num { font-family: var(--mono); font-size: 1.6rem; font-weight: 700; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.location {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 36px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border);
}
.location h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.location p { margin: 0; }
.location-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--gradient); }
.location-icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cta-banner-plain { padding: 100px 0; background: var(--bg); }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  display: flex; flex-direction: column; padding: 32px 28px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.contact-card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.45); box-shadow: 0 24px 50px -24px rgba(139, 92, 246, 0.55); }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.contact-card p { margin-bottom: 14px; }
.contact-value { display: block; font-weight: 600; font-size: 1.05rem; margin-bottom: 22px; color: var(--text); word-break: break-word; }
a.contact-value:hover { color: var(--cyan); }
.contact-address { font-style: normal; font-weight: 500; font-size: 0.98rem; line-height: 1.6; color: var(--text-soft); flex: 1; }
.contact-card .btn { margin-top: auto; }
.next-steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.next-steps li { display: flex; gap: 16px; }
.next-steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.next-steps p { margin: 0; font-size: 0.95rem; }
.step-dot {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--cyan); color: var(--cyan); font-weight: 800; box-shadow: 0 0 24px -6px rgba(34, 211, 238, 0.7);
}
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); height: 420px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.2) contrast(1.05); }

/* Shared helpers */
.section-more { text-align: center; margin-top: 40px; }
.hero-cta.center { justify-content: center; margin-bottom: 0; }
.cta-banner-alt { padding: 0 0 100px; background: var(--bg); }

/* Careers page */
.jobs { display: grid; gap: 18px; }
.job {
  display: flex; align-items: center; gap: 28px; padding: 28px 30px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.job:hover { border-color: rgba(139, 92, 246, 0.45); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(139, 92, 246, 0.55); }
.job-main { flex: 1; min-width: 0; }
.job h3 { font-size: 1.2rem; margin-bottom: 10px; }
.job p { color: var(--muted); font-size: 0.95rem; margin: 12px 0 14px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta span {
  padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.28); color: var(--cyan);
}
.job-apply { flex-shrink: 0; }

/* Error page */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.error-code { font-size: clamp(6rem, 18vw, 10rem); font-weight: 800; line-height: 1; margin-bottom: 10px; }

/* Light theme surfaces */
.hero, .page-hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(79, 70, 229, 0.1) 1px, transparent 0) 0 0 / 30px 30px,
    linear-gradient(180deg, #f7f4ff 0%, #fdf2f8 55%, var(--bg) 100%);
}
.hero-glow {
  filter: blur(40px);
  background:
    radial-gradient(closest-side, rgba(147, 51, 234, 0.28), transparent) 75% 25% / 650px 650px no-repeat,
    radial-gradient(closest-side, rgba(56, 189, 248, 0.28), transparent) 15% 10% / 560px 560px no-repeat,
    radial-gradient(closest-side, rgba(236, 72, 153, 0.2), transparent) 50% 95% / 520px 520px no-repeat;
}
.pill { background: rgba(79, 70, 229, 0.08); border-color: rgba(79, 70, 229, 0.25); }
.nav.scrolled, .nav:has(.nav-links.open) { background: rgba(255, 255, 255, 0.88); box-shadow: 0 6px 24px -14px rgba(76, 29, 149, 0.3); }
.btn-ghost { background: #fff; border-color: rgba(79, 70, 229, 0.2); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn-primary { box-shadow: 0 12px 28px -10px rgba(147, 51, 234, 0.55); }
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(219, 39, 119, 0.5); }

.section { background: var(--bg); }
.section-alt {
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.1), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.08), transparent 40%),
    var(--bg-alt);
}
.stats { background: #fff; border-color: var(--border); box-shadow: 0 10px 30px -24px rgba(76, 29, 149, 0.35); }
:is(.card, .pillar, .split > div, .stack-group, .plan, .faq details, .mv-card, .why-item, .location, .contact-card, .contact-form, .job, .about-panel, .tabs, .stage) {
  box-shadow: var(--card-shadow);
}
:is(.card, .contact-card, .job):hover { box-shadow: 0 26px 50px -24px rgba(147, 51, 234, 0.4); }
.about-panel { background: linear-gradient(180deg, rgba(147, 51, 234, 0.08), #fff 70%); }
.plan.featured { background: linear-gradient(180deg, rgba(147, 51, 234, 0.1), #fff 60%); }
.contact-form :is(input, select, textarea) { background: #faf9ff; }
.float-card { background: rgba(255, 255, 255, 0.92); }

/* Colourful icon tiles */
.icon { border: 0; background: var(--gradient); box-shadow: 0 10px 22px -10px rgba(147, 51, 234, 0.6); }
.icon svg { stroke: #fff; }
.cards .card:nth-child(6n+2) .icon { background: linear-gradient(135deg, #0ea5e9, #6366f1); box-shadow: 0 10px 22px -10px rgba(14, 165, 233, 0.6); }
.cards .card:nth-child(6n+3) .icon { background: linear-gradient(135deg, #ec4899, #f43f5e); box-shadow: 0 10px 22px -10px rgba(236, 72, 153, 0.6); }
.cards .card:nth-child(6n+4) .icon { background: linear-gradient(135deg, #f59e0b, #f97316); box-shadow: 0 10px 22px -10px rgba(245, 158, 11, 0.6); }
.cards .card:nth-child(6n+5) .icon { background: linear-gradient(135deg, #10b981, #14b8a6); box-shadow: 0 10px 22px -10px rgba(16, 185, 129, 0.6); }
.cards .card:nth-child(6n) .icon { background: linear-gradient(135deg, #8b5cf6, #d946ef); box-shadow: 0 10px 22px -10px rgba(139, 92, 246, 0.6); }

/* Rich purple areas: terminal, feature sections and footer */
.terminal, .section-dark, .footer {
  --bg: #1a1446;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f3ff;
  --muted: #c4c0e8;
  --text-soft: #e0dcff;
  --cyan: #67e8f9;
  --violet: #c4b5fd;
  --green: #4ade80;
  --amber: #fbbf24;
  --gradient: linear-gradient(135deg, #67e8f9, #c084fc 55%, #f9a8d4);
  --card-shadow: none;
  color: var(--text);
}
.terminal { background: #17123d; }
.terminal-bar { background: #211a52; }
.section-dark {
  background:
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.45), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(219, 39, 119, 0.35), transparent 45%),
    linear-gradient(135deg, #1e1b4b, #3b0764);
}
.section-dark .tab-btn.active { color: #1e1b4b; }
.section-dark .icon svg { stroke: #fff; }
.footer { background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 60%, #4a044e 100%); border-top: 0; }
.cta-banner, .cta-banner.cta-banner-alt, .cta-banner.cta-banner-plain { background: var(--bg); }
.cta-banner.cta-banner-alt { padding-top: 0; }
.cta-inner { box-shadow: 0 30px 60px -28px rgba(147, 51, 234, 0.6); }

/* AI highlights */
.pill-ai { background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(219, 39, 119, 0.12)); border-color: rgba(147, 51, 234, 0.35); color: var(--violet); }
.ai-spark {
  display: inline-block; font-size: 1rem; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sparkle 2.4s ease-in-out infinite;
}
@keyframes sparkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.3) rotate(25deg); } }
.terminal-body .ai { color: #f0abfc; }
.ai-tag {
  position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: #fff;
  background: linear-gradient(135deg, #6366f1, #db2777);
}
.card-ai { border-color: rgba(147, 51, 234, 0.3); background: linear-gradient(180deg, rgba(147, 51, 234, 0.07), #fff 60%); }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ai-card {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.ai-card:hover { transform: translateY(-6px); border-color: rgba(240, 171, 252, 0.5); background: rgba(255, 255, 255, 0.09); }
.ai-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.ai-card .icon { background: linear-gradient(135deg, #6366f1, #db2777); box-shadow: 0 10px 24px -10px rgba(219, 39, 119, 0.7); }
.ai-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 0; margin-top: 46px; }
.flow-step {
  position: relative; padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
}
.flow-step:not(:last-child) { margin-right: 34px; }
.flow-step:not(:last-child)::after { content: "\2192"; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.flow-step.ai { background: linear-gradient(135deg, rgba(103, 232, 249, 0.18), rgba(240, 171, 252, 0.22)); border-color: rgba(240, 171, 252, 0.45); }

/* Web design teaser + browser mock-up */
.webdesign, .mlops { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.webdesign > *, .mlops > * { min-width: 0; }
.check-list.two-col { grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 4px; }
.mlops .check-list, .section-dark .webdesign .check-list { margin-top: 20px; }
.browser-mock { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: 0 40px 80px -40px rgba(76, 29, 149, 0.45); }
.bm-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #f6f4fe; border-radius: 18px 18px 0 0; }
.bm-bar span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.bm-bar span:nth-child(2) { background: #fbbf24; }
.bm-bar span:nth-child(3) { background: #34d399; }
.bm-bar em { margin-left: 12px; flex: 1; font-style: normal; font-size: 0.78rem; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 4px 12px; }
.bm-body { padding: 22px; display: grid; gap: 20px; }
.bm-nav { display: flex; align-items: center; gap: 12px; }
.bm-nav i { display: block; height: 8px; width: 46px; border-radius: 4px; background: #e9e5fb; }
.bm-nav .bm-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--gradient); margin-right: auto; }
.bm-nav .bm-btn { width: 70px; height: 22px; border-radius: 6px; background: var(--gradient); }
.bm-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: center; }
.bm-text { display: grid; gap: 10px; }
.bm-text > * { display: block; text-decoration: none; }
.bm-text b { height: 14px; border-radius: 6px; background: #2e2a6b; }
.bm-text b.short { width: 70%; }
.bm-text s { height: 8px; border-radius: 4px; background: #e3dff7; }
.bm-text s.short { width: 80%; }
.bm-text u { width: 90px; height: 26px; border-radius: 8px; background: var(--gradient); margin-top: 6px; }
.bm-img {
  aspect-ratio: 4 / 3; border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #c4b5fd, transparent 60%), radial-gradient(circle at 80% 70%, #f9a8d4, transparent 55%), linear-gradient(135deg, #818cf8, #a855f7);
}
.bm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bm-cards div { height: 70px; border-radius: 10px; background: #f4f1ff; border: 1px solid var(--border); }
.bm-badge { bottom: -22px; left: -22px; }

/* MLOps flow and hosting stack */
.ml-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ml-flow li { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.ml-flow li > span { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #1e1b4b; background: var(--gradient); }
.ml-flow h3 { margin: 0 0 2px; font-size: 1rem; }
.ml-flow p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.host-stack { display: grid; gap: 12px; }
.host-layer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 18px 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.host-layer:nth-child(2) { margin: 0 14px; }
.host-layer:nth-child(3) { margin: 0 28px; }
.host-layer:nth-child(4) { margin: 0 42px; }
.host-layer span { color: var(--muted); font-size: 0.9rem; }
.contact-phones { display: grid; gap: 4px; }
.contact-phones a:hover { color: var(--cyan); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Animations */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { filter: brightness(0.9); } to { filter: brightness(1.25); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards, .stack, .plans { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .plan.featured { transform: none; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 4% 24px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(14px);
    box-shadow: 0 20px 30px -20px rgba(76, 29, 149, 0.3);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 16px; }
  .nav-links a.active:not(.btn) { color: var(--cyan); }
  .nav-links a.active:not(.btn)::after { display: none; }
}

@media (max-width: 900px) {
  .page-hero { padding: 120px 0 60px; }
  .webdesign, .mlops { grid-template-columns: 1fr; gap: 44px; }
  .about-intro, .mv-grid, .why-grid { grid-template-columns: 1fr; }
  .about-intro { gap: 40px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-cards .contact-card:last-child { grid-column: 1 / -1; }
  .location { grid-template-columns: 1fr; text-align: center; justify-items: center; }

  .hero { padding: 120px 0 70px; }
  .hero-grid, .split, .contact-grid, .tab-panel.active { grid-template-columns: 1fr; }
  .hero-grid { gap: 50px; }
  .fc-1 { right: 0; }
  .fc-2 { left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .cta-inner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .cards, .stack, .plans, .pillars, .timeline, .ai-grid { grid-template-columns: 1fr; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .flow-step { font-size: 0.8rem; padding: 8px 12px; }
  .flow-step:not(:last-child) { margin-right: 28px; }
  .flow-step:not(:last-child)::after { right: -20px; }
  .host-layer:nth-child(n) { margin: 0; }
  .bm-body { padding: 16px; gap: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .split > div, .tabs, .contact-form { padding: 24px; }
  .tab-buttons { width: 100%; }
  .tab-btn { flex: 1; padding: 10px 8px; }
  .pipeline .stage { font-size: 0.7rem; padding: 10px 2px; }
  .float-card { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .section-tight { padding: 56px 0; }
  .about-panel, .mv-card, .why-item, .location, .contact-card { padding: 24px; }
  .why-item { flex-direction: column; gap: 12px; }
  .map { height: 320px; }
  .cta-banner-plain { padding: 72px 0; }
  .cta-banner-alt { padding-bottom: 72px; }
  .job { flex-direction: column; align-items: stretch; gap: 18px; padding: 24px; }
  .job-apply { width: 100%; }
  .hero-cta.center .btn { width: 100%; }
  .breadcrumb { margin-bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
