/* ==========================================================================
   FazerCards — Soft Dark UI (Dashboard-inspired)
   Style target: "Soft Dark Dashboard UI / Layered Dark UI / Elevated Dark UI"
   - less rounded
   - less maximalist
   - soft depth, subtle borders, modern spacing
   - no external frameworks
   ========================================================================== */

:root{
  /* Layout */
  --container: 1180px;
  --radius: 12px;
  --radius2: 14px;

  /* Colors */
  --bg0:#070A0E;
  --bg1:#0B1018;
  --bg2:#0E1521;

  --surface: rgba(255,255,255,.045);
  --surface2: rgba(255,255,255,.06);
  --surface3: rgba(255,255,255,.08);

  --border: rgba(255,255,255,.07);
  --border2: rgba(255,255,255,.12);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.52);

  --accent:#4F7CFF;     /* blue */
  --accent2:#9B5CFF;    /* purple */

  /* Back-compat (old templates) */
  --accentA: var(--accent);
  --accentB: var(--accent2);
  --good:#34D399;
  --warn:#F59E0B;
  --danger:#EF4444;

  /* Depth */
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --shadow2: 0 10px 28px rgba(0,0,0,.48);

  --focus: 0 0 0 3px rgba(79,124,255,.22);

  /* Translucent surfaces used by header/footer/toasts */
  --topbar-bg: rgba(7,10,14,.62);
  --footer-bg: rgba(7,10,14,.55);
  --toast-bg: rgba(7,10,14,.70);
}

