:root {
  --bg: #ffffff;
  --bg-alt: #f4f7ff;
  --band: #ecebf6;
  --ink: #0c0445;
  --muted: #425466;
  --line: #e3e1f2;
  --brand: #8442e8;
  --brand-deep: #6a21c9;
  --brand-bright: #4557f6;
  --lavender: #b4b4f4;
  --gold: #ffcf61;
  --grad: linear-gradient(115deg, #4557f6, #8442e8);
  --radius: 18px;
  --shadow: 0 20px 50px rgba(12, 4, 69, .10);
  --shadow-sm: 0 8px 24px rgba(12, 4, 69, .07);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5,
.brand, .btn, .step-num, .marquee-group span {
  font-family: "Syne", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

::selection { background: #e0d4fa; color: var(--ink); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: #cfc7ea; border-radius: 8px; border: 3px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: #a99fe0; }

:focus-visible { outline: 3px solid #8442e8; outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; font-weight: 700;
  padding: .75rem 1.25rem; border-radius: 10px; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 750; }
p { color: var(--muted); }

.container { width: min(1140px, 92%); margin-inline: auto; }

.grad {
  background: linear-gradient(100deg, #4557f6, #8442e8 55%, #b4b4f4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px;
  padding: .8rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 10px 26px rgba(132, 66, 232, .35);
}
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 16px 38px rgba(132, 66, 232, .45); }
.btn-ghost { border-color: #cdc6ea; color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.btn-light { background: var(--gold); color: var(--ink); }
.btn-light:hover { filter: brightness(1.05); }
.btn-sm { min-height: 40px; padding: .45rem 1.15rem; font-size: .88rem; }
.btn-block { width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--grad);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.28rem; font-weight: 800; letter-spacing: -.01em; }
.brand-mark { width: 46px; height: auto; }
.brand b { color: var(--brand); font-weight: 800; }
.brand.light b { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 750; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 11px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center; border-radius: 10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

.hero { position: relative; overflow: hidden; padding: 96px 0 84px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(132, 66, 232, .11), transparent 60%),
  radial-gradient(720px 400px at -10% 30%, rgba(69, 87, 246, .09), transparent 60%), #fff; }

.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.orb-1 { width: 430px; height: 430px; background: rgba(132, 66, 232, .28); top: -130px; right: -90px; animation: float 10s ease-in-out infinite alternate; }
.orb-2 { width: 340px; height: 340px; background: rgba(180, 180, 244, .35); bottom: -140px; left: -70px; animation: float 12s ease-in-out infinite alternate-reverse; }
@keyframes float { from { transform: translateY(-14px); } to { transform: translateY(14px); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem 1.05rem; border-radius: 999px;
  background: #f1ebfe; border: 1px solid #dccefa;
  color: var(--brand-deep); font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  margin-bottom: 1.25rem;
}
.hero-copy p { margin: 1.2rem 0 1.8rem; max-width: 54ch; font-size: 1.05rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.glass-panel {
  position: relative;
  background: linear-gradient(165deg, #ffffff, #f4f3fc);
  border: 1px solid #ddd6f3; border-radius: 22px; padding: 22px;
  box-shadow: var(--shadow);
}
.panel-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.panel-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #e4def5; }
.panel-head .dot:first-child { background: #ff5f57; } .panel-head .dot:nth-child(2) { background: #febc2e; } .panel-head .dot:nth-child(3) { background: #28c840; }
.panel-head em { margin-left: auto; color: var(--brand); font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.chart { width: 100%; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.kpis div { background: #f4f3fc; border: 1px solid #e4def5; border-radius: 12px; padding: 10px 12px; transition: background .2s ease, border-color .2s ease; }
.kpis div:hover { background: #ede8fb; border-color: #cfc0f2; }
.kpis small { color: var(--brand-deep); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.kpis b { color: var(--ink); font-size: 1.05rem; }
.g-fill { fill: #dcd6f7; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-alt); }
.marquee-track { display: flex; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 3rem; padding: 15px 1.5rem; }
.marquee-group span { white-space: nowrap; color: #565273; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-group span::after { content: "\2726"; color: var(--brand); font-size: .7rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-band { background: linear-gradient(180deg, #fff, var(--band)); border-block: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head p { margin-top: .85rem; font-size: 1.02rem; }

.kicker { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; }
.kicker::after { content: ""; display: block; width: 34px; height: 3px; margin-top: .45rem; background: var(--gold); border-radius: 3px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.split h2 { margin-bottom: 1rem; }
.split > div > p { margin-bottom: 1.25rem; }

.checklist { list-style: none; margin: 0 0 1.7rem; }
.checklist li { padding-left: 2rem; position: relative; margin-bottom: .6rem; font-weight: 600; }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: .1rem; color: var(--brand-deep); font-weight: 800;
  width: 24px; height: 24px; border-radius: 8px; background: #f1ebfe;
  display: inline-grid; place-items: center; font-size: .82rem;
}

.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.mini-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mini-card:hover { transform: translateY(-3px); border-color: #c9b8f5; box-shadow: var(--shadow); }
.mini-card h4 { margin-bottom: .4rem; }
.mini-card p { font-size: .92rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c9b8f5; }
.step-num {
  position: absolute; top: 14px; right: 18px;
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--lavender);
}
.step-icon {
  width: 64px; height: 64px; object-fit: contain;
  background: #f4f3fc; border: 1px solid var(--line); border-radius: 16px; padding: 10px;
  margin-bottom: 1rem;
}
.step h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.step p { font-size: .92rem; }

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

.tech-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: .45rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.tech-list li {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: .74rem; font-weight: 600;
  padding: .22rem .6rem; border-radius: 7px;
  background: #f1ebfe; color: #5b2ca0; border: 1px solid #e4d9f8;
}

.tech-strip { margin-top: 44px; }
.strip-title { font-size: .95rem; margin-bottom: .9rem; }

.aws-spotlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 4px;
}
.mini-checks { list-style: none; margin-top: .9rem; }
.mini-checks li {
  position: relative; padding-left: 1.5rem;
  font-size: .92rem; color: var(--muted); margin-bottom: .45rem;
}
.mini-checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--brand-deep); font-weight: 800;
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c9b8f5; }
.card .icon {
  width: 58px; height: 58px; border-radius: 15px;
  background: #f1ebfe; border: 1px solid #e0d4fa;
  display: grid; place-items: center; margin-bottom: 1.15rem;
}
.card .icon img { width: 34px; height: 34px; object-fit: contain; }
.card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.card p { font-size: .93rem; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.chips li {
  padding: .45rem 1.05rem; border-radius: 999px;
  background: #fff6de; border: 1px solid #ffe79a;
  color: #7a5800; font-size: .85rem; font-weight: 700;
}

.solution-list { display: grid; gap: 12px; }
.solution-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.solution-media img { width: 100%; height: 280px; object-fit: cover; object-position: center; }
.solution-head { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.solution-head h3 { margin-bottom: .5rem; }
.solution-list a {
  display: flex; justify-content: space-between; align-items: center; min-height: 48px;
  padding: .8rem 1.25rem; border-radius: 14px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.solution-list a span { color: var(--brand); transition: transform .15s ease; }
.solution-list a:hover { background: #f4f1fe; border-color: #c9b8f5; transform: translateX(5px); }
.solution-list a:hover span { transform: translateX(3px); }

.cta-band {
  background: linear-gradient(120deg, var(--band), var(--bg-alt) 55%, #efeafb);
  border-block: 1px solid var(--line); padding: 68px 0;
}
.cta-inner { text-align: center; max-width: 620px; }
.cta-inner h2 { margin-bottom: .45rem; }
.cta-inner p { margin-bottom: 1.7rem; font-size: 1.03rem; }

.page-hero { position: relative; overflow: hidden; padding: 88px 0 64px; text-align: center; background:
  radial-gradient(700px 320px at 80% -20%, rgba(132, 66, 232, .10), transparent 60%),
  radial-gradient(560px 300px at 0% 40%, rgba(69, 87, 246, .08), transparent 60%), #fff; }
.page-hero p { max-width: 52ch; margin: 1.05rem auto 0; font-size: 1.04rem; }

.prose { max-width: 800px; margin-inline: auto; }
.prose > p { font-size: 1rem; }
.prose h2 {
  font-size: 1.3rem; margin: 2.4rem 0 .8rem; scroll-margin-top: 96px;
}
.prose p { margin-bottom: .9rem; }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.4rem; list-style: disc outside; }
.prose li { margin-bottom: .45rem; color: var(--muted); padding-left: .25rem; }
.prose li::marker { color: var(--brand-bright); }
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-deep); }
.prose strong { color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: border-color .18s ease, transform .18s ease; }
.info-card:hover { border-color: #c9b8f5; transform: translateY(-3px); }
.info-card h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .35rem; }
.info-card a { color: var(--ink); font-weight: 650; }
.info-card a:hover { color: var(--brand); }
.fineprint { font-size: .87rem; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-form h2 { margin-bottom: 1.4rem; }
.field { margin-bottom: 1.15rem; display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .88rem; font-weight: 700; }
.field label em { color: #be123c; font-style: normal; }
.field .hint { color: #5b6b8a; font-weight: 500; }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid #d5d0e8; border-radius: 12px;
  background: #fbfaff; min-height: 44px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(132, 66, 232, .16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e11d48; }
.form-note { margin-top: .9rem; font-size: .92rem; min-height: 1.4em; }
.form-note.ok { color: #166534; }
.form-note.err { color: #be123c; }

.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-logo { height: 104px; width: auto; margin-bottom: .8rem; }
.foot-tag { margin-top: .3rem; font-size: .92rem; max-width: 36ch; }
.site-footer h5 { color: var(--ink); font-size: .95rem; margin-bottom: 1rem; }
.footer-grid > div > a { display: block; margin-bottom: .55rem; font-size: .92rem; color: var(--muted); transition: color .15s ease; }
.footer-grid > div > a:hover { color: var(--brand); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 24px; font-size: .87rem; color: var(--muted); }
.footer-base a:hover { color: var(--brand); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .aws-spotlight { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .25s ease; padding: 10px 5%;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: none; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); min-height: 44px; }
  .nav .btn { margin: 1rem 0; }
  .nav-toggle { display: flex; }
  .grid-3, .steps, .cards-2, .footer-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-meta { flex-wrap: wrap; gap: 1.2rem; }
}
