:root {
  --navy: #1A365D;
  --navy-deep: #12243F;
  --steel: #4A7FC1;
  --steel-dark: #3A68A4;
  --text: #2C3340;
  --muted: #5B6472;
  --bg: #FFFFFF;
  --alt: #F4F7FB;
  --border: #D9E1EC;
  --white: #FFFFFF;
  --radius: 14px;
  --font: Inter, system-ui, sans-serif;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--navy); }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.top-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 8px 0;
}

.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: var(--white); }
.top-bar__inner { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
}

.logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--steel); }

.nav__cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 10px;
}

.nav__cta:hover { background: var(--steel) !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid transparent;
  font-family: inherit;
  cursor: pointer;
}

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--steel); color: var(--white); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--full { width: 100%; }

.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at 90% 10%, rgba(74,127,193,.18), transparent 40%),
    linear-gradient(180deg, #F7FAFE 0%, #FFFFFF 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(26,54,93,.08);
  color: var(--navy);
  font-weight: 700;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

.hero__lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero__checks { list-style: none; color: var(--text); }
.hero__checks li { padding: 6px 0 6px 22px; position: relative; }
.hero__checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--steel);
}

.hero__panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(26,54,93,.08);
  text-align: center;
}

.hero__logo { height: 140px; width: auto; margin: 0 auto 12px; }
.hero__panel > p { color: var(--muted); font-size: .85rem; margin-bottom: 24px; }

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero__metrics div {
  background: var(--alt);
  border-radius: 12px;
  padding: 14px 8px;
}

.hero__metrics strong { display: block; color: var(--navy); font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 4px; }
.hero__metrics span { font-size: .72rem; color: var(--muted); line-height: 1.35; }

.section { padding: 84px 0; }
.section--alt { background: var(--alt); }
.section--navy { background: var(--navy); color: var(--white); }

.section__header { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__header--light { color: var(--white); }
.section__header--light p { color: rgba(255,255,255,.75); }

.section__label {
  display: inline-block;
  color: var(--steel);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section h2, .split h2, .contact h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section--navy h2 { color: var(--white); }
.section__header p, .split p { color: var(--muted); }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.info-card h3 { color: var(--navy); margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: .95rem; }

.info-card--dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.info-card--dark h3 { color: var(--white); }
.info-card--dark p { color: rgba(255,255,255,.75); }

.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.module-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.module-card p {
  color: var(--muted);
  font-size: .9rem;
}

.versions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.version-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.version-card--pro {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.version-card--pro h3,
.version-card--pro .version-card__lead { color: var(--white); }
.version-card--pro p { color: rgba(255,255,255,.78); }
.version-card--pro li { color: rgba(255,255,255,.88); }

.pill {
  display: inline-block;
  background: var(--alt);
  color: var(--navy);
  font-weight: 800;
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.pill--pro { background: var(--steel); color: var(--white); }

.version-card h3 { font-size: 1.5rem; color: var(--navy); }
.version-card__lead { font-weight: 600; margin: 6px 0 10px; color: var(--steel); }
.version-card ul { margin-top: 16px; padding-left: 18px; }
.version-card li { margin-bottom: 8px; }

.feature {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 36px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.feature--rev { direction: rtl; }
.feature--rev > * { direction: ltr; }

.feature h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 12px; }
.feature p { color: var(--muted); margin-bottom: 12px; }

.mini-list {
  list-style: none;
  background: var(--alt);
  border-radius: var(--radius);
  padding: 22px;
}

.mini-list li {
  padding: 8px 0 8px 18px;
  position: relative;
  font-weight: 600;
  color: var(--navy);
}

.mini-list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--steel);
  border-radius: 50%;
  position: absolute;
  left: 0; top: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 12px; }

.quote-stack blockquote {
  background: var(--alt);
  border-left: 4px solid var(--steel);
  padding: 24px;
  border-radius: 0 14px 14px 0;
  font-size: 1.05rem;
  color: var(--navy);
}

.muted { color: var(--muted); margin-top: 16px; font-size: .9rem; }

.prose { max-width: 820px; margin: 0 auto; color: var(--muted); }
.prose p { margin-bottom: 16px; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.contact-links a { font-weight: 700; color: var(--navy); }
.contact-links a:hover { color: var(--steel); }

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  gap: 14px;
}

.form label { font-weight: 600; font-size: .88rem; color: var(--navy); display: grid; gap: 6px; }

.form input, .form select, .form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(74,127,193,.18);
}

.form-note { font-size: .75rem; color: var(--muted); text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.2em; text-align: center; font-size: .88rem; margin: 8px 0 0; }
.form-status--ok { color: #15803d; }
.form-status--err { color: #b91c1c; }

.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 48px 0 20px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
}

.footer img { height: 44px; width: auto; margin-bottom: 12px; filter: none; }
.footer h4 { color: var(--white); margin-bottom: 12px; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.footer a { display: block; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer__copy { text-align: center; font-size: .8rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }

.fade-in { opacity: 0; transform: translateY(16px); transition: .5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__grid, .versions, .modules, .feature, .feature--rev, .split, .contact__grid, .cards-3, .footer__inner {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

.privacy-modal[hidden] { display: none !important; }
.privacy-modal {
  position: fixed; inset: 0; z-index: 300; display: flex;
  align-items: center; justify-content: center; padding: 20px;
}
.privacy-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 17, 23, .62); }
.privacy-modal__box {
  position: relative; width: min(680px, 100%); max-height: min(86vh, 760px);
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
  display: flex; flex-direction: column; overflow: hidden;
}
.privacy-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.privacy-modal__head h2 { font-size: 1.2rem; color: var(--navy); margin: 0; }
.privacy-modal__close {
  border: 0; background: transparent; font-size: 1.6rem; line-height: 1;
  cursor: pointer; color: var(--text); padding: 4px 8px;
}
.privacy-modal__body {
  padding: 20px 22px 28px; overflow-y: auto; color: var(--text);
  font-size: .92rem; line-height: 1.6;
}
.privacy-modal__body h3 { color: var(--navy); font-size: 1rem; margin: 18px 0 8px; }
.privacy-modal__body p, .privacy-modal__body li { margin-bottom: 8px; }
.privacy-modal__body ul { padding-left: 18px; }
.privacy-modal__updated { font-size: .8rem; color: var(--muted); margin-top: 20px; }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: #111827; color: #f3f4f6; border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1100px; margin: 0 auto; }
.cookie-banner p { font-size: .9rem; line-height: 1.5; margin: 0; }
.cookie-banner a { color: #93c5fd; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__btn { border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 700; cursor: pointer; font-family: inherit; }
.cookie-banner__btn--ok { background: #1A365D; color: #fff; }
.cookie-banner__btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
@media (max-width: 700px) { .cookie-banner__inner { flex-direction: column; align-items: stretch; } }
