/* ================================================================
   ActionBot WP — Modular v3.0
   Design: Cyberpunk Dark SaaS
   Fonts: Chakra Petch (display) + Nunito (body) + JetBrains Mono
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  /* Surfaces */
  --c-bg:      #06060A;
  --c-s1:      #0D0D12;
  --c-s2:      #12121A;
  --c-s3:      #1A1A24;
  --c-s4:      #20202E;

  /* Blue — primary */
  --c-blue:    #2563EB;
  --c-blue-2:  #3B82F6;
  --c-blue-3:  #60A5FA;
  --c-blue-glo: rgba(37,99,235,0.3);
  --c-blue-dim: rgba(37,99,235,0.1);

  /* Gold — PRO accent */
  --c-gold:    #F59E0B;
  --c-gold-2:  #FCD34D;
  --c-gold-glo: rgba(245,158,11,0.28);
  --c-gold-dim: rgba(245,158,11,0.1);

  /* Neon cyan — highlight */
  --c-cyan:    #06B6D4;
  --c-cyan-dim: rgba(6,182,212,0.1);

  /* Green */
  --c-green:   #22C55E;
  --c-green-dim: rgba(34,197,94,0.1);

  /* Red */
  --c-red:     #EF4444;

  /* Text */
  --t1: #F4F4FF;
  --t2: #8888AA;
  --t3: #44445A;
  --t4: #22222E;

  /* Borders */
  --b1: rgba(255,255,255,0.06);
  --b2: rgba(255,255,255,0.1);
  --b3: rgba(255,255,255,0.04);

  /* Gold borders */
  --bg1: rgba(245,158,11,0.2);
  --bg2: rgba(245,158,11,0.35);

  /* Typography */
  --f-display: 'Outfit', system-ui, sans-serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', monospace;

  /* Spacing base */
  --gap: 12px;

  /* Radius */
  --r:    16px;
  --r-sm: 10px;
  --r-xs: 6px;
  --r-lg: 22px;

  /* Ease */
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease2: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   RESET + BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--t1);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
::selection { background: var(--c-blue); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 3px; background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--t4); border-radius: 3px; }

/* Grain texture */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.028;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23g)'/%3E%3C/svg%3E") repeat;
}

/* ================================================================
   LAYOUT
   ================================================================ */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
@media(min-width:640px) { .wrap { padding: 0 28px; } }
@media(min-width:1200px) { .wrap { padding: 0 40px; } }

section { padding: 72px 0; }
@media(min-width:768px) { section { padding: 100px 0; } }

/* ================================================================
   UTILITIES
   ================================================================ */

/* Labels / chips */
.lbl {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; border: 1px solid; line-height: 1.5;
  white-space: nowrap;
}
.lbl-blue  { color: var(--c-blue-3); border-color: rgba(59,130,246,0.25); background: var(--c-blue-dim); }
.lbl-gold  { color: var(--c-gold-2); border-color: var(--bg1);            background: var(--c-gold-dim); }
.lbl-cyan  { color: var(--c-cyan);   border-color: rgba(6,182,212,0.25);  background: var(--c-cyan-dim); }
.lbl-green { color: var(--c-green);  border-color: rgba(34,197,94,0.22);  background: var(--c-green-dim); }
.lbl-gray  { color: var(--t2);       border-color: var(--b2);             background: rgba(255,255,255,0.04); }

.lbl-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.lbl-dot-live { animation: dot-pulse 2s ease-in-out infinite; }
@keyframes dot-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.45;transform:scale(0.65)} }

/* Section header pattern */
.sh { margin-bottom: 44px; }
.sh--center { text-align: center; }
.sh--center .sh__lead { margin: 0 auto; }
.sh__eye { margin-bottom: 14px; }

.sh__h2 {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 12px;
}
.sh__h2 em { font-style: normal; color: var(--c-blue-3); }
.sh__h2 .gold { color: var(--c-gold-2); }

.sh__lead {
  font-size: 1rem; color: var(--t2); max-width: 520px; line-height: 1.75;
}
@media(min-width:768px) { .sh__lead { font-size: 1.05rem; } }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 16px 0; transition: all .3s var(--ease);
}
.nav.on {
  padding: 10px 0;
  background: rgba(6,6,10,0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--b1);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px; flex-shrink: 0;
}
.nav-mark {
  width: 32px; height: 32px; background: var(--c-blue); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 13px; color: #fff;
  box-shadow: 0 0 14px var(--c-blue-glo); flex-shrink: 0;
}
.nav-wordmark {
  font-family: var(--f-display); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.01em; line-height: 1;
}
.nav-wordmark span { color: var(--t3); }

