/* ============================================================
   NINJADS — Performance Marketing Agency
   ============================================================ */

:root {
  --black: #0a0a0b;
  --black-soft: #111113;
  --panel: #161618;
  --panel-2: #1c1c1f;
  --border: #2a2a2e;
  --silver-100: #f2f2f3;
  --silver-300: #cfcfd2;
  --silver-500: #9a9a9e;
  --silver-700: #6c6c70;
  --accent: #8b96a1;
  --accent-2: #e3e7ea;
  --telegram: #4fa8dc;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--silver-100);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

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

.accent { color: var(--accent-2); }

/* subtle grain overlay for texture, matches logo's noisy grey fill */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.btn-primary {
  background: linear-gradient(135deg, #f4f5f6, #b7bcc2);
  color: #0a0a0b;
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-telegram {
  background: var(--telegram);
  color: #fff;
}
.btn-telegram:hover { transform: translateY(-2px); background: #5cb2e0; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--silver-100);
}
.btn-outline:hover { border-color: var(--silver-500); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--silver-300);
  clip-path: none;
  padding: 12px 14px;
}
.btn-ghost:hover { color: var(--silver-100); }

.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.brand-word {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--silver-100);
}
.brand-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
}
.footer-brand .brand-logo { height: 26px; }

.main-nav {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--silver-300);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--silver-100); }

.header-cta { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--silver-100);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 168px 0 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle, rgba(180,190,199,0.16) 0%, rgba(180,190,199,0) 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-500);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--silver-300);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--silver-500);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 100px;
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, var(--panel-2), var(--black-soft) 70%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 78%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55));
}

.stat-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(22,22,24,0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.72rem;
  color: var(--silver-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.stat-chip strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--silver-100);
  letter-spacing: 0.02em;
}
.chip-1 { top: 6%; left: -6%; }
.chip-2 { bottom: 14%; right: -10%; }
.chip-3 { bottom: -4%; left: 18%; }

/* marquee ticker */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black-soft);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 32s linear infinite;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--silver-700);
}
.marquee-track span:nth-child(2n) { color: var(--accent-2); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* angular section dividers, echoing the logo's slashed strokes */
.edge {
  height: 46px;
  background: var(--black-soft);
  position: relative;
}
.edge-down { clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%); }
.edge-up { clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%); }

/* ============ SECTION HEAD ============ */
.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0 0 14px;
  letter-spacing: 0.005em;
}
.section-sub { color: var(--silver-500); font-size: 1rem; max-width: 560px; }
.placeholder-note { font-style: italic; opacity: 0.8; }

/* ============ VALUES ============ */
.values { padding: 100px 0; background: var(--black-soft); }
.value-list { display: flex; flex-direction: column; }
.value-row {
  display: grid;
  grid-template-columns: 70px 1fr 60px;
  align-items: center;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.value-row:last-child { border-bottom: 1px solid var(--border); }
.value-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--silver-700);
}
.value-text h3 { margin: 0 0 8px; font-size: 1.25rem; }
.value-text p { margin: 0; color: var(--silver-500); max-width: 620px; }
.value-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  position: relative;
  justify-self: end;
}
.value-icon::before {
  content: "";
  position: absolute;
  inset: 13px;
  background: var(--silver-500);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

/* ============ SERVICES ============ */
.services { padding: 110px 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: var(--silver-700); transform: translateY(-4px); }
.service-card::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: var(--accent);
  opacity: 0.08;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}
.service-card-alt { background: var(--panel-2); }
.service-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.service-card-head h3 { margin: 10px 0 12px; font-size: 1.35rem; }
.service-card > p { color: var(--silver-500); margin: 0 0 20px; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  font-size: 0.92rem;
  color: var(--silver-300);
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--accent-2);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ============ SERVICE INCLUDES BAR ============ */
.service-includes {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.service-includes-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-500);
}
.service-includes-list { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============ WHITE HAT ============ */
.toolkit { padding: 110px 0; background: var(--black-soft); }

/* ============ PROCESS ============ */
.process {
  padding: 110px 0;
  position: relative;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process-step {
  border-top: 2px solid var(--border);
  padding-top: 20px;
  position: relative;
}
.process-step::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 34px; height: 2px;
  background: var(--accent-2);
}
.process-index {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--silver-700);
  display: block;
  margin-bottom: 10px;
}
.process-step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.process-step p { margin: 0; color: var(--silver-500); font-size: 0.92rem; }

/* ============ SUPPORT ============ */
.support { padding: 110px 0; background: var(--black-soft); }
.support-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.support-inner.flip { grid-template-columns: 1.2fr 0.8fr; }

.center-copy { text-align: center; }
.center-copy .section-sub { margin-left: auto; margin-right: auto; }
.center-copy .support-list li { justify-content: center; }
.support-ring {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: spin-slow 24s linear infinite;
}
.support-ring::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.support-img {
  width: 62%;
  animation: spin-slow-reverse 24s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-slow-reverse { to { transform: rotate(-360deg); } }

.support-list { margin: 26px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.support-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--silver-300); }
.check {
  color: var(--accent-2);
  font-weight: 800;
  flex-shrink: 0;
}

/* ============ STATS ============ */
.stats { padding: 100px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  background: var(--panel);
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--silver-100);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--silver-500);
}

/* ============ FAQ ============ */
.faq { padding: 110px 0; background: var(--black-soft); }
.faq-inner { max-width: 820px; }
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  color: var(--silver-100);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 22px 4px;
  cursor: pointer;
  text-align: left;
}
.accordion-icon {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.accordion-panel p {
  margin: 0 4px 22px;
  color: var(--silver-500);
  max-width: 680px;
}

/* ============ FINAL CTA / CONTACT ============ */
.final-cta { padding: 120px 0; }
.final-cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.final-cta h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin: 0 0 18px; }
.final-cta .section-sub { margin: 0 auto 32px; }

.contact-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.contact-card .btn-lg { min-width: 260px; }
.contact-handle {
  color: var(--silver-500);
  font-size: 0.92rem;
}
.contact-handle strong { color: var(--silver-100); }
.form-note { font-size: 0.78rem; color: var(--silver-700); margin: 4px 0 0; }

/* ============ TELEGRAM FAB ============ */
.telegram-fab {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--telegram);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  z-index: 90;
  transition: transform 0.2s ease;
}
.telegram-fab:hover { transform: translateY(-3px) scale(1.04); }
.telegram-fab svg { width: 26px; height: 26px; }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--black-soft);
  padding: 70px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: var(--silver-700); font-size: 0.88rem; margin: 16px 0 0; max-width: 260px; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--silver-500);
  margin: 0 0 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { color: var(--silver-500); font-size: 0.92rem; }
.footer-col a:hover { color: var(--silver-100); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--silver-700);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--silver-100);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent-2); }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto 20px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .support-inner,
  .support-inner.flip { grid-template-columns: 1fr; text-align: center; }
  .support-list { text-align: left; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--black-soft);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
  }

  .value-row { grid-template-columns: 44px 1fr; }
  .value-icon { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .telegram-fab { width: 48px; height: 48px; bottom: 18px; left: 18px; }
  .telegram-fab svg { width: 22px; height: 22px; }
  .back-to-top { bottom: 18px; right: 18px; }
}
