/* ============================================================
   BotForge — Telegram automation landing page
   ============================================================ */

:root {
  --bg-0: #05070d;
  --bg-1: #0a0f1c;
  --bg-2: #0e1628;
  --bg-3: #131e36;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --ink-1: #f3f6ff;
  --ink-2: #b6c0d6;
  --ink-3: #7a869f;
  --ink-4: #4f5a72;

  --blue: #4d8bff;
  --blue-soft: #6ea2ff;
  --cyan: #5cf2ff;
  --violet: #9b7bff;
  --green: #4ce39a;
  --warn: #ff8e5c;
  --warn-2: #ff5e7a;

  --grad-hero: radial-gradient(60% 80% at 30% 20%, rgba(77, 139, 255, 0.22) 0%, transparent 60%),
               radial-gradient(50% 70% at 80% 30%, rgba(155, 123, 255, 0.18) 0%, transparent 60%),
               radial-gradient(60% 60% at 50% 100%, rgba(92, 242, 255, 0.10) 0%, transparent 70%);

  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -30px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(77, 139, 255, 0.3), 0 20px 60px -10px rgba(77, 139, 255, 0.35);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --container: 1240px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  background: var(--bg-0);
  color: var(--ink-1);
  line-height: 1.45;
  font-feature-settings: 'ss01' on, 'cv11' on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

.bg-stage {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(80% 50% at 50% -10%, rgba(77, 139, 255, 0.18), transparent 60%),
    radial-gradient(60% 40% at 90% 30%, rgba(155, 123, 255, 0.10), transparent 60%),
    radial-gradient(60% 40% at 10% 60%, rgba(92, 242, 255, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 40%, var(--bg-0) 100%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 80%);
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 16px; font-weight: 600;
}
.section-head p { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); margin: 0; max-width: 640px; }

.grad-text {
  background: linear-gradient(110deg, #ffffff 0%, #b8d2ff 40%, #5cf2ff 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  position: relative;
}
.btn-primary {
  background: linear-gradient(180deg, #6ea2ff 0%, #3b73e6 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 14px 40px -10px rgba(77, 139, 255, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 20px 50px -12px rgba(77, 139, 255, 0.75); }
.btn-ghost { background: var(--surface); border: 1px solid var(--border-2); color: var(--ink-1); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.25); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn .arrow { width: 14px; height: 14px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(5, 7, 13, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 32px; width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 17px; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #5cf2ff 0%, #4d8bff 50%, #9b7bff 100%);
  position: relative; box-shadow: 0 0 24px rgba(77, 139, 255, 0.5);
}
.logo-mark::before { content: ""; position: absolute; inset: 6px; border-radius: 4px; background: var(--bg-0); }
.logo-mark::after { content: ""; position: absolute; left: 9px; top: 9px; width: 10px; height: 10px; border-radius: 999px; background: linear-gradient(135deg, #5cf2ff, #4d8bff); box-shadow: 0 0 12px #5cf2ff; }

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 16px; }
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink-1); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  font-size: 13px; color: var(--ink-1); letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.lang-btn:hover { background: var(--surface-2); }
.lang-btn .chev { width: 12px; height: 12px; opacity: 0.7; transition: transform .2s; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 160px; padding: 6px;
  background: rgba(14, 22, 40, 0.95);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none; z-index: 60;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px; color: var(--ink-2); text-align: left;
}
.lang-menu button:hover { background: var(--surface-2); color: var(--ink-1); }
.lang-menu button[aria-current="true"] { color: var(--ink-1); background: var(--surface-2); }
.lang-menu .flag { width: 20px; height: 14px; border-radius: 2px; overflow: hidden; display: inline-block; flex-shrink: 0; }

.menu-btn {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 18px; height: 18px; }

.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0;
  background: rgba(5, 7, 13, 0.96);
  backdrop-filter: blur(20px);
  padding: 24px; z-index: 49;
  flex-direction: column; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 16px 12px; font-size: 18px; border-radius: 12px; color: var(--ink-1); }
.mobile-nav a:hover { background: var(--surface); }
.mobile-nav .btn { margin-top: 16px; height: 52px; }

/* HERO */
.hero { position: relative; padding: 80px 0 120px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% -5%;
  background: var(--grad-hero); z-index: -1; filter: blur(20px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.025em;
  margin: 22px 0 24px;
}
.hero-copy h1 .accent {
  background: linear-gradient(110deg, #5cf2ff, #6ea2ff 50%, #9b7bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); margin: 0 0 32px; max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-bens {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px; max-width: 520px; padding: 0; margin: 0;
}
.hero-bens li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.hero-bens .tick {
  width: 18px; height: 18px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(92, 242, 255, 0.3), rgba(77, 139, 255, 0.3));
  border: 1px solid rgba(92, 242, 255, 0.4);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-bens .tick svg { width: 10px; height: 10px; color: #5cf2ff; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 580px; }
.phone {
  position: relative;
  width: 320px; height: 640px;
  border-radius: 44px;
  background: linear-gradient(180deg, #1a2238 0%, #0c1322 100%);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 60px 120px -30px rgba(0,0,0,0.8),
    0 0 100px rgba(77, 139, 255, 0.18);
  transform: rotate(-2deg);
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  background: linear-gradient(180deg, #0a0f1c 0%, #0e1730 100%);
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 999px;
  background: #000; z-index: 2;
}
.chat-header {
  padding: 44px 16px 14px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(13, 20, 38, 0.6);
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 999px;
  background: linear-gradient(135deg, #5cf2ff, #4d8bff);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: #fff;
  position: relative; flex-shrink: 0;
}
.chat-avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px;
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--green); box-shadow: 0 0 0 2px #0e1730;
}
.chat-meta { display: flex; flex-direction: column; }
.chat-meta strong { font-size: 13px; font-weight: 500; }
.chat-meta span { font-size: 11px; color: var(--ink-3); }

.chat-body { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.msg { max-width: 78%; padding: 9px 12px; font-size: 12.5px; line-height: 1.35; border-radius: 14px; word-wrap: break-word; }
.msg.in { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--ink-1); }
.msg.out { background: linear-gradient(135deg, #4d8bff, #6ea2ff); align-self: flex-end; border-bottom-right-radius: 4px; color: white; box-shadow: 0 8px 24px -8px rgba(77, 139, 255, 0.6); }
.msg .time { display: block; font-size: 10px; opacity: 0.7; margin-top: 2px; }
.msg-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; align-self: flex-start; }
.chip { font-size: 11px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(92, 242, 255, 0.3); background: rgba(92, 242, 255, 0.06); color: var(--cyan); }
.typing { display: inline-flex; gap: 3px; padding: 10px 12px; background: rgba(255,255,255,0.06); border-radius: 14px; border-bottom-left-radius: 4px; align-self: flex-start; }
.typing span { width: 5px; height: 5px; border-radius: 999px; background: var(--ink-2); animation: typing 1.3s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

.chat-input { padding: 10px 12px 16px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; gap: 8px; align-items: center; }
.chat-input .field { flex: 1; height: 32px; background: rgba(255,255,255,0.05); border-radius: 999px; border: 1px solid rgba(255,255,255,0.06); }
.chat-input .send { width: 32px; height: 32px; border-radius: 999px; background: linear-gradient(135deg, #4d8bff, #6ea2ff); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-input .send svg { width: 14px; height: 14px; color: white; }

.float {
  position: absolute;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(14, 22, 40, 0.75);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
  font-size: 12px;
  display: flex; align-items: center; gap: 10px;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
  white-space: nowrap;
}
.float .ico { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float strong { font-size: 13px; font-weight: 500; display: block; }
.float span { color: var(--ink-3); font-size: 11px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-1 { top: 6%; left: -8%; animation-delay: 0s; }
.float-1 .ico { background: rgba(76, 227, 154, 0.15); color: var(--green); border: 1px solid rgba(76, 227, 154, 0.3); }
.float-2 { top: 38%; right: -10%; animation-delay: 1.5s; }
.float-2 .ico { background: rgba(77, 139, 255, 0.15); color: var(--blue-soft); border: 1px solid rgba(77, 139, 255, 0.3); }
.float-3 { bottom: 8%; left: -4%; animation-delay: 3s; }
.float-3 .ico { background: rgba(155, 123, 255, 0.15); color: var(--violet); border: 1px solid rgba(155, 123, 255, 0.3); }
.float-4 { bottom: 28%; right: -8%; animation-delay: 4.5s; }
.float-4 .ico { background: rgba(92, 242, 255, 0.15); color: var(--cyan); border: 1px solid rgba(92, 242, 255, 0.3); }
.float .ico svg { width: 16px; height: 16px; }

/* SOCIAL PROOF */
.proof { padding: 40px 0 80px; }
.proof-logos {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  padding: 28px 0; margin-bottom: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  opacity: 0.9;
}
.pl { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; letter-spacing: -0.01em; font-weight: 500; transition: color .2s, opacity .2s; }
.pl:hover { color: var(--ink-1); }
.pl-mark {
  width: 26px; height: 26px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
  color: #fff;
}
.pl-mark.m1 { background: linear-gradient(135deg, #4d8bff, #2d5fc4); }
.pl-mark.m2 { background: linear-gradient(135deg, #5cf2ff, #4d8bff); color: #05070d; }
.pl-mark.m3 { background: linear-gradient(135deg, #9b7bff, #5e3edb); }
.pl-mark.m4 { background: linear-gradient(135deg, #4ce39a, #1b9f6a); color: #05070d; }
.pl-mark.m5 { background: linear-gradient(135deg, #ff8e5c, #e85a2c); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat {
  padding: 28px; border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), transparent);
  position: relative; overflow: hidden;
}
.stat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(77, 139, 255, 0.18), transparent 60%); opacity: 0; transition: opacity .3s; }
.stat:hover::before { opacity: 1; }
.stat .num {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(110deg, #ffffff, #6ea2ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
  position: relative;
}
.stat .lbl { font-size: 14px; color: var(--ink-2); position: relative; }

/* PROBLEM */
.problem { background: linear-gradient(180deg, transparent 0%, rgba(255, 94, 122, 0.04) 50%, transparent 100%); }
.problem .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard {
  padding: 26px; border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 94, 122, 0.05), rgba(255, 94, 122, 0.0));
  position: relative; overflow: hidden;
}
.pcard .pico {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255, 142, 92, 0.12);
  border: 1px solid rgba(255, 142, 92, 0.25);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--warn); margin-bottom: 16px;
}
.pcard .pico svg { width: 18px; height: 18px; }
.pcard h3 { font-size: 17px; margin: 0 0 6px; font-weight: 500; }
.pcard p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* SOLUTION */
.solution-flow {
  margin: 0 0 32px;
  padding: 32px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: radial-gradient(60% 80% at 50% 0%, rgba(77, 139, 255, 0.10), transparent 60%), var(--surface);
  position: relative; overflow: hidden;
}
.flow-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: center; position: relative; }
.flow-step {
  text-align: center;
  padding: 22px 12px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2);
  position: relative; z-index: 2;
}
.flow-step .fico {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(77, 139, 255, 0.12);
  border: 1px solid rgba(77, 139, 255, 0.3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue-soft); margin: 0 auto 10px;
}
.flow-step .fico svg { width: 18px; height: 18px; }
.flow-step h4 { font-size: 14px; margin: 0; font-weight: 500; }
.flow-step .sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; display: block; }
.flow-connect { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(77,139,255,0.4), rgba(92,242,255,0.5), rgba(155,123,255,0.4), transparent); z-index: 1; }

.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sf { padding: 18px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; gap: 12px; transition: border-color .2s, background .2s; }
.sf:hover { border-color: var(--border-2); background: var(--surface-2); }
.sf .sfico { width: 36px; height: 36px; border-radius: 10px; background: rgba(92, 242, 255, 0.10); border: 1px solid rgba(92, 242, 255, 0.25); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sf .sfico svg { width: 16px; height: 16px; }
.sf strong { font-size: 14px; font-weight: 500; display: block; }

/* HOW IT WORKS */
.hiw { position: relative; }
.hiw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; padding-top: 24px; }
.hiw-grid::before {
  content: ""; position: absolute;
  top: 56px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,139,255,0.6), rgba(92,242,255,0.6), rgba(155,123,255,0.6), transparent);
  z-index: 0;
}
.step {
  position: relative;
  padding: 0 20px 24px;
  border-radius: var(--r-lg);
  text-align: left;
  z-index: 1;
}
.step .num {
  width: 64px; height: 64px; border-radius: 999px;
  background: linear-gradient(135deg, #4d8bff, #5cf2ff);
  color: white; font-weight: 600; font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 0 6px var(--bg-0), 0 0 40px rgba(77, 139, 255, 0.5);
  margin-bottom: 22px;
}
.step h3 { font-size: 18px; margin: 0 0 6px; font-weight: 500; }
.step p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* INDUSTRIES */
.industries-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ind {
  padding: 24px; border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s, background .25s;
}
.ind:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.ind .iico {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(77,139,255,0.18), rgba(155,123,255,0.18));
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cyan); margin-bottom: 14px;
}
.ind .iico svg { width: 20px; height: 20px; }
.ind h3 { font-size: 16px; margin: 0 0 4px; font-weight: 500; }
.ind p { font-size: 13px; color: var(--ink-3); margin: 0; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feat {
  padding: 20px; border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), transparent);
  transition: border-color .2s, background .2s, transform .2s;
}
.feat:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.feat .fico { width: 36px; height: 36px; border-radius: 10px; background: rgba(77, 139, 255, 0.10); border: 1px solid rgba(77, 139, 255, 0.25); color: var(--blue-soft); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feat .fico svg { width: 16px; height: 16px; }
.feat h4 { font-size: 15px; margin: 0 0 4px; font-weight: 500; }
.feat p { font-size: 13px; color: var(--ink-3); margin: 0; }

/* CASES */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case {
  padding: 28px; border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: radial-gradient(70% 60% at 100% 0%, rgba(77, 139, 255, 0.10), transparent 60%), var(--surface);
  position: relative; display: flex; flex-direction: column;
}
.case-tag {
  display: inline-flex; align-self: flex-start;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(92, 242, 255, 0.08);
  border: 1px solid rgba(92, 242, 255, 0.25);
  color: var(--cyan);
  margin-bottom: 16px;
}
.case h3 { font-size: 20px; margin: 0 0 14px; font-weight: 500; letter-spacing: -0.01em; }
.case .block { margin-bottom: 14px; }
.case .block .lbl { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.case .block p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 18px; }
.metric { padding: 12px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); text-align: center; }
.metric .v { font-size: 19px; font-weight: 600; background: linear-gradient(110deg, #fff, #6ea2ff); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.metric .k { font-size: 11px; color: var(--ink-3); }
.spark { margin-top: auto; height: 60px; border-radius: 12px; background: rgba(77, 139, 255, 0.04); border: 1px solid var(--border); padding: 8px; position: relative; overflow: hidden; }
.spark svg { width: 100%; height: 100%; }

/* VERSUS */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; }
.versus::after {
  content: "VS";
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--bg-0);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--ink-2); z-index: 5;
}
.vcol { padding: 32px; border-radius: var(--r-xl); border: 1px solid var(--border); }
.vcol.bad { background: linear-gradient(180deg, rgba(255, 94, 122, 0.06), transparent); }
.vcol.good { background: radial-gradient(80% 80% at 50% 0%, rgba(77, 139, 255, 0.14), transparent 60%), var(--surface); border-color: rgba(77, 139, 255, 0.25); }
.vcol h3 { font-size: 22px; margin: 0 0 4px; font-weight: 500; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.vcol .vsub { font-size: 13px; color: var(--ink-3); margin: 0 0 24px; }
.vcol ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.vcol li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.vcol.bad li { color: var(--ink-2); }
.vcol.good li { color: var(--ink-1); }
.vmark { width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vmark svg { width: 12px; height: 12px; }
.vcol.bad .vmark { background: rgba(255, 94, 122, 0.12); color: var(--warn-2); border: 1px solid rgba(255, 94, 122, 0.25); }
.vcol.good .vmark { background: rgba(76, 227, 154, 0.12); color: var(--green); border: 1px solid rgba(76, 227, 154, 0.3); }

/* PRICING */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  padding: 32px 28px; border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), transparent);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-2); }
.plan.featured {
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(77, 139, 255, 0.20), transparent 70%),
    linear-gradient(180deg, rgba(77, 139, 255, 0.06), transparent);
  border-color: rgba(77, 139, 255, 0.35);
  box-shadow: 0 30px 80px -30px rgba(77, 139, 255, 0.5);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5cf2ff, #4d8bff);
  color: white;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(77, 139, 255, 0.6);
}
.plan .pname { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.plan .pdesc { font-size: 13.5px; color: var(--ink-3); margin: 0 0 22px; min-height: 38px; }
.plan .pprice { display: flex; align-items: baseline; gap: 6px; margin: 0 0 24px; flex-wrap: wrap; }
.plan .pprice .from { font-size: 13px; color: var(--ink-3); }
.plan .pprice .val { font-size: 38px; font-weight: 600; letter-spacing: -0.025em; }
.plan .pprice .cur { font-size: 14px; color: var(--ink-2); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.plan li svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq-item { border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); overflow: hidden; transition: border-color .2s, background .2s; }
.faq-item:hover { border-color: var(--border-2); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-size: 16px; font-weight: 500;
  text-align: left; color: var(--ink-1);
}
.faq-q .plus {
  position: relative;
  width: 26px; height: 26px; border-radius: 999px;
  border: 1px solid var(--border-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .25s, background .25s, border-color .25s;
}
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--ink-2); transition: opacity .25s, transform .25s; }
.faq-q .plus::before { width: 12px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 12px; }
.faq-item.open .faq-q .plus { background: rgba(77, 139, 255, 0.15); border-color: rgba(77, 139, 255, 0.35); }
.faq-item.open .faq-q .plus::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 22px 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* FINAL CTA */
.final-cta { padding: 80px 0 96px; position: relative; }
.final-card {
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-2);
  background:
    radial-gradient(80% 80% at 20% 0%, rgba(77, 139, 255, 0.18), transparent 60%),
    radial-gradient(80% 80% at 80% 100%, rgba(155, 123, 255, 0.16), transparent 60%),
    rgba(14, 22, 40, 0.6);
  backdrop-filter: blur(14px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; position: relative; overflow: hidden;
}
.final-card h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 16px 0 16px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.final-card .lead { font-size: 16px; color: var(--ink-2); margin: 0 0 24px; max-width: 460px; }
.final-bens { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.final-bens li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-1); }
.final-bens li .tick {
  width: 20px; height: 20px; border-radius: 999px;
  background: rgba(76, 227, 154, 0.15);
  border: 1px solid rgba(76, 227, 154, 0.35);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.final-bens li .tick svg { width: 11px; height: 11px; }

.form-card { padding: 28px; border-radius: var(--r-lg); background: rgba(5, 7, 13, 0.5); border: 1px solid var(--border-2); backdrop-filter: blur(10px); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row label { font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); }
.form-row input, .form-row select, .form-row textarea {
  height: 46px; padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: rgba(5, 7, 13, 0.6);
  color: var(--ink-1); font-size: 14px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.form-row textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: rgba(77, 139, 255, 0.5); background: rgba(77, 139, 255, 0.05); }
.form-row select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%237a869f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--ink-3); margin-top: 12px; text-align: center; }

/* FOOTER */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--border); }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink-1); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); transition: color .2s, background .2s; }
.foot-social a:hover { color: var(--ink-1); background: var(--surface-2); }
.foot-social svg { width: 16px; height: 16px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; gap: 12px; }

