
/* Urbanist-inspired clean UI */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700&display=swap');

:root {
  --primary: #E7FE55;
  --secondary: #CFEFF1;
  --dark: #0A0A0A;
  --light: #F8F9F9;
  --muted: #ECEFF1;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 8px 28px rgba(0,0,0,.08);
  --shadow-strong: 0 24px 40px rgba(0,0,0,.15);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Urbanist', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--light);
  color: var(--dark);
}

a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(248,249,249,0.9);
  border-bottom: 1px solid rgba(15,23,42,0.04);
}
.nav .inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}
.nav-links {
  display:flex;
  align-items:center;
  gap: 4px;
}
.nav-links a {
  margin: 0 4px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}
.nav-cta {
  background: var(--dark);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
}


.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background:
    radial-gradient(circle at 30% 0%, rgba(231, 254, 85, 0.12), transparent 60%),
    rgba(248, 249, 251, 0.96);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform .18s ease,
    box-shadow .2s ease,
    border-color .18s ease,
    background .18s ease;
}
.nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.32);
  border-color: rgba(15, 23, 42, 0.42);
}
.nav-toggle.is-open {
  border-color: rgba(231, 254, 85, 0.8);
  background:
    radial-gradient(circle at 30% 0%, rgba(231, 254, 85, 0.2), transparent 60%),
    rgba(15, 23, 42, 0.96);
}
.nav-toggle span {
  position: relative;
  z-index: 1;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  box-shadow: none;
  transition:
    transform .22s ease,
    opacity .16s ease,
    background .18s ease;
}
.nav-toggle span + span {
  margin-top: 4px;
}
.nav-toggle.is-open span {
  box-shadow: none;
  background: #E7FE55;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(38deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-38deg);
}
.nav-links.is-open {
  display: flex;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav .inner {
    padding: 10px 0;
  }
  .nav-links {
    position: absolute;
    inset: 64px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    background: radial-gradient(circle at 0% 0%, rgba(231,254,85,0.08), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(231,254,85,0.06), transparent 55%),
                rgba(5, 7, 10, 0.98);
    border-radius: 18px;
    box-shadow: 0 22px 40px rgba(0,0,0,0.85);
    padding: 10px;
    border: 1px solid rgba(231,254,85,0.26);
    display: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 20;
  }
  .nav-links a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #F5F7FB;
  }
  .nav-links a + a {
    margin-top: 4px;
  }
  .nav-links a.nav-cta {
    margin-top: 8px;
    background: linear-gradient(135deg, #E7FE55, #F9FFB0);
    color: #050608;
    font-weight: 600;
    justify-content: center;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
}

.hero { position:relative; overflow:hidden; padding: 80px 0 40px; }
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items:center; }
h1 { font-size: 48px; font-weight: 600; line-height: 1.06; letter-spacing: -0.5px; margin: 0 0 12px; }
.lead { font-size: 18px; color: #333; opacity:.8; margin-bottom: 22px; }
.cta-row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); background: white; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--primary); border-color: #000; }
.btn-dark { background: var(--dark); color: white; border-color: #000; }

.hero-card { background: var(--primary); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-strong); border: 1.5px solid #000; }
.card-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.stat { font-size: 42px; font-weight: 700; }

.badges { display:flex; gap: 10px; margin-top: 8px; }
.badge { background: #fff; border: 1px solid #000; padding: 6px 10px; border-radius: 999px; font-size: 13px; }

.blob { position:absolute; width: 640px; height: 640px; filter: blur(60px); background: radial-gradient(circle at 30% 40%, var(--primary), transparent 60%), radial-gradient(circle at 70% 60%, var(--secondary), transparent 60%); opacity: .5; right:-120px; top:-100px; pointer-events:none; }

.section { padding: 70px 0; }
.section h2 { font-size: 32px; font-weight: 600; margin: 0 0 16px; }
.section p { font-size: 16px; line-height: 1.6; opacity: .85; }

.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { background: white; border: 1px solid rgba(0,0,0,.12); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-soft); transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); border-color: rgba(0,0,0,.18); }
.card.highlight { background: var(--secondary); }
.card-outline { background: #fff; border: 1.5px solid #000; box-shadow: 8px 8px 0 #000; }

.plan-price { font-size: 40px; font-weight:700; margin: 12px 0; }
.pill { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; border:1px solid #000; background:#fff; font-size:14px; }

.table { width: 100%; border-collapse: collapse; border: 1px solid rgba(0,0,0,.1); border-radius: var(--radius-md); overflow: hidden; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.08); font-size: 15px; }
.table th { text-align:left; background:#fafafa; }

.footer { padding: 60px 0 24px; background: #000; color: #fff; }
.footer a { color: #fff; opacity:.9; }

.kpis { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.kpi { background:#fff; border:1px solid #000; border-radius: var(--radius-lg); padding:16px; }
.kpi .n { font-size: 28px; font-weight:700; }

.note { font-size: 13px; opacity:.7; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2,1fr); }
}


/* === Trading Pairs Ticker === */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(15,23,42,0.08);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  backdrop-filter: blur(6px);
}
.ticker--dark {
  border-top-color: rgba(255,255,255,0.08);
  border-bottom-color: rgba(255,255,255,0.08);
}
.ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 38s linear infinite;
}
.ticker__lane {
  display: flex;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.ticker__sym { opacity: 0.8; font-weight: 700; }
.ticker__price { opacity: 0.9; }
.ticker__chg { font-weight: 700; }
.ticker__chg.up { color: #16a34a; }   /* green */
.ticker__chg.down { color: #dc2626; } /* red */

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

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation-duration: 0s; }
}



/* === Stats Band === */
.stats-band {
  position: relative;
  background: linear-gradient(180deg, rgba(2,6,23,0.02), rgba(2,6,23,0.00));
  border-top: 1px solid rgba(2,6,23,0.06);
  border-bottom: 1px solid rgba(2,6,23,0.06);
  padding: 22px 0;
}
.stats-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-value {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 28px;
  line-height: 1.2;
}
.stat-label {
  margin-top: 4px;
  opacity: 0.7;
  font-weight: 600;
}
@media (min-width: 900px) {
  .stat-value { font-size: 34px; }
  .stats-wrap { grid-template-columns: repeat(2, 1fr); }
}



/* === 2025-11-19: readability & navigation polish === */

/* Make sticky nav more defined but still light */
.nav {
  box-shadow: 0 14px 30px rgba(10,10,10,0.04);
}

/* Inner container a bit taller for breathing room */
.nav .inner {
  padding: 16px 0;
}

/* Primary nav links: more clickable & readable */
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  transition: background 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.nav-links a:hover {
  background: rgba(10,10,10,0.04);
  opacity: 1;
  transform: translateY(-1px);
}

/* CTA area in nav a bit stronger */
.nav-cta .btn {
  font-weight: 600;
}

/* Global buttons: better legibility and tap area */
.btn {
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  border-radius: var(--radius-md);
  letter-spacing: 0.01em;
}

/* On very small screens, make nav links full-width but with nice spacing */
@media (max-width: 720px) {
  .nav-links {
    gap: 6px;
  }
  .nav-links a {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
  }
}


/* === 2025-11-19: Auth screens branding === */

.auth-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.auth-container {
  max-width: 720px;
}

.auth-shell {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(231,254,85,0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(207,239,241,0.16), transparent 60%),
    #ffffff;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* Logo inside auth window */
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.auth-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: radial-gradient(circle at 0% 0%, #E7FE55, #CFEFF1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #050505;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.auth-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-logo-main {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-logo-sub {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}

/* Main auth body (headings + form) */
.auth-body h1 {
  margin-top: 0;
  margin-bottom: 6px;
}

.auth-body .lead {
  margin-bottom: 18px;
}

/* Animated decorative shapes strictly in INAI style */
.auth-illustration {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.auth-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.7;
  mix-blend-mode: multiply;
}

.auth-orbit-primary {
  width: 260px;
  height: 260px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle at 30% 20%, rgba(231,254,85,0.9), rgba(231,254,85,0));
  animation: authFloat1 16s ease-in-out infinite;
}

.auth-orbit-secondary {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: -80px;
  background: radial-gradient(circle at 40% 60%, rgba(207,239,241,0.9), rgba(207,239,241,0));
  animation: authFloat2 18s ease-in-out infinite;
}

.auth-orbit-accent {
  width: 180px;
  height: 180px;
  right: 20%;
  bottom: -40px;
  background: radial-gradient(circle at 50% 0%, rgba(231,254,85,0.55), rgba(231,254,85,0));
  animation: authFloat3 20s ease-in-out infinite;
}

/* Small screens: soften the shapes */
@media (max-width: 640px) {
  .auth-shell {
    padding: 22px 18px 22px;
    border-radius: var(--radius-md);
  }
  .auth-orbit-primary,
  .auth-orbit-secondary,
  .auth-orbit-accent {
    filter: blur(14px);
    opacity: 0.6;
  }
  .auth-orbit-primary {
    width: 200px;
    height: 200px;
    right: -70px;
    top: -70px;
  }
  .auth-orbit-secondary {
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: -80px;
  }
  .auth-orbit-accent {
    width: 150px;
    height: 150px;
    right: 15%;
    bottom: -50px;
  }
}

/* Floating animation for auth shapes */
@keyframes authFloat1 {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-8px,10px,0) scale(1.05); }
}

@keyframes authFloat2 {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(10px,-12px,0) scale(1.06); }
}

@keyframes authFloat3 {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-6px,6px,0) scale(1.03); }
}


