:root {
  color-scheme: dark;
  --bg-photo: url("./landing-bg.png");
  --bg: #06030a;
  --bg-accent:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(180, 40, 120, 0.35), transparent 55%),
    radial-gradient(circle at 12% 10%, rgba(255, 70, 150, 0.18), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(120, 40, 100, 0.2), transparent 36%);
  --panel: rgba(18, 8, 22, 0.72);
  --panel-border: rgba(255, 140, 200, 0.22);
  --text: #fff7fb;
  --muted: #d4b8cc;
  --primary: #ff2f89;
  --primary-strong: #e11b73;
  --secondary: rgba(255, 255, 255, 0.06);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font-display: "Outfit", Inter, system-ui, sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-xl: 32px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  width: 100%;
  font-family: var(--font-body);
  background: var(--bg);
  background-image: var(--bg-accent);
  color: var(--text);
}

body {
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

/* Atmosphere only — photo is a single layer on ::after (no tiling / no duplicate striping) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 88%, rgba(255, 44, 134, 0.12), transparent 35%),
    radial-gradient(circle at 18% 72%, rgba(100, 30, 80, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(6, 3, 10, 0.15) 0%, rgba(6, 3, 10, 0.85) 100%);
  z-index: 0;
}

/*
  Photo: full-bleed cover on the whole viewport (no side “black bars” from
  blending with body — avoid opacity on the whole layer; tint with gradient).
*/
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* If any edge peeks through, avoid pure black bars */
  background-color: #0a050c;
  /* Photo underlay + vignette: darker on the left for headline / CTAs */
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 3, 10, 0.92) 0%,
      rgba(6, 3, 10, 0.55) 36%,
      rgba(6, 3, 10, 0.22) 58%,
      rgba(6, 3, 10, 0.45) 100%
    ),
    linear-gradient(180deg, rgba(6, 3, 10, 0.35) 0%, rgba(6, 3, 10, 0.72) 100%),
    var(--bg-photo);
  background-size: cover, cover, cover;
  background-position: center, center, 68% 42%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  filter: saturate(1.08) contrast(1.04);
  z-index: 0;
}

html[lang="ka"] body {
  font-family: "Noto Sans Georgian", var(--font-body);
}

html[lang="ka"] h1,
html[lang="ka"] h2 {
  font-family: "Noto Sans Georgian", var(--font-display), sans-serif;
}

a {
  color: inherit;
}

.page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 22px 88px;
  position: relative;
  z-index: 1;
}

/* —— Top bar —— */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 28px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(12, 6, 14, 0.55);
  border: 1px solid rgba(255, 160, 210, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  flex-wrap: nowrap;
  min-width: 0;
}

.brand {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  text-transform: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-geo {
  color: #ff2d3d;
  text-shadow: 0 0 24px rgba(255, 45, 61, 0.35);
}

.brand-eskort {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.brand:hover .brand-geo {
  color: #ff5a66;
}

.brand:hover .brand-eskort {
  color: #ffffff;
}

.brand:hover {
  opacity: 0.98;
}

.lang-switcher {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 160, 210, 0.2);
  flex-shrink: 0;
}

.lang-switcher .lang-btn {
  appearance: none;
  margin: 0;
  padding: 7px 11px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lang-switcher .lang-btn:hover {
  color: var(--text);
}

.lang-switcher .lang-btn.active {
  background: linear-gradient(135deg, rgba(255, 80, 160, 0.45), rgba(200, 30, 100, 0.35));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 120, 190, 0.4);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 40px 36px 42px;
  border: 1px solid rgba(255, 140, 200, 0.18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(42, 12, 38, 0.24) 0%, rgba(14, 6, 16, 0.16) 100%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 80, 170, 0.12), transparent 70%);
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: hero-in 0.85s ease-out both;
  }

  @keyframes hero-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 120, 200, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(8, 4, 12, 0) 0%, rgba(8, 4, 12, 0.04) 100%);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 230, 245, 0.95);
  background: rgba(255, 60, 140, 0.18);
  border: 1px solid rgba(255, 140, 200, 0.28);
  backdrop-filter: blur(8px);
}

h1,
h2 {
  line-height: 1.12;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  line-height: 1.18;
}

.lead {
  max-width: 640px;
  margin: 20px 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(212, 184, 204, 0.95);
  line-height: 1.7;
}

/* KAMA platform logo — page bottom (same mark as kama.bz) */
.page-kama {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 140, 200, 0.12);
}

.page-kama-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  padding: 2px 2px 2px 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-kama-link:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.page-kama-link:focus-visible {
  outline: 2px solid rgba(255, 160, 220, 0.85);
  outline-offset: 4px;
}

.page-kama-logo {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 160, 210, 0.28);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.page-kama-name {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:focus-visible {
  outline: 2px solid rgba(255, 160, 220, 0.9);
  outline-offset: 3px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #ff52a8 0%, #ff2f89 48%, #c9155a 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 47, 137, 0.42);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ff6ab8 0%, #ff3e93 48%, #e01a68 100%);
  box-shadow: 0 16px 40px rgba(255, 47, 137, 0.5);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 160, 210, 0.35);
  color: #ffeef8;
}

.button-secondary:hover {
  background: rgba(255, 47, 137, 0.14);
  border-color: rgba(255, 140, 200, 0.55);
}

.notice {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(200, 170, 190, 0.95);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 720px;
}

.card h2 .brand-geo,
.card h2 .brand-eskort,
.card--info p .brand-geo,
.card--info p .brand-eskort {
  font-weight: 700;
}

/* —— Grid & cards —— */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid rgba(255, 140, 200, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(32, 10, 28, 0.75) 0%, rgba(12, 5, 14, 0.82) 100%);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 120, 190, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 100, 180, 0.12);
  }
}

.card h2 {
  margin-bottom: 18px;
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff4fa;
}

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

.card--feature li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: rgba(210, 185, 205, 0.98);
  font-size: 0.95rem;
  line-height: 1.5;
}

.card--feature li:last-child {
  margin-bottom: 0;
}

.card--feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5aa8, #d91666);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.card--feature li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.35em + 5px);
  width: 5px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.card p,
.card li {
  color: var(--muted);
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.link-list a::after {
  content: "→";
  opacity: 0.45;
  font-size: 0.9rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.link-list a:hover {
  border-color: rgba(255, 100, 180, 0.45);
  background: rgba(255, 47, 137, 0.1);
}

.link-list a:hover::after {
  opacity: 0.9;
  transform: translateX(4px);
}

.keyword-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 140, 200, 0.12);
}

.keyword-footer__text {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.6;
  color: rgba(160, 140, 155, 0.85);
  word-break: break-word;
  hyphens: auto;
}

/* TOP.GE: no frame — raw widget only */
.top-ge-counter {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 1px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.top-ge-counter iframe,
.top-ge-counter img {
  border: 0;
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .top-bar {
    padding: 8px 12px;
    gap: 8px 10px;
    border-radius: var(--radius-lg);
  }

  .brand {
    font-size: 1.02rem;
  }

  .lang-switcher .lang-btn {
    padding: 6px 9px;
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 18px 14px 56px;
  }

  .top-bar {
    padding: 7px 10px;
    margin-bottom: 20px;
  }

  .brand {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }

  .lang-switcher {
    padding: 2px;
  }

  .lang-switcher .lang-btn {
    padding: 5px 8px;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
  }

  .hero {
    padding: 26px 20px 28px;
    border-radius: 24px;
  }

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

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
