/* =========================================================
   Unity Sport – Sports Data & API Provider
   ========================================================= */
:root {
  --navy-900: #000026;
  --navy-800: #00003d;
  --navy-700: #000066;
  --violet: #0000dc;
  --violet-2: #2b2bff;
  --violet-3: #8fa6ff;
  --lavender: #eaf0ff;
  --lavender-2: #dde5ff;
  --text: #0a0a33;
  --muted: #5a5f7d;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 120, .12);
  --grad: linear-gradient(90deg, #0000dc 0%, #2b2bff 100%);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; line-height: 1.15; letter-spacing: -.02em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 220, .4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 220, .55); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--violet); }
.btn-white { background: #fff; color: var(--violet); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.btn-sm { padding: .55rem 1.05rem; font-size: .8rem; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--violet);
  margin-bottom: .8rem;
}
.text-grad {
  background: linear-gradient(90deg, #3b5bff, #6fa8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .1rem; line-height: 1; }
.logo svg { height: 44px; width: auto; }
.logo-img {
  height: 44px; width: auto; object-fit: contain;
  transition: transform .25s, opacity .25s;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header.scrolled, .header.solid {
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 80, .08); padding: .7rem 0;
}
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  position: relative; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.88);
  padding: .4rem 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--violet-2); border-radius: 2px; transition: width .3s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover, .nav a.active { color: #fff; }
.header.scrolled .nav a, .header.solid .nav a { color: var(--text); }
.header.scrolled .nav a.active, .header.solid .nav a.active { color: var(--violet); }

.header .logo .logo-word { fill: #fff; transition: fill .3s; }
.header.scrolled .logo .logo-word, .header.solid .logo .logo-word { fill: var(--violet); }

.header-actions { display: flex; align-items: center; gap: .9rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.header.scrolled .lang-switch, .header.solid .lang-switch {
  background: var(--lavender); border-color: #d6dfff;
}
.lang-btn {
  display: inline-flex; align-items: center; gap: .38rem;
  padding: .3rem .62rem .3rem .42rem; border-radius: 999px;
  border: 0; background: transparent; color: rgba(255,255,255,.85);
  font: inherit; font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; transition: .22s;
}
.header.scrolled .lang-btn, .header.solid .lang-btn { color: var(--text); }
.lang-btn.active {
  background: var(--grad); color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 220, .35);
}
.lang-btn:hover:not(.active) { background: rgba(255,255,255,.18); }
.header.scrolled .lang-btn:hover:not(.active) { background: rgba(0,0,220,.08); }
.flag-svg {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.75);
}

.menu-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.header.scrolled .menu-toggle span, .header.solid .menu-toggle span { background: var(--violet); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative; min-height: 760px; color: #fff; overflow: hidden;
  background: var(--navy-800) url("../assets/images/hero.jpg") center right / cover no-repeat;
  padding: 170px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,30,.96) 0%, rgba(0,0,55,.82) 35%, rgba(0,0,55,.15) 65%, rgba(0,0,55,0) 100%),
    linear-gradient(0deg, rgba(0,0,30,.9) 0%, rgba(0,0,30,0) 35%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 1.5rem; }
.hero .eyebrow { color: var(--violet-3); }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.85); margin-bottom: 2.2rem; max-width: 440px; }
.hero-lead strong { color: #fff; display: block; font-size: 1.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.features-bar {
  position: relative; z-index: 2; margin: 4.5rem auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(0, 0, 80, .55); backdrop-filter: blur(14px);
  border: 1px solid rgba(90, 120, 255, .25); border-bottom: 0;
  border-radius: 18px 18px 0 0; max-width: 1000px;
}
.feature-item { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.8rem; position: relative; }
.feature-item + .feature-item::before {
  content: ""; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: rgba(255,255,255,.18);
}
.feature-item svg { width: 38px; height: 38px; flex-shrink: 0; color: var(--violet-2); filter: drop-shadow(0 0 10px rgba(43,43,255,.7)); }
.feature-item span { font-size: .95rem; font-weight: 600; line-height: 1.3; }

