/* ============================================================
   no11.digital — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #070710;
  --bg2:           #0B0F1A;
  --surface:       #111827;
  --surface2:      #1A2234;
  --surface3:      #1F2A40;
  --border:        #1E293B;
  --border2:       #334155;
  --text:          #F1F5F9;
  --text-sec:      #94A3B8;
  --text-muted:    #475569;
  --accent:        #00D4AA;
  --accent-light:  rgba(0,212,170,.14);
  --accent-glow:   rgba(0,212,170,.35);
  --red:           #EF4444;
  --orange:        #F59E0B;
  --blue:          #3B82F6;
  --purple:        #8B5CF6;
  --gold:          #C9A86A;
  --gold-light:    rgba(201,168,106,.15);
  --radius:        14px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --nav-h:         68px;
  --max-w:         1160px;
  --transition:    .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
ul { list-style: none; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

/* ── Utility ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-gold   { color: var(--gold); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px; border-radius: 99px;
  background: var(--accent-light); color: var(--accent);
  border: 1px solid rgba(0,212,170,.25);
  margin-bottom: 18px;
}
.tag.gold {
  background: var(--gold-light); color: var(--gold);
  border-color: rgba(201,168,106,.25);
}

h1 { font-size: clamp(36px,6vw,72px); font-weight: 900; line-height: 1.08; letter-spacing: -2px; }
h2 { font-size: clamp(28px,4vw,48px); font-weight: 800; line-height: 1.15; letter-spacing: -1.2px; }
h3 { font-size: clamp(18px,2.5vw,24px); font-weight: 700; line-height: 1.3; letter-spacing: -.4px; }
h4 { font-size: 16px; font-weight: 700; }

p { color: var(--text-sec); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; letter-spacing: .2px;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent); color: #000;
}
.btn-primary:hover { background: #00bfa0; transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--border2); color: var(--text-sec);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-gold {
  background: var(--gold); color: #000;
}
.btn-gold:hover { background: #b8965a; transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface2); color: var(--text);
}
.btn-ghost:hover { background: var(--surface3); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-hover { transition: var(--transition); }
.card-hover:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg,transparent,var(--border),transparent);
  margin: 0;
}

/* ── Glow dot ─────────────────────────────────────────────── */
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--text-muted);
}
.live-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(7,7,16,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav__inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 900; letter-spacing: -1px;
  color: var(--text);
}
.nav__logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #0A2219, #061410);
  border: 1.5px solid rgba(0,212,170,.5);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2px;
  box-shadow: 0 0 14px rgba(0,212,170,.2);
}
.nav__logo-mark svg { width: 26px; height: 26px; }

.nav__links {
  display: flex; align-items: center; gap: 4px;
}
.nav__links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-sec);
  transition: var(--transition);
}
.nav__links a:hover, .nav__links a.active {
  background: var(--surface); color: var(--text);
}