/* STICKY MOBILE CTA */
.sticky-cta {
  display: none;
  position: fixed; bottom: 12px; left: 12px; right: 12px;
  z-index: 40;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.9);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
  align-items: center; gap: 10px;
}
.sticky-cta .text { flex: 1; font-size: 13px; color: var(--ink-1); }
.sticky-cta .btn { height: 40px; padding: 0 16px; font-size: 13px; }

/* Fade-in */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { min-height: 540px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .hiw-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .hiw-grid::before { display: none; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-right .nav-btn { display: none; }
  .menu-btn { display: inline-flex; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 96px; }
  .problem .grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-row { grid-template-columns: 1fr; gap: 8px; }
  .flow-connect { display: none; }
  .flow-step { padding: 14px; display: flex; align-items: center; gap: 12px; text-align: left; }
  .flow-step .fico { margin: 0; flex-shrink: 0; }
  .versus { grid-template-columns: 1fr; }
  .versus::after { display: none; }
  .final-card { grid-template-columns: 1fr; gap: 32px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 88px; }
  .container { padding: 0 18px; }
  .hero-bens { grid-template-columns: 1fr; }
  .phone { width: 280px; height: 560px; transform: rotate(0); }
  .float-1 { left: -4%; }
  .float-2 { right: -2%; }
  .float-3 { left: -2%; }
  .float-4 { right: -2%; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-logos { gap: 16px; }
  .stat { padding: 20px; }
  .case { padding: 22px; }
  .plan { padding: 26px 22px; }
  .hero-visual { min-height: 600px; }
  .phone { width: 260px; height: 520px; }
  .metric .v { font-size: 17px; }
}