.nav-links {
  display: none; gap: 26px; font-size: 0.82rem; font-weight: 500; color: var(--t2);
}
.nav-links a:hover { color: var(--t1); transition: color .2s; }
@media(min-width:900px) { .nav-links { display: flex; } }

.nav-ctas { display: flex; gap: 8px; align-items: center; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--f-body); font-weight: 700; border: none; cursor: pointer;
  border-radius: var(--r-sm); transition: all .2s var(--ease);
  white-space: nowrap; text-decoration: none; line-height: 1;
  position: relative; overflow: hidden;
}
.btn-sm  { font-size: 0.78rem; padding: 8px 16px; }
.btn-md  { font-size: 0.85rem; padding: 10px 20px; }
.btn-lg  { font-size: 0.92rem; padding: 13px 26px; border-radius: var(--r); }
.btn-xl  { font-size: 1rem;    padding: 15px 32px; border-radius: var(--r); }
.btn-full { width: 100%; }

.btn-blue {
  background: var(--c-blue); color: #fff;
  box-shadow: 0 2px 16px var(--c-blue-glo);
}
.btn-blue:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,99,235,0.5); }
.btn-blue:active { transform: translateY(0); }

.btn-gold {
  background: var(--c-gold); color: #000;
  box-shadow: 0 2px 16px var(--c-gold-glo);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(245,158,11,0.45); background: var(--c-gold-2); }

.btn-ghost { background: transparent; color: var(--t2); border: 1px solid var(--b2); }
.btn-ghost:hover { color: var(--t1); border-color: var(--b2); background: rgba(255,255,255,0.04); }

.btn-outline-gold {
  background: transparent; color: var(--c-gold-2); border: 1px solid var(--bg1);
}
.btn-outline-gold:hover { background: var(--c-gold-dim); border-color: var(--bg2); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 110px 0 60px; position: relative; overflow: hidden;
}
@media(min-width:768px) { .hero { padding: 140px 0 80px; } }

/* Cyberpunk grid */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(37,99,235,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 0%, transparent 100%);
}

/* Neon glows */
.hero-glow-1 {
  position: absolute; width: 700px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.14) 0%, transparent 65%);
  top: -150px; left: -200px; pointer-events: none;
  animation: glow-drift 14s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245,158,11,0.07) 0%, transparent 65%);
  bottom: 0; right: -100px; pointer-events: none;
  animation: glow-drift 18s ease-in-out infinite reverse;
}
@keyframes glow-drift {
  0%,100%{transform:translate(0,0)} 33%{transform:translate(24px,18px)} 66%{transform:translate(-16px,28px)}
}

/* Scan line */
.hero-scan {
  position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(37,99,235,0.5) 50%, transparent 100%);
  animation: scan 10s linear infinite;
}
@keyframes scan { 0%{top:-2px;opacity:0} 5%{opacity:1} 95%{opacity:.4} 100%{top:100%;opacity:0} }

.hero-body {
  position: relative; z-index: 1;
  display: grid; gap: 48px; align-items: center;
}
@media(min-width:900px) { .hero-body { grid-template-columns: 55% 1fr; gap: 60px; } }

/* Hero text */
.hero-badge { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }

.hero-h1 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.03;
  margin-bottom: 20px;
}
.hero-h1 em { font-style: normal; color: var(--c-blue-3); }
.hero-h1 .gold { color: var(--c-gold-2); }

.hero-sub {
  font-size: clamp(0.92rem, 2vw, 1.1rem);
  color: var(--t2); max-width: 500px; line-height: 1.75;
  margin-bottom: 32px; font-weight: 400;
}
.hero-sub strong { color: var(--t1); font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.hero-note {
  margin-top: 14px; font-size: 0.74rem; color: var(--t3);
  font-family: var(--f-mono); line-height: 1.6;
}
.hero-note b { color: var(--c-green); font-weight: 500; }
.hero-note .gold { color: var(--c-gold); }

.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--b1);
}
.hm { padding-right: 16px; }
.hm:not(:last-child) { margin-right: 16px; border-right: 1px solid var(--b1); }
.hm-n {
  font-family: var(--f-display); font-size: 1.9rem; font-weight: 900;
  letter-spacing: -0.05em; line-height: 1; color: var(--t1); margin-bottom: 4px;
}
.hm-n em { font-style: normal; color: var(--c-blue-3); }
.hm-n .gold { color: var(--c-gold-2); }
.hm-l { font-size: 0.72rem; color: var(--t2); line-height: 1.4; }