.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 6px;
}
.nav__burger span {
  width: 22px; height: 2px; background: var(--text-sec);
  border-radius: 2px; transition: var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; z-index: 899;
  background: rgba(11,15,26,.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column; gap: 4px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 16px; border-radius: 8px;
  font-size: 15px; font-weight: 600; color: var(--text-sec);
  transition: var(--transition);
}
.nav__mobile a:hover { background: var(--surface); color: var(--text); }
.nav__mobile .divider { margin: 12px 0; }

/* ── Page wrapper ─────────────────────────────────────────── */
.page-wrap { padding-top: var(--nav-h); }

/* ============================================================
   HERO (index)
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 0;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero__glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: .12;
}
.hero__glow--tl { width:600px;height:600px;top:-200px;left:-200px;background:var(--accent); }
.hero__glow--br { width:500px;height:500px;bottom:-200px;right:-100px;background:var(--blue); opacity:.08; }
.hero__glow--mid { width:400px;height:400px;top:40%;left:45%;background:var(--purple); opacity:.06; }

.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  position: relative; z-index: 1;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.hero__title { margin-bottom: 24px; }
.hero__title span { color: var(--accent); }
.hero__sub {
  font-size: 18px; line-height: 1.7; color: var(--text-sec); margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero__stat-num {
  font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -1px;
}
.hero__stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero__mockup {
  width: 100%; max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 60px rgba(0,212,170,.1);
}
.mockup__header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.mockup__logo { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.mockup__logo-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg,#0A2219,#061410);
  border: 1px solid rgba(0,212,170,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: #fff;
}
.mockup__body { padding: 18px; }
.ticker-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 8px;
  background: var(--bg2); margin-bottom: 8px;
  transition: var(--transition);
}
.ticker-row:hover { background: var(--surface3); }
.ticker-sym { font-size: 13px; font-weight: 700; }
.ticker-name { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.ticker-price { font-size: 14px; font-weight: 700; text-align: right; }
.ticker-chg  { font-size: 11px; font-weight: 600; }
.ticker-chg.up   { color: var(--accent); }
.ticker-chg.down { color: var(--red); }
.mockup__chart {
  background: var(--bg2); border-radius: 8px;
  padding: 14px; margin-top: 8px;
}
.mockup__chart-label {
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px;
}
.sparklines { display: flex; gap: 3px; align-items: flex-end; height: 48px; }
.sparkline-bar {
  flex: 1; border-radius: 2px 2px 0 0;
  background: var(--accent-light);
  border-top: 1px solid var(--accent);
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.service-icon.green  { background: var(--accent-light); }
.service-icon.gold   { background: var(--gold-light); }
.service-icon.blue   { background: rgba(59,130,246,.14); }
.service-icon.purple { background: rgba(139,92,246,.14); }
.service-card h3 { margin-bottom: 10px; }
.service-card p  { font-size: 14px; line-height: 1.7; }

/* ============================================================
   TICKER TABLE (markets / coffee)
   ============================================================ */
.ticker-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ticker-table__header {
  display: grid;
  padding: 12px 20px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .8px;
}
.ticker-table__row {
  display: grid;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.ticker-table__row:last-child { border-bottom: none; }
.ticker-table__row:hover { background: var(--surface2); }

/* 5-col: sym name sparkline price chg */
.tcols-5 { grid-template-columns: 80px 1fr 80px 90px 80px; }
/* 4-col: sym name price chg */
.tcols-4 { grid-template-columns: 90px 1fr 100px 90px; }

.tt-sym  { font-size: 13px; font-weight: 700; }
.tt-name { font-size: 12px; color: var(--text-muted); }
.tt-price { font-size: 14px; font-weight: 700; text-align: right; }
.tt-chg  { font-size: 12px; font-weight: 700; text-align: right; padding: 3px 8px; border-radius: 5px; display: inline-block; }
.tt-chg.up   { background: var(--accent-light); color: var(--accent); }
.tt-chg.down { background: rgba(239,68,68,.12); color: var(--red); }
.tt-spark { display: flex; align-items: center; }

/* Inline SVG sparkline */
.spark { overflow: visible; }

/* ============================================================
   COFFEE PAGE
   ============================================================ */
.coffee-hero {
  min-height: 420px; display: flex; align-items: center;
  background: linear-gradient(135deg, #0C1A0F 0%, #070710 60%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.coffee-hero__img {
  position: absolute; right: 0; top: 0; bottom: 0; width: 50%;
  background: url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?w=900&q=80') center/cover;
  opacity: .13;
  mask-image: linear-gradient(to left, rgba(0,0,0,.7), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.7), transparent);
}

/* ============================================================
   TRADEBOT
   ============================================================ */
.bot-feature {
  display: flex; gap: 18px;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.bot-feature:hover { border-color: var(--border2); }
.bot-feature__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.bot-feature h4 { margin-bottom: 6px; }
.bot-feature p  { font-size: 13px; line-height: 1.65; }

/* ============================================================
   APP / DOWNLOAD
   ============================================================ */
.apk-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 480px; margin: 0 auto;
}
.apk-icon {
  width: 80px; height: 80px; border-radius: 22px;
  background: linear-gradient(135deg,#0A2219,#061410);
  border: 1.5px solid rgba(0,212,170,.45);
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(0,212,170,.18);
}
.apk-meta { display: flex; gap: 24px; justify-content: center; margin: 24px 0; }
.apk-meta-item { text-align: center; }
.apk-meta-val { font-size: 18px; font-weight: 800; color: var(--text); }
.apk-meta-label { font-size: 11px; color: var(--text-muted); }
.apk-steps { text-align: left; margin-top: 28px; }
.apk-steps li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-sec);
}
.apk-steps li:last-child { border-bottom: none; }
.apk-step-num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}

/* ============================================================
   ACCESS / CONTACT
   ============================================================ */
.access-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 560px; margin: 0 auto;
}
.access-card h2 { margin-bottom: 12px; }
.access-card > p { margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 8px;
}
.form-input {
  width: 100%; padding: 13px 16px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 15px; font-family: inherit;
  transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--accent); }