/* ---------- Generic sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-lavender { background: linear-gradient(180deg, #f4f6ff 0%, #e6ecff 100%); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: .8rem; }
.section-head p { color: var(--muted); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; margin-bottom: 1.2rem; }
.section-text { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* Split layout with slanted image */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
.split.reverse { grid-template-columns: 1.15fr 1fr; }
.slant-img { position: relative; }
.slant-img::before {
  content: ""; position: absolute; inset: -18px -18px 18px 40px;
  background: linear-gradient(135deg, #2b2bff, #0000dc);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  opacity: .25; border-radius: 20px; z-index: 0;
}
.slant-img img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 16/10; object-fit: cover;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  border-radius: 18px; box-shadow: var(--shadow);
  transition: transform .6s;
}
.slant-img:hover img { transform: scale(1.02); }

/* Service cards (home) */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s; border: 1px solid rgba(43,43,255,.08);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,120,.2); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lavender); color: var(--violet); margin-bottom: 1.2rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.card p { font-size: .9rem; color: var(--muted); flex: 1; margin-bottom: 1.2rem; }
.card .circle-link {
  align-self: flex-end; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--violet); color: var(--violet);
  display: grid; place-items: center; transition: .3s;
}
.card:hover .circle-link { background: var(--violet); color: #fff; }

/* CTA banner */
.cta {
  position: relative; overflow: hidden; border-radius: 18px; color: #fff;
  padding: 2.6rem 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: linear-gradient(90deg, rgba(0,0,190,.95) 0%, rgba(0,0,220,.75) 50%, rgba(0,0,220,.35) 100%),
              url("../assets/images/crowd.jpg") center / cover no-repeat;
  box-shadow: 0 20px 50px rgba(0,0,220,.35);
}
.cta h3 { font-size: 1.7rem; margin-bottom: .3rem; }
.cta p { color: rgba(255,255,255,.85); }
.cta-wrap { margin-top: 4rem; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; color: #fff; padding: 170px 0 90px; overflow: hidden;
  background: var(--navy-800) center / cover no-repeat;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,30,.95) 0%, rgba(0,0,55,.75) 40%, rgba(0,0,55,.1) 100%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); font-weight: 800; margin-bottom: .6rem; }
.page-banner p { font-size: 1.1rem; font-weight: 500; color: rgba(255,255,255,.9); }
.page-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: #fff; clip-path: polygon(0 100%, 100% 30%, 100% 100%);
}

/* ---------- Services list ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; padding: 3rem 0; }
.service-row + .service-row { border-top: 1px solid #e8edff; }
.service-row h2 { font-size: 1.9rem; margin-bottom: .8rem; }
.service-row p { color: var(--muted); max-width: 420px; margin-bottom: 1.6rem; }
.service-row ul { margin-bottom: 1.8rem; display: grid; gap: .5rem; }
.service-row li { display: flex; gap: .6rem; align-items: center; color: var(--text); font-size: .95rem; }
.service-row li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230000dc' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- About ---------- */
.mission-block + .mission-block { margin-top: 2rem; }
.mission-block h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.mission-block h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.mission-block p { color: var(--muted); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.4rem; text-align: center;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,120,.2); }
.why-card .card-icon { margin: 0 auto 1rem; width: 56px; height: 56px; border-radius: 50%; }
.why-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.why-card p { font-size: .9rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 4rem; }
.stat { text-align: center; padding: 1.6rem; border-radius: var(--radius); background: var(--navy-800); color: #fff;
  background-image: radial-gradient(circle at 80% 0%, rgba(43,43,255,.55), transparent 60%); }
