/* Shortlink homepage styles. Extracted from Blade so view-source stays clean. */
:root {
    --bg: #070a18;
    --bg-soft: #0d1226;
    --card: rgba(255, 255, 255, .075);
    --card-strong: rgba(255, 255, 255, .11);
    --line: rgba(255, 255, 255, .14);
    --text: #f7fbff;
    --muted: #a7b3c9;
    --muted-2: #7d8aa7;
    --primary: #35d4ff;
    --primary-2: #7c5cff;
    --accent: #00f5a0;
    --warning: #ffd166;
    --danger: #ff6b8a;
    --shadow: 0 24px 80px rgba(0, 0, 0, .42);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 8%, rgba(53, 212, 255, .18), transparent 32rem),
        radial-gradient(circle at 88% 8%, rgba(124, 92, 255, .22), transparent 30rem),
        radial-gradient(circle at 52% 62%, rgba(0, 245, 160, .08), transparent 32rem),
        var(--bg);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.page-shell { position: relative; isolation: isolate; }
.page-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 72%);
    z-index: -2;
}

.nav-wrap { position: sticky; top: 14px; z-index: 30; padding: 14px 0 0; }
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 12, 28, .74);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 60px rgba(0, 0, 0, .28);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-mark {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 14px;
    color: #06101b;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 12px 30px rgba(53, 212, 255, .24);
}
.brand-mark img { width: 100%; height: 100%; display: block; border-radius: inherit; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 15px; letter-spacing: -.02em; }
.brand-text span { font-size: 11px; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.nav-links a { padding: 10px 12px; border-radius: 999px; transition: .18s ease; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.08); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 42px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    color: #04111d;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 16px 35px rgba(53, 212, 255, .22);
}
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.055); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-wide { width: 100%; }

