:root {
  color-scheme: dark;
  --bg: #02060b;
  --surface: rgba(8, 18, 31, .72);
  --surface-strong: #07111d;
  --line: rgba(107, 181, 255, .24);
  --blue: #2498ff;
  --blue-soft: #68bdff;
  --white: #f7fbff;
  --muted: #a9b7c9;
  --shadow: 0 24px 80px rgba(0, 110, 255, .2);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 8%, rgba(35, 145, 255, .14), transparent 26rem),
    radial-gradient(circle at 12% 58%, rgba(0, 111, 255, .09), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.92) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(88,172,255,.75) 0 1px, transparent 1.3px);
  background-position: 0 0, 38px 54px;
  background-size: 86px 86px, 131px 131px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--blue); border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 15px 0;
  background: linear-gradient(to bottom, rgba(2,6,11,.96), rgba(2,6,11,.72));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(106,174,255,.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; font-weight: 800; letter-spacing: -.03em; font-size: 1.25rem; }
.brand-photo {
  width: 48px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 50%;
  border: 2px solid #57b5ff;
  box-shadow: 0 0 10px #178cff, 0 0 26px rgba(23,140,255,.78);
}
.brand span span { color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: #cbd7e6; font-size: .95rem; font-weight: 650; padding: 9px 2px; border-bottom: 2px solid transparent; transition: .25s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: white; border-color: var(--blue); }
.header-cta { padding: 11px 19px !important; border: 1px solid rgba(72,163,255,.5) !important; border-radius: 10px; background: rgba(27,136,255,.12); box-shadow: inset 0 0 20px rgba(31,144,255,.12); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: rgba(8,18,31,.9); color: white; font-size: 1.35rem; }

.hero { min-height: 760px; position: relative; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, #02060b 0%, rgba(2,6,11,.96) 26%, rgba(2,6,11,.55) 55%, rgba(2,6,11,.08) 82%), url("assets/hero-reference.png");
  background-size: cover;
  background-position: center;
  opacity: .78;
  transform: scale(1.03);
}
.hero::after { content:""; position:absolute; inset:auto 0 0; height:35%; background:linear-gradient(transparent,var(--bg)); }
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 100px 0 160px; }
.eyebrow { margin: 0 0 18px; color: var(--blue-soft); font-weight: 750; letter-spacing: .32em; text-transform: uppercase; font-size: .76rem; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(3.15rem, 7vw, 6.2rem); margin-bottom: 18px; }
.hero h1 span { color: var(--blue); text-shadow: 0 0 30px rgba(40,151,255,.45); }
.hero-lead { font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 700; margin: 0 0 14px; }
.hero-copy { color: #c2cedc; max-width: 560px; font-size: 1.1rem; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border-radius: 12px; border: 1px solid rgba(121,191,255,.38); font-weight: 800; letter-spacing: .035em; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); border-color: rgba(132,202,255,.9); }
.button.primary { background: linear-gradient(135deg, #157ee8, #2ca7ff); color: white; box-shadow: 0 12px 35px rgba(20,127,234,.36), inset 0 1px 0 rgba(255,255,255,.35); }
.button.primary:hover { box-shadow: 0 17px 42px rgba(20,127,234,.5); }
.button.secondary { background: rgba(4,12,22,.72); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; color: #d2deeb; font-size: .9rem; }
.hero-trust span { display: flex; gap: 8px; align-items: center; }
.hero-trust b { color: var(--blue-soft); font-size: 1.1rem; }

.quick-nav { position: relative; z-index: 4; margin-top: -78px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(5,14,24,.88); border: 1px solid rgba(107,181,255,.28); border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(18px); overflow: hidden; }
.quick-link { padding: 24px; min-height: 126px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; border-right: 1px solid rgba(107,181,255,.17); transition: background .25s ease; }
.quick-link:last-child { border-right: 0; }
.quick-link:hover { background: rgba(36,152,255,.11); }
.quick-icon { width: 46px; height: 46px; border: 1px solid #83c7ff; border-radius: 50%; display: grid; place-items: center; color: var(--blue-soft); font-size: 1.25rem; box-shadow: inset 0 0 18px rgba(39,148,255,.22); }
.quick-link strong { display: block; font-size: .98rem; }
.quick-link small { display: block; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.arrow { color: #80c4ff; font-size: 1.35rem; }

.section { padding: 110px 0; position: relative; }
.section.compact { padding-top: 78px; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.kicker { display: inline-block; margin-bottom: 14px; color: var(--blue-soft); font-weight: 800; text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); margin-bottom: 16px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin-bottom: 28px; background: linear-gradient(135deg, rgba(22,129,231,.16), rgba(7,17,29,.75)); border: 1px solid rgba(71,168,255,.3); border-radius: 14px; color: #dcecff; }
.notice-mark { width: 34px; aspect-ratio: 1; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: #03101c; background: var(--blue-soft); font-weight: 900; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; border: 1px solid rgba(116,190,255,.2); border-radius: 18px; background: linear-gradient(145deg, rgba(14,32,53,.82), rgba(5,12,22,.92)); box-shadow: inset 0 1px 0 rgba(255,255,255,.045); overflow: hidden; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.card::after { content:""; position:absolute; inset:auto -45px -65px auto; width:150px; height:150px; border-radius:50%; background:rgba(36,152,255,.11); filter:blur(2px); }
.card:hover { transform: translateY(-7px); border-color: rgba(85,179,255,.68); box-shadow: 0 22px 60px rgba(0,96,220,.18); }
.card-media { position: relative; z-index: 2; height: 150px; margin: -25px -25px 22px; overflow: hidden; border-bottom: 1px solid rgba(116,190,255,.2); background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.registration-media img { object-fit: contain; padding: 8px; }
.card-number { color: var(--blue-soft); font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
.card h3 { font-size: 1.35rem; margin: 22px 0 12px; }
.card p { color: var(--muted); margin: 0 0 22px; font-size: .95rem; }
.card-link { display: flex; align-items: center; justify-content: space-between; color: #dff1ff; font-weight: 800; font-size: .92rem; position: relative; z-index: 2; }
.cards.three { grid-template-columns: repeat(3, 1fr); }

.app-showcase { overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.phones { min-height: 660px; display: flex; justify-content: center; align-items: center; position: relative; perspective: 1400px; }
.phones::before { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background:rgba(16,131,255,.23); filter:blur(90px); }
.phone { width: min(260px, 44vw); aspect-ratio: 757 / 1517; border: 7px solid #101822; border-radius: 36px; overflow: hidden; background:#000; box-shadow: 0 35px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(105,186,255,.25); position: absolute; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.one { transform: translateX(-100px) rotateY(13deg) rotateZ(-4deg); }
.phone.two { transform: translateX(105px) rotateY(-13deg) rotateZ(4deg); z-index: 2; }
.feature-list { display: grid; gap: 18px; margin: 28px 0 34px; }
.feature { display: grid; grid-template-columns: 45px 1fr; gap: 14px; align-items: start; }
.feature-icon { width: 45px; height: 45px; display:grid; place-items:center; border-radius:12px; border:1px solid var(--line); background:rgba(36,152,255,.08); color:var(--blue-soft); font-weight:900; }
.feature strong { display: block; }
.feature span { color: var(--muted); font-size: .94rem; }

.support-band { padding: 0 0 110px; }
.support-box { position:relative; padding: 56px; border:1px solid rgba(101,186,255,.35); border-radius:24px; background:linear-gradient(120deg, rgba(14,53,87,.78), rgba(5,13,23,.93)); box-shadow:var(--shadow); overflow:hidden; }
.support-box::after { content:""; position:absolute; inset:-180px -50px auto auto; width:420px; height:420px; border-radius:50%; background:rgba(32,151,255,.16); filter:blur(20px); }
.support-box > * { position:relative; z-index:1; }
.support-box h2 { max-width:760px; margin-bottom:12px; }
.support-box p { color:#b9c8d8; max-width:720px; margin:0 0 26px; }

.page-hero { padding: 100px 0 70px; border-bottom: 1px solid var(--line); position:relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; inset:-30% -8% auto auto; width:550px; height:550px; border-radius:50%; border:1px solid rgba(59,162,255,.2); box-shadow:0 0 120px rgba(34,145,255,.12), inset 0 0 80px rgba(34,145,255,.08); }
.page-hero h1 { max-width:900px; font-size:clamp(2.8rem,6vw,5.4rem); }
.page-hero p { max-width:820px; color:#b4c4d6; font-size:1.08rem; }
.filter-row { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:32px; }
.filter-pill { padding:9px 14px; border:1px solid var(--line); border-radius:99px; color:#bcd0e5; background:rgba(7,17,29,.72); font-size:.86rem; }
.solution-card { min-height:450px; }
.solution-card .card-media { height: auto; aspect-ratio: 16 / 9; }
.solution-card .card-media img { object-fit: contain; background: #000; }
.solution-card .topic { display:inline-flex; align-self:flex-start; padding:6px 10px; border-radius:99px; background:rgba(39,151,255,.11); color:#83c9ff; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }

.site-footer { border-top:1px solid var(--line); background:#02050a; padding:52px 0 30px; }
.footer-grid { display:grid; grid-template-columns:1.2fr .8fr .9fr; gap:42px; }
.footer-brand p { color:var(--muted); max-width:420px; margin:16px 0 0; }
.footer-title { font-size:.82rem; text-transform:uppercase; letter-spacing:.16em; color:#7fbff5; margin-bottom:14px; }
.footer-links { display:grid; gap:8px; color:#c4d0dd; }
.footer-links a:hover { color:var(--blue-soft); }
.legal { margin-top:38px; padding-top:22px; border-top:1px solid rgba(105,179,255,.12); color:#778799; font-size:.82rem; }

@media (max-width: 980px) {
  .menu-button { display:block; }
  .main-nav { position:absolute; top:78px; left:20px; right:20px; display:none; flex-direction:column; align-items:stretch; gap:3px; padding:14px; border:1px solid var(--line); border-radius:14px; background:rgba(3,10,18,.98); box-shadow:0 24px 60px rgba(0,0,0,.55); }
  .main-nav.open { display:flex; }
  .main-nav a { padding:12px; border-radius:8px; border-bottom:0; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background:rgba(41,151,255,.12); }
  .hero { min-height:700px; }
  .hero::before { background-position: 62% center; opacity:.58; }
  .quick-grid { grid-template-columns:repeat(2,1fr); }
  .quick-link:nth-child(2) { border-right:0; }
  .quick-link:nth-child(-n+2) { border-bottom:1px solid rgba(107,181,255,.17); }
  .cards, .cards.three { grid-template-columns:repeat(2,1fr); }
  .showcase-grid { grid-template-columns:1fr; gap:20px; }
  .showcase-copy { max-width:720px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
}

@media (max-width: 640px) {
  .container { width:min(calc(100% - 28px), var(--max)); }
  .site-header { padding:10px 0; }
  .brand-photo { width:42px; }
  .brand { font-size:1.08rem; }
  .hero { min-height:auto; }
  .hero::before { background-position:69% center; opacity:.42; }
  .hero-content { padding:88px 0 130px; }
  h1 { font-size:clamp(2.7rem,14vw,4rem); }
  .hero-lead { font-size:1.25rem; }
  .hero-copy { font-size:1rem; }
  .actions { flex-direction:column; align-items:stretch; }
  .button { width:100%; }
  .hero-trust { gap:12px; flex-direction:column; }
  .quick-nav { margin-top:-75px; }
  .quick-grid { grid-template-columns:1fr; }
  .quick-link { min-height:94px; padding:17px; border-right:0; border-bottom:1px solid rgba(107,181,255,.17); }
  .quick-link:last-child { border-bottom:0; }
  .section { padding:78px 0; }
  .cards, .cards.three { grid-template-columns:1fr; }
  .card { min-height:220px; }
  .phones { min-height:525px; transform:scale(.92); margin-inline:-12px; }
  .phone { width:210px; border-radius:29px; }
  .phone.one { transform:translateX(-65px) rotateY(12deg) rotateZ(-4deg); }
  .phone.two { transform:translateX(70px) rotateY(-12deg) rotateZ(4deg); }
  .support-box { padding:34px 24px; }
  .page-hero { padding:70px 0 50px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column:auto; }
}

.ifood-cta {
  width: fit-content;
  min-height: 40px;
  margin-top: 20px;
  padding: 8px 15px;
  border-color: rgba(255, 93, 106, .72);
  background: linear-gradient(135deg, #d90d25, #f31b32);
  color: #fff;
  font-size: .82rem;
  letter-spacing: 0;
  box-shadow: 0 9px 24px rgba(235, 20, 48, .28), inset 0 1px 0 rgba(255,255,255,.25);
}
.ifood-cta:hover { border-color: #ff9aa4; box-shadow: 0 12px 30px rgba(235, 20, 48, .42); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition-duration:.01ms !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}