.stat strong { display: block; font-size: 2.4rem; font-family: "Plus Jakarta Sans", sans-serif; }
.stat span { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ---------- Technology ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.code-box {
  background: var(--navy-900); color: #d9d4ff; border-radius: 16px; padding: 1.6rem 1.8rem;
  font-family: "JetBrains Mono", Consolas, monospace; font-size: .85rem; line-height: 1.7;
  box-shadow: 0 20px 50px rgba(0,0,55,.35); overflow-x: auto; border: 1px solid rgba(43,43,255,.3);
}
.code-box .k { color: #8fa6ff; } .code-box .s { color: #7ee2b8; } .code-box .n { color: #ffcb6b; } .code-box .c { color: #6e6aa0; }
.code-dots { display: flex; gap: 6px; margin-bottom: 1rem; }
.code-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-dots i:nth-child(2) { background: #febc2e; } .code-dots i:nth-child(3) { background: #28c840; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-size: 2rem; margin-bottom: .8rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.info-item .card-icon { margin: 0; flex-shrink: 0; }
.info-item strong { display: block; margin-bottom: .2rem; }
.info-item span { color: var(--muted); font-size: .92rem; }

.form-card { background: #fff; border-radius: 18px; padding: 2.4rem; box-shadow: 0 20px 50px rgba(0,0,120,.15); border: 1px solid #e8edff; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .85rem 1rem; border-radius: 10px; border: 1.5px solid #dfe3f5;
  font: inherit; font-size: .95rem; background: #fafbff; transition: border .2s, box-shadow .2s;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(43,43,255,.15); background: #fff;
}
.form-group.error input, .form-group.error textarea { border-color: #ff4d6d; }
.form-group .err { color: #ff4d6d; font-size: .78rem; margin-top: .3rem; display: none; }
.form-group.error .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none; margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px;
  background: #ecfff5; color: #127a4a; font-size: .9rem; font-weight: 500;
}
.form-success.show { display: block; }
.map {
  margin-top: 2rem; border-radius: 16px; overflow: hidden; height: 240px; box-shadow: var(--shadow);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: hue-rotate(220deg) saturate(.7); }

/* ---------- Footer (Version 1 – Enterprise 4-Column + API Status) ---------- */
.footer {
  background:
    radial-gradient(circle at 14% 0%, rgba(0, 0, 220, .55), transparent 46%),
    radial-gradient(circle at 88% 100%, rgba(59, 91, 255, .32), transparent 45%),
    linear-gradient(180deg, #00003d 0%, #000022 100%);
  color: rgba(255,255,255,.78);
  padding: 3.8rem 0 1.7rem;
  border-top: 1px solid rgba(111, 168, 255, .22);
  position: relative;
  overflow: hidden;
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.55fr .85fr .95fr 1.25fr;
  gap: 2.8rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ft-brand .logo { margin-bottom: .9rem; }
.brand-desc {
  color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.65;
  margin-bottom: 1.15rem; max-width: 340px;
}
.status-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem .9rem; border-radius: 999px;
  background: rgba(22, 163, 74, .14); border: 1px solid rgba(74, 222, 128, .35);
  font-size: .78rem; font-weight: 600; color: #86efac;
}
.status-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 10px #22c55e; flex-shrink: 0;
}
.ft-col h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #8fb3ff; margin-bottom: 1.15rem;
}
.ft-col ul { display: grid; gap: .68rem; }
.ft-col a {
  color: rgba(255,255,255,.78); font-size: .88rem;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: color .2s, transform .2s;
}
.ft-col ul a:hover { color: #fff; transform: translateX(3px); }
.badge-new {
  font-size: .64rem; font-weight: 800; padding: .12rem .45rem; border-radius: 999px;
  background: var(--violet); color: #fff;
}
.hq-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(130, 165, 255, .2);
  border-radius: 14px;
  padding: 1.15rem;
}
.hq-card strong { display: block; font-size: .9rem; color: #fff; margin-bottom: .35rem; }
.hq-card p { font-size: .8rem; color: rgba(255,255,255,.72); line-height: 1.6; margin-bottom: .75rem; }
.hq-mail {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 600; color: #9fc0ff !important;
  padding: .42rem .75rem; border-radius: 8px; background: rgba(0, 0, 220, .35);
  transition: background .25s, color .25s;
}
.hq-mail:hover { background: var(--violet); color: #fff !important; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.4rem; font-size: .8rem; color: rgba(255,255,255,.62);
}
.socials { display: flex; gap: .65rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: .3s;
}
.socials a:hover { background: var(--violet); transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; }
.legal { display: flex; gap: 1.15rem; }
.legal a { color: rgba(255,255,255,.68); transition: color .2s; }
.legal a:hover { color: #fff; }

/* ---------- Blue tint for older violet photos ---------- */
.slant-img img { filter: hue-rotate(-12deg); }
.page-banner { background-color: #0000dc; background-blend-mode: luminosity; }
.cta { background-blend-mode: normal, luminosity; background-color: #0000dc; }

/* ---------- Widgets section ---------- */
.widgets-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.widget-features { display: grid; gap: 1.8rem; margin-top: .5rem; }
.widget-features li { display: flex; gap: 1.2rem; align-items: flex-start; }
.wf-icon {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center;
  color: var(--violet); background: #fff; box-shadow: 0 8px 20px rgba(0,0,120,.12);
  transition: transform .3s, background .3s, color .3s;
}
.widget-features li:hover .wf-icon { background: var(--violet); color: #fff; transform: rotate(-6deg) scale(1.05); }
.wf-icon svg { width: 28px; height: 28px; }
.widget-features h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .35rem; }
.widget-features p { color: var(--muted); font-size: .95rem; }

.widget-stack { position: relative; min-height: 560px; }
.widget-img {
  position: absolute; border-radius: 14px; overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,60,.24);
  border: 1px solid rgba(0, 0, 120, .12);
  background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.widget-img img { width: 100%; height: auto; display: block; }
.widget-img-match { top: 0; left: 0; width: 58%; z-index: 1; }
.widget-img-standing { bottom: 0; right: 0; width: 62%; z-index: 2; animation: floatY 6s ease-in-out infinite; }
.widget-img:hover { z-index: 3; transform: translateY(-6px) scale(1.02); box-shadow: 0 32px 70px rgba(0,0,60,.34); }
@keyframes floatY { 50% { transform: translateY(-10px); } }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; display: inline-block; position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { to { transform: scale(2.8); opacity: 0; } }

/* ---------- Live API stats ---------- */
.api-stats { background: #fff; }
.api-stats .section-head p strong { color: var(--text); }
.live-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.live-stat {
  text-align: center; padding: 2.2rem 1rem; border-radius: 18px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff, #f4f6ff); border: 1px solid #e3e8ff;
  transition: transform .3s, box-shadow .3s;
}
.live-stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.live-stat:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,120,.15); }
.live-label { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: .8rem; }
.live-label .pulse { background: #16a34a; }
.live-num { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.live-num.tick { animation: tick .5s ease; }
@keyframes tick { 40% { color: var(--violet); } }
.api-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.api-badges span { padding: .6rem 1.2rem; border-radius: 999px; background: var(--lavender); color: var(--muted); font-size: .9rem; }
.api-badges b { color: var(--violet); }

/* ---------- We work hard (Bento compact) ---------- */
.work-hard {
  padding: 72px 0;
  color: #fff; overflow: hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(80,140,255,.42), transparent 45%),
    linear-gradient(135deg, rgba(0,0,220,.92), rgba(0,0,75,.96)),
    url("../assets/images/stadium.jpg") center / cover no-repeat;
  background-color: #0000dc; background-blend-mode: normal, normal, luminosity;
}
.wh-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-bottom: 2rem;
}
.wh-head .eyebrow { color: #9fb8ff; margin-bottom: .45rem; }
.wh-head h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; margin-bottom: .4rem; }
.wh-head p { color: rgba(255,255,255,.82); max-width: 560px; font-size: .96rem; }

.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1.15rem;
}
.bento-card {
  background: rgba(255,255,255,.97); color: var(--text);
  border-radius: 16px; padding: 1.35rem 1.45rem;
  box-shadow: 0 18px 40px rgba(0,0,40,.25);
  border: 1px solid rgba(255,255,255,.65);
  transition: transform .28s, box-shadow .28s;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: 0 26px 52px rgba(0,0,30,.38); }
.b-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--lavender); color: var(--violet);
  display: grid; place-items: center; margin-bottom: .9rem;
  transition: transform .3s, background .3s, color .3s;
}
.bento-card:hover .b-icon { background: var(--violet); color: #fff; transform: rotate(-6deg) scale(1.06); }
.b-icon svg { width: 22px; height: 22px; }
.bento-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: .3rem; }
.bento-card p { font-size: .88rem; color: var(--muted); line-height: 1.45; }

.bento-main {
  grid-row: span 2;
  background: linear-gradient(155deg, #ffffff 0%, #eef2ff 100%);
  padding: 1.65rem 1.75rem;
}
.bm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.bm-top .b-icon { margin-bottom: 0; }
.b-tag {
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 999px; background: var(--violet); color: #fff;
}
.bm-num {
  display: block; font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.6rem, 4.2vw, 3.4rem); font-weight: 800; color: var(--violet);
  line-height: 1.05; margin: .4rem 0 .45rem;
}
.bm-num em { font-style: normal; color: #3b5bff; margin-left: 2px; }
.bento-main > p { font-size: .92rem; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips span {
  font-size: .76rem; font-weight: 600; padding: .28rem .65rem;
  border-radius: 999px; background: #fff; color: var(--text);
  border: 1px solid #dce3ff;
}
.chips span:last-child { background: var(--violet); color: #fff; border-color: var(--violet); }

.bento-live {
  grid-column: 1 / -1;
  flex-direction: row; align-items: center; gap: 1.4rem;
  padding: .85rem 1.35rem;
  background: rgba(0, 0, 42, .72);
  color: #fff; border: 1px solid rgba(130, 165, 255, .32);
  backdrop-filter: blur(12px);
}
.bl-label {
  display: inline-flex; align-items: center; gap: .5rem;
  white-space: nowrap; font-size: .85rem;
}
.bl-label .pulse { background: #22c55e; }
.bl-label span { color: rgba(255,255,255,.68); font-size: .78rem; }
.ticker { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track {
  display: flex; gap: 1.6rem; width: max-content;
  animation: tickerMove 26s linear infinite;
}
@keyframes tickerMove { to { transform: translateX(-50%); } }
.ticker-track span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.9);
  padding: .25rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.08); white-space: nowrap;
}
.ticker-track b { color: #7eb6ff; }
.ticker-track em { font-style: normal; font-size: .72rem; color: #4ade80; }

@media (max-width: 1024px) {
  .widgets-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-main { grid-column: 1 / -1; grid-row: auto; }
  .wh-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 680px) {
  .widget-stack { min-height: 0; display: grid; gap: 1.2rem; }
  .widget-img { position: static; width: 100% !important; animation: none; }
  .live-stats, .bento, .ft-grid { grid-template-columns: 1fr; }
  .bento-live { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .ticker { width: 100%; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,220,.45); opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: .3s; z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

.hero-content > * { animation: fadeUp .9s both; }
.hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-content > *:nth-child(4) { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid, .why-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .features-bar { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(3)::before { display: none; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw);
    flex-direction: column; align-items: flex-start; gap: 1.4rem; padding: 6rem 2rem 2rem;
    background: var(--navy-800); transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
  }
  .nav.open { transform: none; }
  .nav a, .header.scrolled .nav a, .header.solid .nav a { color: #fff; font-size: 1.05rem; }
  .header.scrolled .nav a.active, .header.solid .nav a.active { color: var(--violet-3); }
  .menu-toggle { position: relative; z-index: 101; }
  .menu-toggle.open span { background: #fff !important; }
  .header .btn-get { display: none; }

  .split, .split.reverse, .service-row, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-row .slant-img { order: -1; }
  .split.reverse .slant-img { order: -1; }
  .hero { padding-top: 130px; min-height: auto; background-position: 70% center; }
  .hero::before { background: linear-gradient(0deg, rgba(0,0,30,.95) 0%, rgba(0,0,55,.6) 60%, rgba(0,0,55,.35) 100%); }
  .cta { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .section { padding: 70px 0; }
}

@media (max-width: 560px) {
  .cards-grid, .why-grid, .stats, .tech-grid, .features-bar, .form-row { grid-template-columns: 1fr; }
  .feature-item::before { display: none; }
  .footer-bottom { flex-direction: column; gap: .6rem; }
  .form-card { padding: 1.6rem; }
}