/* === 2025-11-19: Nav brand logo & auth background === */

/* Brand logo in top navigation */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: radial-gradient(circle at 0% 0%, #E7FE55, #CFEFF1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
}

.brand-badge::before {
  content: "IN";
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #050505;
}

/* Auth pages global background */
body.auth-page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, rgba(231,254,85,0.20), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(207,239,241,0.22), transparent 55%),
    linear-gradient(180deg, #F8F9F9 0%, #E5EBF0 100%);
}

/* Soft animated blobs behind everything on auth pages */
body.auth-page::before,
body.auth-page::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  mix-blend-mode: multiply;
  pointer-events: none;
}

body.auth-page::before {
  width: 360px;
  height: 360px;
  left: -120px;
  top: -80px;
  background: radial-gradient(circle at 30% 20%, rgba(231,254,85,0.9), rgba(231,254,85,0));
  animation: authBgDrift1 32s ease-in-out infinite;
}

body.auth-page::after {
  width: 340px;
  height: 340px;
  right: -120px;
  bottom: -60px;
  background: radial-gradient(circle at 60% 80%, rgba(54,83,203,0.45), rgba(207,239,241,0));
  animation: authBgDrift2 36s ease-in-out infinite;
}

/* Background drift animations */
@keyframes authBgDrift1 {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  25%      { transform: translate3d(10px,12px,0) scale(1.05); }
  50%      { transform: translate3d(4px,-10px,0) scale(1.02); }
  75%      { transform: translate3d(-6px,6px,0) scale(1.06); }
}

