/* ==========================================================================
   VIDONIA — Premium dark studio theme
   ========================================================================== */

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

:root {
  --bg: #05080d;
  --bg-2: #080d13;
  --panel: #0b121a;
  --panel-2: #0f171f;
  --line: #1a2632;
  --line-2: #273847;
  --text: #e8eef5;
  --muted: #7c8b9d;
  --muted-2: #566b7f;

  --cyan: #72f5d8;
  --cyan-2: #66ecff;
  --violet: #b899ff;
  --green: #7deeff;
  --amber: #ffcf7a;
  --red: #ff728c;
  --blue: #7cc7ff;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background FX ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(102, 236, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 236, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(102, 236, 255, .08), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(184, 153, 255, .07), transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(125, 238, 255, .05), transparent 45%);
}

.topbar, .hero, .features, .how, .download, .footer {
  position: relative;
  z-index: 1;
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 13, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.logo-mark {
  font-size: 20px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(102, 236, 255, .55));
}

.logo-text {
  font-size: 16px;
  background: linear-gradient(135deg, #ffffff, #b9e9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.topbar-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.topbar-nav a { color: var(--muted); transition: color .18s ease; }
.topbar-nav a:hover { color: var(--text); }

.btn-topbar {
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--panel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--cyan-2);
  transition: all .18s ease;
}
.btn-topbar:hover {
  border-color: var(--cyan-2);
  box-shadow: 0 0 22px rgba(102, 236, 255, .15);
}

/* ---------- Hero ---------- */
.hero { padding: 110px 0 90px; text-align: center; }

.hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--panel);
  color: var(--cyan-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.grad {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(102, 236, 255, .35));
}

.grad-violet {
  background: linear-gradient(135deg, var(--violet), #e7d9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(184, 153, 255, .35));
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 38px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 11px;
  background: linear-gradient(135deg, #12372f, #10323b);
  border: 1px solid #3d9e8a;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow:
    0 0 0 1px rgba(102, 236, 255, .05),
    0 10px 30px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: all .2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  border-color: #67d5bc;
  color: #c4fff0;
  box-shadow:
    0 0 24px rgba(102, 236, 255, .25),
    0 12px 34px rgba(0, 0, 0, .4);
}
.btn-primary .icon { font-size: 12px; }
.btn-primary.big { padding: 17px 40px; font-size: 15px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 24px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: all .2s ease;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: #54869a;
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section-head { text-align: center; margin-bottom: 54px; }
.section-kicker {
  display: inline-block;
  color: var(--cyan-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 850;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 15px; }

/* ---------- Features grid ---------- */
.features { padding: 70px 0 100px; }

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

.feature-card {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  text-align: left;
  transition: all .25s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(102, 236, 255, .04), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
}

.feature-card.active {
  border-color: rgba(125, 238, 255, .55);
  background: linear-gradient(180deg, #0a1a1f, #071019);
  box-shadow:
    0 0 0 1px rgba(125, 238, 255, .08),
    0 0 34px rgba(102, 236, 255, .12),
    inset 0 1px 0 rgba(255, 255, 255, .04);
}
.feature-card.active::before { opacity: 1; }
.feature-card.active:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 238, 255, .9);
  box-shadow:
    0 0 0 1px rgba(125, 238, 255, .14),
    0 0 50px rgba(102, 236, 255, .2);
}

.feature-card.disabled { opacity: .72; filter: saturate(.65); }
.feature-card.disabled:hover {
  opacity: .9;
  filter: saturate(.85);
  transform: translateY(-2px);
  border-color: var(--line-2);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 18px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
}

.icon-cyan   { color: var(--cyan-2); box-shadow: 0 0 18px rgba(102, 236, 255, .14); }
.icon-violet { color: var(--violet); box-shadow: 0 0 18px rgba(184, 153, 255, .14); }
.icon-amber  { color: var(--amber);  box-shadow: 0 0 18px rgba(255, 207, 122, .12); }
.icon-blue   { color: var(--blue);   box-shadow: 0 0 18px rgba(124, 199, 255, .14); }
.icon-green  { color: var(--green);  box-shadow: 0 0 22px rgba(125, 238, 255, .22); }
.icon-red    { color: var(--red);    box-shadow: 0 0 18px rgba(255, 114, 140, .14); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.badge-soon {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--muted-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  text-transform: uppercase;
}

.badge-live {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--green);
  text-shadow: 0 0 10px rgba(125, 238, 255, .55);
  animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; }
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 9px;
  border: 1px solid rgba(125, 238, 255, .5);
  background: rgba(18, 55, 47, .55);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  transition: all .2s ease;
}
.btn-card:hover {
  background: rgba(23, 70, 59, .8);
  border-color: rgba(125, 238, 255, .95);
  color: #c4fff0;
  box-shadow: 0 0 22px rgba(102, 236, 255, .28);
  transform: translateY(-1px);
}
.btn-card .icon { font-size: 10px; }

/* ---------- How it works ---------- */
.how { padding: 80px 0 100px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step {
  padding: 28px 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  transition: all .22s ease;
}
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }

.step-num {
  display: inline-block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--cyan-2), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(102, 236, 255, .35));
  margin-bottom: 12px;
}

.step h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* ---------- Download CTA ---------- */
.download { padding: 90px 0; text-align: center; }

.download-inner {
  max-width: 720px;
  padding: 56px 32px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(102, 236, 255, .08), transparent 55%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgba(102, 236, 255, .05),
    0 20px 60px rgba(0, 0, 0, .45);
}

.download h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 850;
  margin-bottom: 12px;
}
.download p { color: var(--muted); margin-bottom: 30px; font-size: 15px; }

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 13, .7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.footer .logo-text { font-size: 15px; font-weight: 800; letter-spacing: .16em; }
.footer p { color: var(--muted-2); font-size: 12.5px; margin-top: 8px; }

.footer-links { display: flex; gap: 24px; font-size: 13px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); transition: color .18s ease; }
.footer-links a:hover { color: var(--cyan-2); }

/* ---------- Clickable feature card ---------- */
a.feature-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

a.feature-card.active:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 238, 255, .9);
  box-shadow:
    0 0 0 1px rgba(125, 238, 255, .14),
    0 0 50px rgba(102, 236, 255, .2);
}

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  .topbar-nav { display: none; }
  .hero { padding: 70px 0 60px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .download-inner { padding: 40px 22px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .badge-live { position: static; display: inline-block; margin-bottom: 12px; }
}