/* Hero visual */
.hero-visual { position: relative; }

/* Terminal window */
.term {
  background: var(--c-s2); border: 1px solid var(--b2); border-radius: var(--r-lg);
  overflow: hidden; position: relative; z-index: 2;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.07), 0 40px 80px rgba(0,0,0,0.7), 0 0 60px rgba(37,99,235,0.05);
}
.term-bar {
  display: flex; align-items: center; padding: 12px 16px; gap: 10px;
  background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--b1);
}
.term-dots { display: flex; gap: 5px; }
.td { width: 10px; height: 10px; border-radius: 50%; }
.td-r { background: #FF5F57; } .td-y { background: #FEBC2E; } .td-g { background: #28C840; }
.term-title { font-family: var(--f-mono); font-size: 0.68rem; color: var(--t3); margin: 0 auto; }
.term-body { padding: 14px; }

/* TG chat inside terminal */
.tg { font-family: var(--f-body); font-size: 0.75rem; }
.tg-top {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 1px solid var(--b1); margin-bottom: 11px;
}
.tg-av {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.tg-av-b { background: linear-gradient(135deg, #2563EB, #7C3AED); }
.tg-av-g { background: linear-gradient(135deg, #16A34A, #0891B2); }
.tg-av-a { background: linear-gradient(135deg, #D97706, #DC2626); }
.tg-nm { font-weight: 700; font-size: 0.78rem; line-height: 1.2; }
.tg-st { font-size: 0.63rem; color: var(--c-green); }

.tg-msgs { display: flex; flex-direction: column; gap: 6px; }
.msg-row {}
.bbl {
  display: inline-block; max-width: 90%; padding: 7px 11px;
  background: var(--c-s3); border: 1px solid var(--b1);
  border-radius: 10px 10px 10px 2px; font-size: 0.74rem;
  color: var(--t2); line-height: 1.5;
}
.bbl strong { color: var(--t1); font-weight: 600; }
.bbl.out {
  background: rgba(37,99,235,0.13); border-color: rgba(37,99,235,0.22);
  border-radius: 10px 10px 2px 10px; color: var(--t1);
  float: right; clear: both;
}
.bbl.ok { background: rgba(34,197,94,0.09); border-color: rgba(34,197,94,0.2); color: #BBF7D0; }
.bbl.gold-msg { background: rgba(245,158,11,0.09); border-color: rgba(245,158,11,0.2); color: var(--c-gold-2); }
.tm { font-size: 0.6rem; color: var(--t3); margin-top: 2px; }
.tm-r { text-align: right; clear: both; }
.cf::after { content:''; display:table; clear:both; }

.tg-kbd { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.tg-btn {
  width: 100%; padding: 7px 10px; border-radius: 6px; font-size: 0.71rem; font-weight: 600;
  text-align: center; font-family: var(--f-body);
  transition: all .15s;
}
.tg-btn-b { background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.22); color: var(--c-blue-3); }
.tg-btn-g { background: rgba(34,197,94,0.09); border: 1px solid rgba(34,197,94,0.2); color: #86EFAC; }
.tg-btn-a { background: rgba(245,158,11,0.09); border: 1px solid rgba(245,158,11,0.2); color: var(--c-gold-2); }

/* Floating badges */
.fbadge {
  position: absolute; z-index: 4;
  background: var(--c-s2); border: 1px solid var(--b2);
  border-radius: var(--r); padding: 9px 13px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  font-size: 0.72rem;
}
.fbadge-order {
  top: -14px; right: -16px;
  display: flex; align-items: center; gap: 8px; min-width: 170px;
  animation: fb-float 4s ease-in-out infinite, fadein .4s 1.2s both;
}
@media(min-width:900px) { .fbadge-order { right: -44px; } }
@keyframes fb-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes fadein { from{opacity:0;transform:scale(.9)} to{opacity:1;transform:scale(1)} }
.fb-ico { width: 26px; height: 26px; border-radius: 7px; display:flex;align-items:center;justify-content:center; font-size: 12px; flex-shrink:0; }
.fb-ico-g { background: var(--c-green-dim); }
.fb-ico-b { background: var(--c-blue-dim); }
.fb-lbl { font-size: 0.63rem; color: var(--t2); }
.fb-val { font-weight: 700; font-family: var(--f-mono); font-size: 0.76rem; }
.fb-val.g { color: var(--c-green); } .fb-val.b { color: var(--c-blue-3); }

.fbadge-speed {
  bottom: -12px; left: -12px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,0.07); border-color: rgba(34,197,94,0.2);
  animation: fadein .4s 1.5s both;
}
@media(min-width:900px) { .fbadge-speed { left: -36px; } }
.fbadge-speed span { color: var(--c-green); font-weight: 700; font-family: var(--f-mono); font-size: 0.78rem; }
.fbadge-speed small { color: var(--t2); font-size: 0.63rem; }

/* ================================================================
   FREE LIMITS BANNER
   ================================================================ */
.free-banner {
  background: var(--c-s1); border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1);
  padding: 20px 0;
}
.free-banner-inner {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
@media(min-width:640px) { .free-banner-inner { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; } }
.free-banner-title {
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500;
  color: var(--t2); text-transform: uppercase; letter-spacing: 0.07em; flex-shrink: 0;
}
.free-limits {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.fl-item {
  display: flex; align-items: center; gap: 6px;
  background: var(--c-s3); border: 1px solid var(--b1);
  border-radius: var(--r-xs); padding: 5px 10px;
  font-size: 0.74rem; font-weight: 600; color: var(--t2); white-space: nowrap;
}
.fl-item .num { color: var(--t1); font-family: var(--f-mono); }

/* ================================================================
   TICKER
   ================================================================ */
.ticker-bar {
  padding: 14px 0; overflow: hidden;
  border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1);
  background: rgba(13,13,18,0.8);
}
.ticker-track { display: flex; gap: 44px; width: max-content; animation: tick 40s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--t2); white-space: nowrap; }
.ticker-item strong { color: var(--t1); font-weight: 700; }
.tsep { width: 3px; height: 3px; background: var(--t4); border-radius: 50%; flex-shrink: 0; }
@keyframes tick { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ================================================================
   BENTO GRID — 5 BOT CARDS
   ================================================================ */
.bento { background: var(--c-bg); }

.bento-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: 1fr;
}
@media(min-width:640px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bc-seo { grid-column: 1 / 3; }
}
@media(min-width:1024px) {
  .bento-grid { grid-template-columns: repeat(12, 1fr); }
  .bc-seo     { grid-column: 1 / 6; }
  .bc-orders  { grid-column: 6 / 13; }
  .bc-price   { grid-column: 1 / 5; }
  .bc-stock   { grid-column: 5 / 9; }
  .bc-antispam{ grid-column: 9 / 13; }
}

/* Bot card */
.bc {
  background: var(--c-s1); border: 1px solid var(--b1);
  border-radius: var(--r-lg); padding: 24px;
  position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  display: flex; flex-direction: column;
}
@media(min-width:640px) { .bc { padding: 28px; } }

.bc:hover { border-color: var(--b2); transform: translateY(-3px); }

/* Top accent line on hover */
.bc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--bc-line, transparent); opacity: 0; transition: opacity .4s;
}
.bc:hover::before { opacity: 1; }
.bc-seo      { --bc-line: linear-gradient(90deg,transparent,var(--c-blue) 40%,var(--c-cyan) 60%,transparent); }
.bc-orders   { --bc-line: linear-gradient(90deg,transparent,#7C3AED 40%,var(--c-blue) 60%,transparent); }
.bc-price    { --bc-line: linear-gradient(90deg,transparent,var(--c-green) 50%,transparent); }
.bc-stock    { --bc-line: linear-gradient(90deg,transparent,var(--c-gold) 50%,transparent); }
.bc-antispam { --bc-line: linear-gradient(90deg,transparent,var(--c-red) 50%,transparent); }

/* Corner glow */
.bc::after {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%; pointer-events: none;
  background: var(--bc-glow, transparent); opacity: 0; transition: opacity .4s;
}
.bc:hover::after { opacity: 1; }
.bc-seo::after      { --bc-glow: radial-gradient(circle,rgba(37,99,235,0.1) 0%,transparent 70%); }
.bc-orders::after   { --bc-glow: radial-gradient(circle,rgba(124,58,237,0.1) 0%,transparent 70%); }
.bc-price::after    { --bc-glow: radial-gradient(circle,rgba(34,197,94,0.08) 0%,transparent 70%); }
.bc-stock::after    { --bc-glow: radial-gradient(circle,rgba(245,158,11,0.08) 0%,transparent 70%); }
.bc-antispam::after { --bc-glow: radial-gradient(circle,rgba(239,68,68,0.08) 0%,transparent 70%); }

/* Price tag in corner */
.bc-price-tag {
  position: absolute; top: 18px; right: 18px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
  z-index: 2;
}
.bc-free-label { font-family: var(--f-mono); font-size: 0.58rem; color: var(--c-green); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.3; }
.bc-pro-price  { font-family: var(--f-display); font-size: 0.78rem; font-weight: 700; color: var(--c-gold-2); }

/* Card header — right padding so title doesn't collide with price tag */
.bc-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; padding-right: 96px; }
.bc-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  border: 1px solid; margin-top: 2px;
}
.bc-seo      .bc-icon { background: rgba(37,99,235,0.1);   border-color: rgba(37,99,235,0.22); }
.bc-orders   .bc-icon { background: rgba(124,58,237,0.1);  border-color: rgba(124,58,237,0.22); }
.bc-price    .bc-icon { background: rgba(34,197,94,0.09);  border-color: rgba(34,197,94,0.2); }
.bc-stock    .bc-icon { background: rgba(245,158,11,0.09); border-color: rgba(245,158,11,0.2); }
.bc-antispam .bc-icon { background: rgba(239,68,68,0.09);  border-color: rgba(239,68,68,0.2); }

.bc-name {
  font-family: var(--f-display); font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 4px;
}
.bc-tagline { font-size: 0.74rem; color: var(--t2); line-height: 1.4; font-weight: 400; }

.bc-desc { font-size: 0.855rem; color: var(--t2); line-height: 1.7; margin-bottom: 14px; font-weight: 400; }

/* Free vs PRO comparison inside card */
.bc-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0;
}
/* Bottom row smaller cards: stack compare vertically */
.bc-price .bc-compare,
.bc-stock .bc-compare,
.bc-antispam .bc-compare {
  grid-template-columns: 1fr 1fr;
}
@media(max-width:480px) {
  .bc-compare { grid-template-columns: 1fr; }
}
.bc-col-label {
  font-family: var(--f-mono); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 7px; font-weight: 600;
}
.bc-col-free .bc-col-label { color: var(--t3); }
.bc-col-pro  .bc-col-label { color: var(--c-gold-2); }
.bc-col-pro  { background: rgba(245,158,11,0.04); border: 1px solid var(--bg1); border-radius: var(--r-sm); padding: 10px 11px; }
.bc-col-free { border: 1px solid var(--b1); border-radius: var(--r-sm); padding: 10px 11px; }

.bc-row { display: flex; align-items: flex-start; gap: 6px; font-size: 0.74rem; color: var(--t2); line-height: 1.45; margin-bottom: 5px; }
.bc-row:last-child { margin-bottom: 0; }
.bc-row b { color: var(--t1); font-weight: 600; }
.bc-tick { flex-shrink: 0; margin-top: 1px; font-size: 0.62rem; font-family: var(--f-mono); }
.bc-tick.f { color: var(--t3); }
.bc-tick.p { color: var(--c-gold); }

/* Mini TG interface proof */
.bc-tg-proof {
  background: var(--c-bg); border: 1px solid var(--b1); border-radius: var(--r-sm);
  padding: 11px 12px; margin-top: 14px; flex-grow: 1;
}
.btg-head { display: flex; align-items: center; gap: 7px; padding-bottom: 8px; border-bottom: 1px solid var(--b1); margin-bottom: 9px; }
.btg-av { width: 22px; height: 22px; border-radius: 50%; font-size: 10px; display:flex;align-items:center;justify-content:center; flex-shrink:0; }
.btg-nm { font-weight: 700; font-size: 0.72rem; }

.btg-msgs { display: flex; flex-direction: column; gap: 5px; }
.bmsg { font-size: 0.7rem; }
.bb {
  display: inline-block; padding: 5px 9px;
  background: var(--c-s3); border: 1px solid var(--b1);
  border-radius: 8px 8px 8px 2px; color: var(--t2); max-width: 95%; line-height: 1.45;
}
.bb strong { color: var(--t1); font-weight: 600; }
.bb.out { background: rgba(37,99,235,0.12); border-color: rgba(37,99,235,0.2); color: var(--t1); border-radius:8px 8px 2px 8px; float:right;clear:both; }
.bb.ok  { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.18); color:#BBF7D0; }
.bb.gd  { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.18); color:var(--c-gold-2); }
.bt-t { font-size: 0.58rem; color: var(--t3); margin-top: 2px; }
.bt-t.r { text-align:right; clear:both; }
.bcf::after { content:'';display:table;clear:both; }

.btg-kbd { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 7px; }
.bkey {
  flex: 1; min-width: 60px; padding: 5px 6px; border-radius: 5px; font-size: 0.65rem;
  font-weight: 600; text-align: center; white-space: nowrap;
  font-family: var(--f-body);
}
.bkey-b { background:rgba(37,99,235,0.1); border:1px solid rgba(37,99,235,0.2); color:var(--c-blue-3); }
.bkey-g { background:rgba(34,197,94,0.09); border:1px solid rgba(34,197,94,0.2); color:#86EFAC; }
.bkey-a { background:rgba(245,158,11,0.09); border:1px solid rgba(245,158,11,0.2); color:var(--c-gold-2); }
.bkey-r { background:rgba(239,68,68,0.09); border:1px solid rgba(239,68,68,0.2); color:#FCA5A5; }

/* ================================================================
   BUILD YOUR PLAN — INTERACTIVE CONFIGURATOR
   ================================================================ */
.configurator { background: var(--c-s1); border-top: 1px solid var(--b1); }

.cfg-grid {
  display: grid; gap: 24px;
}
@media(min-width:900px) { .cfg-grid { grid-template-columns: 1fr 360px; gap: 32px; align-items: start; } }

/* Module toggles */
.cfg-modules { display: flex; flex-direction: column; gap: 10px; }

.cfg-mod {
  display: flex; align-items: center; gap: 0;
  background: var(--c-s2); border: 1px solid var(--b1);
  border-radius: var(--r); overflow: hidden;
  cursor: pointer; transition: border-color .2s, background .2s;
  position: relative;
}
.cfg-mod:hover { border-color: var(--b2); }
.cfg-mod.active {
  border-color: var(--bg1);
  background: rgba(245,158,11,0.04);
}
.cfg-mod.active::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--c-gold); border-radius: 3px 0 0 3px;
}

.cfg-mod-check {
  width: 48px; height: 100%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  border-right: 1px solid var(--b1);
}

/* Custom checkbox */
.cfg-chk {
  width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0;
  border: 2px solid var(--b2); background: var(--c-s3);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-size: 11px; color: transparent;
}
.cfg-mod.active .cfg-chk { background: var(--c-gold); border-color: var(--c-gold); color: #000; }

.cfg-mod-body { flex: 1; padding: 14px 16px; min-width: 0; }
.cfg-mod-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cfg-mod-name { font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; white-space: nowrap; letter-spacing: -0.01em; }
.cfg-mod-price { font-family: var(--f-display); font-weight: 800; font-size: 0.84rem; color: var(--c-gold-2); white-space: nowrap; font-family: var(--f-mono); }
.cfg-mod-desc { font-size: 0.76rem; color: var(--t2); margin-top: 3px; line-height: 1.45; }
.cfg-mod-limit { font-family: var(--f-mono); font-size: 0.64rem; color: var(--c-green); margin-top: 4px; }

/* Summary card */
.cfg-summary {
  background: var(--c-s2); border: 1px solid var(--bg1);
  border-radius: var(--r-lg); padding: 24px;
  position: sticky; top: 80px;
}
.cfg-sum-title {
  font-family: var(--f-display); font-size: 0.75rem; font-weight: 600;
  color: var(--t2); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 20px;
}
.cfg-sum-line {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.8rem; padding: 8px 0; border-bottom: 1px solid var(--b1);
}
.cfg-sum-line:last-of-type { border-bottom: none; }
.cfg-sum-lbl { color: var(--t2); }
.cfg-sum-val { font-family: var(--f-mono); font-weight: 600; color: var(--t1); }
.cfg-sum-val.free-v { color: var(--c-green); }
.cfg-sum-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0 14px; border-top: 1px solid var(--bg1); margin-top: 4px;
}
.cfg-sum-total-lbl { font-family: var(--f-display); font-weight: 800; font-size: 0.9rem; color: var(--t1); }
.cfg-sum-total-num {
  font-family: var(--f-display); font-weight: 900; font-size: 2rem;
  letter-spacing: -0.05em; color: var(--c-gold-2); line-height: 1;
  transition: all .3s var(--ease);
}
.cfg-sum-total-num .per { font-size: 0.8rem; font-weight: 500; color: var(--t2); }
.cfg-note {
  font-size: 0.68rem; color: var(--t3); text-align: center; margin-top: 10px;
  font-family: var(--f-mono);
}

/* ================================================================
   INDEXING SPOTLIGHT
   ================================================================ */
.indexing { background: var(--c-bg); }

.idx-wrap {
  display: grid; gap: 48px; align-items: center;
}
@media(min-width:900px) { .idx-wrap { grid-template-columns: 1fr 1fr; gap: 60px; } }

.idx-bar-set { margin: 22px 0; display: flex; flex-direction: column; gap: 12px; }
.idx-b-row { }
.idx-b-head { display: flex; justify-content: space-between; font-size: 0.75rem; margin-bottom: 6px; }
.idx-b-head span { color: var(--t2); } .idx-b-head b { color: var(--t1); font-family: var(--f-mono); }
.idx-track { height: 6px; background: rgba(255,255,255,0.05); border-radius: 100px; overflow: hidden; }
.idx-fill { height: 100%; border-radius: 100px; transition: width 1.6s var(--ease); }
.idx-fill-full { background: linear-gradient(90deg, var(--c-blue), var(--c-cyan)); width: 100%; }
.idx-fill-part { background: rgba(37,99,235,0.3); width: 22%; }

.idx-stats { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.idx-stat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 15px; background: var(--c-s1); border: 1px solid var(--b1);
  border-radius: var(--r-sm); font-size: 0.8rem;
}
.idx-stat.hl { border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.05); }
.idx-stat-l { color: var(--t2); }
.idx-stat-v { font-family: var(--f-mono); font-weight: 600; }
.idx-stat.hl .idx-stat-v { color: var(--c-blue-3); }
.idx-stat .green { color: var(--c-green); }

/* Quota card visual */
.quota-card {
  background: var(--c-s2); border: 1px solid var(--b2);
  border-radius: var(--r-lg); padding: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 50px rgba(37,99,235,0.04);
}
.qcard-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.qcard-title { font-family: var(--f-display); font-weight: 800; font-size: 0.9rem; }
.qcard-reset { font-family: var(--f-mono); font-size: 0.63rem; color: var(--t3); }
.qcard-steps { display: flex; flex-direction: column; gap: 0; }
.qs {
  display: flex; gap: 13px; padding: 14px 0;
  border-bottom: 1px solid var(--b1);
}
.qs:last-child { border-bottom: none; }
.qs-num {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: var(--c-blue-dim); border: 1px solid rgba(37,99,235,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.63rem; font-weight: 700; color: var(--c-blue-3);
  font-family: var(--f-mono); margin-top: 1px;
}
.qs-ttl { font-weight: 700; font-size: 0.82rem; margin-bottom: 3px; }
.qs-desc { font-size: 0.76rem; color: var(--t2); line-height: 1.55; }

/* ================================================================
   WHY TELEGRAM
   ================================================================ */
.why-tg { background: var(--c-s1); border-top: 1px solid var(--b1); }

.why-grid {
  display: grid; gap: 12px;
}
@media(min-width:640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:900px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card {
  background: var(--c-s2); border: 1px solid var(--b1); border-radius: var(--r);
  padding: 20px; transition: border-color .25s, transform .25s var(--ease);
}
.why-card:hover { border-color: var(--b2); transform: translateY(-2px); }
.why-ico { font-size: 24px; margin-bottom: 12px; }
.why-title { font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; line-height: 1.3; letter-spacing: -0.01em; }
.why-desc { font-size: 0.8rem; color: var(--t2); line-height: 1.65; }
.why-num { font-family: var(--f-mono); font-size: 0.7rem; color: var(--c-cyan); margin-top: 10px; }

/* ================================================================
   COMPAT LOGOS
   ================================================================ */
.compat { background: var(--c-bg); padding: 48px 0; }
.compat-label { text-align: center; font-family: var(--f-mono); font-size: 0.65rem; color: var(--t3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.compat-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ci {
  display: flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: var(--t2);
  background: var(--c-s1); border: 1px solid var(--b1); border-radius: var(--r-sm);
  padding: 8px 14px; transition: border-color .2s, color .2s;
}
.ci:hover { border-color: var(--b2); color: var(--t1); }
.ci .em { font-size: 14px; }

/* ================================================================
   FAQ
   ================================================================ */
.faq { background: var(--c-s1); border-top: 1px solid var(--b1); }
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.fi {
  background: var(--c-s2); border: 1px solid var(--b1); border-radius: var(--r);
  overflow: hidden; transition: border-color .25s;
}
.fi.open { border-color: rgba(37,99,235,0.25); }
.fi-q {
  width: 100%; background: transparent; padding: 17px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-align: left; font-family: var(--f-body); font-size: 0.875rem; font-weight: 700;
  color: var(--t1); transition: color .2s; cursor: pointer; border: none;
}
.fi-q:hover { color: var(--c-blue-3); }
.fi-tog {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--b2); color: var(--t2); font-style: normal;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: all .3s var(--ease);
}
.fi.open .fi-tog { transform: rotate(45deg); border-color: var(--c-blue); color: var(--c-blue-3); background: var(--c-blue-dim); }
.fi-a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.fi.open .fi-a { max-height: 280px; }
.fi-body {
  padding: 0 20px 16px; border-top: 1px solid var(--b1); padding-top: 14px;
  font-size: 0.855rem; color: var(--t2); line-height: 1.72;
}
.fi-body strong { color: var(--t1); font-weight: 600; }

/* ================================================================
   FINAL CTA
   ================================================================ */
.cta-final {
  background: var(--c-bg); padding: 100px 0; text-align: center; overflow: hidden; position: relative;
}
.cta-final::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.1) 0%, transparent 68%);
  pointer-events: none;
}
.cta-in { position: relative; z-index: 1; }
.cta-h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900; letter-spacing: -0.045em; line-height: 1.05;
  margin-bottom: 14px;
}
.cta-h2 em { font-style: normal; color: var(--c-blue-3); }
.cta-sub { font-size: 1rem; color: var(--t2); margin-bottom: 36px; max-width: 440px; margin-left: auto; margin-right: auto; }
.cta-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.cp { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--t3); font-family: var(--f-mono); }
.cp b { color: var(--c-green); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--c-s1); border-top: 1px solid var(--b1); padding: 36px 0 24px; }
.footer-row { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media(min-width:640px) { .footer-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-mark { width: 24px; height: 24px; background: var(--c-blue); border-radius: 6px; display:flex;align-items:center;justify-content:center; font-family:var(--f-display);font-weight:700;font-size:11px;color:#fff; }
.footer-wordmark { font-family: var(--f-display); font-weight: 600; font-size: 0.85rem; }
.footer-wordmark span { color: var(--t3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.76rem; color: var(--t3); }
.footer-links a:hover { color: var(--t2); }
.footer-copy { font-size: 0.66rem; color: var(--t4); font-family: var(--f-mono); }

/* ================================================================
   ANIMATIONS & REVEAL
   ================================================================ */
@keyframes rise-in { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes slide-right { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:none} }

.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.d1{transition-delay:.06s} .d2{transition-delay:.12s} .d3{transition-delay:.18s}
.d4{transition-delay:.24s} .d5{transition-delay:.30s}

/* Hero entries */
.h-a1 { animation: rise-in .6s var(--ease) both; }
.h-a2 { animation: rise-in .65s var(--ease) .08s both; }
.h-a3 { animation: rise-in .65s var(--ease) .16s both; }
.h-a4 { animation: rise-in .65s var(--ease) .24s both; }
.h-a5 { animation: rise-in .65s var(--ease) .32s both; }
.h-vis{ animation: slide-right .8s var(--ease) .28s both; }

/* ================================================================
   MOBILE OVERFLOW GUARD
   ================================================================ */
img, video, iframe, .terminal, .quota-card { max-width: 100%; }

/* Touch targets */
.tg-btn, .bkey, .btn-sm { min-height: 36px; }

/* ── Small screens ── */
@media(max-width:480px) {
  .btn-xl { font-size: 0.9rem; padding: 13px 22px; }
  .cfg-mod-body { padding: 12px 13px; }
  .cfg-mod-name { font-size: 0.82rem; }
  .bc { padding: 18px 16px; }
  .bc-compare { grid-template-columns: 1fr; gap: 7px; }
  .bc-col-free, .bc-col-pro { padding: 8px 10px; }
  .bc-top { padding-right: 80px; }
}

/* ── Bento bottom row: at desktop widths the 4-col cards
       are ~280–290px wide — stack compare vertically there ── */
@media(min-width:1024px) {
  .bc-price .bc-compare,
  .bc-stock .bc-compare {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  /* Antispam has no compare at all so no change needed */
}

/* ── Mid breakpoint: 640–1023px the grid is 2-col ── */
@media(min-width:640px) and (max-width:1023px) {
  .bc-top { padding-right: 90px; }
}

/* ── Cfg mod: on very small screens wrap the price tag below name ── */
@media(max-width:400px) {
  .cfg-mod-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cfg-mod-name { white-space: normal; }
}

/* ── Hero metrics: don't let them squish below 320px ── */
@media(max-width:380px) {
  .hero-metrics { grid-template-columns: 1fr; gap: 14px; }
  .hm { padding-right: 0; margin-right: 0; border-right: none; border-bottom: 1px solid var(--b1); padding-bottom: 12px; }
  .hm:last-child { border-bottom: none; padding-bottom: 0; }
}