@keyframes authBgDrift2 {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  20%      { transform: translate3d(-8px,-10px,0) scale(1.05); }
  50%      { transform: translate3d(-4px,8px,0) scale(1.03); }
  80%      { transform: translate3d(6px,-4px,0) scale(1.04); }
}

/* Slight reduction on very small screens so background doesn't dominate */
@media (max-width: 640px) {
  body.auth-page::before,
  body.auth-page::after {
    filter: blur(30px);
    opacity: 0.35;
    width: 260px;
    height: 260px;
  }
}


/* === 2025-11-19: performance tuning for auth background === */
/* Отключаем анимацию больших фоновых пятен, оставляем только статический градиент */
body.auth-page::before,
body.auth-page::after {
  animation: none !important;
}


/* === 2025-11-19: Dashboard refinement === */

.dash-top {
  align-items: stretch;
}

.card-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.dash-avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 0% 0%, #E7FE55, #CFEFF1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #050505;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.dash-user-main h2 {
  margin: 0;
}

.dash-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.dash-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fafafa;
}

.dash-tag-plan span[data-plan] {
  font-weight: 600;
}

.dash-tag-status {
  background: #ecfdf3;
  border-color: rgba(22,163,74,0.4);
}

.dash-meta {
  display: grid;
  gap: 8px;
}

