:root {
  --bg: #06070d;
  --bg-soft: #0e1020;
  --card: #111426;
  --text: #ecf0ff;
  --muted: #a9b3d9;
  --line: rgba(236, 240, 255, 0.12);
  --accent: #9e8bff;
  --accent-2: #67d6ff;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(120% 95% at 15% 10%, #111826 0%, transparent 56%),
    radial-gradient(100% 90% at 82% 78%, #171420 0%, transparent 58%),
    linear-gradient(135deg, #070a12 0%, #0b1020 46%, #090d18 100%);
}

body {
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  scroll-behavior: smooth;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(34rem 30rem at 18% 22%, rgba(130, 165, 255, 0.08), transparent 72%),
    radial-gradient(30rem 26rem at 80% 70%, rgba(154, 124, 255, 0.06), transparent 74%),
    radial-gradient(24rem 22rem at 52% 36%, rgba(124, 182, 225, 0.05), transparent 76%);
  filter: blur(14px) saturate(0.92);
  animation: auroraShift 28s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 0.6px, transparent 0.6px),
    radial-gradient(rgba(255, 255, 255, 0.035) 0.6px, transparent 0.6px);
  background-size: 2px 2px, 3px 3px;
  background-position: 0 0, 1px 1px;
  mix-blend-mode: soft-light;
  opacity: 0.2;
  animation: noiseShift 0.45s steps(2) infinite;
}

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

.shader-bg-canvas {
  position: fixed !important;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0 !important;
  pointer-events: none;
  display: block;
  opacity: 0.2;
}

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

.bg-glow {
  display: none !important;
}

.bg-glow-1 {
  display: none !important;
}

.bg-glow-2 {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(7, 11, 23, 0.7);
  border-bottom: 1px solid var(--line);
  z-index: 30;
}

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

.logo {
  font-family: "Unbounded", sans-serif;
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
  text-shadow: 0 0 18px rgba(35, 213, 171, 0.2);
}

.logo span {
  color: var(--accent);
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.menu a:hover {
  color: var(--text);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #2be6ff);
  transition: right 0.22s ease;
}

.menu a:hover::after {
  right: 0;
}

.hero {
  padding: 78px 0 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  animation: heroIn 0.8s ease-out both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 10px;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
}

.hero-sub {
  color: var(--muted);
  max-width: 620px;
  margin: 14px 0 24px;
}

.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(35, 213, 171, 0.1), rgba(255, 159, 28, 0.08));
  border-radius: 20px;
  padding: 22px;
  animation: softFloat 7s ease-in-out infinite;
}

.hero-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--accent), #2be6ff);
  color: #07162a;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.18s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(35, 213, 171, 0.32);
  filter: saturate(1.08);
}

.btn::before {
  content: "";
  position: absolute;
  top: -140%;
  left: -20%;
  width: 32%;
  height: 360%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(18deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 118%;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.92rem;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 700;
  cursor: pointer;
}

.section {
  padding: 32px 0;
}

.section-head {
  margin-bottom: 16px;
  position: relative;
}

.section-head h2 {
  position: relative;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 86px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #2be6ff);
  opacity: 0.8;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.cards-single {
  grid-template-columns: repeat(1, minmax(0, 420px));
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  border-color: rgba(35, 213, 171, 0.42);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.tariff-card {
  cursor: pointer;
}

.tariff-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.card h3 {
  margin-bottom: 8px;
}

.price {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 2px 0 12px;
}

.old-price {
  margin: 8px 0 0;
  color: #9fa6c9;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.85;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--bg-soft);
}

.step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(35, 213, 171, 0.2);
  color: var(--accent);
}

.support-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(150deg, rgba(35, 213, 171, 0.08), rgba(255, 159, 28, 0.1));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.video-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #060c1d;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.video-caption {
  margin: 8px 12px 10px;
  color: var(--muted);
  font-weight: 700;
}

.hero-card:hover,
.support-box:hover,
.video-wrap:hover {
  border-color: rgba(35, 213, 171, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

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

.reveal-ready {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(7px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease,
    filter 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.22) translate3d(0, -18px, 0);
    opacity: 0.34;
  }
}

@keyframes fogDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-1.2%, 1.3%, 0) scale(1.03);
  }
  100% {
    transform: translate3d(1.3%, -1.1%, 0) scale(1.05);
  }
}

@keyframes lineFlow {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 0.58;
  }
  50% {
    transform: translate3d(-1.8%, 1.1%, 0) rotate(-1.2deg) scale(1.03);
    opacity: 0.78;
  }
  100% {
    transform: translate3d(1.6%, -1.2%, 0) rotate(1.1deg) scale(1.05);
    opacity: 0.58;
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes auroraShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.56;
  }
  50% {
    transform: translate3d(-1.4%, 0.8%, 0) scale(1.02);
    opacity: 0.68;
  }
  100% {
    transform: translate3d(1.2%, -0.9%, 0) scale(1.03);
    opacity: 0.58;
  }
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(-2%, 0, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate3d(2%, 1%, 0);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-2%, 0, 0);
    opacity: 0.6;
  }
}

@keyframes noiseShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(1px, -1px, 0);
  }
}

.long-text p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.5;
}

.long-text a {
  color: var(--accent);
}

.farm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.farm-source {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.farm-source a {
  margin-left: 8px;
}

.farm-text {
  position: relative;
  overflow: hidden;
}

.farm-text.collapsed {
  max-height: 280px;
}

.farm-text.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(to bottom, rgba(10, 15, 28, 0), rgba(10, 15, 28, 0.98));
  pointer-events: none;
}

.expand-btn {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.expand-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.expand-btn[aria-expanded="true"] .expand-arrow {
  transform: rotate(180deg);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal {
  display: grid;
  gap: 10px;
}

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

.input {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Manrope", sans-serif;
}

.form-msg {
  min-height: 22px;
  color: #ffd176;
  margin-top: 10px;
}

.policy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.policy-check input {
  margin-top: 2px;
}

.policy-check a {
  color: var(--accent);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  z-index: 80;
  padding: 16px;
}

.modal-card {
  width: min(470px, 100%);
  border: 1px solid var(--line);
  background: #0f1732;
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: none;
  font-size: 1.7rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.tab.active {
  border-color: rgba(35, 213, 171, 0.6);
}

.hidden {
  display: none !important;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

.footer-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--muted);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--text);
}

.legal-inline {
  padding-top: 6px;
}

.legal-inline-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1050px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cabinet-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .cabinet-grid {
    grid-template-columns: 1fr;
  }

  .support-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-row {
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