html[data-theme="light"]{
  --bg0:#e3e7ee;
  --bg1:#e9edf3;
  --bg2:#f1f4f9;

  --surface: rgba(11,18,32,.035);
  --surface2: rgba(11,18,32,.055);
  --surface3: rgba(11,18,32,.09);

  --border: rgba(11,18,32,.10);
  --border2: rgba(11,18,32,.16);

  --text: #0b1220;
  --muted: rgba(11,18,32,.72);
  --muted2: rgba(11,18,32,.52);

  --shadow: 0 18px 40px rgba(11,18,32,.10);
  --shadow2: 0 10px 24px rgba(11,18,32,.10);

  --topbar-bg: rgba(236,239,245,.96);
  --footer-bg: rgba(236,239,245,.96);
  --toast-bg: rgba(244,246,251,.96);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 520px at 60% -20%, rgba(79,124,255,.14), transparent 62%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

a{ color:inherit; text-decoration:none; }
a:hover{ color: rgba(255,255,255,.98); }

img{ max-width:100%; height:auto; display:block; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* Typography */
.h1{ font-size: clamp(32px, 4vw, 46px); line-height: 1.08; letter-spacing:-.02em; margin:0 0 12px; font-weight: 600; }
.h2{ font-size: clamp(22px, 2.4vw, 30px); line-height:1.2; margin:0 0 12px; letter-spacing:-.01em; font-weight: 600; }
.h3{ font-size: 18px; margin:0 0 10px; font-weight: 600; }
.lead{ font-size: 16px; line-height:1.6; color: var(--muted); margin:0 0 16px;}
.p{ font-size: 14px; line-height:1.7; color: var(--muted); margin:0 0 14px;}
.small{ font-size: 12px; line-height:1.6; color: var(--muted2); }
.muted{ color: var(--muted); }
.muted2{ color: var(--muted2); }

.hr{ height:1px; background: var(--border); border:0; margin: 18px 0; }

/* Accessibility */
.skip-link{
  position:absolute;
  left:-999px;
  top: 12px;
  background: #fff;
  color:#000;
  padding:10px 14px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

/* Flash messages */
.flash-wrap{
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(720px, calc(100vw - 24px));
  pointer-events:none;
}
.flash{
  pointer-events:auto;
  border: 1px solid var(--border);
  background: var(--toast-bg);
  box-shadow: var(--shadow2);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
  display:flex;
  align-items:flex-start;
  gap: 12px;
}
.flash .t{ margin:0; color: var(--text); font-size: 14px; line-height: 1.5; }
.flash.ok{ border-color: rgba(52,211,153,.35); }
.flash.warn{ border-color: rgba(245,158,11,.35); }
.flash.danger{ border-color: rgba(239,68,68,.35); }
.flash .x{
  margin-left:auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
}
.flash .x:hover{ background: rgba(255,255,255,.07); }

/* Top bar */
.topbar{
  position: sticky;
  top:0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: var(--topbar-bg);
  backdrop-filter: blur(10px);
}
.topbar-inner{
  height: 62px;
  display:flex;
  align-items:center;
  gap: 14px;
}
.nav-left{ flex: 0 0 auto; }
.nav-center{
  flex: 1 1 auto;
  display:flex;
  justify-content:center;
  min-width: 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand-text{ font-size: 14px; opacity:.95; }
.brand-logo{
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(79,124,255,.16));
}
.brand-mark{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background:
    radial-gradient(10px 10px at 30% 30%, rgba(255,255,255,.55), transparent 65%),
    linear-gradient(135deg, rgba(79,124,255,.95), rgba(155,92,255,.95));
  box-shadow: 0 12px 26px rgba(79,124,255,.12);
}

.nav-search{
  flex: 1 1 auto;
  max-width: 520px;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 0 12px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}
.nav-search:focus-within{
  border-color: rgba(79,124,255,.35);
  box-shadow: var(--focus);
}
.nav-search input{
  width:100%;
  background: transparent;
  border: 0;
  outline:none;
  color: var(--text);
  font-size: 13px;
}
.nav-search input::placeholder{ color: rgba(255,255,255,.45); }
.search-ic{
  width: 18px; height: 18px;
  color: rgba(255,255,255,.55);
  display:inline-flex;
}
.search-ic svg{ width:18px; height:18px; }

.nav-links{
  display:flex;
  align-items:center;
  gap: 14px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}
.nav-links a{
  padding: 8px 10px;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover{
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
}

.nav-right{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  gap: 10px;
}

.lang-switch{
  display:flex;
  align-items:center;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.lang-switch a{
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.72);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.lang-switch a:hover{ background: rgba(255,255,255,.05); color: rgba(255,255,255,.92); }
.lang-switch a.active{
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.10);
}

.icon-btn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.icon-btn:hover{ background: rgba(255,255,255,.06); }
.icon-btn svg{ width: 18px; height: 18px; }
.theme-icon{ display:inline-flex; }
.theme-icon.sun{ display:none; }
.theme-icon.moon{ display:inline-flex; }
html[data-theme="light"] .theme-icon.sun{ display:inline-flex; }
html[data-theme="light"] .theme-icon.moon{ display:none; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing:.01em;
  cursor:pointer;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
}
.btn:hover{ background: rgba(255,255,255,.06); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn:focus{ outline:none; box-shadow: var(--focus); }

.btn.small{ padding: 9px 12px; border-radius: 11px; font-size: 13px; }

.btn.primary{
  background: linear-gradient(180deg, rgba(79,124,255,.98), rgba(79,124,255,.82));
  border-color: rgba(79,124,255,.55);
  color: #06101f;
  box-shadow: 0 18px 44px rgba(79,124,255,.18);
}
.btn.primary:hover{
  background: linear-gradient(180deg, rgba(79,124,255,1), rgba(79,124,255,.86));
  box-shadow: 0 22px 52px rgba(79,124,255,.22);
}

.btn.purple{
  background: linear-gradient(180deg, rgba(155,92,255,.98), rgba(155,92,255,.82));
  border-color: rgba(155,92,255,.55);
  color: #100818;
  box-shadow: 0 18px 44px rgba(155,92,255,.18);
}
.btn.purple:hover{
  background: linear-gradient(180deg, rgba(155,92,255,1), rgba(155,92,255,.86));
  box-shadow: 0 22px 52px rgba(155,92,255,.22);
}

.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.10);
  box-shadow:none;
}
.btn.ghost:hover{ background: rgba(255,255,255,.04); }

/* Panels / Cards */
.card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.card.soft{
  background: rgba(255,255,255,.035);
}
.card-title{ font-weight: 600; margin: 0 0 8px; }
.actions{ display:flex; gap: 10px; flex-wrap: wrap; }

/* Contacts */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-card{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 14px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  box-shadow: var(--shadow2);
}
.contact-ic{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(79,124,255,.25);
  background: rgba(79,124,255,.12);
  color: var(--accent);
  flex: 0 0 auto;
}
.contact-ic.telegram{
  border-color: rgba(34,197,94,.28);
  background: rgba(34,197,94,.14);
  color: #22c55e;
}
.contact-ic.clock{
  border-color: rgba(155,92,255,.28);
  background: rgba(155,92,255,.14);
  color: var(--accent2);
}
.contact-title{
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.contact-link{
  color: var(--text);
  font-size: 14px;
}
.contact-text{
  font-size: 14px;
  color: var(--text);
}
.contact-sub{
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted2);
}
@media (max-width: 720px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* Grid helpers */
.section{ padding: 54px 0; }
.grid{ display:grid; gap: 16px; }
.cards-2{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cards-3{ display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px){
  .cards-2, .cards-3{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .nav-links{ display:none; }
  .nav-center{ flex: 0 0 auto; }
}
/* Hero */
.hero{ padding: 46px 0 18px; }

.hero-panel{
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.hero-panel:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(520px 220px at 30% 10%, rgba(79,124,255,.10), transparent 70%),
    radial-gradient(520px 220px at 78% 22%, rgba(155,92,255,.08), transparent 72%);
  pointer-events:none;
}
.hero-panel > *{ position: relative; }

.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
}

.hero-title{
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  font-weight: 650;
}
.hero-title-line2{
  display:block;
  margin-top: 8px;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.18;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .nav-search{ display:none; }
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  letter-spacing:.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 8px 22px rgba(79,124,255,.20);
}

.badges{ display:flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.75);
  font-size: 12px;
}

.hero-card{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.hero-plan{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(155,92,255,.32);
  background: rgba(155,92,255,.10);
  color: rgba(255,255,255,.90);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
}
.hero-card-title{
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: .01em;
  font-weight: 650;
  color: var(--text);
}
.hero-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.65;
}
.hero-list li{ margin: 6px 0; }
.hero-card .title{ font-weight: 780; margin: 0 0 8px; }
.hero-card .pills{ display:flex; gap: 8px; flex-wrap: wrap; }
.pill{
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-size: 12px;
  color: rgba(255,255,255,.75);
}
.pill strong{ color: rgba(255,255,255,.92); font-weight: 760; }

/* Notices */
.notice{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: rgba(255,255,255,.76);
}
.invite-banner{
  display:flex;
  align-items:center;
  gap: 10px;
}
.invite-banner .invite-icon{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(99,102,241,.18);
  color: rgba(129,140,248,.95);
}
.invite-banner .invite-icon svg{
  width: 16px;
  height: 16px;
}
.notice.ok{ border-color: rgba(52,211,153,.25); }
.notice.warn{ border-color: rgba(245,158,11,.25); }
.notice .kbd{
  margin-left: 6px;
}
.auto-fade{
  transition: opacity .5s ease, transform .5s ease !important;
}
.auto-fade.is-hidden{
  opacity: 0;
  transform: translateY(-6px);
}

/* Form overlay loader */
.form-overlay{
  position: fixed;
  inset: 0;
  background: rgba(6,8,14,.72);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1200;
}
.form-overlay.show{
  opacity: 1;
  pointer-events: all;
}
.form-overlay-card{
  min-width: min(420px, 92vw);
  max-width: 520px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(20,24,34,.95), rgba(14,18,28,.95));
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.form-overlay-title{
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.form-overlay-sub{
  color: var(--muted2);
  font-size: 13px;
  margin-bottom: 12px;
}
.form-overlay-row{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}

/* Code / KBD */
.kbd{
  display:inline-flex;
  align-items:center;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 12px 12px;
  overflow:auto;
}

/* Pricing */
.pricing{
  padding-top: 28px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 980px){
  .pricing{ grid-template-columns: 1fr; }
}
.plan{
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  position:relative;
  display:flex;
  flex-direction:column;
}
.plan.highlight{
  border-color: rgba(79,124,255,.35);
  box-shadow: 0 22px 60px rgba(79,124,255,.14), var(--shadow2);
}
.plan .tag{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(79,124,255,.30);
  background: rgba(79,124,255,.08);
  color: rgba(255,255,255,.78);
  margin-bottom: 10px;
}
.plan .price{
  display:flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 10px;
}
.plan .num{
  font-size: 32px;
  font-weight: 700;
  letter-spacing:-.015em;
}
.plan .per{
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.60);
}
.plan ul{
  margin: 12px 0 16px;
  padding-left: 18px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  line-height: 1.65;
}
.plan li{ margin: 6px 0; }
.plan .cta{
  margin-top: auto;
}

/* Marquee -> convert to "chip rail" (no animation) */
.marquee{
  margin-top: 14px;
  overflow:hidden;
}
.marquee.auto{
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee .track{
  display:flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x:auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
.marquee.auto .track{
  overflow: hidden;
  padding-bottom: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee .track::-webkit-scrollbar{ height: 8px; }
.marquee .track::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.14); border-radius: 999px; }
.marquee .item{
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.74);
  font-size: 12px;
}

@keyframes marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .marquee.auto .track{ animation: none; }
  .marquee.auto{ mask-image: none; }
}

/* Details / FAQ */
.details{
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding: 12px 14px;
}
.details + .details{ margin-top: 10px; }
.details summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}
.details summary::-webkit-details-marker{ display:none; }
.details .chev{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.70);
  transition: transform .18s ease;
}
.details[open] .chev{ transform: rotate(180deg); }
.details .answer{ padding-top: 10px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.75; }

/* Footer */
.footer{
  padding: 42px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: var(--footer-bg);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr; }
}

