/* GorecVPN Landing — self-contained */
:root {
  --navy: #0f1f3d;
  --navy-deep: #0a1528;
  --navy-mid: #1a2f55;
  --navy-soft: #243a66;
  --red: #c4161c;
  --red-hover: #a81218;
  --red-soft: rgba(196, 22, 28, 0.12);
  --white: #ffffff;
  --grey-50: #f6f7f9;
  --grey-100: #eef0f4;
  --grey-200: #dde1e8;
  --grey-400: #8b93a7;
  --grey-600: #5a6478;
  --text: #1a2336;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(15, 31, 61, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 31, 61, 0.14);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.logo__text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo__text span.gorec { color: var(--navy); }
.logo__text span.vpn { color: var(--red); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey-600);
  transition: color 0.2s;
}

.nav a:hover { color: var(--navy); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196, 22, 28, 0.35);
}
.btn--primary:hover { background: var(--red-hover); }

.btn--secondary {
  background: var(--navy);
  color: var(--white);
}
.btn--secondary:hover { background: var(--navy-mid); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--grey-200);
}
.btn--outline:hover {
  border-color: var(--navy);
  background: var(--grey-50);
}

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--ghost:hover { background: rgba(255,255,255,0.22); }

.btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn--block { width: 100%; }

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(196, 22, 28, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(15, 31, 61, 0.07), transparent 50%),
    linear-gradient(165deg, #f8f9fc 0%, #eef1f7 45%, #e8ecf4 100%);
  padding: 4.5rem 0 5rem;
}

.hero__mountains {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  pointer-events: none;
  opacity: 0.18;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--grey-600);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__note {
  font-size: 0.9rem;
  color: var(--grey-400);
}

.hero__card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-100);
}

.hero__card-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
}

.hero__features {
  display: grid;
  gap: 0.85rem;
}

.hero__feat {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--grey-50);
  border-radius: 12px;
}

.hero__feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.hero__feat strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}
.hero__feat span {
  font-size: 0.85rem;
  color: var(--grey-600);
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--grey-50);
}

.section__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.section__head p {
  color: var(--grey-600);
  font-size: 1.05rem;
}

/* —— Advantages —— */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.adv-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.adv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.adv-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.adv-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.adv-card p {
  color: var(--grey-600);
  font-size: 0.95rem;
}

/* —— Tariffs —— */
.tariffs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  align-items: stretch;
  padding-top: 0.75rem; /* room for "Популярный" badge */
}

.tariff {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.tariff--featured {
  border-color: var(--red);
  box-shadow: 0 12px 36px rgba(196, 22, 28, 0.15);
}

.tariff__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.tariff__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.35rem;
  margin-top: 0.35rem;
}

.tariff__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.tariff__price .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.tariff__price .currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.tariff__term {
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-bottom: 1.25rem;
}

.tariff__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.tariff__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text);
}

.tariff__list .mark {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  font-weight: 700;
}

.tariff__list .mark.ok { color: #1a8a4c; }
.tariff__list .mark.no { color: var(--red); }
.tariff__list .mark.dot { color: var(--navy-soft); }

.flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.flag-chip img {
  width: 18px;
  height: auto;
  border-radius: 2px;
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--grey-200);
  text-align: center;
  position: relative;
}

.step__num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}

.step h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step p {
  color: var(--grey-600);
  font-size: 0.95rem;
}

/* —— FAQ —— */
.faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 650;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--grey-400);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; color: var(--red); }

.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--grey-600);
  font-size: 0.95rem;
}

/* —— CTA band —— */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.cta-band p {
  opacity: 0.85;
  margin-bottom: 1.75rem;
  max-width: 28rem;
  margin-inline: auto;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.cta-band__mtns {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  opacity: 0.25;
  pointer-events: none;
}

/* —— Footer —— */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.footer__brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer__brand .name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}

.footer__brand .name .vpn { color: #ff6b6b; }

.footer p.desc {
  font-size: 0.9rem;
  max-width: 22rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.footer ul li { margin-bottom: 0.5rem; }
.footer a {
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer__bottom a { color: rgba(255,255,255,0.75); }
.footer__bottom a:hover { color: var(--white); }

/* —— Mobile nav —— */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--grey-200);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grey-100);
}

.mobile-nav .btn { margin-top: 0.5rem; }

body.nav-open { overflow: hidden; }

/* —— Responsive —— */
@media (max-width: 1024px) {
  .tariffs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav, .header__actions .btn--outline { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__card { max-width: 420px; margin-inline: auto; }
  .advantages { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 560px) {
  .tariffs { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 3.5rem; }
  .section { padding: 3.5rem 0; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .header__inner { min-height: 64px; }
  .logo img { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tariff, .adv-card { transition: none; }
}
.buy { margin-top: auto; }
.buy__label { margin: 0 0 .5rem; font-size: .85rem; color: #6b7280; text-align: center; }
.buy__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.buy__btns .btn { width: 100%; padding-left: .5rem; padding-right: .5rem; }
.buy__btns { gap: .75rem; }
@media (max-width: 640px) {
  .buy__btns { grid-template-columns: 1fr; gap: .75rem; }
  .buy__btns .btn { display: flex; justify-content: center; margin: 0; }
}
.footer__simple { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding-top:1.5rem; padding-bottom:1.5rem; }
.footer__simple .footer__brand { margin:0; }
.footer__btns { display:flex; gap:.6rem; }
.footer__btns .btn { padding:.6rem 1rem; }
.footer__simple { flex-wrap:nowrap; }
@media (max-width: 640px){ .footer__simple .name{font-size:1rem} .footer__btns{gap:.4rem} .footer__btns .btn{padding:.5rem .7rem;font-size:.85rem} }
.footer__copy{color:rgba(255,255,255,.65);font-size:.9rem;white-space:nowrap}
