:root {
  --c1: #6366f1;
  --c2: #d946ef;
  --bg: #f5f6fb;
  --ink: #141428;
  --muted: #5f6079;
  --card: rgba(255, 255, 255, 0.7);
  --card-solid: #ffffff;
  --border: rgba(20, 20, 40, 0.08);
  --shadow: 0 20px 50px -20px rgba(80, 70, 180, 0.35);
  --grad: linear-gradient(120deg, #6366f1, #d946ef);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Soft gradient mesh blobs in the background */
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}
body::before { width: 520px; height: 520px; background: radial-gradient(circle, #6366f1, transparent 70%); top: -140px; left: -120px; }
body::after { width: 560px; height: 560px; background: radial-gradient(circle, #d946ef, transparent 70%); top: 240px; right: -160px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

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

.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--c1); background: rgba(99, 102, 241, 0.1); padding: 6px 14px; border-radius: 100px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 0.96rem;
  padding: 14px 26px; border-radius: 100px; border: none; cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(99, 102, 241, 0.6);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(217, 70, 239, 0.6); }
.btn--ghost { background: var(--card-solid); color: var(--ink); border: 1px solid var(--border); box-shadow: none; }
.btn--ghost:hover { box-shadow: var(--shadow); }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }
.btn--block { width: 100%; justify-content: center; }

/* Nav */
.nav { position: sticky; top: 16px; z-index: 100; margin-top: 16px; }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; padding: 0 12px 0 22px;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 100px; box-shadow: var(--shadow);
}
.brand { font-size: 1.4rem; font-weight: 800; display: inline-flex; align-items: center; gap: 9px; }
.brand__dot { width: 22px; height: 22px; border-radius: 8px; background: var(--grad); box-shadow: 0 4px 12px rgba(99,102,241,0.5); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 0.94rem; font-weight: 600; color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: 0.3s; }

/* Hero */
.hero { padding: 80px 0 60px; text-align: center; }
.hero__title { font-size: clamp(2.8rem, 7vw, 5rem); margin: 24px 0 22px; }
.hero__sub { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.15rem; }
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero__platforms { margin-top: 56px; }
.hero__platforms .label { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.hero__platform-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__platform-list span {
  background: var(--card-solid); border: 1px solid var(--border); border-radius: 100px;
  padding: 8px 20px; font-weight: 700; font-size: 0.95rem; box-shadow: 0 6px 18px -10px rgba(80,70,180,0.4);
}

/* Section */
.section { padding: 90px 0; }
.section__head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section__head h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 16px; }
.section__head p { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento__card {
  background: var(--card); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 26px; padding: 32px;
  box-shadow: var(--shadow); transition: transform 0.25s;
  position: relative; overflow: hidden;
}
.bento__card:hover { transform: translateY(-6px); }
.bento__card.wide { grid-column: span 2; }
.bento__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); margin-bottom: 20px; box-shadow: 0 8px 20px -6px rgba(99,102,241,0.6); }
.bento__card h3 { font-size: 1.5rem; }
.bento__card p { color: var(--muted); margin-top: 10px; }

/* Results / stats */
.stat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat__card { background: var(--card-solid); border: 1px solid var(--border); border-radius: 24px; padding: 34px 28px; text-align: center; box-shadow: var(--shadow); }
.stat__num { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; }
.stat__label { color: var(--muted); font-weight: 600; margin-top: 8px; }

/* Company */
.company__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.company__body { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.company__list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.company__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.company__list .check { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.company__card {
  background: var(--card); backdrop-filter: blur(8px); border: 1px solid var(--border);
  border-radius: 30px; padding: 48px; box-shadow: var(--shadow); text-align: center;
}
.company__card .big { font-size: clamp(3.5rem, 8vw, 5.5rem); font-weight: 800; }
.company__card .cap { color: var(--muted); font-weight: 600; margin-top: 6px; }

/* Work cards */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work__card { background: var(--card-solid); border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); transition: transform 0.25s; }
.work__card:hover { transform: translateY(-6px); }
.work__client { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.work__result { font-size: 2rem; font-weight: 800; margin: 12px 0 12px; }
.work__text { color: var(--muted); }

/* Quote */
.quote { padding: 40px 0 100px; }
.quote__card {
  background: var(--grad); color: #fff; border-radius: 34px; padding: 70px 60px; text-align: center;
  box-shadow: 0 30px 70px -25px rgba(99,102,241,0.7);
}
.quote__text { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.28; max-width: 900px; margin: 0 auto; }
.quote__meta { margin-top: 28px; opacity: 0.9; font-weight: 600; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__heading { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 16px 0 18px; }
.contact__text { color: var(--muted); font-size: 1.1rem; max-width: 400px; }
.contact__details { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.contact__details a, .contact__details span { font-weight: 700; font-size: 1.1rem; }
.contact__details a:hover { color: var(--c1); }
.form { background: var(--card-solid); border: 1px solid var(--border); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 16px; color: var(--ink); font-family: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c1); box-shadow: 0 0 0 4px rgba(99,102,241,0.12); }
.field textarea { resize: vertical; }
.form__status { margin-top: 14px; min-height: 20px; font-size: 0.92rem; font-weight: 600; }
.form__status.success { color: #16a34a; }
.form__status.error { color: #dc2626; }

/* Footer */
.footer { padding: 60px 0 34px; }
.footer__card { background: var(--card-solid); border: 1px solid var(--border); border-radius: 30px; padding: 50px; box-shadow: var(--shadow); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: var(--muted); margin-top: 14px; max-width: 300px; }
.footer__col h4 { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { color: var(--muted); font-weight: 600; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--c1); }

/* Legal pages */
.legal { padding: 70px 0 100px; }
.legal__card { background: var(--card-solid); border: 1px solid var(--border); border-radius: 30px; padding: 56px; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.legal__header { margin-bottom: 36px; }
.legal__header h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal__updated { color: var(--muted); margin-top: 12px; font-weight: 600; }
.legal__body h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal__body p, .legal__body li { color: var(--muted); margin-bottom: 12px; }
.legal__body ul { padding-left: 22px; margin-bottom: 12px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--c1); font-weight: 600; }
.legal__body strong { color: var(--ink); }
.legal__back { display: inline-flex; gap: 8px; margin-top: 40px; font-weight: 700; color: var(--c1); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card.wide { grid-column: span 2; }
  .stat__grid { grid-template-columns: 1fr 1fr; }
  .company__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .work__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav__links {
    position: absolute; top: 78px; right: 0; width: 78%; max-width: 300px;
    flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px;
    background: var(--card-solid); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: 0.25s;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__toggle { display: flex; }
  .bento, .stat__grid, .footer__inner { grid-template-columns: 1fr; }
  .bento__card.wide { grid-column: span 1; }
  .legal__card, .quote__card, .footer__card { padding: 32px; }
}
