/*
  VLT Host styles
  This stylesheet implements a modern dark theme inspired by Platix-host.eu
  with animated gradients, blurred light effects and responsive cards.
*/

/* Global variables for consistent theming */
:root {
  --bg-start: #05070b;
  --bg-end: #0b132b;
  --primary: #0066ff;
  --primary-light: #0ea5e9;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --card-bg: rgba(255, 255, 255, 0.02);
  --card-border: rgba(255, 255, 255, 0.1);
}

/* Reset styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at 25% 20%, var(--bg-end), var(--bg-start));
  background-size: 400% 400%;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  animation: gradient-shift 30s ease-in-out infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 50% 100%; }
  100% { background-position: 100% 50%; }
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(5, 7, 11, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: var(--text);
}
.logo span {
  color: var(--primary);
}

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

.btn {
  display: inline-block;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  user-select: none;
  border: none;
}
.btn.primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #ffffff;
}
.btn.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}
.btn.large {
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
}
.btn.full {
  width: 100%;
  text-align: center;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0 8rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}
.hero-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.hero-card p {
  color: var(--muted);
}

/* Decorative light behind hero */
.hero-light {
  pointer-events: none;
  position: absolute;
  top: -20%;
  right: -30%;
  width: 90rem;
  height: 90rem;
  background: radial-gradient(circle at center, var(--primary-light), transparent 60%);
  filter: blur(150px);
  opacity: 0.7;
  transform: rotate(25deg);
  animation: rotate-light 40s linear infinite;
}

@keyframes rotate-light {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Light animation within feature cards */
.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--primary-light), transparent 60%);
  opacity: 0.08;
  animation: card-light 10s linear infinite;
}

@keyframes card-light {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Fade-in animation when element becomes visible */
.feature-card.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Plans page */
.plans-section {
  padding: 5rem 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.plan-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--primary-light), transparent 60%);
  opacity: 0.06;
  animation: card-light 12s linear infinite;
}

.plan-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.plan-card .price {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  background: rgba(5, 7, 11, 0.6);
  border-top: 1px solid var(--card-border);
}

.footer span {
  color: var(--muted);
  font-size: 0.875rem;
}
/* =========================
   PATCHES (non-destructive)
   ========================= */
.logo img{height:28px;width:auto;max-width:28px;object-fit:contain;display:block}

/* Plans: button UNDER card */
.plan-wrap{display:flex;flex-direction:column;gap:1rem}

/* Feature hover pop + glow ring */
.feature-card{transition:transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease}
.feature-card::after{
  content:"";position:absolute;inset:-2px;border-radius:12px;opacity:0;pointer-events:none;
  box-shadow:0 0 0 2px rgba(14,165,233,.55),0 0 26px rgba(14,165,233,.45);
  transition:opacity 240ms ease
}
.feature-card:hover{transform:translateY(-6px) scale(1.01)}
.feature-card:hover::after{opacity:1}


/* =========================
   INTERACTION FIXES
   ========================= */
/* Fix: animated ::before layers were sitting above content and blocking clicks/typing */
.plan-card::before,
.feature-card::before {
  pointer-events: none;
  z-index: 0;
}
.plan-card > *,
.feature-card > * {
  position: relative;
  z-index: 1;
}

/* Software page: plan badge */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-size: .95rem;
}
.plan-badge strong {
  font-weight: 800;
}
.plan-badge.basic strong { color: var(--primary); }
.plan-badge.advanced strong { color: #a855f7; }