.hero { padding: 86px 0 56px; }
.hero-grid { display: block; max-width: 880px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(53, 212, 255, .24);
    border-radius: 999px;
    background: rgba(53, 212, 255, .08);
    color: #bdf4ff;
    font-size: 13px;
    font-weight: 700;
}
.pulse {
    width: 8px; height: 8px; border-radius: 999px; background: var(--accent);
    box-shadow: 0 0 0 8px rgba(0,245,160,.12);
}
h1 {
    margin: 22px 0 18px;
    max-width: 820px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .93;
    letter-spacing: -.07em;
}
.gradient-text { background: linear-gradient(135deg, var(--primary), #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 650px; margin: 0 0 28px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: #d8e5ff;
    font-size: 13px;
    font-weight: 700;
}

.shortener-card, .visual-card, .feature-card, .panel {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.055));
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}
.shortener-card { margin-top: 34px; border-radius: var(--radius-xl); padding: 16px; max-width: 800px; }
.shortener-card-inner { border-radius: 22px; padding: 18px; background: rgba(4, 8, 19, .62); border: 1px solid rgba(255,255,255,.08); }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.field {
    width: 100%;
    min-height: 58px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    color: #0b1020;
    padding: 0 18px;
    outline: none;
    transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.field::placeholder { color: #667085; }
.field:focus { border-color: rgba(53,212,255,.75); box-shadow: 0 0 0 4px rgba(53,212,255,.14); background: #fff; }
.advanced { margin-top: 12px; }
.advanced summary { width: fit-content; cursor: pointer; color: #bdf4ff; font-weight: 800; list-style: none; padding: 9px 2px; }
.advanced summary::-webkit-details-marker { display: none; }
.advanced-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 8px; }
.advanced label { display: block; margin: 0 0 7px; color: #dce8ff; font-size: 13px; font-weight: 800; }
.advanced .field { min-height: 48px; border-radius: 14px; }
.form-note { margin: 12px 0 0; color: var(--muted-2); font-size: 13px; }
.alert {
    margin: 0 0 14px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
}
.alert-success { border-color: rgba(0,245,160,.28); background: rgba(0,245,160,.08); }
.alert-error { border-color: rgba(255,107,138,.28); background: rgba(255,107,138,.08); }
.result-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-top: 10px; }
.result-url { overflow-wrap: anywhere; color: #dffff6; font-weight: 800; }
.error-list { margin: 8px 0 0; padding-left: 20px; color: #ffd8e1; }

.visual-stack { position: relative; min-height: 590px; }
.visual-glow {
    position: absolute; inset: 70px 20px auto auto;
    width: 310px; height: 310px; border-radius: 999px;
    background: linear-gradient(135deg, rgba(53,212,255,.24), rgba(124,92,255,.22));
    filter: blur(34px); opacity: .9;
}
.visual-card { position: relative; border-radius: 34px; padding: 22px; overflow: hidden; }
.browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dots { display: flex; gap: 7px; }
.dots span { width: 10px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.28); }
.mini-url { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    background: rgba(4,8,19,.5);
}
.metric b { display: block; font-size: 28px; letter-spacing: -.04em; }
.metric span { color: var(--muted); font-size: 12px; font-weight: 700; }
.link-preview { margin-top: 14px; padding: 18px; border-radius: 22px; background: rgba(4,8,19,.58); border: 1px solid rgba(255,255,255,.1); }
.link-preview .line { height: 10px; border-radius: 99px; background: rgba(255,255,255,.13); margin: 10px 0; }
.line.short { width: 52%; }
.recent-mini { display: grid; gap: 10px; margin-top: 16px; }
.recent-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 16px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.recent-link code { color: #dffff6; font-weight: 800; }
.recent-link span { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-link em { color: var(--primary); font-style: normal; font-weight: 900; font-size: 12px; }
.chart { display: flex; align-items: end; gap: 8px; height: 120px; margin-top: 20px; padding: 12px; border-radius: 22px; background: rgba(4,8,19,.46); border: 1px solid rgba(255,255,255,.08); }
.bar { flex: 1; min-width: 18px; border-radius: 999px 999px 8px 8px; background: linear-gradient(180deg, var(--primary), var(--primary-2)); opacity: .96; }
.bar-h-38 { height: 38%; }
.bar-h-44 { height: 44%; }
.bar-h-56 { height: 56%; }
.bar-h-64 { height: 64%; }
.bar-h-70 { height: 70%; }
.bar-h-82 { height: 82%; }
.bar-h-92 { height: 92%; }
.float-card {
    position: absolute;
    right: -6px;
    bottom: 34px;
    width: min(300px, 82%);
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(0,245,160,.22);
    background: rgba(5, 14, 27, .88);
    box-shadow: 0 24px 70px rgba(0,0,0,.36);
}
.float-card strong { display: block; margin-bottom: 5px; }
.float-card span { color: var(--muted); font-size: 13px; }

.section { padding: 72px 0; }
.section-head { max-width: 700px; margin: 0 auto 34px; text-align: center; }
.kicker { color: var(--primary); font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h2 { margin: 10px 0 12px; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -.055em; }
.section-head p { color: var(--muted); line-height: 1.7; font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { border-radius: var(--radius-lg); padding: 24px; min-height: 230px; box-shadow: none; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: rgba(53,212,255,.12); border: 1px solid rgba(53,212,255,.18); margin-bottom: 18px; font-size: 22px; }
.feature-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.split { display: grid; grid-template-columns: .88fr 1.12fr; gap: 28px; align-items: center; }
.panel { border-radius: var(--radius-xl); padding: 28px; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 15px; border-radius: 20px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.step-num { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 14px; color: #06101b; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; }
.analytics-card { border-radius: 30px; padding: 26px; background: linear-gradient(135deg, rgba(53,212,255,.13), rgba(124,92,255,.13)); border: 1px solid var(--line); }
.analytics-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.analytics-pill { padding: 14px; border-radius: 18px; background: rgba(4,8,19,.45); border: 1px solid rgba(255,255,255,.08); }
.analytics-pill b { display: block; margin-bottom: 4px; }
.analytics-pill span { color: var(--muted); font-size: 13px; }

.cta { padding: 58px 0 84px; }
.cta-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: clamp(26px, 5vw, 46px);
    border-radius: 34px;
    border: 1px solid rgba(53,212,255,.22);
    background:
        radial-gradient(circle at 12% 12%, rgba(0,245,160,.16), transparent 24rem),
        linear-gradient(135deg, rgba(53,212,255,.13), rgba(124,92,255,.12));
    box-shadow: var(--shadow);
}
.cta h2 { margin: 0 0 10px; }
.cta p { margin: 0; color: var(--muted); line-height: 1.7; max-width: 680px; }

footer { padding: 30px 0 42px; color: var(--muted); border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 980px) {
    .nav-links { display: none; }
    .hero { padding-top: 62px; }
    .hero-grid, .split { grid-template-columns: 1fr; }
    .visual-stack { min-height: auto; }
    .float-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .cta-box { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .container { width: min(100% - 24px, var(--container)); }
    .nav { border-radius: 24px; align-items: stretch; flex-wrap: wrap; }
    .nav-actions { width: 100%; }
    .nav-actions .btn { flex: 1; }
    .hero { padding-top: 44px; }
    h1 { font-size: clamp(38px, 15vw, 58px); }
    .form-row, .advanced-grid, .feature-grid, .metric-grid, .analytics-row { grid-template-columns: 1fr; }
    .shortener-card, .panel, .visual-card { border-radius: 24px; }
    .section { padding: 54px 0; }
}