.footer a{ color: rgba(255,255,255,.70); }
.footer a:hover{ color: rgba(255,255,255,.92); }

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links{
  display:flex;
  align-items:center;
  gap: 8px;
  justify-content:flex-end;
  text-align:right;
  flex-wrap: wrap;
}
.footer-links span{
  color: rgba(255,255,255,.35);
}
@media (max-width: 720px){
  .footer-bottom{ justify-content:flex-start; }
  .footer-links{ justify-content:flex-start; text-align:left; }
}

/* Reveal animation */
.reveal{
  /* visible by default (no-js safe) */
  opacity: 1;
  transform: none;
}
.js .reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.js .reveal.show{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn{ transition:none; }
  .reveal{ transition:none; }
  .btn:hover{ transform:none; }
}

/* Forms */
.form{ display:block; }
.field{ margin: 16px 0; }
.field label{
  display:block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .01em;
}
.input{
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.input::placeholder{ color: rgba(255,255,255,.45); }
.input:focus{
  border-color: rgba(79,124,255,.45);
  box-shadow: var(--focus);
  background: rgba(255,255,255,.04);
}
.field.has-error .input{
  border-color: rgba(255,107,107,.85);
  box-shadow: 0 0 0 3px rgba(255,107,107,.15);
  background: rgba(255,107,107,.05);
}
.error-msg{
  margin-top: 6px;
  font-size: 12px;
  color: #ff8a8a;
}
.shake{
  animation: shake .28s ease-in-out;
}
@keyframes shake{
  0%,100%{ transform: translateX(0); }
  25%{ transform: translateX(-4px); }
  50%{ transform: translateX(4px); }
  75%{ transform: translateX(-3px); }
}
.input.select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px;
  background:
    rgba(255,255,255,.03)
    url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 12px center / 18px 18px;
}

