/* Uplinkr home page. Light, airy, one accent family (indigo to cyan). */
:root {
  --ink: #0B1020; --text: #1E293B; --text2: #475569; --muted: #64748B;
  --line: #E7EAF3; --line2: #D5DAE8; --bg: #FFFFFF; --bg2: #F7F8FC;
  --indigo: #4F46E5; --violet: #7C3AED; --cyan: #06B6D4; --ok: #10B981; --no: #CBD5E1;
  --grad: linear-gradient(100deg, #4F46E5 0%, #7C3AED 45%, #06B6D4 100%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 12px;
  --shadow: 0 1px 2px rgba(11, 16, 32, .04), 0 8px 24px -8px rgba(11, 16, 32, .10);
  --shadow-lg: 0 2px 4px rgba(11, 16, 32, .04), 0 24px 60px -16px rgba(49, 46, 129, .28);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--indigo); text-decoration: none; }
h1, h2, h3 { font-family: 'Space Grotesk', Inter, sans-serif; color: var(--ink); letter-spacing: -.02em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font: 600 15px Inter, sans-serif; padding: 11px 18px; border: 1px solid transparent; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease); white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.lg { padding: 15px 24px; font-size: 16px; }
.btn.sm { padding: 9px 14px; font-size: 14px; }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px -6px rgba(79, 70, 229, .55); }
.btn-primary:hover { background: #4338CA; box-shadow: 0 12px 28px -8px rgba(79, 70, 229, .6); }
.btn-ghost { background: rgba(255, 255, 255, .8); color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--indigo); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-white:hover { border-color: #fff; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 700 20px 'Space Grotesk', sans-serif; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 17px; box-shadow: 0 6px 14px -6px rgba(79, 70, 229, .6); }
.logo.small { font-size: 17px; }
.logo.small .logo-mark { width: 24px; height: 24px; font-size: 14px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--text2); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 140px 0 96px; background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 78%); }
.mesh { position: absolute; inset: 0; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s var(--ease) infinite alternate; }
.mesh i:nth-child(1) { width: 520px; height: 520px; background: #C7D2FE; top: -160px; right: -80px; }
.mesh i:nth-child(2) { width: 420px; height: 420px; background: #A5F3FC; top: 120px; right: 260px; opacity: .4; animation-delay: -6s; }
.mesh i:nth-child(3) { width: 380px; height: 380px; background: #DDD6FE; top: 260px; left: -140px; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(79, 70, 229, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 70, 229, .06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line2); font-size: 13px; font-weight: 600; color: var(--text2); box-shadow: var(--shadow); }
.pill b { color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, .05); } }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.02; margin: 0 0 22px; font-weight: 700; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text2); max-width: 560px; margin: 0 0 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ctas.center { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--text2); font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic.ok circle { fill: var(--ok); }
.ic.no circle { fill: var(--no); }

