:root {
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 -0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

body {
  background: #0F0F1A;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, #7C6BFF 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, #22D3EE 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, #C084FC 0%, transparent 50%);
  animation: meshDrift 20s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

@keyframes meshDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3%, -2%) scale(1.05); }
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  background: var(--grain), linear-gradient(135deg, rgba(124, 107, 255, 0.08) 0%, rgba(34, 211, 238, 0.06) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card, .feature, .tile, .faq-item, .offer, .access {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(124, 107, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before, .feature::before, .tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grain);
  opacity: 0.4;
  pointer-events: none;
}

.card:hover, .feature:hover, .tile:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(124, 107, 255, 0.2), 0 0 0 1px var(--accent);
  transform: translateY(-2px);
}

.feature .icon, .access .icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: calc(var(--radius) * 1.2);
  box-shadow: 0 4px 16px rgba(124, 107, 255, 0.3);
}

.btn {
  border-radius: calc(var(--radius) * 1.5);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border: none;
  box-shadow: 0 4px 16px rgba(124, 107, 255, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(124, 107, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-1px) scale(1.02);
}

.btn-ghost {
  border: 1px solid var(--accent);
  background: rgba(124, 107, 255, 0.05);
}

.btn-ghost:hover {
  background: rgba(124, 107, 255, 0.15);
  box-shadow: 0 0 20px rgba(124, 107, 255, 0.3);
}

.badge {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: calc(var(--radius) * 2);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(124, 107, 255, 0.3);
}

.tab {
  border-radius: calc(var(--radius) * 1.2);
  transition: all 0.3s ease;
  font-weight: 600;
}

.tab.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 4px 12px rgba(124, 107, 255, 0.4);
}

.tile {
  background: var(--panel-2);
  border-radius: calc(var(--radius) * 1.2);
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.tile.noimg {
  background: linear-gradient(135deg, rgba(124, 107, 255, 0.12) 0%, rgba(34, 211, 238, 0.08) 100%), var(--panel-2);
}

.offer {
  background: linear-gradient(135deg, rgba(124, 107, 255, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%), var(--panel);
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(124, 107, 255, 0.3), 0 0 60px rgba(124, 107, 255, 0.2) inset;
}

.offer-badge {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  border-radius: calc(var(--radius) * 2);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.chip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.5);
  transition: all 0.3s ease;
}

.chip:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(124, 107, 255, 0.2);
}

.faq-q {
  font-weight: 600;
  border-radius: calc(var(--radius) * 1.2);
  transition: all 0.3s ease;
}

.faq-item:hover .faq-q {
  background: rgba(124, 107, 255, 0.08);
}

.site-header {
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.section {
  position: relative;
}