/* Dropdown (public, buy flow) */
.dd{ position: relative; width: 100%; }
.dd-toggle{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding: 0 38px 0 12px;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  position: relative;
}
.dd-toggle::after{
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/18px 18px;
}
.dd-toggle:focus{
  outline:none;
  border-color: rgba(79,124,255,.45);
  box-shadow: var(--focus);
}
.dd-menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: rgba(12,16,22,0.98);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 20;
}
.dd.open .dd-menu{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.dd-item{
  display:block;
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}
.dd-item:hover{ background: rgba(255,255,255,0.08); }
.dd-item.active{ background: rgba(255,255,255,0.14); }

.help{ font-size: 12px; color: var(--muted2); margin-top: 6px; }

/* Layout helpers used in templates */
.section.compact{ padding-top: 22px; padding-bottom: 22px; }
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 740px){
  .row{ grid-template-columns: 1fr; }
}

/* Small icon chip */
.icon-pill{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.80);
}
.icon-pill svg{ width: 20px; height: 20px; }

/* CTA block */
.cta{ display:flex; gap: 10px; flex-wrap: wrap; align-items:center; }

/* Flash message body */
.flash .m{ margin:0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Minor */
.content{ position:relative; }

/* Dashboard-ish layout (for /panel) */
.dash{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items:start;
}
@media (max-width: 980px){
  .dash{ grid-template-columns: 1fr; }
}
.sidebar{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 14px;
  position: sticky;
  top: 78px;
}
@media (max-width: 980px){
  .sidebar{ position: relative; top: auto; }
}
.sidebar-head{
  display:flex;
  align-items:center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 12px;
}
.avatar{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 850;
  color: rgba(255,255,255,.92);
  background: linear-gradient(135deg, rgba(79,124,255,.92), rgba(155,92,255,.92));
  box-shadow: 0 14px 30px rgba(79,124,255,.18);
}
.side-nav{ display:flex; flex-direction:column; gap: 8px; }
.nav-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.nav-item:hover{ background: rgba(255,255,255,.05); color: rgba(255,255,255,.92); }
.nav-item.active{
  border-color: rgba(79,124,255,.35);
  background: rgba(79,124,255,.10);
}
.nav-item.danger{
  border-color: rgba(239,68,68,.25);
  background: rgba(239,68,68,.08);
}
.nav-item svg{ width: 16px; height: 16px; opacity:.9; }

.dash-main{ min-width:0; }

/* Home page minimal variant */
.home-min{
  background:
    radial-gradient(900px 600px at 20% -10%, rgba(79,124,255,0.14), transparent 55%),
    radial-gradient(800px 600px at 90% 0%, rgba(155,92,255,0.10), transparent 55%),
    linear-gradient(180deg, #0b1118, #0a0f15);
  font-weight: 400;
}
.home-min .hero-panel{
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
.home-min .hero-inner{ align-items: stretch; }
.home-min .hero-copy{
  display:flex;
  flex-direction:column;
}
.home-min .hero-copy .actions{ margin-top:auto; }
.home-min .hero-card .content{
  display:flex;
  flex-direction:column;
  height:100%;
}
.home-min .hero-card .actions{ margin-top:auto; }
.home-min .hero{ padding-top: 40px; }
.home-min .marquee{ display:none; }
.home-min .hero-panel:before{
  opacity: .35;
  filter: blur(18px);
}
.home-min .hero-metrics{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 12px;
}
.home-min .hero-metric{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  padding: 10px 12px;
  display:flex;
  flex-direction:column;
  gap: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.home-min .hero-metric .k{
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}
.home-min .hero-metric .l{
  font-size: 12px;
  color: var(--muted2);
}
.home-min .card,
.home-min .card.soft,
.home-min .plan,
.home-min .hero-card{
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
}
.home-min .tag{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.home-min .marquee .item{
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.07);
}
.home-min .marquee{ display:block; }
.home-min .btn.purple{
  box-shadow: 0 14px 36px rgba(155,92,255,.16);
}
.home-min .btn.primary{
  box-shadow: 0 14px 36px rgba(79,124,255,.16);
}
.home-min .reveal{
  transition: opacity .9s ease, transform .9s ease;
}
@media (max-width: 560px){
  .home-min .hero-metrics{ grid-template-columns: 1fr; }
}

/* Softer typography on home + pricing */
.home-min .hero-title{
  font-size: clamp(26px, 2.9vw, 36px);
  font-weight: 600;
  line-height: 1.12;
}
.home-min .hero-title-line2{
  font-size: clamp(16px, 2.0vw, 22px);
  font-weight: 500;
  line-height: 1.2;
}
.home-min .lead{
  font-size: 15px;
  line-height: 1.55;
}
.home-min .hero-card-title,
.home-min .hero-plan{
  font-weight: 600;
}
.home-min .tag{
  font-weight: 600;
}
.home-min .hero-list,
.home-min .card .p,
.home-min .card ul{
  font-size: 13px;
  line-height: 1.6;
}
.home-min strong{
  font-weight: 600;
}

.pricing-min .h1{
  font-size: clamp(26px, 3.1vw, 36px);
  font-weight: 600;
  line-height: 1.15;
}
.pricing-min .h2{
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
}
.pricing-min .h3{
  font-size: 16px;
  font-weight: 600;
}
.pricing-min .lead{
  font-size: 15px;
  line-height: 1.55;
}
.pricing-min .p,
.pricing-min .plan ul{
  font-size: 13px;
  line-height: 1.6;
}
.pricing-min .tag{
  font-size: 11px;
  padding: 6px 8px;
  font-weight: 600;
}
.pricing-min .plan .per{
  font-size: 12px;
}
.pricing-min strong{
  font-weight: 600;
}
main{
  flex: 1 0 auto;
}

/* Buy flow spacing */
.buy-flow .cards-2{ gap: 24px; }
.buy-flow .card{ padding: 24px; }
.buy-flow .h2{ margin-bottom: 12px; }
.buy-flow .pills{ margin: 8px 0 16px; }
.buy-flow .notice{ margin-top: 12px; }
.buy-flow .field{ margin: 16px 0; }
.buy-flow .field label{ margin-bottom: 8px; }
.buy-flow .input{ height: 50px; }
.buy-flow .help{ margin-top: 6px; }
.buy-flow .row{ gap: 14px; margin-top: 6px; }
.buy-flow .row .field{ margin: 0; }
.buy-flow .account-actions{
  margin-top: 6px;
  transform: translateY(12px);
}
.buy-flow .btn{ margin-top: 16px; }
.buy-flow .buy-left{ width: 100%; }
.buy-flow .pay-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 10px 0 8px;
}
.buy-flow .pay-meta .icon-pill{
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
.buy-flow .pay-meta-title{
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.buy-flow .pay-meta-sub{
  font-size: 12px;
  color: var(--muted2);
}

/* Buy flow payment page */
.pay-card{ position: relative; padding: 24px; }
.pay-head{ margin-bottom: 14px; }
.pay-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items:start;
}
.pay-row{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}
.pay-box{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow2);
}
.pay-box.soft{
  background: rgba(255,255,255,.035);
}
.pay-label{
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 6px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.pay-value{
  font-size: 16px;
  font-weight: 650;
  color: var(--text);
}
.pay-address{
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: var(--text);
  word-break: break-all;
}
.pay-hint{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted2);
}
.pay-actions{ margin-top: 12px; }
.pay-cta{ margin-top: 14px; display:flex; flex-direction:column; gap: 6px; }
.pay-muted{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted2);
}
.pay-qr{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  width: min(240px, 100%);
  box-shadow: var(--shadow2);
  margin: 0 auto;
}
.pay-qr img{
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  height: auto;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
}
.pay-qr-text{
  font-size: 12px;
  color: var(--muted2);
  text-align:center;
}
.pay-right{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
}
.pay-alert{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  border: 1px solid rgba(245,158,11,.28);
  background: rgba(245,158,11,.08);
  border-radius: 12px;
  padding: 8px 10px;
  margin-top: 10px;
}
.pay-alert-icon{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(245,158,11,.12);
  color: var(--warn);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.pay-alert-icon svg{ width: 18px; height: 18px; }
.pay-alert-title{ font-size: 13px; font-weight: 600; color: var(--text); }
.pay-alert-text{ font-size: 12px; color: var(--muted); margin-top: 2px; }
.pay-timer{
  width: min(260px, 100%);
  padding: 12px 14px;
}
.status-card{
  padding: 24px;
}
.status-head{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}
.status-icon{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(239,68,68,.35);
  background: rgba(239,68,68,.12);
  color: #ef4444;
  flex: 0 0 auto;
}
.status-icon.success{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.12);
  color: #22c55e;
}
.status-icon svg{ width: 26px; height: 26px; }
.status-list{
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.status-meta{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.status-box{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow2);
}
.status-label{
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 6px;
}
.status-value{
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}
.status-support{
  margin-top: 18px;
  border: 1px solid rgba(239,68,68,.2);
  background: rgba(239,68,68,.08);
  border-radius: 12px;
  padding: 14px;
}
.status-support.success{
  border-color: rgba(34,197,94,.2);
  background: rgba(34,197,94,.08);
}
.status-support-title{
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
@media (max-width: 720px){
  .status-meta{ grid-template-columns: 1fr; }
  .status-head{ flex-direction:column; }
}
.timer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.timer-top .pay-label{ margin: 0; }
.timer-right{
  display:flex;
  align-items:center;
  gap: 8px;
}
.timer-spinner{
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  border-top-color: var(--accent);
  animation: timerSpin 1s linear infinite;
}
.timer-note{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted2);
}
.timer-value{
  font-size: 16px;
  font-weight: 650;
  color: var(--text);
}
.pay-timer.expired .timer-value{ color: #ff8a8a; }
.pay-timer.expired .timer-spinner{
  border-top-color: var(--danger);
}
@keyframes timerSpin{
  to{ transform: rotate(360deg); }
}
@media (max-width: 980px){
  .pay-grid{ grid-template-columns: 1fr; }
  .pay-row{ grid-template-columns: 1fr; }
}

/* Light theme overrides (public site) */
html[data-theme="light"] body{
  background:
    radial-gradient(900px 520px at 60% -20%, rgba(79,124,255,.12), transparent 62%),
    radial-gradient(700px 420px at 92% 8%, rgba(155,92,255,.10), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}
html[data-theme="light"] .home-min{
  background:
    radial-gradient(900px 600px at 20% -10%, rgba(79,124,255,.12), transparent 55%),
    radial-gradient(800px 600px at 90% 0%, rgba(155,92,255,.10), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

html[data-theme="light"] a:hover{ color: #0b1220; }

html[data-theme="light"] .topbar{
  border-bottom: 1px solid var(--border);
}
html[data-theme="light"] .nav-links{
  color: var(--muted);
}
html[data-theme="light"] .nav-links a{
  color: var(--muted);
}
html[data-theme="light"] .nav-links a:hover{
  background: rgba(11,18,32,.05);
  color: var(--text);
}

html[data-theme="light"] .nav-search{
  background: rgba(11,18,32,.025);
  border-color: var(--border);
}
html[data-theme="light"] .nav-search input::placeholder{ color: rgba(11,18,32,.45); }
html[data-theme="light"] .search-ic{ color: rgba(11,18,32,.55); }

html[data-theme="light"] .lang-switch{
  border-color: var(--border);
  background: rgba(11,18,32,.03);
}
html[data-theme="light"] .lang-switch a{
  color: var(--muted);
}
html[data-theme="light"] .lang-switch a:hover{
  background: rgba(11,18,32,.06);
  color: var(--text);
}
html[data-theme="light"] .lang-switch a.active{
  background: rgba(11,18,32,.10);
  color: var(--text);
  border-color: var(--border2);
}

html[data-theme="light"] .icon-btn{
  background: rgba(11,18,32,.035);
  border-color: var(--border);
  color: var(--muted);
}
html[data-theme="light"] .icon-btn:hover{
  background: rgba(11,18,32,.08);
  color: var(--text);
}
html[data-theme="light"] .icon-pill{
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,.7), transparent 60%),
    linear-gradient(180deg, rgba(79,124,255,.16), rgba(155,92,255,.12));
  border-color: rgba(79,124,255,.28);
  color: #3b4a72;
  box-shadow: 0 10px 22px rgba(79,124,255,.18);
}
html[data-theme="light"] .icon-pill svg{
  color: #3a4b75;
}
html[data-theme="light"] .pay-timer{
  background:
    linear-gradient(180deg, rgba(79,124,255,.05), rgba(155,92,255,.04)),
    #f4f6fb;
  border-color: var(--border);
}
html[data-theme="light"] .contact-ic{
  border-color: rgba(79,124,255,.30);
  background: rgba(79,124,255,.14);
  color: #3560d7;
}
html[data-theme="light"] .contact-ic.telegram{
  border-color: rgba(34,197,94,.30);
  background: rgba(34,197,94,.14);
  color: #1c8f4a;
}
html[data-theme="light"] .contact-ic.clock{
  border-color: rgba(155,92,255,.30);
  background: rgba(155,92,255,.14);
  color: #6f3bd4;
}

html[data-theme="light"] .btn{
  background: linear-gradient(180deg, #f6f8fc, #eceff6);
  border-color: #cfd6e3;
  color: #1f2937;
  box-shadow: 0 8px 18px rgba(11,18,32,.08);
}
html[data-theme="light"] .btn:hover{
  background: linear-gradient(180deg, #f9fbff, #e4e9f3);
  border-color: #c3ccdd;
}
html[data-theme="light"] .btn.ghost{
  background: rgba(11,18,32,.02);
  border-color: #cfd6e3;
  color: #2b3340;
  box-shadow: none;
}
html[data-theme="light"] .btn.ghost:hover{
  background: rgba(11,18,32,.06);
}
html[data-theme="light"] .btn.primary,
html[data-theme="light"] .btn.purple{
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(79,124,255,.22);
}
html[data-theme="light"] .btn.primary{
  background: linear-gradient(180deg, #4f7cff, #6c6bff);
}
html[data-theme="light"] .btn.primary:hover{
  background: linear-gradient(180deg, #4a76ff, #5f60ff);
}
html[data-theme="light"] .btn.purple{
  background: linear-gradient(180deg, #9b5cff, #b06dff);
  box-shadow: 0 14px 26px rgba(155,92,255,.22);
}
html[data-theme="light"] .btn.purple:hover{
  background: linear-gradient(180deg, #9657ff, #a764ff);
}
html[data-theme="light"] .btn:disabled{
  opacity: .65;
  filter: grayscale(.08);
  box-shadow: none;
}

html[data-theme="light"] .card,
html[data-theme="light"] .card.soft,
html[data-theme="light"] .hero-panel,
html[data-theme="light"] .hero-card,
html[data-theme="light"] .plan,
html[data-theme="light"] .details,
html[data-theme="light"] .sidebar,
html[data-theme="light"] .contact-card{
  background:
    linear-gradient(180deg, rgba(79,124,255,.06), rgba(155,92,255,.04)),
    #f4f6fb;
  border-color: var(--border);
  box-shadow: var(--shadow2);
}
html[data-theme="light"] .hero-panel:before{
  background:
    radial-gradient(520px 220px at 30% 10%, rgba(79,124,255,.12), transparent 70%),
    radial-gradient(520px 220px at 78% 22%, rgba(155,92,255,.10), transparent 72%);
}

html[data-theme="light"] .notice,
html[data-theme="light"] .kbd,
html[data-theme="light"] .code{
  background:
    linear-gradient(180deg, rgba(79,124,255,.04), rgba(155,92,255,.03)),
    rgba(11,18,32,.03);
  border-color: var(--border);
  color: var(--muted);
}
html[data-theme="light"] .invite-banner .invite-icon{
  background: rgba(99,102,241,.14);
  color: rgba(79,124,255,.9);
}

html[data-theme="light"] .pill,
html[data-theme="light"] .badge,
html[data-theme="light"] .tag,
html[data-theme="light"] .hero-plan{
  background:
    linear-gradient(180deg, rgba(79,124,255,.06), rgba(155,92,255,.04)),
    rgba(11,18,32,.035);
  border-color: rgba(79,124,255,.22);
  color: var(--text);
}

html[data-theme="light"] .hero-title-line2,
html[data-theme="light"] .kicker,
html[data-theme="light"] .hero-list,
html[data-theme="light"] .plan ul,
html[data-theme="light"] .plan .per,
html[data-theme="light"] .details .answer{
  color: var(--muted);
}

html[data-theme="light"] .details summary{
  color: var(--text);
}
html[data-theme="light"] .details .chev{
  background: rgba(11,18,32,.03);
  border-color: var(--border);
  color: var(--muted);
}

html[data-theme="light"] .input{
  background: #f7f9fd;
  border-color: var(--border);
  color: var(--text);
}
html[data-theme="light"] .input::placeholder{ color: rgba(11,18,32,.45); }
html[data-theme="light"] .input:focus{
  background: #ffffff;
}
html[data-theme="light"] .field.has-error .input{
  border-color: rgba(235,91,91,.8);
  box-shadow: 0 0 0 3px rgba(235,91,91,.18);
  background: rgba(235,91,91,.06);
}
html[data-theme="light"] .error-msg{
  color: #d9534f;
}
html[data-theme="light"] .input.select{
  background:
    #f7f9fd
    url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='rgba(31,41,55,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 12px center / 18px 18px;
}
html[data-theme="light"] .dd-toggle{
  background: #f7f9fd;
  border-color: var(--border);
  color: var(--text);
}
html[data-theme="light"] .dd-toggle::after{
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='rgba(31,41,55,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/18px 18px;
}
html[data-theme="light"] .dd-menu{
  background: #ffffff;
  border-color: #e6e8ec;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}
html[data-theme="light"] .dd-item:hover{ background: #f3f4f6; }
html[data-theme="light"] .dd-item.active{ background: #e5e7eb; }

html[data-theme="light"] .flash{
  border-color: var(--border);
  box-shadow: var(--shadow2);
}
html[data-theme="light"] .flash .x{
  background: rgba(11,18,32,.04);
  color: var(--text);
}
html[data-theme="light"] .flash .x:hover{ background: rgba(11,18,32,.08); }

html[data-theme="light"] .marquee .track::-webkit-scrollbar-thumb{
  background: rgba(11,18,32,.18);
}
html[data-theme="light"] .marquee .item{
  background: rgba(11,18,32,.04);
  border-color: var(--border);
  color: var(--muted);
}

html[data-theme="light"] .footer{
  border-top: 1px solid var(--border);
}
html[data-theme="light"] .footer a{
  color: var(--muted);
}
html[data-theme="light"] .footer a:hover{
  color: var(--text);
}
html[data-theme="light"] .footer-links span{
  color: rgba(11,18,32,.35);
}

html[data-theme="light"] .sidebar{
  background: #f4f6fb;
}
html[data-theme="light"] .sidebar-head{
  border-bottom: 1px solid var(--border);
}
html[data-theme="light"] .nav-item{
  background: rgba(11,18,32,.03);
  border-color: var(--border);
  color: var(--muted);
}
html[data-theme="light"] .nav-item:hover{
  background: rgba(11,18,32,.06);
  color: var(--text);
}
html[data-theme="light"] .nav-item.active{
  background: rgba(79,124,255,.12);
  border-color: rgba(79,124,255,.28);
  color: var(--text);
}
html[data-theme="light"] .nav-item.danger{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.22);
  color: #7a1f1f;
}

html[data-theme="light"] .home-min .hero-panel,
html[data-theme="light"] .home-min .card,
html[data-theme="light"] .home-min .card.soft,
html[data-theme="light"] .home-min .plan,
html[data-theme="light"] .home-min .hero-card{
  background:
    linear-gradient(180deg, rgba(79,124,255,.06), rgba(155,92,255,.04)),
    #f4f6fb;
  border-color: var(--border);
  box-shadow: 0 12px 28px rgba(11,18,32,.10);
}
html[data-theme="light"] .home-min .hero-metric{
  background:
    linear-gradient(180deg, rgba(79,124,255,.06), rgba(155,92,255,.04)),
    #f4f6fb;
  border-color: var(--border);
  box-shadow: 0 10px 24px rgba(11,18,32,.10);
}
html[data-theme="light"] .home-min .hero-metric .l{
  color: var(--muted2);
}
html[data-theme="light"] .home-min .tag{
  background: rgba(11,18,32,.05);
  border-color: var(--border2);
  color: var(--text);
}
html[data-theme="light"] .home-min .marquee .item{
  background: rgba(11,18,32,.04);
  border-color: var(--border);
  color: var(--muted);
}
