/* ====== VARIABLES ====== */
:root {
  --accent: #E8000D;
  --accent-dark: #1a0000;
  --white: #FFFFFF;
  --gray: #9CA3AF;
  --gray2: #6B7280;
  --bg: #0A0A0A;
  --bg2: #111111;
  --bg3: #161616;
  --card: #141414;
  --border: #222222;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input { font-family: inherit; }

/* ====== CONTAINER ====== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== ANIMATIONS ====== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== TAG ====== */
.tag {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}
.tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent);
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: #cc000b;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 0, 13, 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--gray2);
  background: rgba(255,255,255,0.03);
}
.btn--full { width: 100%; }

/* ====== HEADER ====== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo small {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray2);
  margin-left: 4px;
}
.nav { display: flex; gap: 32px; }
.nav__link {
  font-size: 13px;
  color: var(--gray);
  transition: color 0.3s;
}
.nav__link:hover { color: var(--white); }
.header__cta { font-size: 13px; padding: 10px 24px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero elements are always visible (no scroll animation needed) */
.hero .fade-up,
.hero.fade-up {
  opacity: 1;
  transform: none;
}

/* ====== HERO ====== */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 60%, var(--accent-dark) 100%);
}
.hero__glow {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 0, 13, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero__content { flex: 1; }
.hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}
.accent { color: var(--accent); }
.hero__subtitle {
  font-size: 18px;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 15px;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.hero__highlight {
  background: var(--accent-dark);
  border: 1px solid #3a0000;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero__highlight p {
  font-size: 14px;
  line-height: 1.6;
}
.hero__buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero__trust {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.hero__trust-label {
  display: block;
  font-size: 11px;
  color: var(--gray2);
  margin-bottom: 10px;
}
.hero__trust-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.hero__trust-logos span {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}
.hero__trust-more {
  color: var(--gray2) !important;
  font-weight: 400 !important;
}
.hero__visual {
  width: 340px;
  flex-shrink: 0;
}

/* ====== HERO MONITOR COMPONENT ====== */
.monitor {
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-radius: 16px;
  overflow: hidden;
  width: 340px;
}
.mon-bar {
  background: #080808;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #141414;
}
.mon-dots { display: flex; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-r { background: #e02020; }
.dot-y { background: #333; }
.dot-g { background: #333; transition: background .4s; }
.mon-label { font-size: 9px; color: #333; letter-spacing: 2px; font-weight: 700; }
.live-badge { display: flex; align-items: center; gap: 4px; font-size: 9px; color: #4ade80; font-weight: 700; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.chart-area { position: relative; height: 120px; padding: 10px 14px 4px; background: #0a0a0a; }
.join-line { position: absolute; top: 8px; bottom: 18px; width: 1px; background: #e02020; left: 44%; opacity: .6; }
.join-tag { position: absolute; top: 6px; font-size: 8px; color: #e02020; font-weight: 700; background: #0a0a0a; padding: 0 3px; left: calc(44% - 16px); }
.chart-labels { display: flex; justify-content: space-between; font-size: 8px; color: #2a2a2a; padding: 0 14px 6px; }
.ba-row { display: flex; background: #080808; border-top: 1px solid #141414; }
.ba-btn { flex: 1; padding: 8px; text-align: center; font-size: 10px; font-weight: 700; cursor: pointer; color: #333; letter-spacing: .5px; transition: all .2s; border: none; background: none; font-family: inherit; }
.ba-btn.on { color: #fff; background: #0d0d0d; }
.ba-btn.on.b { color: #e02020; }
.ba-btn.on.a { color: #4ade80; }
.ba-sep { width: 1px; background: #141414; }
.met-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #141414; border-top: 1px solid #141414; }
.met-cell { background: #0d0d0d; padding: 11px 14px; }
.met-cell-label { font-size: 9px; color: #444; margin-bottom: 4px; font-weight: 600; letter-spacing: .5px; }
.met-cell-val { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.met-cell-val.red { color: #e02020; }
.met-cell-val.green { color: #4ade80; }
.met-cell-delta { font-size: 9px; font-weight: 700; margin-top: 2px; }
.stat-strip { display: flex; background: #060606; border-top: 1px solid #141414; }
.stat-strip-item { flex: 1; padding: 8px 10px; text-align: center; border-right: 1px solid #111; }
.stat-strip-item:last-child { border-right: none; }
.ssi-val { font-size: 15px; font-weight: 900; color: #e02020; }
.ssi-lbl { font-size: 8px; color: #333; margin-top: 1px; }
@keyframes countup { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

/* ====== SECTIONS ====== */
.section {
  padding: 80px 0;
  background: var(--bg2);
}
.section--compact {
  padding: 48px 0;
}

/* Founder cards */
.card--founder {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
}
.founder__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.founder__info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.founder__role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.founder__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.founder__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.founder__list li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.founder__list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.section--dark {
  background: var(--bg3);
}
.section__title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section__subtitle {
  font-size: 14px;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.section__head .section__title { margin-bottom: 0; }
.link--accent {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.3s;
}
.link--accent:hover { opacity: 0.7; }

/* ====== GRID ====== */
.grid {
  display: grid;
  gap: 12px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ====== CARD ====== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #333;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Numbers cards */
.card__number {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: inline;
}
.card__plus {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
}
.card__label {
  font-size: 14px;
  font-weight: 700;
  margin: 10px 0 6px;
}
.card__desc {
  font-size: 12px;
  color: var(--gray2);
  line-height: 1.6;
}

/* Icon card */
.card__icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ====== SERVICES ====== */
.card--service {
  display: flex;
  flex-direction: column;
}
.card--wide {
  grid-column: 1 / -1;
}
.service__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.service__badge {
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  font-size: 14px;
  padding: 5px 14px;
  border-radius: 6px;
}
.service__sub {
  font-size: 12px;
  color: var(--gray2);
}
.service__list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.service__list li {
  font-size: 12px;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
}
.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ====== STEPS ====== */
.card--step { padding: 20px; }
.step__num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ====== CASES ====== */
.case__client {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.case__niche {
  font-size: 12px;
  color: var(--gray2);
  margin-bottom: 20px;
}
.case__stats {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.case__stat {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  flex: 1;
}
.case__val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.case__label {
  font-size: 11px;
  color: var(--gray2);
}
.case__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.case__tag {
  background: var(--bg);
  color: var(--gray2);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ====== MARQUEE ====== */
.marquee {
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 32px;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee__track:hover {
  animation-play-state: paused;
}
.marquee__track .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.marquee__track .logo-item:hover {
  opacity: 1;
}
.marquee__track .logo-item img {
  height: 40px;
  width: auto;
  display: block;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====== PARTNERS ====== */
.partners__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.partner__badge {
  background: var(--accent-dark);
  border: 1px solid rgba(232, 0, 13, 0.3);
  border-radius: 10px;
  padding: 20px 40px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}


/* ====== REVIEWS ====== */
.review__stars {
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review__text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.review__author strong {
  display: block;
  font-size: 13px;
}
.review__author span {
  font-size: 11px;
  color: var(--gray2);
}

/* ====== CTA ====== */
.cta { background: var(--bg2); }
.cta__box {
  background: linear-gradient(135deg, #0f0000 0%, var(--bg) 60%);
  border: 1px solid #2a0000;
  border-radius: 16px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 0, 13, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.cta__text { flex: 1; }
.cta__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta__desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}
.cta__form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  width: 340px;
  flex-shrink: 0;
}
.cta__form-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}
.cta__form input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--white);
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.3s;
}
.cta__form input:focus {
  border-color: var(--accent);
}
.cta__form input::placeholder {
  color: var(--gray2);
}
.cta__form input.error {
  border-color: var(--accent);
  animation: shake 0.4s ease;
}
.cta__form .btn {
  margin-top: 4px;
}
.cta__form-note {
  text-align: center;
  font-size: 11px;
  color: var(--gray2);
  margin-top: 12px;
}
.form__success {
  display: none;
  text-align: center;
  font-size: 14px;
  color: #22c55e;
  font-weight: 600;
  margin-top: 16px;
  padding: 12px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-sm);
}
.form__success.show { display: block; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ====== FOOTER ====== */
.footer {
  background: var(--bg);
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand { max-width: 280px; }
.logo--footer { font-size: 22px; }
.footer__tagline {
  font-size: 12px;
  color: var(--gray2);
  margin-top: 4px;
}
.footer__desc {
  font-size: 13px;
  color: var(--gray);
  margin-top: 12px;
  line-height: 1.6;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray2);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 13px;
  color: var(--gray);
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--white); }
.footer__col a.accent { color: var(--accent); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer__bottom p {
  font-size: 12px;
  color: var(--gray2);
}
.footer__socials {
  display: flex;
  gap: 24px;
}
.footer__socials a {
  font-size: 12px;
  color: var(--gray2);
  transition: color 0.3s;
}
.footer__socials a:hover { color: var(--white); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__visual { display: none; }
  .team__row { flex-wrap: wrap; }
  .card--team-more { flex: 1 1 100%; }
  .footer__top { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  .nav.open { display: flex; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .hero { padding: 110px 0 60px; }
  .hero__title { font-size: 28px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .cta__box { padding: 32px 20px; }
  .cta__inner { flex-direction: column; }
  .cta__form { width: 100%; }
  .team__row { flex-direction: column; }
  .card--team-more {
    flex: unset;
    padding: 32px;
    flex-direction: row;
    gap: 12px;
  }
  .section__head { flex-direction: column; align-items: flex-start; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .case__stats { flex-direction: column; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; }
  .partners__row { flex-direction: column; }
}
