:root {
  --ink: #191723;
  --muted: #6f6b7a;
  --line: #e8e6ee;
  --paper: #fbfbfd;
  --purple: #5e52ef;
  --purple-dark: #4c41d8;
  --purple-soft: #efedff;
  --mint: #dff7ed;
  --coral: #fff0e9;
  --shadow: 0 24px 70px rgba(38, 30, 79, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
[hidden] { display: none !important; }

.page-glow { position: absolute; z-index: -1; border-radius: 999px; filter: blur(3px); pointer-events: none; }
.glow-one { width: 510px; height: 510px; top: 110px; left: -265px; background: radial-gradient(circle, rgba(213, 222, 255, 0.7), transparent 70%); }
.glow-two { width: 560px; height: 560px; top: 45px; right: -250px; background: radial-gradient(circle, rgba(239, 220, 255, 0.7), transparent 70%); }

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Inter, "Segoe UI", sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -0.8px; }
.brand-mark { width: 31px; height: 31px; position: relative; display: inline-block; border-radius: 9px; background: var(--purple); box-shadow: 0 7px 15px rgba(94, 82, 239, .24); }
.brand-mark i { position: absolute; width: 15px; height: 8px; border: 2px solid white; border-radius: 6px; transform: rotate(-42deg); }
.brand-mark i:first-child { top: 7px; left: 6px; }
.brand-mark i:last-child { right: 5px; bottom: 6px; }
.site-header nav { display: flex; gap: 34px; margin-left: 100px; }
.site-header nav a { color: #5f5b69; font-size: 14px; font-weight: 600; transition: color .2s; }
.site-header nav a:hover { color: var(--purple); }
.nav-cta { display: inline-flex; gap: 10px; align-items: center; padding: 11px 17px; background: #201e2a; color: white; border-radius: 10px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 18px rgba(24, 21, 38, .12); }
.nav-cta span { color: #bcb7ff; }

.hero { min-height: 760px; padding: 92px 24px 70px; text-align: center; }
.hero-copy { max-width: 820px; margin: 0 auto; animation: rise .7s ease both; }
.eyebrow { width: fit-content; margin: 0 auto 22px; display: flex; align-items: center; gap: 9px; padding: 7px 13px; border: 1px solid #ddd9fb; background: rgba(250, 249, 255, .78); border-radius: 999px; color: #5d53b6; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #7266f0; box-shadow: 0 0 0 4px #e8e5ff; }
h1, h2, h3 { font-family: Inter, "Segoe UI", sans-serif; }
.hero h1 { margin: 0; font-size: clamp(48px, 6.2vw, 82px); line-height: .98; letter-spacing: -5px; font-weight: 800; }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 24px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.shortener-shell { width: min(900px, 100%); margin: 45px auto 0; animation: rise .7s .12s ease both; }
.shortener-card, .result-card { background: rgba(255, 255, 255, .95); border: 1px solid rgba(224, 221, 235, .9); border-radius: 20px; box-shadow: var(--shadow); text-align: left; }
.shortener-card { padding: 24px; }
.shortener-card > label { display: block; margin: 0 0 10px 2px; font-size: 12px; font-weight: 700; color: #4e4958; }
.input-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 7px; border: 1.5px solid #d8d5df; background: #fff; border-radius: 13px; transition: border-color .2s, box-shadow .2s; }
.input-row:focus-within { border-color: #8177ef; box-shadow: 0 0 0 4px rgba(102, 89, 239, .1); }
.input-row.invalid { border-color: #e46464; box-shadow: 0 0 0 4px rgba(226, 94, 94, .08); }
.link-icon { width: 22px; height: 22px; margin-left: 8px; color: #8a8593; }
.link-icon svg { width: 100%; }
.input-row input { min-width: 0; height: 47px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.input-row input::placeholder { color: #aaa6b2; }
.paste-button { padding: 8px 10px; color: #6e6877; border: 0; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.paste-button:hover { color: var(--purple); }
.primary-button { height: 47px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 9px; background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(83, 70, 225, .25); font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-1px); background: var(--purple-dark); box-shadow: 0 10px 24px rgba(83, 70, 225, .32); }
.primary-button:disabled { opacity: .65; cursor: wait; transform: none; }
.primary-button i { font-style: normal; font-size: 18px; }
.form-message { min-height: 0; margin: 0 0 0 2px; color: #cf4545; font-size: 12px; font-weight: 600; transition: margin .2s; }
.form-message:not(:empty) { margin-top: 9px; }
.perks { margin-top: 16px; display: flex; gap: 26px; color: #7c7784; font-size: 11px; }
.perks i { color: #2aae79; font-style: normal; font-weight: 800; margin-right: 4px; }
.helper { margin: 15px 0 0; color: #918c99; font-size: 11px; }

.result-card { padding: 0; overflow: hidden; animation: reveal-result .4s ease both; }
.success-line { padding: 11px 20px; background: #f0fbf6; color: #23855f; border-bottom: 1px solid #d9f2e6; font-size: 12px; font-weight: 700; }
.success-line span { width: 17px; height: 17px; margin-right: 7px; display: inline-grid; place-items: center; color: white; background: #2cad7c; border-radius: 50%; font-size: 10px; }
.result-content { padding: 23px 25px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.result-copy { min-width: 0; }
.result-copy small { display: block; margin-bottom: 5px; color: #9893a0; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.result-copy > a { display: block; color: var(--purple); font-family: Inter, "Segoe UI", sans-serif; font-size: clamp(21px, 3vw, 29px); font-weight: 800; letter-spacing: -1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-copy > p { max-width: 560px; margin: 5px 0 13px; color: #8c8793; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.real-data { display: flex; align-items: center; gap: 18px; }
.real-data > span { display: flex; align-items: center; gap: 6px; color: #288b68; font-size: 11px; font-weight: 700; }
.real-data > span i { width: 7px; height: 7px; border-radius: 50%; background: #35b384; box-shadow: 0 0 0 3px #ddf6ec; }
.real-data button { padding: 0; border: 0; color: #6e6878; background: none; font-size: 11px; cursor: pointer; }
.real-data button b { color: var(--ink); font-size: 13px; }
.real-data button em { display: inline-block; margin-left: 3px; color: var(--purple); font-size: 13px; font-style: normal; }
.real-data button.loading em { animation: spin .6s linear infinite; }
.qr-wrap { flex: 0 0 auto; display: grid; justify-items: center; }
.qr-wrap img { width: 106px; height: 106px; padding: 5px; border: 1px solid #e7e4ec; border-radius: 9px; background: white; }
.qr-wrap a { margin-top: 5px; color: var(--purple); font-size: 9px; font-weight: 700; }
.result-actions { padding: 15px 24px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid #eceaf0; background: #fcfcfe; }
.secondary-button { height: 43px; padding: 0 17px; border: 1px solid #dad7e1; border-radius: 9px; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.secondary-button:hover { border-color: #afa9c2; }
.copy-button { height: 43px; }
.copy-button svg { width: 16px; }

.trust-line { margin-top: 35px; display: flex; align-items: center; justify-content: center; gap: 13px; animation: rise .7s .2s ease both; }
.faces { display: flex; }
.faces span { width: 30px; height: 30px; margin-left: -7px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; color: white; font-size: 9px; font-weight: 700; }
.faces span:first-child { margin-left: 0; background: #8a6e5c; }
.faces span:nth-child(2) { background: #ba795e; }
.faces span:nth-child(3) { background: #406883; }
.faces span:last-child { background: #725f8c; }
.trust-line > div:last-child { text-align: left; }
.trust-line b { display: block; color: #f0a92d; font-size: 10px; letter-spacing: 1.5px; }
.trust-line p { margin: 3px 0 0; color: #85808c; font-size: 10px; }

.proof-strip { min-height: 118px; padding: 27px max(24px, calc((100% - 1030px) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; background: #fff; border-top: 1px solid #efedf2; border-bottom: 1px solid #efedf2; }
.proof-strip div { min-height: 54px; display: flex; flex-direction: column; justify-content: center; text-align: center; border-right: 1px solid #ece9f0; }
.proof-strip div:last-child { border: 0; }
.proof-strip strong { font-family: Inter, "Segoe UI", sans-serif; font-size: 21px; }
.proof-strip span { margin-top: 3px; color: #8a8591; font-size: 10px; text-transform: uppercase; letter-spacing: .6px; }

.why-section, .how-section { padding: 110px 24px; }
.section-heading { max-width: 690px; margin: 0 auto 52px; text-align: center; }
.section-heading > span { color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }
.section-heading h2 { margin: 12px 0 13px; font-size: clamp(34px, 4vw, 48px); line-height: 1.08; letter-spacing: -2.3px; }
.section-heading p { max-width: 580px; margin: auto; color: var(--muted); line-height: 1.65; font-size: 14px; }
.feature-grid { width: min(1080px, 100%); margin: auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 17px; }
.feature-card { min-height: 370px; position: relative; padding: 34px; overflow: hidden; border: 1px solid #e9e6ed; border-radius: 20px; background: #fff; box-shadow: 0 14px 44px rgba(36, 29, 64, .05); }
.feature-main { grid-column: span 2; min-height: 410px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding: 48px 56px; }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; }
.feature-icon svg { width: 20px; }
.feature-icon.purple { color: #685bf2; background: #eeecff; }
.feature-icon.coral { color: #ed7b57; background: var(--coral); }
.feature-icon.mint { color: #258961; background: var(--mint); }
.feature-card h3 { margin: 19px 0 10px; font-size: 24px; line-height: 1.22; letter-spacing: -1px; }
.feature-card p { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.route-visual { padding: 32px; border-radius: 18px; background: linear-gradient(135deg, #f3f1ff, #faf9ff); border: 1px solid #e6e1ff; }
.route-box, .destination-box { padding: 14px; display: flex; align-items: center; gap: 12px; background: white; border: 1px solid #e1deea; border-radius: 12px; box-shadow: 0 10px 24px rgba(62, 53, 103, .08); }
.route-box > span, .site-dot { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: var(--purple); color: white; font-size: 10px; font-weight: 800; }
.route-box div, .destination-box div { min-width: 0; }
.route-box small, .destination-box small { display: block; color: #aaa5b2; font-size: 7px; font-weight: 800; letter-spacing: .8px; }
.route-box b, .destination-box b { display: block; margin-top: 4px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-box > i { margin-left: auto; padding: 4px 7px; border-radius: 99px; color: #288965; background: #e7f8f0; font-size: 8px; font-style: normal; font-weight: 800; }
.route-arrow { height: 63px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 11px; color: #8d85c0; }
.route-arrow span { height: 1px; background: #d8d3ef; }
.route-arrow b { padding: 5px 8px; border-radius: 99px; background: #fff; border: 1px solid #ddd9ef; font-size: 8px; letter-spacing: .7px; }
.site-dot { color: #4285f4; background: #eef5ff; font-size: 14px; }
.destination-box > i { margin-left: auto; color: var(--purple); font-style: normal; }
.qr-feature, .click-feature { padding-bottom: 205px; }
.qr-decoration { width: 235px; padding: 16px; position: absolute; bottom: -44px; left: 50%; transform: translateX(-50%) rotate(-2deg); border: 1px solid #e6e2ec; border-radius: 17px; background: #fff; box-shadow: 0 18px 38px rgba(44, 35, 72, .12); text-align: center; }
.qr-decoration img { width: 148px; height: 148px; }
.qr-decoration span { display: block; margin-top: 3px; font-family: monospace; font-size: 9px; font-weight: 700; }
.counter-visual { width: calc(100% - 68px); height: 125px; padding: 22px; position: absolute; left: 34px; bottom: 34px; border-radius: 15px; background: #f5fbf8; border: 1px solid #dcefe6; }
.counter-visual > span { display: block; color: #72a390; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.counter-visual b { display: block; margin-top: 9px; font-family: Inter, "Segoe UI", sans-serif; font-size: 32px; letter-spacing: -1px; }
.counter-visual i { position: absolute; right: 18px; top: 22px; padding: 5px 8px; color: #23835f; background: #dcf4e9; border-radius: 99px; font-size: 8px; font-style: normal; font-weight: 700; }

.how-section { background: #f5f4fa; border-top: 1px solid #ebe8f0; }
.steps { width: min(1020px, 100%); margin: auto; display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr; align-items: start; }
.steps article { text-align: center; }
.steps article > span { color: #a8a3b0; font-family: Inter, "Segoe UI", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.step-icon { width: 80px; height: 80px; margin: 14px auto 20px; display: grid; place-items: center; color: var(--purple); background: white; border: 1px solid #e4e1ea; border-radius: 20px; box-shadow: 0 12px 30px rgba(45, 35, 78, .07); font-size: 26px; }
.steps h3 { margin: 0 0 8px; font-size: 17px; }
.steps p { max-width: 220px; margin: auto; color: var(--muted); font-size: 12px; line-height: 1.6; }
.step-line { height: 1px; margin-top: 56px; background: repeating-linear-gradient(to right, #c9c5d3 0 4px, transparent 4px 9px); }

.final-cta { min-height: 410px; padding: 78px 24px; position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; color: white; background: #5b4eee; }
.final-cta > div { position: relative; z-index: 2; }
.brand-mark.inverse { background: rgba(255,255,255,.15); box-shadow: none; }
.final-cta h2 { margin: 20px 0 9px; font-size: clamp(36px, 4.8vw, 55px); letter-spacing: -2.5px; }
.final-cta p { margin: 0 0 24px; color: #dcd8ff; font-size: 15px; }
.white-button { width: fit-content; height: 48px; margin: auto; padding: 0 21px; display: flex; align-items: center; gap: 18px; border-radius: 10px; color: var(--purple); background: white; box-shadow: 0 11px 24px rgba(38, 29, 112, .2); font-size: 12px; font-weight: 800; }
.final-cta small { display: block; margin-top: 14px; color: #c8c2ff; font-size: 9px; }
.cta-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); }
.cta-orb.one { width: 550px; height: 550px; left: -180px; top: -70px; box-shadow: inset 0 0 100px rgba(255,255,255,.03); }
.cta-orb.two { width: 440px; height: 440px; right: -80px; bottom: -200px; }

footer { min-height: 150px; width: min(1120px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; justify-content: space-between; color: #8b8692; font-size: 10px; }
footer > div p { margin: 8px 0 0 41px; }
footer > a { padding: 8px 11px; border: 1px solid #ddd9e3; border-radius: 7px; color: #5d5767; font-weight: 700; }

.toast { min-width: 220px; padding: 13px 16px; position: fixed; z-index: 20; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 9px; transform: translate(-50%, 130px); opacity: 0; border-radius: 11px; color: white; background: #211e2c; box-shadow: 0 14px 40px rgba(21, 17, 36, .24); transition: transform .3s, opacity .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast span { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #3ab884; font-size: 10px; }
.toast p { margin: 0; font-size: 11px; font-weight: 700; }

@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes reveal-result { from { transform: translateY(12px) scale(.99); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .site-header { width: calc(100% - 32px); }
  .site-header nav { display: none; }
  .hero { padding-top: 70px; }
  .hero h1 { letter-spacing: -3.5px; }
  .feature-main { gap: 35px; padding: 38px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid #ece9f0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-main { grid-column: auto; grid-template-columns: 1fr; }
  .route-visual { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step-line { width: 1px; height: 35px; margin: -18px auto; background: repeating-linear-gradient(to bottom, #c9c5d3 0 4px, transparent 4px 9px); }
}

@media (max-width: 620px) {
  .site-header { height: 68px; }
  .nav-cta { padding: 9px 12px; }
  .nav-cta span { display: none; }
  .hero { min-height: 680px; padding: 56px 15px 60px; }
  .hero h1 { font-size: 46px; letter-spacing: -2.8px; }
  .hero-copy > p { font-size: 14px; }
  .shortener-shell { margin-top: 32px; }
  .shortener-card { padding: 17px; }
  .input-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .input-row .primary-button { grid-column: 1 / -1; width: 100%; }
  .paste-button { padding-right: 8px; }
  .perks { gap: 8px 16px; flex-wrap: wrap; }
  .result-content { align-items: flex-start; }
  .result-copy > a { white-space: normal; word-break: break-all; font-size: 21px; }
  .qr-wrap img { width: 82px; height: 82px; }
  .result-actions { justify-content: stretch; }
  .result-actions button { flex: 1; padding: 0 10px; }
  .trust-line { margin-top: 27px; }
  .proof-strip { padding-inline: 16px; }
  .why-section, .how-section { padding: 80px 16px; }
  .section-heading { margin-bottom: 38px; }
  .feature-card, .feature-main { min-height: 0; padding: 27px; }
  .feature-main { gap: 28px; }
  .route-visual { padding: 18px; }
  .route-box b, .destination-box b { max-width: 160px; }
  .qr-feature, .click-feature { padding-bottom: 195px; }
  .counter-visual { left: 27px; width: calc(100% - 54px); }
  .final-cta { min-height: 380px; }
  footer { padding: 35px 0; flex-direction: column; gap: 24px; text-align: center; }
  footer > div p { margin-left: 0; }
}

@media (max-width: 400px) {
  .nav-cta { font-size: 11px; }
  .hero h1 { font-size: 41px; }
  .result-content { flex-direction: column; }
  .qr-wrap { width: 100%; grid-template-columns: auto auto; align-items: center; justify-content: flex-start; gap: 12px; }
}

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