:root {
    --ink: #f7f8fb;
    --muted: #a9b2c5;
    --subtle: #7a859c;
    --line: rgba(210, 224, 255, .15);
    --panel: rgba(14, 22, 41, .72);
    --panel-strong: rgba(16, 26, 48, .94);
    --blue: #72a7ff;
    --blue-deep: #2778ef;
    --mint: #6ff2c8;
    --coral: #ff9d8e;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #060c19; }
body { margin: 0; min-height: 100vh; color: var(--ink); font-family: 'DM Sans', sans-serif; background: radial-gradient(ellipse at 50% -10%, #162b4e 0%, #091325 43%, #060c19 84%); overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .34; background: radial-gradient(circle at 15% 30%, rgba(84, 142, 230, .18), transparent 26%), radial-gradient(circle at 82% 28%, rgba(102, 239, 210, .12), transparent 22%), linear-gradient(120deg, transparent 0 38%, rgba(255,255,255,.025) 38.1% 38.2%, transparent 38.3% 100%); }
.ambient { position: fixed; width: 50vw; height: 50vw; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .22; }
.ambient-one { background: #2367dd; left: -22vw; top: 42vh; }
.ambient-two { background: #27c4ad; right: -25vw; top: -12vh; }
.grain { position: fixed; inset: 0; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.36'/%3E%3C/svg%3E"); mix-blend-mode: screen; }
.app-shell { width: min(1080px, calc(100% - 44px)); margin: 0 auto; position: relative; z-index: 1; }
.topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(190, 211, 247, .11); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font: 700 15px 'Space Grotesk', sans-serif; letter-spacing: .2em; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.brand-mark span { display: block; width: 4px; border-radius: 9px; background: var(--blue); box-shadow: 0 0 12px rgba(114,167,255,.6); }
.brand-mark span:nth-child(1) { height: 10px; opacity: .65; }.brand-mark span:nth-child(2) { height: 17px; }.brand-mark span:nth-child(3) { height: 13px; background: var(--mint); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.secure-pill { color: #98a7c0; font-size: 12px; }.secure-pill i { display: inline-block; width: 6px; height: 6px; background: var(--mint); border-radius: 50%; margin: 0 7px 1px 0; box-shadow: 0 0 0 4px rgba(111,242,200,.08); }
button, input { font: inherit; }.hidden { display: none !important; }
.ghost-btn, .text-btn { cursor: pointer; border: 0; background: none; color: var(--muted); font-size: 12px; }.ghost-btn:hover, .text-btn:hover { color: var(--ink); }
.login-view { min-height: calc(100vh - 158px); display: grid; grid-template-columns: 1fr 370px; gap: 80px; align-items: center; padding: 72px 5vw 54px; }
.eyebrow { color: #91a4c1; font: 600 11px 'Space Grotesk', sans-serif; letter-spacing: .18em; }.eyebrow span { display: inline-block; width: 23px; height: 1px; vertical-align: middle; margin: 0 9px 3px 0; background: var(--mint); box-shadow: 0 0 8px var(--mint); }.eyebrow strong { color: var(--mint); font-weight: 600; }
h1, h2, p { margin: 0; }.login-copy h1 { margin-top: 23px; font: 600 clamp(48px, 6vw, 78px)/.98 'Space Grotesk', sans-serif; letter-spacing: -.07em; }.login-copy h1 em, .hero-row h1 em { color: var(--blue); font-style: normal; text-shadow: 0 0 35px rgba(114,167,255,.25); }.login-copy p { max-width: 370px; margin-top: 25px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.login-card { padding: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(27, 44, 78, .72), rgba(10, 18, 34, .88)); border-radius: 25px; box-shadow: 0 25px 70px rgba(0,0,0,.24); backdrop-filter: blur(22px); }.card-kicker { color: var(--mint); font: 600 10px 'Space Grotesk', sans-serif; letter-spacing: .2em; }.login-card h2 { margin-top: 14px; font: 600 25px 'Space Grotesk', sans-serif; }.muted { color: var(--muted); font-size: 13px; }.login-card .muted { margin-top: 8px; margin-bottom: 28px; }
label { display: block; color: #b5bfd3; font-size: 12px; margin-top: 17px; }input { width: 100%; margin-top: 8px; padding: 13px 14px; color: var(--ink); border: 1px solid rgba(188, 208, 245, .15); border-radius: 10px; outline: 0; background: rgba(4, 11, 24, .55); transition: .2s; }input:focus { border-color: rgba(114,167,255,.75); box-shadow: 0 0 0 3px rgba(114,167,255,.12); }.password-wrap { position: relative; }.password-wrap input { padding-right: 42px; }.password-wrap button { position: absolute; right: 12px; bottom: 11px; background: none; border: 0; color: #71809a; cursor: pointer; font-size: 12px; }
.primary-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 43px; padding: 0 17px; border: 1px solid rgba(159, 200, 255, .45); border-radius: 11px; cursor: pointer; color: #f8fbff; background: linear-gradient(135deg, #347fe9, #2057ba); box-shadow: 0 10px 24px rgba(31, 99, 210, .27), inset 0 1px 0 rgba(255,255,255,.25); font-size: 13px; font-weight: 600; transition: .2s; }.primary-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }.primary-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }.primary-btn b { font-size: 18px; font-weight: 400; }.wide { width: 100%; margin-top: 25px; }.form-error { min-height: 17px; margin-top: 13px; color: #ff9d8e; font-size: 12px; }
.footer { display: flex; justify-content: space-between; padding: 30px 2px 34px; color: #6f7c92; font-size: 10px; letter-spacing: .14em; }.footer span:last-child { letter-spacing: 0; }
.dashboard { padding: 66px 5vw 8px; }.hero-row { display: flex; align-items: center; justify-content: space-between; }.hero-row h1 { margin-top: 19px; font: 600 clamp(36px, 5vw, 61px)/1.03 'Space Grotesk', sans-serif; letter-spacing: -.07em; }.hero-subtitle { margin-top: 20px; color: var(--muted); font-size: 13px; }.hero-subtitle kbd { margin: 0 3px; padding: 2px 5px; border: 1px solid rgba(188,208,245,.2); border-radius: 4px; color: #c8d5eb; background: rgba(255,255,255,.07); font-size: 10px; }.hero-subtitle b { color: var(--subtle); font-weight: 400; }
.hero-orbit { position: relative; width: 145px; height: 145px; margin-right: 8%; color: #89a4cf; font: 600 9px/1.5 'Space Grotesk', sans-serif; text-align: center; letter-spacing: .12em; transform: rotate(-18deg); }.hero-orbit span { position: absolute; top: 51px; left: 56px; }.orbit-ring { position: absolute; inset: 3px; border: 1px solid rgba(114,167,255,.42); border-radius: 50%; transform: rotate(38deg) skewX(-20deg); }.ring-b { inset: 22px -8px; border-color: rgba(111,242,200,.32); transform: rotate(-25deg) skewX(-30deg); }.orbit-dot { position: absolute; top: 15px; right: 23px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px var(--mint); }
.mode-switch { display: inline-flex; gap: 4px; margin: 42px auto 21px; padding: 4px; border: 1px solid rgba(181, 208, 247, .16); border-radius: 12px; background: rgba(6,14,28,.58); }.mode-btn { border: 0; border-radius: 8px; padding: 9px 15px; color: #8795ad; background: transparent; cursor: pointer; font-size: 12px; }.mode-btn span { margin-right: 7px; color: var(--mint); font-size: 15px; }.mode-btn.active { color: #eaf2ff; background: rgba(76, 133, 225, .28); box-shadow: inset 0 1px 0 rgba(190,220,255,.16); }
.upload-panel { animation: reveal .32s ease both; }.dropzone { min-height: 175px; display: flex; align-items: center; flex-direction: column; justify-content: center; border: 1px dashed rgba(144, 184, 248, .34); border-radius: 21px; background: linear-gradient(140deg, rgba(27, 48, 86, .58), rgba(11, 20, 39, .65)); transition: .22s; }.dropzone.dragging, .dropzone:hover { border-color: var(--blue); background: linear-gradient(140deg, rgba(37, 78, 139, .6), rgba(14, 31, 60, .7)); }.drop-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 15px; border-radius: 13px; color: #8ec1ff; background: rgba(43, 120, 239, .23); box-shadow: 0 0 0 7px rgba(43,120,239,.05); font-size: 25px; }.dropzone h2 { font: 600 14px 'Space Grotesk', sans-serif; }.dropzone h2 button { padding: 0; border: 0; border-bottom: 1px solid currentColor; color: #8bc0ff; background: transparent; cursor: pointer; }.dropzone p { margin-top: 9px; color: #8290a7; font-size: 11px; }.dropzone p b { font-weight: 500; color: #9aa6ba; }.selected-file { max-width: 80%; margin-top: 13px; padding: 6px 12px; color: var(--mint); border-radius: 8px; background: rgba(111,242,200,.08); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.upload-btn { display: flex; width: 100%; margin-top: 12px; }.url-box { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid rgba(144,184,248,.27); border-radius: 15px; background: rgba(13,24,45,.72); }.url-leading { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 10px; color: var(--mint); background: rgba(111,242,200,.1); font-size: 21px; }.url-box input { margin: 0; border: 0; background: transparent; box-shadow: none; }.url-box .primary-btn { flex: 0 0 auto; }.url-note { margin: 11px 4px 0; color: #7c8ba3; font-size: 11px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; color: #bac7da; font: 600 10px 'Space Grotesk', sans-serif; letter-spacing: .1em; }.section-heading small { color: #7c8ca5; font-size: 10px; }.result-section { margin-top: 39px; animation: reveal .35s ease both; }.status-dot { display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px var(--mint); }.history-icon { margin-right: 7px; color: var(--blue); font-size: 15px; }.result-card { margin-top: 13px; padding: 14px; border: 1px solid rgba(111,242,200,.2); border-radius: 17px; background: linear-gradient(120deg, rgba(27, 54, 76, .75), rgba(14, 25, 47, .83)); }.result-inner { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 14px; }.thumb { width: 88px; height: 67px; object-fit: cover; border-radius: 10px; background: #0b1324; }.file-meta { min-width: 0; }.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e4ebf8; font-size: 12px; font-weight: 600; }.file-sub { margin-top: 6px; color: #89a0bd; font-size: 10px; }.action-row { display: flex; gap: 7px; }.small-btn { display: inline-flex; align-items: center; gap: 5px; padding: 9px 11px; border: 1px solid rgba(180,211,255,.2); border-radius: 8px; color: #c1d0e7; background: rgba(8,17,32,.38); cursor: pointer; font-size: 11px; text-decoration: none; }.small-btn.primary { color: #fff; border-color: rgba(114,167,255,.7); background: rgba(53,122,227,.75); }.link-tabs { display: flex; gap: 19px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(210,224,255,.1); }.link-tab { color: #8998b0; font-size: 10px; }.link-tab.active { color: #86baff; }.link-field { display: flex; gap: 8px; margin-top: 9px; }.link-field input { margin: 0; color: #bed4f6; font: 11px 'DM Sans', sans-serif; }.copy-btn { flex: 0 0 auto; padding: 0 14px; border-radius: 9px; border: 1px solid rgba(114,167,255,.6); color: white; background: rgba(43,120,239,.67); cursor: pointer; font-size: 11px; }.recent-section { margin-top: 31px; }.recent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 14px; }.recent-card { overflow: hidden; min-width: 0; border: 1px solid rgba(190,211,247,.15); border-radius: 14px; background: rgba(15,27,49,.7); transition: .2s; }.recent-card:hover { transform: translateY(-3px); border-color: rgba(114,167,255,.53); }.recent-card img { display: block; width: 100%; height: 125px; object-fit: cover; background: #0c172c; }.recent-info { padding: 10px; }.recent-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d8e0ed; font-size: 11px; }.recent-meta { display: flex; justify-content: space-between; margin-top: 8px; color: #71829d; font-size: 9px; }.recent-meta b { color: #6eb3ff; font-weight: 500; }.empty-state { display: flex; align-items: center; flex-direction: column; padding: 40px 0 20px; color: #6c7a91; text-align: center; font-size: 12px; line-height: 1.6; }.empty-orbit { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border: 1px dashed rgba(114,167,255,.42); border-radius: 50%; color: #7caeff; font-size: 17px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 10; padding: 12px 16px; border: 1px solid rgba(111,242,200,.3); border-radius: 11px; opacity: 0; color: #c6fbed; background: rgba(13,31,45,.94); box-shadow: 0 12px 32px rgba(0,0,0,.28); transform: translateY(9px); transition: .25s; font-size: 12px; pointer-events: none; }.toast.show { opacity: 1; transform: translateY(0); }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) { .app-shell { width: min(100% - 28px, 560px); }.topbar { height: 70px; }.secure-pill { display: none; }.login-view { min-height: auto; display: block; padding: 62px 3px 34px; }.login-copy h1 { font-size: 55px; }.login-card { margin-top: 42px; padding: 25px; }.footer { padding-top: 25px; display: block; line-height: 2; }.footer span { display: block; }.dashboard { padding: 45px 3px 0; }.hero-row { align-items: flex-start; }.hero-orbit { width: 86px; height: 86px; margin: 0 1px 0 15px; flex: 0 0 auto; }.hero-orbit span { top: 30px; left: 30px; font-size: 7px; }.ring-b { inset: 14px -5px; }.hero-row h1 { font-size: 40px; }.mode-switch { width: 100%; margin-top: 31px; }.mode-btn { flex: 1; padding: 9px 7px; font-size: 11px; }.result-inner { grid-template-columns: 65px 1fr; }.thumb { width: 65px; height: 55px; }.action-row { grid-column: 1 / -1; }.action-row .small-btn { flex: 1; justify-content: center; }.recent-grid { grid-template-columns: repeat(2, 1fr); }.recent-card img { height: 118px; }.url-box { flex-wrap: wrap; }.url-box input { flex: 1 1 200px; }.url-box .primary-btn { width: 100%; }.dropzone { min-height: 195px; } }
