/* Unify+ landing page. Colours and type follow unify-design/tokens/tokens.css. */

@font-face { font-family: "Apercu"; src: url("/assets/fonts/Apercu-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Apercu"; src: url("/assets/fonts/Apercu-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Apercu"; src: url("/assets/fonts/Apercu-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0b1533;
  --navy-deep: #070d24;
  --navy-2: #0e1733;
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --cyan: #06b6d4;
  --green: #34d399;
  --gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 30%, #06b6d4 70%, #34d399 100%);

  --bg: #f6f7fb;
  --card: #ffffff;
  --fg: #0b1533;
  --muted: #5b6478;
  --border: #e3e7ef;
  --accent: #e6f0ff;
  --success: #047857;
  --success-soft: #e7f7ef;

  --sh-panel: 0 0 0 1px rgb(11 21 51 / 0.05), 0 1px 2px rgb(11 21 51 / 0.04), 0 8px 24px -12px rgb(11 21 51 / 0.12);
  --sh-overlay: 0 0 0 1px rgb(255 255 255 / 0.08), 0 24px 48px -12px rgb(0 0 0 / 0.55);

  --font: "Apercu", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
  --r-xl: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 12px; border-radius: var(--r); z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r); font: 500 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-gradient { background: var(--gradient); color: #fff; box-shadow: 0 8px 24px -8px rgb(6 182 212 / 0.55); }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.hero .btn-outline, .partners .btn-outline { border-color: rgb(255 255 255 / 0.28); }
.hero .btn-outline:hover { background: rgb(255 255 255 / 0.06); }
.btn-ghost { min-height: 40px; padding: 0 14px; color: #fff; border-color: rgb(255 255 255 / 0.18); font-size: 14px; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.08); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(7 13 36 / 0.82); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgb(255 255 255 / 0.06); color: #fff; }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand b { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 28px; margin-left: 24px; }
.nav-links a { text-decoration: none; color: #b8c2da; font-size: 15px; }
.nav-links a:hover { color: #fff; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.1); }
.lang button { font: 500 12px/1 var(--font); letter-spacing: .06em; color: #b8c2da; background: none; border: 0; padding: 8px 11px; border-radius: 999px; cursor: pointer; min-width: 40px; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 480px) { .nav-signin { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; padding: 72px 0 96px; }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgb(6 182 212 / 0.22), transparent 70%),
    radial-gradient(500px 380px at 70% 85%, rgb(52 211 153 / 0.14), transparent 70%),
    radial-gradient(700px 500px at 5% 0%, rgb(37 99 235 / 0.28), transparent 70%); }
.hero-glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: #b8c2da; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.1); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(52 211 153 / 0.2); }
.hero h1 { font-size: clamp(40px, 6vw, 64px); margin: 22px 0 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #60a5fa, #22d3ee 50%, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: #c3cbe0; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pay-row { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-row li { font-size: 13px; font-weight: 500; color: #dbe3f5; padding: 6px 12px; border-radius: 8px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.08); }
.soon { margin-top: 14px; font-size: 14px; color: #8f9ab4; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone { position: relative; width: 290px; height: 590px; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #24304f, #0b1124); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 40px 80px -20px rgb(0 0 0 / 0.7), 0 0 120px -20px rgb(37 99 235 / 0.45); transform: rotate(-3deg); }
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #05080f; z-index: 2; }
.screen { height: 100%; border-radius: 34px; background: #f6f7fb; color: var(--fg); padding: 54px 16px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; position: relative; }
.s-top { display: flex; justify-content: space-between; align-items: center; }
.s-top small { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.s-top strong { font-size: 18px; letter-spacing: -0.01em; }
.s-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient); color: #fff; font-weight: 700; font-size: 14px; }
.s-search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 11.5px; color: var(--muted); box-shadow: var(--sh-panel); }
.s-pin { width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue); flex: none; }
.s-chips { display: flex; gap: 6px; }
.s-chips span { font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--muted); box-shadow: var(--sh-panel); }
.s-chips .on { background: var(--navy); color: #fff; }
.s-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--sh-panel); }
.s-img { height: 70px; }
.s-img-1 { background: radial-gradient(circle at 25% 40%, rgb(255 255 255 / 0.25) 0 18px, transparent 19px), linear-gradient(135deg, #1d4ed8, #06b6d4); }
.s-img-2 { background: radial-gradient(circle at 75% 60%, rgb(255 255 255 / 0.22) 0 22px, transparent 23px), linear-gradient(135deg, #0e7490, #34d399); }
.s-body { padding: 10px 12px 12px; display: grid; gap: 2px; }
.s-body strong { font-size: 13px; }
.s-meta { font-size: 11px; color: var(--muted); }
.s-price { font-size: 11.5px; font-weight: 500; color: var(--blue); }
.s-tabbar { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--sh-panel); }
.s-tabbar i { width: 18px; height: 4px; border-radius: 4px; background: #d6dce7; }
.s-tabbar i.on { background: var(--blue); width: 26px; }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgb(14 23 51 / 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--sh-overlay); font-size: 13px; line-height: 1.3; animation: bob 6s ease-in-out infinite; }
.float strong { display: block; font-size: 13.5px; }
.float small { color: #95a0ba; font-size: 12px; }
.float-pay { top: 230px; left: -36px; }
.float-qr { bottom: 70px; right: -14px; animation-delay: -3s; }
.ok { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgb(52 211 153 / 0.16); color: var(--green); font-weight: 700; }
.qr { width: 40px; height: 40px; flex: none; border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9' shape-rendering='crispEdges'%3E%3Cpath fill='%230b1533' d='M0 0h3v3H0zM6 0h3v3H6zM0 6h3v3H0zM1 1h1v1H1zM7 1h1v1H7zM1 7h1v1H1zM4 0h1v2H4zM4 3h2v1H4zM3 4h1v2H3zM5 5h2v1H5zM7 4h2v1H7zM6 6h1v3H6zM8 7h1v2H8zM4 7h1v2H4z'/%3E%3Cpath fill='%23fff' d='M1 1h1v1H1zM7 1h1v1H7zM1 7h1v1H1z'/%3E%3C/svg%3E") center / 32px 32px no-repeat; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 8px; }
}
@media (max-width: 480px) {
  .phone { width: 250px; height: 510px; }
  .float-pay { left: -4px; top: 200px; }
  .float-qr { right: -4px; bottom: 40px; }
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin: 10px 0 14px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 18px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.kicker-light { color: #67e8f9; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh-panel); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgb(37 99 235 / 0.15), 0 16px 32px -16px rgb(11 21 51 / 0.25); }
.feature h3 { font-size: 19px; margin: 18px 0 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--blue); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } .feature { padding: 22px; } }

.bilingual { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--r-xl); background: linear-gradient(120deg, #e6f0ff, #e6f6fa 60%, #e7f7ef); }
.bilingual strong { font-size: 18px; }
.bilingual p { color: #3b4560; margin-top: 4px; }
.bilingual .btn { color: var(--navy); border-color: rgb(11 21 51 / 0.25); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, #2563eb, #06b6d4, #34d399); opacity: .35; }
.steps li { position: relative; }
.num { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; box-shadow: 0 0 0 6px #fff; }
.steps h3 { font-size: 18px; margin: 20px 0 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, #2563eb, #06b6d4, #34d399); }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
  .steps li .num { grid-row: span 2; }
  .steps h3 { margin: 8px 0 4px; }
}

/* Partners */
.partners { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.partners::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; background: radial-gradient(closest-side, rgb(6 182 212 / 0.18), transparent); pointer-events: none; }
.partners-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.partners h2 { font-size: clamp(30px, 4vw, 42px); margin: 10px 0 16px; }
.lead-light { color: #c3cbe0; font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #dbe3f5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgb(52 211 153 / 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

.dash { background: var(--navy-2); border-radius: 20px; padding: 24px; box-shadow: var(--sh-overlay); }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.badge { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgb(52 211 153 / 0.14); color: var(--green); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.kpis div { background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.06); border-radius: 12px; padding: 12px; }
.kpis small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #95a0ba; }
.kpis b { font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.kpis .net { color: #5eead4; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 8px 0 12px; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #60a5fa, #2563eb); }
.bars i:last-child { background: linear-gradient(180deg, #34d399, #06b6d4); }
.rows { list-style: none; padding: 0; margin: 8px 0 0; }
.rows li { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 8px; padding: 10px 0; font-size: 14px; border-bottom: 1px solid rgb(255 255 255 / 0.06); color: #c3cbe0; }
.rows li:last-child { border-bottom: 0; }
.paid { font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: rgb(52 211 153 / 0.14); color: var(--green); }
@media (max-width: 960px) { .partners-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis div:last-child { grid-column: span 2; } .dash { padding: 18px; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.roadmap div { padding: 24px; border-radius: var(--r-xl); border: 1px dashed #c9d2e3; background: rgb(255 255 255 / 0.5); }
.roadmap h3 { font-size: 17px; margin-bottom: 8px; }
.roadmap p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }

/* Closing CTA */
.cta-band { padding: 0 0 96px; }
.cta-inner { text-align: center; background: var(--navy-deep); color: #fff; border-radius: 24px; padding: 64px 24px; position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 50% 0%, rgb(37 99 235 / 0.35), transparent 70%), radial-gradient(400px 220px at 50% 100%, rgb(52 211 153 / 0.18), transparent 70%); pointer-events: none; }
.cta-inner > * { position: relative; }
.cta-inner h2 { font-size: clamp(30px, 4vw, 44px); }
.cta-inner p { color: #c3cbe0; font-size: 18px; max-width: 560px; margin: 14px auto 0; }
.cta-inner .hero-cta { justify-content: center; }
@media (max-width: 640px) { .cta-band { padding-bottom: 64px; } .cta-inner { padding: 48px 20px; border-radius: 18px; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand { font-size: 17px; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer nav a:hover { color: var(--fg); }
.fine { margin-left: auto; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .fine { margin-left: 0; width: 100%; } }