.dash-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.dash-label {
  opacity: 0.7;
}

.dash-value {
  font-weight: 500;
}

.dash-note {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.7;
}

/* Balance card */
.card-balance {
  position: relative;
}

.dash-balance-note {
  font-size: 12px;
  opacity: 0.78;
  margin: 8px 0 12px;
}

/* Quick links */
.card-quick {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-links {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.dash-links li + li {
  margin-top: 6px;
}

.dash-links a {
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,0,0,0.18);
}

.dash-links a:hover {
  border-bottom-style: solid;
}

.dash-support {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.75;
}

/* Lower section */
.dash-bottom {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 18px;
}

.dash-metric-card {
  min-height: 200px;
}

.dash-metric-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.dash-legend {
  margin: 0;
  font-size: 12px;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .dash-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .dash-top {
    grid-template-columns: 1fr;
  }
  .dash-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* === 2025-11-19: Dashboard color accents in site style === */

.card-dashboard {
  background:
    radial-gradient(circle at 0% 0%, rgba(231,254,85,0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(207,239,241,0.16), transparent 55%),
    #ffffff;
  border: 1px solid rgba(10,10,10,0.08);
}

.dash-avatar {
  background:
    radial-gradient(circle at 0% 0%, #E7FE55, #CFEFF1);
}

.dash-tag-plan {
  background: #f5f7fb;
  border-color: rgba(10,10,10,0.10);
}

.dash-tag-status {
  background: rgba(231,254,85,0.16);
  border-color: rgba(231,254,85,0.70);
}

/* Balance card with strong brand colors */
.card-balance {
  background:
    radial-gradient(circle at 0% 0%, rgba(231,254,85,0.85), rgba(231,254,85,0.55)),
    radial-gradient(circle at 100% 100%, rgba(207,239,241,0.85), rgba(207,239,241,0.35));
  border: 1.5px solid #000;
  box-shadow: var(--shadow-strong);
  color: #050505;
}

.card-balance .pill {
  background: rgba(255,255,255,0.86);
  border-color: rgba(0,0,0,0.18);
}

.card-balance .dash-balance-note {
  opacity: 0.9;
}

/* Quick access card with subtle tint */
.card-quick {
  background:
    linear-gradient(135deg, #ffffff 0%, #f3f7fb 65%);
  border: 1px solid rgba(10,10,10,0.08);
}

.dash-support-actions {
  margin-top: 12px;
}

/* Outline button in site style */
.btn.btn-outline {
  background: transparent;
  border: 1px solid #0A0A0A;
  color: #0A0A0A;
  font-weight: 600;
}

.btn.btn-outline:hover {
  background: #0A0A0A;
  color: #F8F9F9;
}

/* Lower metric cards with light emphasis */
.dash-metric-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(207,239,241,0.20), transparent 55%),
    #ffffff;
  border: 1px solid rgba(10,10,10,0.08);
}


.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand p {
  max-width: 420px;
  opacity: .8;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  text-align: right;
}

.footer-payments-label {
  font-size: 13px;
  opacity: .7;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.payment-badge.visa {
  font-style: italic;
}

.payment-badge.mc {
  letter-spacing: .16em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  font-size: 13px;
  opacity: .8;
}



@media (max-width: 768px) {
  .footer-main {
    gap: 24px;
  }
  .footer-right {
    align-items: flex-start;
    text-align: left;
  }
  .footer-payments,
  .footer-links,
  
}


.footer-bottom {
  margin-top: 16px;
  opacity: .7;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom-main {
  opacity: .8;
}

.footer-legal-note {
  max-width: 880px;
  line-height: 1.5;
}

.footer-legal-note + .footer-legal-note {
  opacity: .75;
}

@media (max-width: 768px) {
  .footer-bottom {
    font-size: 11px;
  }
  .footer-legal-note {
    max-width: 100%;
  }
}


.hero-card {
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 46px rgba(0,0,0,.24);
}


.spacer-sm {
  height: 10px;
}


/* Subtle premium nav polish */
.nav-links a {
  position: relative;
  transition: background .16s ease-out, color .16s ease-out, transform .16s ease-out;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity .18s ease-out, transform .18s ease-out;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a:hover {
  background: rgba(15,23,42,0.03);
}

.nav-cta {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(231,254,85,0.22), transparent 60%);
  opacity: 0;
  transition: opacity .18s ease-out;
}

.nav-cta:hover::after {
  opacity: 1;
}


/* Final CTA banner */
.section-cta-final {
  padding-top: 0;
  padding-bottom: 72px;
}

.cta-final {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15,23,42,0.06);
  background:
    radial-gradient(circle at 0% 0%, rgba(231,254,85,0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(207,239,241,0.16), transparent 60%),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(15,23,42,0.06);
  pointer-events: none;
}

.cta-final-text h3 {
  margin: 0 0 4px;
}

.cta-final-text p {
  margin: 0;
  font-size: 14px;
  opacity: .8;
}

.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.14);
  background: transparent;
  padding: 10px 16px;
  font-weight: 500;
}

.btn-ghost:hover {
  background: rgba(15,23,42,0.03);
}

@media (max-width: 720px) {
  .cta-final {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px 20px;
  }
  .cta-final-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Dashboard performance summary */
.perf-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.perf-pill {
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  padding: 8px 10px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(135deg, rgba(15,23,42,0.02), rgba(15,23,42,0.06));
}

.perf-label {
  opacity: 0.65;
}

.perf-value {
  font-weight: 600;
  font-size: 13px;
}

.perf-note {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.6;
}

@media (max-width: 960px) {
  .perf-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .perf-summary {
    grid-template-columns: 1fr;
  }
}


/* Alternative AI bot analytics card */
.card-perf-alt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perf-main-kpi {
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.12);
  background: radial-gradient(circle at top left, rgba(15,23,42,0.08), rgba(15,23,42,0.02));
}

.perf-main-number {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.perf-main-caption {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}

.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
}

.perf-item {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.01);
}

.perf-label {
  font-size: 11px;
  opacity: 0.65;
}

.perf-value {
  font-size: 14px;
  font-weight: 600;
  margin-top: 3px;
}

.perf-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.perf-plan-tag {
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  padding: 4px 10px;
  background: #fff;
}

@media (max-width: 960px) {
  .perf-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 600px) {
  .perf-grid {
    grid-template-columns: 1fr;
  }
}


/* AI Sessions block */
.sessions-card {display:flex;flex-direction:column;gap:16px;padding-bottom:6px;}
.sessions-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.session-box {padding:10px;border-radius:14px;border:1px solid rgba(0,0,0,.12);background:linear-gradient(135deg,rgba(0,0,0,.03),rgba(0,0,0,.06));}
.session-title {font-size:12px;opacity:.65;margin-bottom:4px;}
.session-profit {font-size:16px;font-weight:700;margin-bottom:6px;}
.session-bar {width:100%;height:6px;border-radius:6px;background:rgba(0,0,0,.08);overflow:hidden;}
.session-bar span {display:block;height:100%;background:#000;border-radius:6px;}
.sessions-note {font-size:11px;opacity:.6;margin-top:2px;}

@media(max-width:960px){.sessions-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){.sessions-grid{grid-template-columns:1fr;}}


/* Transactions header with action */
.dash-metric-head.head-with-action {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.dash-head-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.btn-small {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .dash-metric-head.head-with-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* Hero jelly drip */
.jelly-drip {
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  pointer-events: none;
  z-index: 0;
}

.jelly-svg {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: top center;
  will-change: transform;
}

.jelly-path {
  opacity: 0.98;
}

@media (max-width: 768px) {
  .jelly-drip {
    height: 180px;
  }
}


/* Language switcher */

.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-lang button {
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.8);
  padding: 6px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.nav-lang button.is-active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
@media (max-width: 920px) {
  .nav-lang {
    width: 100%;
    justify-content: center;
    margin: 8px 0 0;
  }
}


/* ===========================
   Bonus +30% modal
   =========================== */
.bonus-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(231,254,85,0.18), transparent 55%),
    rgba(5,6,10,0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease-out;
}

.bonus-modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.bonus-modal {
  position: relative;
  max-width: 480px;
  width: 100%;
  border-radius: 24px;
  padding: 28px 26px 26px;
  background:
    radial-gradient(circle at top left, rgba(231,254,85,0.18), transparent 60%),
    linear-gradient(135deg, rgba(15,23,42,0.96), rgba(7,10,18,0.96));
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(231,254,85,0.38);
  color: #fff;
  overflow: hidden;
  transform: translateY(16px) scale(.96);
  opacity: 0;
  animation: bonusModalIn .45s cubic-bezier(.19,1,.22,1) forwards;
}

@keyframes bonusModalIn {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bonus-modal-jelly {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 260px;
  height: 260px;
  background:
    radial-gradient(circle at 30% 20%, rgba(231,254,85,0.85), rgba(182,255,120,0.24), transparent 70%);
  filter: blur(2px);
  opacity: 0.8;
  pointer-events: none;
  animation: bonusJellyFloat 7s ease-in-out infinite alternate;
}

@keyframes bonusJellyFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-18px, 14px, 0);
  }
}

.bonus-modal-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  margin-bottom: 10px;
  padding-inline: 12px;
  background: rgba(15,23,42,0.78);
  border-radius: 999px;
  border: 1px solid rgba(231,254,85,0.6);
  box-shadow: 0 0 0 1px rgba(10,10,10,0.72);
}

.bonus-modal-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #E7FE55, #91ff6f);
  box-shadow: 0 0 0 4px rgba(231,254,85,0.28);
}

