:root {
  --green: #05aa6c;
  --green-dark: #008c59;
  --green-soft: #e9f8f2;
  --telegram: #2aabee;
  --text: #3f454e;
  --muted: #7c858e;
  --footer-link: #3f454e;
  --line: #e7ecef;
  --bg: #f6f8f9;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(31, 63, 54, 0.10);
  --shadow-hover: 0 28px 78px rgba(5, 170, 108, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(5, 170, 108, 0.10), transparent 24rem),
    linear-gradient(180deg, #f8fafb 0%, #ffffff 48%, #f6f8f9 100%);
}

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

button,
a {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 249, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 130px;
  height: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #d8dee2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-btn {
  min-width: 66px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.lang-btn:hover,
.lang-btn.is-active {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 24px rgba(5, 170, 108, 0.22);
}

.hero {
  padding: 48px 0 26px;
}

.hero-inner {
  max-width: 960px;
}

.hero h1 {
  margin: 0;
  max-width: 980px;
  color: var(--text);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero h1::after {
  content: "";
  display: block;
  width: min(360px, 68vw);
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), rgba(5, 170, 108, 0.25));
}

.subtitle {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
}

.products-section {
  padding: 26px 0 84px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(210, 219, 224, 0.75);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 10%, rgba(5, 170, 108, 0.12), transparent 15rem);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(5, 170, 108, 0.42);
  box-shadow: var(--shadow-hover);
  outline: none;
}

.product-card:hover::before,
.product-card:focus-visible::before {
  opacity: 1;
}

.product-logo-wrap,
.product-title,
.product-description,
.product-vpn-note,
.product-bot-link,
.product-cta {
  position: relative;
  z-index: 1;
}

.product-logo-wrap {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #edf2f4, 0 12px 30px rgba(31, 63, 54, 0.08);
}

.product-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.product-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  color: var(--green);
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.18;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.product-title:hover {
  color: var(--green-dark);
}

.product-title::after {
  content: "↗";
  font-size: 0.78em;
  transform: translateY(-1px);
}

.product-description {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.product-vpn-note {
  margin: -3px 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.product-bot-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--telegram);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
}

.product-bot-link:hover {
  text-decoration: underline;
}

.product-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(5, 170, 108, 0.22);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  color: var(--muted);
}

.footer-copy {
  white-space: nowrap;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-links a {
  color: var(--footer-link);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-social-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 42px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-logo {
    width: 112px;
  }

  .language-switcher {
    gap: 4px;
    padding: 4px;
  }

  .lang-btn {
    min-width: 54px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .hero {
    padding: 34px 0 22px;
  }

  .hero h1::after {
    height: 6px;
  }

  .products-section {
    padding-bottom: 56px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card {
    padding: 22px;
    border-radius: 22px;
  }

  .product-logo-wrap {
    width: 94px;
    height: 94px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0;
  }

  .footer-copy {
    white-space: normal;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
