*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #080808; --bg2: #0c0d0c; --surface: #101110; --surface2: #161716;
  --accent: #c8f135; --accent2: #3dffc0;
  --text: #f0ede8; --muted: #6a6a66; --muted2: #3f4040;
  --border: rgba(255,255,255,0.08);
  --display: 'Oswald', 'Bebas Neue', sans-serif;
  --body: 'Geologica', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
body { background: var(--bg); color: var(--text); font-family: var(--body); font-weight: 300; line-height: 1.7; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
::selection { background: var(--accent); color: #080808; }
a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }

/* NAV */
nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 48px; background: rgba(8,8,8,0.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.logo { font-family: var(--display); font-size: 22px; letter-spacing: 0.04em; color: #fff; display: flex; align-items: center; gap: 10px; }
.logo-mark { color: var(--accent); }
.logo .wordmark i { font-style: normal; color: var(--accent); margin-left: 0.04em; }
.back { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.back:hover { color: var(--accent); opacity: 1; }

/* HERO */
.p-hero { padding: clamp(70px, 10vw, 120px) clamp(22px, 5vw, 80px) clamp(50px, 7vw, 90px); max-width: 1200px; margin: 0 auto; width: 100%; }
.p-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.p-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.p-title { font-family: var(--display); font-size: clamp(64px, 10vw, 130px); line-height: 0.9; color: #fff; letter-spacing: 0.01em; margin-bottom: 28px; }
.p-title em { color: var(--accent); font-style: normal; }
.p-sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); line-height: 1.65; max-width: 620px; margin-bottom: 44px; }
.p-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 50px; }
.p-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px; }
.p-cta { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #080808; background: var(--accent); padding: 14px 24px; border-radius: 100px; transition: transform 0.25s, box-shadow 0.25s; }
.p-cta:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200,241,53,0.25); }
.p-cta svg { transition: transform 0.3s; }
.p-cta:hover svg { transform: translateX(4px); }

