/* PlusDesk website: builds on the app's design system (app.css). */
body { -webkit-user-select: text; user-select: text; font-size: 13px; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 76rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.grad { color: #60a5fa; }

/* ---------- header / footer */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(7, 10, 16, .78); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.05); }
.nav-l { padding: .45rem .8rem; border-radius: .7rem; color: #94a3b8; font-weight: 600; transition: color .2s, background .2s; }
.nav-l:hover { color: #fff; background: rgba(255,255,255,.04); }
.site-foot { background: #070a10; border-top: 1px solid rgba(255,255,255,.05); margin-top: 2rem; }
.foot-l { display: block; color: #94a3b8; padding: .15rem 0; transition: color .2s; }
.foot-l:hover { color: #fff; }

/* ---------- hero */
.hero-l { position: relative; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; z-index: -1; border-radius: 50%; filter: blur(110px); opacity: .5; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.aurora.a1 { width: 560px; height: 560px; background: #2563eb; top: -220px; left: -160px; }
.aurora.a2 { width: 480px; height: 480px; background: #7c3aed; bottom: -260px; right: -120px; animation-delay: -5s; }
.aurora.a3 { width: 320px; height: 320px; background: #06b6d4; top: 30%; left: 45%; opacity: .25; animation-delay: -9s; }
@keyframes drift { to { transform: translate(70px, 50px) scale(1.12); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%); }

/* app window mockup */
.mock { border-radius: 1.1rem; border: 1px solid rgba(255,255,255,.08); background: #0a0d14; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(37,99,235,.45), 0 0 0 1px rgba(255,255,255,.03); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .6s var(--ease); }
.mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: .45rem; padding: .6rem .8rem; background: #070a10; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 11px; color: #fff; }
.mock-bar .dot { width: .6rem; height: .6rem; } .mock-bar .r { background: #f43f5e; } .mock-bar .y { background: #f59e0b; } .mock-bar .g { background: #10b981; }
.mock-bar b { margin-right: .4rem; } .mock-chip { margin-right: auto; font-size: 10px; color: #6ee7b7; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); padding: .15rem .55rem; border-radius: 99px; }
.mock-body { display: grid; grid-template-columns: 9.5rem 1fr; min-height: 18rem; }
.mock-side { background: #0f1420; border-left: 1px solid rgba(255,255,255,.05); padding: .7rem; display: flex; flex-direction: column; gap: .35rem; }
.mock-id { border-radius: .8rem; padding: .6rem; background: linear-gradient(160deg, rgba(59,130,246,.18), rgba(139,92,246,.1)); border: 1px solid rgba(59,130,246,.3); display: flex; flex-direction: column; gap: .2rem; margin-bottom: .4rem; }
.mock-id small { font-size: 9px; color: #94a3b8; } .mock-id b { color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 13px; } .mock-id span { font-size: 10px; color: #fcd34d; font-family: 'JetBrains Mono', monospace; }
.mock-nav { font-size: 10.5px; color: #94a3b8; padding: .4rem .5rem; border-radius: .55rem; } .mock-nav i { width: 1rem; color: #64748b; }
.mock-nav.on { color: #fff; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.3); } .mock-nav.on i { color: #60a5fa; }
.mock-main { padding: .9rem; display: flex; flex-direction: column; gap: .7rem; }
.mock-hero { border-radius: .9rem; padding: .9rem; background: #141b2a; border: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.mock-hero h3 { color: #fff; font-weight: 900; font-size: 15px; margin: 0; }
.mock-input { width: 100%; text-align: center; font-family: 'JetBrains Mono', monospace; color: #fff; font-weight: 700; letter-spacing: .12em; padding: .5rem; border-radius: .6rem; background: rgba(0,0,0,.3); border: 1px solid #202c42; font-size: 14px; }
.mock-btn { width: 100%; text-align: center; padding: .5rem; border-radius: .7rem; color: #fff; font-weight: 700; font-size: 11px; background: linear-gradient(180deg, #4f8ff7, #3b82f6); animation: btnGlow 2.6s ease-in-out infinite; }
@keyframes btnGlow { 50% { box-shadow: 0 0 0 4px rgba(59,130,246,.18); } }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; } .mock-cards i { height: 3.2rem; border-radius: .7rem; background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(139,92,246,.08)); border: 1px solid rgba(255,255,255,.05); }

/* ---------- sections */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 1.2rem; border: 1px solid var(--border-color); background: var(--bg-surface); overflow: hidden; }
.stats > div { padding: 1.3rem; text-align: center; border-left: 1px solid var(--border-color); } .stats > div:last-child { border-left: 0; }
.stats b { display: block; color: #fff; font-weight: 900; font-size: 22px; direction: ltr; } .stats span { font-size: 11px; color: #94a3b8; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } .mock { transform: none; } }
.sec-head { text-align: center; max-width: 40rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.sec-head h2 { color: #fff; font-weight: 900; font-size: 28px; margin: 0; line-height: 1.5; } .sec-head p { color: #94a3b8; font-size: 13px; margin: 0; line-height: 1.9; }
.feat { border-radius: 1.1rem; padding: 1.3rem; background: var(--bg-surface); border: 1px solid var(--border-color); transition: transform .3s var(--ease), border-color .3s; }
.feat:hover { transform: translateY(-4px); border-color: rgba(var(--h), .45); }
.feat h3 { color: #fff; font-weight: 800; font-size: 14px; margin: .9rem 0 .4rem; } .feat p { color: #94a3b8; font-size: 12px; line-height: 1.9; margin: 0; }
.how { border-radius: 1.6rem; padding: 2.2rem; border: 1px solid var(--border-color); background: linear-gradient(160deg, rgba(16,185,129,.07), rgba(59,130,246,.05) 50%, transparent), var(--bg-surface); }
.step { position: relative; padding-top: .5rem; } .step b { display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border-radius: .9rem; background: var(--accent); color: #fff; font-weight: 900; font-size: 16px; box-shadow: 0 10px 22px -10px var(--accent); }
.step h3 { color: #fff; font-weight: 800; font-size: 15px; margin: .9rem 0 .3rem; } .step p { color: #94a3b8; font-size: 12px; line-height: 1.9; margin: 0; }
.dl { position: relative; overflow: hidden; isolation: isolate; border-radius: 1.6rem; padding: 2.2rem; border: 1px solid var(--border-color); background: var(--bg-surface); }
.dl-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 1.3rem 1rem; border-radius: 1.1rem; background: rgba(0,0,0,.25); border: 1px solid var(--border-color); transition: transform .25s var(--ease), border-color .25s; }
.dl-card:hover { transform: translateY(-3px); border-color: var(--accent-border); } .dl-card b { color: #fff; font-size: 13px; } .dl-card small { color: #94a3b8; font-size: 11px; }
.dl-card.soon { opacity: .6; pointer-events: none; }
.faq { border-radius: 1rem; border: 1px solid var(--border-color); background: var(--bg-surface); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; color: #fff; font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; } .faq summary i { color: #64748b; transition: transform .25s; } .faq[open] summary i { transform: rotate(180deg); color: var(--accent); }
.faq p { margin: 0; padding: 0 1.2rem 1.1rem; color: #94a3b8; font-size: 12.5px; line-height: 2; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 2.2rem; border-radius: 1.6rem; border: 1px solid rgba(245,158,11,.3);
  background: radial-gradient(600px 200px at 0% 0%, rgba(245,158,11,.16), transparent 70%), radial-gradient(600px 220px at 100% 100%, rgba(139,92,246,.16), transparent 70%), var(--bg-surface); }
.cta h2 { color: #fff; font-weight: 900; font-size: 22px; margin: 0; } .cta p { color: #94a3b8; margin: .3rem 0 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .aurora { animation: none; } }

/* pricing tiers (landing + panel) */
.tier { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; border-radius: 1.3rem; background: var(--bg-surface); border: 1px solid var(--border-color); }
.tier.featured { border-color: rgba(245,158,11,.45); background: radial-gradient(420px 220px at 50% -10%, rgba(245,158,11,.14), transparent 70%), var(--bg-surface); box-shadow: 0 24px 50px -30px rgba(245,158,11,.5); }
.tier .price { color: #fff; font-weight: 900; font-size: 24px; } .tier .price small { font-size: 11px; color: #94a3b8; font-weight: 600; }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; flex: 1; } .tier li { display: flex; gap: .5rem; font-size: 12px; color: #cbd5e1; } .tier li i { margin-top: .2rem; }
.tier .ribbon { position: absolute; top: -.7rem; left: 1.2rem; font-size: 10px; font-weight: 800; color: #1a1205; padding: .2rem .7rem; border-radius: 99px; background: linear-gradient(180deg, #fcd34d, #f59e0b); }
.seg a { display: block; padding: .4rem .95rem; border-radius: .6rem; font-size: .75rem; color: #94a3b8; font-weight: 600; } .seg a.on { background: var(--accent); color: #fff; }

/* ---------- auth */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; position: relative; overflow: hidden; isolation: isolate; }
.auth-card { width: 100%; max-width: 25rem; padding: 2rem; border-radius: 1.5rem; background: rgba(20, 27, 42, .82); border: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(18px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.flash { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-radius: .9rem; font-size: 12px; line-height: 1.8; border: 1px solid; }
.flash-ok { color: #6ee7b7; background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.3); }
.flash-bad { color: #fda4af; background: rgba(244,63,94,.08); border-color: rgba(244,63,94,.3); }
.flash-info { color: #bfdbfe; background: var(--accent-soft); border-color: var(--accent-border); }

/* ---------- panels */
.panel-side { width: 16rem; flex-shrink: 0; display: flex; flex-direction: column; padding: 1.2rem .9rem; background: var(--bg-sidebar); border-left: 1px solid rgba(255,255,255,.05); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
@media (max-width: 860px) { .panel-side { position: static; width: 100%; height: auto; } .min-h-screen.flex { flex-direction: column; } }
.side-user { display: flex; align-items: center; gap: .65rem; padding: .7rem; border-radius: 1rem; background: linear-gradient(160deg, var(--accent-soft), rgba(var(--c-violet), .08)); border: 1px solid var(--accent-border); }
.plan-hero { position: relative; overflow: hidden; padding: 1.4rem; border-radius: 1.3rem; border: 1px solid rgba(var(--pc), .35);
  background: radial-gradient(500px 200px at 100% 0%, rgba(var(--pc), .18), transparent 70%), var(--bg-surface); }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.06); font-size: 12px; }
.kv:last-child { border-bottom: 0; } .kv span { color: #94a3b8; } .kv b { color: #fff; font-weight: 700; }
.stat-card { display: flex; align-items: center; gap: .9rem; padding: 1.1rem; border-radius: 1.1rem; background: var(--bg-surface); border: 1px solid var(--border-color); }
.stat-card b { display: block; color: #fff; font-size: 20px; font-weight: 900; } .stat-card small { color: #94a3b8; font-size: 11px; }
.lic-box { font-size: 10.5px; word-break: break-all; line-height: 1.7; color: #cbd5e1; padding: .8rem; border-radius: .8rem; background: rgba(0,0,0,.3); border: 1px solid var(--border-color); -webkit-user-select: all; user-select: all; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12px; } .tbl th { text-align: right; color: #94a3b8; font-weight: 700; padding: .7rem 1rem; background: rgba(0,0,0,.18); font-size: 11px; }
.tbl td { padding: .75rem 1rem; border-top: 1px solid rgba(255,255,255,.04); color: #cbd5e1; vertical-align: middle; } .tbl tr:hover td { background: rgba(255,255,255,.015); }
.empty { text-align: center; color: #64748b; font-size: 12px; padding: 1.6rem; }
.tk-row { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 1rem; background: var(--bg-surface); border: 1px solid var(--border-color); }
.tk-msg { max-width: 80%; padding: .85rem 1rem; border-radius: 1rem; border: 1px solid var(--border-color); background: var(--bg-surface); color: #e2e8f0; }
.tk-msg.staff { background: linear-gradient(160deg, rgba(16,185,129,.1), rgba(16,185,129,.03)); border-color: rgba(16,185,129,.3); margin-right: auto; }
.tk-msg.me { background: linear-gradient(160deg, var(--accent-soft), transparent); border-color: var(--accent-border); }
.srv-row { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 1.1rem; background: var(--bg-surface); border: 1px solid var(--border-color); flex-wrap: wrap; }
select.field option { background: #141b2a; }