/* Hero product mock */
.hero-visual { position: relative; }
.mock { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .8s var(--ease); }
.hero-visual:hover .mock { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.mock-bar i:nth-child(1) { background: #FCA5A5; } .mock-bar i:nth-child(2) { background: #FCD34D; } .mock-bar i:nth-child(3) { background: #86EFAC; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; flex: 1; }
.mock-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mrow { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; transition: border-color .5s var(--ease), background .5s var(--ease); }
.mrow b { display: block; color: var(--ink); font-size: 15px; }
.mrow small { color: var(--muted); font-size: 12px; }
.mp { font: 700 18px 'Space Grotesk', sans-serif; color: var(--ink); }
.mb { border: 0; border-radius: 8px; padding: 8px 12px; font: 600 13px Inter, sans-serif; background: var(--indigo); color: #fff; min-width: 86px; transition: background .4s var(--ease), color .4s var(--ease), transform .3s var(--ease); }
.mrow.in { border-color: #A5B4FC; background: #F8F9FF; }
.mrow.in .mb { background: #ECFDF5; color: var(--ok); }
.mrow.tap .mb { transform: scale(.94); }
.mock-cart { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--bg2); font-size: 13px; color: var(--text2); }
.mock-cart b { color: var(--ink); }
.mock-cart .mt { margin-left: auto; }
.mock-cart .mt b { font: 700 17px 'Space Grotesk', sans-serif; margin-left: 4px; }
.mo { background: var(--ink); color: #fff; border-radius: 8px; padding: 7px 12px; font-weight: 600; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--text2); box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.float b { color: var(--ink); font: 700 15px 'Space Grotesk', sans-serif; }
.f1 { left: -34px; bottom: -26px; }
.f1 b { width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 13px; }
.f2 { right: -18px; top: -26px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); margin-top: -36px; position: relative; z-index: 2; }
.stat { padding: 24px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 clamp(28px, 3vw, 38px) 'Space Grotesk', sans-serif; color: var(--ink); letter-spacing: -.02em; }
.stat span { color: var(--text2); font-size: 14px; }

/* Sections */
.section { padding-top: 112px; }
.kicker { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.section h2, .verified h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; margin: 0 0 40px; max-width: 760px; }
.narrow { max-width: 860px; }

/* Compare */
.compare { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.compare-head { display: grid; grid-template-columns: 1fr 1fr; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.compare-head span { padding: 16px 24px; color: var(--muted); background: var(--bg2); }
.compare-head .us-h { color: #fff; background: var(--grad); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.compare li > div { display: flex; gap: 12px; align-items: flex-start; padding: 18px 24px; font-size: 15px; }
.compare .them { color: var(--muted); }
.compare .us { color: var(--ink); font-weight: 600; background: linear-gradient(90deg, rgba(79, 70, 229, .045), rgba(6, 182, 212, .03)); }
.compare .ic { margin-top: 2px; }

/* Verified */
.verified { margin-top: 112px; padding: 96px 0; background: var(--bg2); border-block: 1px solid var(--line); }
.verified.section { padding-top: 96px; }
.verified-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.verified h2 { margin-bottom: 18px; }
.verified .p { color: var(--text2); font-size: 17px; margin: 0 0 26px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); font-size: 15px; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px 22px 14px; }
.vcard-head { display: flex; align-items: center; gap: 10px; font: 700 15px 'Space Grotesk', sans-serif; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.vdot { width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.live { margin-left: auto; color: var(--ok); font-size: 12px; animation: pulse-t 2s infinite; }
@keyframes pulse-t { 50% { opacity: .35; } }
.vrow { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--text2); }
.vrow:last-child { border-bottom: 0; }
.vrow b { color: var(--ok); font-weight: 600; text-align: right; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; top: 24px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, #C7D2FE, #A5F3FC); }
.steps li { position: relative; }
.steps .n { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line2); font: 700 18px 'Space Grotesk', sans-serif; color: var(--indigo); box-shadow: var(--shadow); margin-bottom: 18px; }
.steps li:last-child .n { background: var(--grad); color: #fff; border: 0; }
.steps h3 { font-size: 19px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--text2); font-size: 15px; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.theme { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font-weight: 600; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.theme:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #C7D2FE; }
.ti { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; }
.tl { flex: 1; line-height: 1.3; }
.theme svg { color: var(--indigo); opacity: .4; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.theme:hover svg { opacity: 1; transform: translateX(3px); }

/* Features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg2)); }
.fi { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #EEF2FF; font-size: 24px; margin-bottom: 16px; }
.feat h3 { font-size: 20px; margin: 0 0 8px; }
.feat p { margin: 0; color: var(--text2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 600; font-size: 17px; color: var(--ink); position: relative; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #EEF2FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%234F46E5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .45s var(--ease); }
.q[open] summary::after { transform: rotate(45deg); }
.q p { margin: 0 0 22px; color: var(--text2); max-width: 720px; }

/* End CTA */
.end { position: relative; overflow: hidden; border-radius: 20px; background: #0B1020; color: #fff; text-align: center; padding: 80px 24px; }
.end .mesh i { opacity: .5; filter: blur(80px); }
.end .mesh i:nth-child(1) { background: #4F46E5; width: 460px; height: 460px; top: -200px; left: -120px; }
.end .mesh i:nth-child(2) { background: #06B6D4; width: 380px; height: 380px; bottom: -220px; right: -80px; top: auto; }
.end h2 { position: relative; color: #fff; margin: 0 auto 12px; font-size: clamp(30px, 3.6vw, 44px); max-width: 720px; }
.end p { position: relative; color: #CBD5E1; font-size: 17px; margin: 0 auto 30px; max-width: 560px; }
.end .ctas { position: relative; }

.foot { margin-top: 80px; border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .mock { transform: none; }
}

/* Responsive */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .mock { transform: none; }
  .verified-in { grid-template-columns: 1fr; gap: 40px; }
  .themes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 108px 0 72px; }
  .nav-end .btn { display: none; }
  .ctas .btn { width: 100%; }
  .f1 { left: 8px; bottom: -22px; } .f2 { right: 8px; top: -22px; }
  .mrow { grid-template-columns: 1fr auto; } .mrow .mp { display: none; }
  .compare-head span { padding: 12px 14px; font-size: 11px; }
  .compare li > div { padding: 14px; font-size: 14px; gap: 8px; }
  .section { padding-top: 80px; }
  .verified { margin-top: 80px; padding: 72px 0; }
  .checks { grid-template-columns: 1fr; }
  .themes, .feats, .steps { grid-template-columns: 1fr; }
  .stat { padding: 18px; }
  .end { padding: 56px 18px; border-radius: 16px; }
}

/* Black Friday bar (top of the fixed header) */
.bfbar { background: #0F172A; color: #fff; font-size: 14px; }
.bfbar.live { background: linear-gradient(90deg, #111827, #312E81); }
.bfbar-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.bf-tag { background: #FACC15; color: #111827; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; padding: 4px 9px; border-radius: 6px; }
.bf-msg { font-weight: 600; }
.bf-timer { display: inline-flex; align-items: center; gap: 8px; color: #CBD5E1; }
.bf-count { display: inline-flex; gap: 4px; }
.cd { display: inline-flex; align-items: baseline; gap: 1px; background: rgba(255, 255, 255, .12); border-radius: 6px; padding: 3px 6px; }
.cd b { color: #fff; font-variant-numeric: tabular-nums; font-size: 14px; }
.cd i { font-style: normal; font-size: 11px; color: #CBD5E1; }
.bf-cta { background: #FACC15; color: #111827; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.bf-cta:hover { background: #FDE047; text-decoration: none; }
body.has-bf .hero { padding-top: calc(var(--nav-h, 150px) + 48px); }
.nav:not(.solid) .bfbar { border-bottom: 1px solid transparent; }
@media (max-width: 680px) { .bf-msg { width: 100%; font-size: 13px; } body.has-bf .hero { padding-top: calc(var(--nav-h, 240px) + 28px); } }

/* Footer links (legal pages, contact) */
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { color: var(--text2); padding: 8px 0; }
.foot-links a:hover { color: var(--ink, var(--text)); text-decoration: underline; }
