/* ==========================================================================
   Feather – design system
   ========================================================================== */
:root {
  --v50: #F5F3FF;
  --v100: #EDE9FE;
  --v200: #DDD6FE;
  --v300: #C4B5FD;
  --v400: #A78BFA;
  --v500: #8B5CF6;
  --v600: #7C3AED;
  --v700: #6D28D9;
  --v800: #5B21B6;
  --v900: #4C1D95;
  --ink: #0E0B1A;
  --text: #2A2738;
  --muted: #6E6A82;
  --line: #E8E6F0;
  --line-2: #F1F0F6;
  --bg: #FFFFFF;
  --soft: #FAF9FD;
  --green: #15803D;
  --green-bg: #ECFDF3;
  --amber: #B45309;
  --amber-bg: #FFFBEB;
  --red: #DC2626;
  --red-bg: #FEF2F2;
  --blue: #1D4ED8;
  --blue-bg: #EFF6FF;
  --shadow-sm: 0 1px 2px rgba(16, 12, 40, .05);
  --shadow: 0 1px 3px rgba(16, 12, 40, .06), 0 10px 28px -10px rgba(16, 12, 40, .14);
  --shadow-lg: 0 30px 70px -24px rgba(76, 29, 149, .32), 0 2px 6px rgba(16, 12, 40, .05);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
a { color: var(--v700); text-decoration: none; }
a:hover { color: var(--v800); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
svg { display: block; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--v200); color: var(--ink); }
:focus-visible { outline: 2px solid var(--v500); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.mobile-only { display: none !important; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 14px; height: 14px; }

/* --- Brand ------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand .logo { width: 32px; height: 32px; flex: none; }

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--v700); color: #fff; box-shadow: 0 1px 2px rgba(76, 29, 149, .3), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-primary:hover { background: var(--v800); color: #fff; box-shadow: 0 6px 18px -6px rgba(109, 40, 217, .6); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--v300); color: var(--v700); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--line-2); color: var(--ink); }
.btn-white { background: #fff; color: var(--v800); }
.btn-white:hover { background: var(--v50); color: var(--v900); }

/* --- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 36px; height: 68px; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text); }
.nav-links a:hover, .nav-links a.current { background: var(--line-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang-switch { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.lang-switch a { padding: 3px 8px; border-radius: 7px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: var(--v50); color: var(--v700); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* --- Hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(55% 60% at 85% 0%, var(--v100) 0, transparent 65%),
    radial-gradient(40% 50% at 0% 100%, var(--v50) 0, transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 30%, #000 0, transparent 75%);
  mask-image: radial-gradient(70% 65% at 50% 30%, #000 0, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px;
  border: 1px solid var(--v200); border-radius: 999px; background: rgba(245, 243, 255, .8);
  font-size: 13px; font-weight: 600; color: var(--v800);
}
.pill:hover { border-color: var(--v300); color: var(--v900); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--v600); box-shadow: 0 0 0 3px var(--v200); }
.hero h1 { margin: 24px 0 22px; font-size: clamp(42px, 6vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; }
.accent { background: linear-gradient(92deg, var(--v700), var(--v500) 70%, #A855F7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 560px; margin-bottom: 34px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; }
.mock { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); }
.mock-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-title { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--green-bg); color: var(--green); font-size: 12px; font-weight: 600; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
.mock-site { display: flex; align-items: center; gap: 12px; padding: 16px 0; }
.favicon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--v50); color: var(--v700); font-weight: 700; }
.mock-site strong { display: block; font-size: 15px; color: var(--ink); }
.mock-site small { font-size: 13px; }
.ok { color: var(--green); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stats div { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--soft); }
.mock-stats small { display: block; font-size: 12px; color: var(--muted); }
.mock-stats strong { font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.mock-stats .v { color: var(--v700); }
.chart { display: flex; align-items: flex-end; gap: 5px; height: 128px; margin-top: 18px; }
.chart span { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--v500), var(--v200)); transform-origin: bottom; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.chart span:nth-child(1) { height: 34%; } .chart span:nth-child(2) { height: 42%; } .chart span:nth-child(3) { height: 38%; }
.chart span:nth-child(4) { height: 55%; } .chart span:nth-child(5) { height: 48%; } .chart span:nth-child(6) { height: 62%; }
.chart span:nth-child(7) { height: 58%; } .chart span:nth-child(8) { height: 71%; } .chart span:nth-child(9) { height: 66%; }
.chart span:nth-child(10) { height: 80%; } .chart span:nth-child(11) { height: 74%; } .chart span:nth-child(12) { height: 92%; }
.chart span:nth-child(13) { height: 85%; } .chart span:nth-child(14) { height: 70%; } .chart span:nth-child(15) { height: 77%; }
.chart span:nth-child(16) { height: 64%; } .chart span:nth-child(17) { height: 72%; } .chart span:nth-child(18) { height: 88%; }
.chart span:nth-child(19) { height: 96%; } .chart span:nth-child(20) { height: 82%; } .chart span:nth-child(21) { height: 69%; }
.chart span:nth-child(22) { height: 76%; } .chart span:nth-child(23) { height: 60%; } .chart span:nth-child(24) { height: 52%; }
.chart span:nth-child(3n) { animation-delay: .1s; } .chart span:nth-child(3n+1) { animation-delay: .2s; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 13px; color: var(--ink); line-height: 1.3; }
.float-card small { font-size: 12px; color: var(--muted); }
.fc-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; }
.fc-icon .icon { width: 18px; height: 18px; }
.fc-violet { background: var(--v50); color: var(--v700); }
.fc-green { background: var(--green-bg); color: var(--green); }
.fc-1 { left: -40px; bottom: 36px; }
.fc-2 { right: -24px; bottom: -26px; animation-delay: -3s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, .45); } 70% { box-shadow: 0 0 0 6px rgba(21, 128, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); } }

/* --- Stats band -------------------------------------------------------- */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.stat span { font-size: 14px; color: var(--muted); }

/* --- Sections ---------------------------------------------------------- */
.section { padding: 104px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { position: relative; z-index: 1; max-width: 700px; margin: 0 auto 60px; text-align: center; }
.section-head h1, .section-head h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.035em; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v700); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.product:hover { border-color: var(--v200); box-shadow: var(--shadow); transform: translateY(-3px); }
.product-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 12px; background: var(--v50); color: var(--v700); box-shadow: inset 0 0 0 1px var(--v100); }
.product-icon .icon { width: 22px; height: 22px; }
.product h3 { margin-bottom: 8px; font-size: 18px; }
.product p { font-size: 15px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px; border-radius: 11px; background: var(--v700); color: #fff; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(109, 40, 217, .7); }
.step h3 { margin-bottom: 8px; font-size: 18px; }
.step p { font-size: 15px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { margin-bottom: 18px; font-size: clamp(32px, 4vw, 42px); font-weight: 800; letter-spacing: -.035em; }
.split .lead { margin-bottom: 0; }
.checks { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 34px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.check { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--v100); color: var(--v700); }
.check .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.checks-inline { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin: 0; font-size: 14px; }

.ticket-mock { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); box-shadow: var(--shadow-lg); }
.tm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }

.cta-band { padding: 0 0 104px; }
.cta-box {
  position: relative; overflow: hidden; padding: 72px 48px; border-radius: 28px; text-align: center; color: #fff;
  background: radial-gradient(60% 120% at 100% 0%, rgba(167, 139, 250, .55) 0, transparent 60%), linear-gradient(135deg, var(--v900), var(--v700));
}
.cta-box::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); pointer-events: none; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { max-width: 720px; margin: 0 auto 14px; font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #fff; letter-spacing: -.035em; }
.cta-box p { margin-bottom: 30px; font-size: 18px; color: rgba(255, 255, 255, .8); }

/* --- Pricing ----------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 88px 0 24px; }
.page-hero .section-head { margin-bottom: 0; }
.pricing-section { padding: 40px 0 104px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.plan.featured { border: 2px solid var(--v600); box-shadow: var(--shadow-lg); }
.plan-tag { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--v700); color: #fff; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 20px; }
.plan .desc { min-height: 48px; margin: 8px 0 22px; font-size: 15px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.price strong { font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -.045em; line-height: 1; }
.price span { color: var(--muted); }
.plan ul { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-2); list-style: none; font-size: 15px; }
.plan li { display: flex; align-items: center; gap: 10px; }
.faq { max-width: 760px; margin: 104px auto 0; }
.faq h2 { margin-bottom: 20px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--v700); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--muted); }

/* --- Footer ------------------------------------------------------------ */
.site-footer { padding: 72px 0 32px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 300px; margin: 16px 0 18px; font-size: 15px; color: var(--muted); }
.site-footer h4 { margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer ul a { font-size: 14px; color: var(--muted); }
.site-footer ul a:hover { color: var(--v700); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--text); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px #DCFCE7; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* --- Error page -------------------------------------------------------- */
.error-page { position: relative; overflow: hidden; padding: 120px 0; text-align: center; }
.error-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.error-code { margin-bottom: 12px; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--v700); }
.error-page h1 { margin-bottom: 14px; font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -.035em; }

/* --- Forms ------------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 0; }
.input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 15px; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #A8A4B8; }
.input:hover { border-color: #D7D3E3; }
.input:focus { outline: none; border-color: var(--v500); box-shadow: 0 0 0 4px var(--v100); }
.input:disabled { background: var(--soft); color: var(--muted); }
select.input { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6A82' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.55; }
.hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.hint-top { margin: 8px 0 20px; }
.fine { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }

.alert { margin-bottom: 20px; padding: 12px 16px; border: 1px solid; border-radius: 11px; font-size: 14px; }
.alert-error { background: var(--red-bg); border-color: #FECACA; color: #991B1B; }
.alert-success { background: var(--green-bg); border-color: #BBF7D0; color: #166534; }
.alert-info { background: var(--v50); border-color: var(--v200); color: var(--v900); }

/* --- Auth -------------------------------------------------------------- */
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-main { display: flex; flex-direction: column; padding: 28px 40px; }
.auth-top { display: flex; align-items: center; justify-content: space-between; }
.auth-form-wrap { display: flex; flex: 1; align-items: center; justify-content: center; padding: 48px 0; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { margin-bottom: 8px; font-size: 32px; font-weight: 800; letter-spacing: -.035em; }
.auth-card > .muted { margin-bottom: 30px; }
.auth-switch { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--muted); text-align: center; }
.auth-switch a { font-weight: 600; }
.auth-side {
  position: relative; display: flex; align-items: center; overflow: hidden; padding: 64px; color: #fff;
  background: radial-gradient(70% 60% at 100% 0%, rgba(167, 139, 250, .5) 0, transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(124, 58, 237, .6) 0, transparent 70%), var(--v900);
}
.auth-side::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.auth-side-inner { position: relative; z-index: 1; max-width: 460px; }
.auth-side h2 { font-size: 38px; font-weight: 800; color: #fff; letter-spacing: -.035em; }
.checks-light li { color: rgba(255, 255, 255, .9); }
.checks-light .check { background: rgba(255, 255, 255, .15); color: #fff; }
.quote { margin: 40px 0 0; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px; background: rgba(255, 255, 255, .07); backdrop-filter: blur(6px); }
.quote blockquote { margin: 0 0 10px; font-size: 16px; color: #fff; }
.quote figcaption { font-size: 13px; color: rgba(255, 255, 255, .65); }

/* --- Dashboard --------------------------------------------------------- */
body.dash { background: var(--soft); }
.dash-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 20px 14px 16px; border-right: 1px solid var(--line); background: #fff; }
.sidebar .brand { padding: 2px 10px 22px; }
.side-nav { display: flex; flex: 1; flex-direction: column; gap: 2px; overflow-y: auto; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--text); }
.side-nav a .icon { width: 18px; height: 18px; color: var(--muted); }
.side-nav a:hover { background: var(--line-2); color: var(--ink); }
.side-nav a.active { background: var(--v50); color: var(--v800); font-weight: 600; }
.side-nav a.active .icon { color: var(--v700); }
.side-nav .tag-soon { margin-left: auto; }
.side-label { padding: 18px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #9A96AC; }
.side-foot { display: flex; align-items: center; gap: 10px; padding: 14px 6px 0; border-top: 1px solid var(--line); }
.side-user { flex: 1; min-width: 0; }
.side-user strong, .side-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user strong { font-size: 14px; color: var(--ink); line-height: 1.3; }
.side-user small { font-size: 12px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--v100); color: var(--v800); font-size: 13px; font-weight: 700; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--line-2); color: var(--ink); }
.icon-btn .icon { width: 18px; height: 18px; }

.dash-main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 32px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.crumb { flex: 1; overflow: hidden; font-size: 15px; font-weight: 600; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.dash-content { width: 100%; max-width: 1160px; margin: 0 auto; padding: 36px 32px 64px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.page-head p { margin-top: 6px; color: var(--muted); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 500; color: var(--muted); }
.back-link:hover { color: var(--v700); }

.card { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.card-head h2, .card-title { font-size: 16px; font-weight: 700; }
.card-title { margin-bottom: 8px; }
.card-body { padding: 22px; }
.link-sm { font-size: 14px; font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { padding: 18px 20px; }
.kpi small { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.kpi strong { display: block; margin-top: 8px; font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.grid-2 { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }

.steps-list { margin: 0; padding: 0; list-style: none; }
.steps-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.steps-list li:first-child { padding-top: 0; }
.steps-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.steps-list li > div { flex: 1; }
.steps-list strong { font-size: 15px; color: var(--ink); }
.steps-list p { font-size: 14px; color: var(--muted); }
.step-dot { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border: 2px solid var(--line); border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--muted); }
.step-dot.done { border-color: var(--v700); background: var(--v700); color: #fff; }
.step-dot .icon { stroke-width: 3; }

.list { margin: 0; padding: 0; list-style: none; }
.list li + li { border-top: 1px solid var(--line-2); }
.list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; color: inherit; }
.list a:hover { background: var(--soft); }
.list-main { min-width: 0; }
.list-main strong { display: block; overflow: hidden; font-size: 14px; font-weight: 600; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.list-main small { font-size: 13px; color: var(--muted); }

.plan-card { padding: 24px; border: 0; color: #fff; background: radial-gradient(80% 100% at 100% 0%, rgba(167, 139, 250, .55) 0, transparent 60%), linear-gradient(135deg, var(--v800), var(--v600)); box-shadow: var(--shadow); }
.plan-card small { font-size: 13px; color: rgba(255, 255, 255, .75); }
.plan-card strong { display: block; margin: 4px 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.plan-card p { margin-bottom: 18px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.help-card { padding: 24px; }
.help-card .product-icon { margin-bottom: 14px; }
.help-card p { margin-bottom: 16px; font-size: 14px; color: var(--muted); }
aside.help-card p { margin-bottom: 0; }

.tag-soon { display: inline-block; padding: 1px 8px; border: 1px solid var(--v200); border-radius: 999px; background: var(--v50); color: var(--v700); font-size: 11px; font-weight: 600; white-space: nowrap; }

.empty { padding: 64px 24px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 16px; background: var(--v50); color: var(--v700); box-shadow: inset 0 0 0 1px var(--v100); }
.empty-icon .icon { width: 28px; height: 28px; }
.empty .tag-soon { margin-bottom: 10px; }
.empty h3 { margin-bottom: 8px; font-size: 19px; }
.empty p { max-width: 460px; margin: 0 auto 24px; color: var(--muted); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 12px 22px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-align: left; text-transform: uppercase; color: var(--muted); }
.table thead tr:first-child th:first-child { border-top-left-radius: 15px; }
.table thead tr:first-child th:last-child { border-top-right-radius: 15px; }
.tabs + .table-wrap .table th { border-radius: 0 !important; }
.table td { padding: 14px 22px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--soft); }
.row-link { font-weight: 600; color: var(--ink); }
.row-link:hover { color: var(--v700); }
.table .sub { display: block; font-size: 12px; color: var(--muted); }
.cell-user strong, .cell-user small { display: block; }
.cell-user strong { font-weight: 600; color: var(--ink); }
.cell-user small { font-size: 12px; color: var(--muted); }

.tabs { display: flex; gap: 6px; padding: 0 16px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tabs a { display: inline-flex; align-items: center; gap: 6px; margin-bottom: -1px; padding: 14px 8px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { border-color: var(--v700); color: var(--v700); font-weight: 600; }
.count { padding: 0 7px; border-radius: 999px; background: var(--line-2); font-size: 12px; color: var(--muted); }
.tabs a.active .count { background: var(--v100); color: var(--v700); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.b-open { background: var(--blue-bg); color: var(--blue); }
.b-answered { background: var(--green-bg); color: var(--green); }
.b-closed { background: var(--line-2); color: var(--muted); }
.p-low { background: var(--line-2); color: var(--muted); }
.p-normal { background: var(--v50); color: var(--v700); }
.p-high { background: var(--amber-bg); color: var(--amber); }
.p-urgent { background: var(--red-bg); color: var(--red); }

.ticket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.thread { display: flex; flex-direction: column; gap: 16px; }
.msg { display: flex; gap: 14px; }
.msg-body { flex: 1; min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.msg.staff .msg-body { border-color: var(--v200); background: var(--v50); }
.msg.staff .avatar { background: var(--v700); color: #fff; }
.msg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.msg-meta strong { color: var(--ink); }
.msg-text { font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.meta-list { margin: 0 0 18px; }
.meta-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 500; color: var(--ink); }

.settings { display: flex; flex-direction: column; gap: 32px; }
.settings-row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.settings-row:last-child { border-bottom: 0; }
.settings-desc h2 { margin-bottom: 6px; font-size: 17px; }
.settings-desc p { font-size: 14px; color: var(--muted); }

.scrim { display: none; }

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 1060px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .ticket-layout { grid-template-columns: 1fr; }
  .settings-row { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .fc-1 { left: -8px; }
  .fc-2 { right: -8px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 860px) {
  .nav { gap: 12px; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; gap: 2px; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  .steps { grid-template-columns: 1fr; }
  .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); }

  .dash-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .sidebar.open ~ .scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(14, 11, 26, .35); }
  .topbar { padding: 0 16px; }
  .dash-content { padding: 24px 16px 48px; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .products { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .mock-stats strong { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-bottom: 18px; }
  .cta-box { padding: 52px 24px; border-radius: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .auth-main { padding: 20px 16px; }
  .kpi strong { font-size: 24px; }
  .lang-switch a { padding: 3px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --- Live figures (real platform data) ---------------------------------- */
.pill-dot.pd-up { background: #22C55E; box-shadow: 0 0 0 3px #DCFCE7; }
.pill-dot.pd-partial { background: #F59E0B; box-shadow: 0 0 0 3px #FEF3C7; }
.pill-dot.pd-major { background: var(--red); box-shadow: 0 0 0 3px #FEE2E2; }
.pill-dot.pd-pending { background: #9CA3AF; box-shadow: 0 0 0 3px var(--line-2); }
.status-pill { color: var(--text); }
.status-pill:hover { border-color: var(--v200); color: var(--ink); }
.status-dot.sd-partial { background: #F59E0B; box-shadow: 0 0 0 3px #FEF3C7; }
.status-dot.sd-major { background: var(--red); box-shadow: 0 0 0 3px #FEE2E2; }
.status-dot.sd-pending { background: #9CA3AF; box-shadow: 0 0 0 3px var(--line-2); }
.mock-site .favicon .icon { width: 18px; height: 18px; }
.mock-site small { display: block; }
.mock-foot { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }
.chart-live span { animation-delay: 0s !important; }
a.float-card { color: inherit; }
a.float-card:hover { border-color: var(--v200); color: inherit; }
.fc-amber { background: var(--amber-bg); color: var(--amber); }
.stats-note { display: flex; align-items: center; justify-content: center; gap: 6px; padding-bottom: 18px; font-size: 13px; color: var(--muted); }
.stats-note a { font-weight: 600; }
.support-live { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); box-shadow: var(--shadow-lg); }
.support-live .tm-head { margin-bottom: 18px; }
.support-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.support-figures div { padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; }
.support-figures small { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.support-figures strong { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.small { font-size: 13px; }
.live-figures { margin-top: 40px; }
.lf-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.lf-head .live-dot { color: #4ADE80; }
.lf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lf-grid strong { display: block; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.lf-grid small { font-size: 12px; color: rgba(255, 255, 255, .65); }
.is-current { cursor: default; color: var(--green); border-color: #BBF7D0; background: var(--green-bg); }
.pricing-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 620px) {
  .support-figures, .lf-grid { grid-template-columns: 1fr; }
}