/* STATS STRIP */
.p-stats { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.p-stats-inner { max-width: 1200px; margin: 0 auto; padding: 40px clamp(22px, 5vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.p-stat-val { font-family: var(--display); font-size: clamp(36px, 5vw, 52px); color: #fff; line-height: 1; margin-bottom: 6px; }
.p-stat-val span { color: var(--accent); }
.p-stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* MAIN CONTENT */
.p-content { max-width: 1200px; margin: 0 auto; padding: clamp(60px, 8vw, 100px) clamp(22px, 5vw, 80px); flex: 1; width: 100%; }
.p-section { margin-bottom: 72px; }
.p-section-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 20px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.p-section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.p-section h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); color: #fff; margin-bottom: 20px; font-weight: 400; letter-spacing: 0.02em; line-height: 1.05; }
.p-section p { font-size: 15.5px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.p-section p strong { color: var(--text); font-weight: 400; }

/* STEPS */
.p-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.p-step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px 26px 30px; }
.p-step-num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 14px; }
.p-step-title { font-family: var(--display); font-size: 20px; color: #fff; margin-bottom: 10px; font-weight: 400; letter-spacing: 0.02em; }
.p-step-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* FEATURE GRID */
.p-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.p-feature { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 24px 26px; }
.p-feature-icon { font-size: 22px; margin-bottom: 12px; }
.p-feature h3 { font-size: 15px; color: var(--text); margin-bottom: 8px; font-weight: 400; }
.p-feature p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* QUOTE */
.p-quote { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 10px; padding: 28px 32px; margin-top: 32px; }
.p-quote p { font-size: 16px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 14px; }
.p-quote-author { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* CTA BLOCK */
.p-cta-block { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 48px 44px; text-align: center; margin-top: 24px; }
.p-cta-block h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 52px); color: #fff; margin-bottom: 14px; font-weight: 400; }
.p-cta-block p { font-size: 15px; color: var(--muted); margin-bottom: 32px; line-height: 1.6; }

/* FOOTER */
footer { padding: 28px 48px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
footer .links { display: flex; gap: 22px; }
footer .links a { color: var(--muted); }
footer .links a:hover { color: var(--accent); opacity: 1; }

/* ===== FLOATING BUTTONS ===== */
.tg-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 52px; height: 52px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(200,241,53,0.4); transition: transform 0.25s, opacity 0.3s; text-decoration: none; opacity: 0; pointer-events: none; }
.tg-float.vis { opacity: 1; pointer-events: auto; }
.tg-float:hover { opacity: 1; transform: scale(1.1); }
.tg-float svg { color: #080808; }
.back-top { position: fixed; bottom: 92px; right: 30px; z-index: 200; width: 44px; height: 44px; background: var(--surface); border: 1px solid rgba(200,241,53,0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s; opacity: 0; pointer-events: none; color: var(--accent); }
.back-top.vis { opacity: 1; pointer-events: auto; }
.back-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* ===== VIDEO EMBED ===== */
.p-video-row { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; margin-top: 32px; }
.p-video-row > div:last-child { position: sticky; top: 100px; }
.p-video-frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: 0 8px 40px rgba(0,0,0,0.6); }
.p-video-frame iframe { display: block; width: 100%; height: auto; aspect-ratio: 9/16; border: none; }
.p-video-open { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; text-decoration: none; transition: color 0.2s; }
.p-video-open:hover { color: var(--accent); opacity: 1; }
.p-video-open svg { flex-shrink: 0; }

/* ===== DEMO WIDGET ===== */
.demo-widget { position: fixed; bottom: 152px; right: 28px; width: 290px; z-index: 190;
  background: #0d0e0d; border: 1px solid rgba(200,241,53,0.28); border-radius: 16px;
  overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  opacity: 0; transform: translateX(16px); transition: opacity 0.4s, transform 0.4s cubic-bezier(.16,1,.3,1); }
.demo-widget.ready { opacity: 1; transform: translateX(0); }
.demo-widget.collapsed .demo-body { display: none; }
.demo-head { display: flex; align-items: center; gap: 8px; padding: 10px 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(200,241,53,0.05); cursor: default; }
.demo-live { display: flex; align-items: center; gap: 5px; font-family: var(--mono);
  font-size: 9px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
.demo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: dpulse 1.4s ease-in-out infinite; }
@keyframes dpulse { 0%,100%{opacity:1} 50%{opacity:0.25} }
.demo-htitle { font-family: var(--mono); font-size: 10.5px; color: rgba(240,237,232,0.6); letter-spacing: 0.05em; flex: 1; }
.demo-toggle { background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 18px; line-height: 1; padding: 0; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center; transition: color 0.2s; }
.demo-toggle:hover { color: var(--accent); }
.demo-body { padding: 12px 13px; }
/* LeadHunter */
.lh-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.55; color: var(--text);
  animation: lhin 0.4s cubic-bezier(.16,1,.3,1); }
@keyframes lhin { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.lh-card-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 7px; }
.lh-card-row { color: var(--muted); font-size: 11.5px; margin-bottom: 1px; }
.lh-card-row span { color: var(--text); }
.lh-card-msg { margin: 7px 0; padding: 6px 8px; background: rgba(255,255,255,0.04); border-left: 2px solid rgba(200,241,53,0.3); border-radius: 4px; font-size: 11px; color: var(--muted); font-style: italic; line-height: 1.5; }
.lh-card-ai { font-family: var(--mono); font-size: 10px; color: var(--accent); margin-top: 6px; }
.lh-btns { display: flex; gap: 5px; margin-top: 8px; }
.lh-btn { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 5px 4px; font-size: 10px; color: var(--muted);
  text-align: center; cursor: default; }
.lh-stats { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.05em;
  text-transform: uppercase; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,0.05); }
.lh-stats b { color: var(--accent); font-weight: 400; }
/* Eagle Oil */
.eo-label { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 8px; }
.eo-input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 9px 12px; font-family: var(--mono); font-size: 12px;
  color: var(--text); outline: none; transition: border-color 0.2s; }
.eo-input::placeholder { color: var(--muted); }
.eo-input:focus { border-color: rgba(200,241,53,0.4); }
.eo-result { margin-top: 11px; min-height: 42px; }
.eo-thinking { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.05em; }
.eo-car { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.05em; margin-bottom: 4px; }
.eo-oils { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.eo-oils strong { color: var(--text); font-weight: 400; }
.eo-hint { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.03em; line-height: 1.7; }


/* Finance bot widget */
.fb-msg { font-size: 12px; color: var(--muted); font-style: italic; margin-bottom: 8px; padding: 6px 9px; background: rgba(255,255,255,0.04); border-left: 2px solid rgba(200,241,53,0.3); border-radius: 4px; line-height: 1.5; }
.fb-cat { font-size: 13px; color: var(--text); margin-bottom: 3px; }
.fb-pf { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-bottom: 8px; }
.fb-pf b { color: var(--accent); font-weight: 400; }
.fb-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 0; }
.fb-accs-label { font-size: 12px; color: var(--text); margin-bottom: 5px; }
.fb-accs { font-family: var(--mono); font-size: 10.5px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.fb-acc-row { display: flex; justify-content: space-between; }
.fb-acc-row span { color: var(--muted); }
.fb-total { font-family: var(--mono); font-size: 11px; color: var(--text); margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,0.06); }
/* Tenders widget */
.td-step { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.03em; padding: 3px 0; }
.td-step-in { animation: lhin 0.3s ease; }
.td-result { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); }
.td-run { width: 100%; margin-top: 10px; background: rgba(200,241,53,0.1); border: 1px solid rgba(200,241,53,0.3); border-radius: 8px; padding: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); cursor: pointer; transition: background 0.2s; }
.td-run:hover { background: rgba(200,241,53,0.2); }
/* Order bot widget */
.ob-item { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 12px; }
.ob-emoji { font-size: 16px; width: 22px; text-align: center; }
.ob-name { flex: 1; color: var(--text); font-size: 11.5px; }
.ob-price { font-family: var(--mono); font-size: 10px; color: var(--muted); white-space: nowrap; }
.ob-btn { background: rgba(200,241,53,0.12); border: 1px solid rgba(200,241,53,0.3); border-radius: 6px; padding: 3px 10px; font-family: var(--mono); font-size: 11px; color: var(--accent); cursor: pointer; min-width: 36px; transition: background 0.2s; }
.ob-btn:hover { background: rgba(200,241,53,0.25); }
.ob-total { display: flex; align-items: center; gap: 8px; margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.ob-total b { color: var(--accent); font-weight: 400; }
.ob-order { margin-left: auto; background: var(--accent); border: none; border-radius: 6px; padding: 4px 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; color: #080808; cursor: pointer; font-weight: 500; }
.ob-empty { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 8px; text-align: center; padding: 6px; }

@media (max-width: 720px) {
  nav { padding: 16px 22px; }
  .p-hero, .p-content { padding-left: 22px; padding-right: 22px; }
  .p-stats-inner { padding-left: 22px; padding-right: 22px; }
  .p-cta-block { padding: 32px 24px; }
  footer { padding: 24px 22px; flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 480px) { .demo-widget { right: 12px; left: 12px; width: auto; bottom: 152px; } }
@media (max-width: 560px) {
  .p-video-row { grid-template-columns: 1fr; }
  .p-video-row > div:last-child { position: static; }
  .p-video-frame { max-width: 240px; margin: 0 auto; }
  .p-video-frame iframe { min-height: unset; }
}
