/**
 * FinCpa — зелёно-чёрный бренд.
 */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap");

:root {
  --font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --cb-font: var(--font);
  --fincpa-brand: #22c55e;
  --fincpa-brand-dark: #16a34a;
  --fincpa-lime: #a3e635;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1160px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 16px 48px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.45);
  --glow: 0 8px 32px rgba(34, 197, 94, 0.4);
  --bg: #0a0a0a;
  --bg-muted: #111111;
  --text: #f0fdf4;
  --muted: #86efac;
  --line: rgba(34, 197, 94, 0.12);
  --primary: var(--fincpa-brand);
  --primary-hover: #4ade80;
  --primary-soft: rgba(34, 197, 94, 0.16);
  --brand-navy: #050505;
  --accent-blue: var(--fincpa-brand);
  --accent-cyan: #4ade80;
  --link: #4ade80;
  --cb-bg: var(--bg);
  --cb-surface: #111111;
  --cb-surface-2: #1a1a1a;
  --cb-text: var(--text);
  --cb-muted: #9ca3af;
  --cb-line: rgba(255, 255, 255, 0.08);
  --cb-primary: var(--fincpa-brand);
  --cb-primary-hover: var(--primary-hover);
  --cb-primary-soft: var(--primary-soft);
  --cb-radius: var(--radius);
  --cb-shadow: var(--shadow);
  --cb-input-bg: #141414;
  --cb-input-text: #f0fdf4;
  --cb-placeholder: #6b7280;
  --hero-dark: #030303;
}

[data-theme="light"] {
  --bg: #f0fdf4;
  --bg-muted: #dcfce7;
  --text: #052e16;
  --muted: #166534;
  --line: rgba(5, 46, 22, 0.1);
  --primary: #16a34a;
  --primary-hover: #15803d;
  --primary-soft: rgba(22, 163, 74, 0.14);
  --shadow: 0 2px 8px rgba(5, 46, 22, 0.06), 0 16px 48px rgba(5, 46, 22, 0.08);
  --cb-bg: var(--bg);
  --cb-surface: #ffffff;
  --cb-surface-2: #ecfdf5;
  --cb-muted: #4b5563;
  --cb-line: rgba(5, 46, 22, 0.1);
  --cb-input-bg: #fff;
  --cb-input-text: var(--text);
  --hero-dark: #030303;
}

html {
  font-family: var(--font);
}

body {
  font-family: var(--font);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(34, 197, 94, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(163, 230, 53, 0.06), transparent 50%);
}

/* —— Шапка —— */
.head {
  background: color-mix(in srgb, var(--cb-surface) 82%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  background: transparent;
  border-top: none;
}

.nav a {
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
}

.nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

/* Кнопки Zeydoo */
.btn {
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, #4ade80 0%, var(--fincpa-brand) 45%, var(--fincpa-brand-dark) 100%);
  border: none;
  color: #fff;
  box-shadow: var(--glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(34, 197, 94, 0.45);
}

.btn--ghost-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--ghost-hero:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Hero Zeydoo — тёмный блок */
.hero--zeydoo {
  padding: 0;
  margin: 0;
  background: var(--hero-dark);
  color: #fff;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.hero--zeydoo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 20% 120%, rgba(34, 197, 94, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(163, 230, 53, 0.1), transparent 45%);
  pointer-events: none;
}

.hero--zeydoo .hero__inner {
  position: relative;
  z-index: 1;
  padding: 56px 0 64px;
  grid-template-columns: 1fr 300px;
  gap: 48px;
}

.hero__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fincpa-lime);
}

.hero--zeydoo .hero__title {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 16px;
  -webkit-text-fill-color: unset;
  background: none;
}

.hero--zeydoo .hero__lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  max-width: 52ch;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.hero__chips span {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.hero--zeydoo .hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
}

.hero--zeydoo .hero-card__label {
  color: rgba(255, 255, 255, 0.55);
}

.hero--zeydoo .hero-card__val {
  color: #fff;
  font-size: 1.5rem;
}

.hero--zeydoo .hero-card__val--sm {
  font-size: 1rem;
  font-weight: 600;
}

.hero--zeydoo .hero-card--accent {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
}

.hero--zeydoo .hero-card--accent .hero-card__val {
  color: #4ade80;
}

/* Статистика */
.stats {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding-bottom: 40px;
  border: none;
}

.stats__grid {
  gap: 16px;
}

.stat-item {
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  background: var(--cb-surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-item__num {
  color: var(--fincpa-brand);
  font-size: 1.75rem;
  font-weight: 800;
}

/* Секции — карточки как у Zeydoo */
.h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.feat,
.step {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--cb-surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feat:hover,
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feat__title,
.step__title {
  font-weight: 700;
}

.step__num {
  background: linear-gradient(135deg, var(--fincpa-brand), var(--fincpa-brand-dark));
  width: 36px;
  height: 36px;
  font-size: 15px;
}

.section--muted {
  background: var(--bg-muted);
}

/* Офферы — плашки */
.plastic {
  border-radius: var(--radius-lg);
}

/* Футер */
.foot {
  background: var(--hero-dark);
  color: #cbd5e1;
}

/* —— Кабинет —— */
body.cb {
  font-family: var(--font);
}

.cb-sidebar {
  background: var(--cb-surface);
  border-right: 1px solid var(--cb-line);
}

.cb-topbar {
  background: color-mix(in srgb, var(--cb-surface) 92%, transparent);
  backdrop-filter: blur(12px);
}

.cb-btn--primary {
  background: linear-gradient(135deg, #4ade80, var(--fincpa-brand), var(--fincpa-brand-dark));
  color: #fff;
  border: none;
  box-shadow: var(--glow);
}

.cb-btn--primary:hover {
  transform: translateY(-1px);
}

.cb-card,
.cb-login-card,
.wm-offer-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cb-side-link.is-active {
  background: var(--primary-soft);
  color: var(--fincpa-brand);
  border-radius: 12px;
}

.wm-offer-card__reward-val,
.stat-item__num,
.hero-card__val {
  color: var(--fincpa-brand);
}

.wm-offers-filter.is-active {
  background: var(--primary-soft);
  color: var(--fincpa-brand);
  border-color: var(--fincpa-brand);
}

.cb-login-wrap {
  background: transparent;
}

.cb-login-card {
  border: 1px solid var(--cb-line);
  box-shadow: var(--shadow-lg);
}

.cb-login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.cb-field input:focus {
  border-color: var(--fincpa-brand);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

#fincpa-theme-float {
  display: none !important;
}

@media (max-width: 900px) {
  .hero--zeydoo .hero__inner {
    grid-template-columns: 1fr;
    padding: 40px 0 48px;
  }

  .stats {
    margin-top: 0;
  }
}