.bonus-modal-title {
  position: relative;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 4px 0 10px;
}

.bonus-modal-text {
  position: relative;
  font-size: 0.93rem;
  line-height: 1.5;
  color: rgba(241,245,249,0.92);
  margin-bottom: 12px;
}

.bonus-modal-list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 0.9rem;
}

.bonus-modal-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: rgba(226,232,240,0.96);
}

.bonus-modal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #E7FE55;
  box-shadow: 0 0 0 4px rgba(231,254,85,0.2);
}

.bonus-modal .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding-block: 11px;
}

.bonus-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.3);
  background: radial-gradient(circle at top, rgba(148,163,184,0.3), rgba(15,23,42,0.9));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(248,250,252,0.9);
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(15,23,42,0.45);
  transition:
    transform .14s ease,
    box-shadow .16s ease,
    border-color .16s ease,
    background .16s ease;
}

.bonus-modal-close span {
  transform: translateY(-1px);
}

.bonus-modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(226,232,240,0.55);
  box-shadow: 0 16px 26px rgba(15,23,42,0.55);
}

.bonus-modal-close:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(15,23,42,0.6);
}

html.has-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .bonus-modal {
    padding: 22px 18px 20px;
    border-radius: 20px;
  }
  .bonus-modal-title {
    font-size: 1.35rem;
  }
  .bonus-modal-text {
    font-size: 0.9rem;
  }
}