.form-input::placeholder { color: var(--text-muted); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 72px 0 60px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, transparent 100%);
}
.page-hero .tag { margin-bottom: 20px; }

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title { margin-bottom: 48px; }
.section-title .tag { margin-bottom: 12px; }
.section-title h2 { margin-bottom: 14px; }
.section-title p { font-size: 16px; max-width: 560px; }
.section-title.text-center p { margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__brand p { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.7; }
.footer__brand .tag { margin-top: 16px; margin-bottom: 0; }
.footer__col h5 {
  font-size: 12px; font-weight: 700; color: var(--text);
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer__col ul li a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
}
.footer__bottom a { color: var(--text-muted); }
.footer__bottom a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta .btn-outline { display: none; }
  .nav__burger { display: flex; }
  .hero__grid  { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .tcols-5 { grid-template-columns: 70px 1fr 70px 80px; }
  .tcols-5 .tt-spark { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .access-card { padding: 28px 20px; }
  .apk-card    { padding: 28px 20px; }
  h1 { letter-spacing: -1.5px; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__stats   { flex-wrap: wrap; gap: 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .apk-meta { flex-wrap: wrap; gap: 16px; }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up .55s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .35s; }
.delay-4 { animation-delay: .5s; }

/* ── Number counter ───────────────────────────────────────── */
.counter { display: inline-block; }

/* ── Highlight gradient text ──────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #3B82F6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #E8C589 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  transform: translateY(80px); opacity: 0;
  transition: all .3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(0,212,170,.4); color: var(--accent); }
.toast.err { border-color: rgba(239,68,68,.5); color: var(--red); }

/* ── Tradebot — flagship nav & brand text ─────────────────── */
.nav__link--tradebot-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  position: relative;
}
.nav__link--tradebot-text {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(115deg, #23FFD0 0%, #00D4AA 28%, #A78BFA 62%, #60A5FA 100%);
  background-size: 160% 160%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tradebot-shimmer 7s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(35,255,208,.22));
}
.nav__link--tradebot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #23FFD0, #8B5CF6);
  box-shadow: 0 0 10px rgba(139,92,246,.65);
  flex-shrink: 0;
}
.nav__links a.nav__link--tradebot-wrap:hover {
  background: rgba(139,92,246,.1);
  box-shadow: inset 0 0 0 1px rgba(35,255,208,.18);
}
.nav__links a.nav__link--tradebot-wrap.active {
  background: linear-gradient(135deg, rgba(35,255,208,.12), rgba(139,92,246,.14));
  box-shadow: inset 0 0 0 1px rgba(167,139,250,.35), 0 0 24px rgba(0,212,170,.12);
}
.nav__mobile a.nav__link--tradebot-wrap:hover {
  background: rgba(139,92,246,.12);
}
.text-brand-tradebot {
  font-weight: 800;
  background: linear-gradient(115deg, #23FFD0 0%, #00D4AA 30%, #A78BFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(35,255,208,.2));
}

.tradebot-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  line-height: 1.12;
}
.tradebot-hero-title .word-no11 {
  color: var(--text);
  -webkit-text-fill-color: var(--text);
}
.tradebot-hero-title .word-tradebot {
  background: linear-gradient(115deg, #23FFD0 0%, #00D4AA 25%, #C4B5FD 55%, #60A5FA 100%);
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tradebot-shimmer 8s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(35,255,208,.28));
  position: relative;
}
.tradebot-hero-title .word-tradebot::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(35,255,208,.75), rgba(139,92,246,.65), transparent);
  opacity: .85;
  pointer-events: none;
}

@keyframes tradebot-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── News: skeleton, grid, modal ───────────────────────────── */
.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.news-update-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.news-update-pill .src-live { color: var(--accent); }
.news-update-pill .src-mock { color: var(--gold); }
.news-grid-flow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.news-card-inter {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  display: block;
}
.news-card-inter:hover,
.news-card-inter:focus-visible {
  border-color: rgba(167,139,250,.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  outline: none;
}
.news-card-inter:active { transform: translateY(-1px); }
.news-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.news-skel-card {
  height: 168px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 40%, var(--surface) 65%);
  background-size: 280% 100%;
  animation: news-skel 1.15s ease-in-out infinite;
  border: 1px solid var(--border);
}
@keyframes news-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.news-loader-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(0,212,170,.06);
  border: 1px solid rgba(0,212,170,.2);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.news-loader-bar .spin {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,212,170,.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.news-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(4,6,12,.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.news-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.news-modal {
  width: 100%;
  max-width: 560px;
  max-height: min(86vh, 720px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  transform: translateY(18px);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.news-modal-overlay.open .news-modal {
  transform: translateY(0);
}
.news-modal__head {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.news-modal__src {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .75px;
  color: var(--accent);
  margin-bottom: 6px;
}
.news-modal__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.3px;
  color: var(--text);
}
.news-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-sec);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-modal__close:hover {
  color: var(--text);
  border-color: var(--border2);
}
.news-modal__body {
  padding: 18px 22px 26px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sec);
  white-space: pre-wrap;
}
.news-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.news-modal__foot {
  padding: 14px 22px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.news-modal__foot .btn { flex: 1; justify-content: center; min-width: 120px; }
@media (min-width: 720px) {
  .news-modal-overlay {
    align-items: center;
  }
}
