:root {
  --blue: #2563eb;
  --cyan: #06b6d4;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f1f5fb;
  --line: #e2e8f0;
  --radius: 16px;
  --grad: linear-gradient(135deg, var(--blue), var(--cyan));
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }
p + p { margin-top: 1rem; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .8rem; }
.eyebrow.light { color: #67e8f9; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; margin: 1.25rem 0 2rem; max-width: 560px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .55); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.btn-light { background: #fff; color: var(--blue); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); font-size: 1.15rem; }
.logo b { font-weight: 800; margin-left: .25rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo.light { color: #fff; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { font-weight: 600; font-size: .95rem; color: var(--text); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* Hero */
.hero { position: relative; padding: 150px 0 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(6,182,212,.18), transparent 70%),
    radial-gradient(700px 500px at 10% 0%, rgba(37,99,235,.14), transparent 70%),
    linear-gradient(#fff, #f6f9ff); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; list-style: none; font-size: .92rem; font-weight: 600; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--cyan); font-weight: 800; margin-right: .4rem; }

.hero-visual { position: relative; min-height: 380px; }
.glass { background: rgba(255,255,255,.8); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-main { padding: 1.5rem; position: relative; z-index: 1; margin-top: 30px; }
.cm-head { display: flex; align-items: center; gap: 6px; margin-bottom: 1.4rem; }
.cm-head small { margin-left: auto; color: var(--muted); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #f87171; } .dot.y { background: #fbbf24; } .dot.g { background: #34d399; }
.cm-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 1rem; font-size: .9rem; font-weight: 600; margin-bottom: .9rem; }
.bar { height: 10px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.bar i { animation: grow 1.4s cubic-bezier(.2,.8,.2,1) .3s forwards; }
@keyframes grow { to { width: var(--w); } }
.cm-chart { margin-top: 1.2rem; height: 90px; background: linear-gradient(180deg, rgba(37,99,235,.06), transparent); border-radius: 10px; }
.cm-chart svg { width: 100%; height: 100%; }
.chip { position: absolute; padding: .7rem 1rem; font-weight: 700; font-size: .88rem; color: var(--ink); z-index: 2; animation: float 5s ease-in-out infinite; }
.chip-1 { top: 0; right: 8%; }
.chip-2 { bottom: 10px; left: -4%; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 14px; background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(6,182,212,.14)); margin-bottom: 1.2rem; }
.card p { font-size: .95rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.checklist { list-style: none; margin-top: 1.5rem; display: grid; gap: .9rem; }
.checklist li { padding-left: 2rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; background: var(--grad); border-radius: 50%; }
.checklist strong { color: var(--ink); }

.ai-panel { background: var(--ink); border-radius: 22px; padding: 1.8rem; box-shadow: 0 30px 60px -20px rgba(15,23,42,.45); }
.chat { display: flex; flex-direction: column; gap: .9rem; }
.msg { max-width: 85%; padding: .85rem 1.1rem; border-radius: 16px; font-size: .93rem; line-height: 1.5; }
.msg.user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #1e293b; color: #e2e8f0; border-bottom-left-radius: 4px; }
.typing { display: flex; gap: 5px; }
.typing span { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }
.caption { color: #94a3b8; font-size: .8rem; text-align: center; margin-top: 1.2rem; }

/* Teams */
.team { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding-bottom: 1.6rem; transition: transform .25s, box-shadow .25s; }
.team:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-top { height: 110px; display: grid; place-items: center; font-size: 2.6rem; margin-bottom: 1.4rem; }
.t1 { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.t2 { background: linear-gradient(135deg, #0891b2, #2563eb); }
.t3 { background: linear-gradient(135deg, #06b6d4, #10b981); }
.team h3, .team p, .team ul { padding: 0 1.6rem; }
.team p { font-size: .95rem; margin-bottom: 1rem; }
.team ul { list-style: none; display: grid; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.team li::before { content: "→"; color: var(--blue); margin-right: .5rem; }

/* Process */
.section-dark { background: var(--ink); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { padding: 2rem 1.5rem; border: 1px solid #1e293b; border-radius: var(--radius); background: linear-gradient(180deg, #111c33, #0f172a); }
.num { font-size: 2.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: .8rem; }
.steps p { font-size: .95rem; }

/* Why */
.why { grid-template-columns: 1fr 1fr; }
.why-item { padding: 1.5rem; border-radius: var(--radius); background: var(--bg-alt); border-left: 4px solid var(--blue); }
.why-item h4 { margin-bottom: .3rem; }
.why-item p { font-size: .92rem; }

/* CTA */
.cta-band { background: var(--grad); padding: 80px 0; color: #e0f2fe; text-align: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p { margin-bottom: 2rem; font-size: 1.1rem; }

/* Contact */
.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: center; font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--blue); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.office { padding: 1.2rem 1.3rem; border-radius: var(--radius); background: var(--bg-alt); border-left: 4px solid var(--cyan); }
.office h4 { font-size: 1rem; margin-bottom: .4rem; }
.office address { font-style: normal; font-size: .93rem; line-height: 1.6; }
.office a:hover { color: var(--blue); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .88rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); background: #fff; }
.form-note { font-size: .88rem; color: #059669; text-align: center; min-height: 1.2em; }

/* Footer */
.site-footer { background: #0b1222; color: #94a3b8; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-address { font-style: normal; font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-address strong { color: #e2e8f0; }
.footer-grid p { margin-top: 1rem; max-width: 360px; font-size: .92rem; }
.footer-grid h5 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-grid a:not(.logo) { display: block; font-size: .92rem; margin-bottom: .5rem; transition: color .2s; }
.footer-grid a:not(.logo):hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; text-align: center; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .typing span { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 1rem 16px 1.5rem; box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header { background: rgba(255,255,255,.95); }
  .hero { padding: 120px 0 70px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 3rem; }
  .cards-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cards-4, .steps, .why, .contact-form .row, .offices { grid-template-columns: 1fr; }
  .cm-row { grid-template-columns: 110px 1fr; font-size: .82rem; }
  .chip-2 { left: 0; }
  .contact-form { padding: 1.4rem; }
}
