/* ═══════════════════════════════════════════════════════════
   Zenith Usenet Uploader — Landing Page Styles
   Design System: Dark Cyberpunk / Glassmorphism
   ═══════════════════════════════════════════════════════════ */

/* Fonts loaded via HTML <link> for non-blocking render */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  --bg-primary: #0d0d14;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --bg-card: #1e1e36;
  --accent: #00d4ff;
  --accent-hover: #00b8d9;
  --accent-glow: rgba(0, 212, 255, 0.25);
  --accent-glow-strong: rgba(0, 212, 255, 0.5);
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --text-muted: #555577;
  --success: #00e676;
  --warning: #ffab00;
  --error: #ff1744;
  --border: #2a2a44;
  --orange: #ff6b35;
  --purple: #a855f7;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

/* ─── Animated Background ───────────────────────────────── */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-glow {
  position: fixed; z-index: 0; pointer-events: none;
  width: 600px; height: 600px; border-radius: 50%;
  filter: blur(150px); opacity: 0.15;
}
.bg-glow--1 { top: -200px; left: -100px; background: var(--accent); }
.bg-glow--2 { bottom: -200px; right: -100px; background: var(--purple); }

/* ─── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(13, 13, 20, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42, 42, 68, 0.5);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(13, 13, 20, 0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { height: 42px; width: auto; }
.nav__name {
  font-family: 'Orbitron', monospace; font-size: 1.1rem; font-weight: 700;
  color: var(--accent); letter-spacing: 2px;
}

.nav__links { display: flex; gap: 2rem; list-style: none; }
.nav__links a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.5px; position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 1rem; }
/* ─── Language Dropdown ─────────────────────────────────── */
.lang-dropdown { position: relative; }
.lang-dropdown__trigger {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.25);
  border-radius: 50px; padding: 6px 14px; cursor: pointer;
  transition: var(--transition); font-family: 'Inter', sans-serif;
}
.lang-dropdown__trigger:hover { background: rgba(0,212,255,0.15); border-color: var(--accent); }
.lang-dropdown__flag { font-size: 1.1rem; }
.lang-dropdown__label { font-size: 0.8rem; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.lang-dropdown__arrow { font-size: 0.7rem; color: var(--text-secondary); transition: transform 0.25s ease; }
.lang-dropdown.open .lang-dropdown__arrow { transform: rotate(180deg); }
.lang-dropdown__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  list-style: none; margin: 0; padding: 6px 0;
  background: rgba(15,15,30,0.95); backdrop-filter: blur(20px);
  border: 1px solid rgba(0,212,255,0.2); border-radius: 12px;
  min-width: 160px; opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 1000;
}
.lang-dropdown.open .lang-dropdown__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-dropdown__item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; color: var(--text-secondary);
  text-decoration: none; font-size: 0.85rem; font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.lang-dropdown__item:hover { background: rgba(0,212,255,0.1); color: var(--text-primary); }
.lang-dropdown__item.active { color: var(--accent); font-weight: 700; }
.lang-dropdown__item span { font-size: 1.15rem; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: var(--text-primary);
  margin: 5px 0; transition: var(--transition);
}

/* ─── Sections ──────────────────────────────────────────── */
.section {
  position: relative; z-index: 1;
  padding: 100px 2rem;
  max-width: 1200px; margin: 0 auto;
}
.section__label {
  font-family: 'Orbitron', monospace; font-size: 0.75rem; font-weight: 600;
  color: var(--accent); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section__title {
  font-family: 'Orbitron', monospace; font-size: 2.2rem; font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section__subtitle {
  color: var(--text-secondary); font-size: 1.05rem; max-width: 650px;
  line-height: 1.8;
}
.section__header { text-align: center; margin-bottom: 4rem; }
.section__header .section__subtitle { margin: 0 auto; }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding-top: 72px; position: relative; z-index: 1;
}
.hero__content { max-width: 800px; }
.hero__logo {
  width: 180px; height: auto; margin: 2rem auto 2rem;
  filter: drop-shadow(0 0 40px var(--accent-glow));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  border-radius: 50px; padding: 8px 20px; margin-bottom: 2rem;
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  animation: pulse-border 2s ease-in-out infinite;
}
@keyframes pulse-border {
  0%, 100% { border-color: rgba(0,212,255,0.3); box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { border-color: rgba(0,212,255,0.6); box-shadow: 0 0 20px 0 var(--accent-glow); }
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero__title {
  font-family: 'Orbitron', monospace; font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 1.5rem;
}
.hero__title span {
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 50%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__desc {
  font-size: 1.15rem; color: var(--text-secondary); max-width: 600px;
  margin: 0 auto 2.5rem; line-height: 1.8;
}
.hero__langs {
  display: inline-block; margin: 1rem auto 0.5rem;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.2);
  font-size: 0.85rem; color: var(--text-secondary);
  letter-spacing: 0.3px;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Notify Form ───────────────────────────────────────── */
.hero__notify {
  margin-top: 2.5rem; padding: 1.5rem 2rem;
  background: rgba(30, 30, 54, 0.5);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.hero__notify-label {
  font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem;
  color: var(--text-primary);
}
.hero__notify-form {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
}
.hero__notify-input {
  flex: 1; min-width: 250px; max-width: 400px;
  padding: 12px 20px; border-radius: 50px;
  background: rgba(13, 13, 20, 0.8);
  border: 1px solid var(--border); color: var(--text-primary);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  outline: none; transition: var(--transition);
}
.hero__notify-input::placeholder { color: var(--text-muted); }
.hero__notify-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}
.hero__notify-btn { padding: 12px 28px; font-size: 0.85rem; }
.hero__notify-hint {
  margin-top: 0.75rem; font-size: 0.78rem;
  color: var(--text-muted); font-style: italic;
}
.hero__notify-success p {
  margin-top: 2rem; padding: 1rem 1.5rem;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius); color: var(--success);
  font-weight: 600; font-size: 0.95rem;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: none;
  transition: var(--transition); letter-spacing: 0.5px;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0099cc 100%);
  color: #0d0d14; box-shadow: 0 4px 20px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow-strong);
  color: #0d0d14;
}
.btn--outline {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-2px);
}

/* ─── Feature Cards ─────────────────────────────────────── */
.features__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.feature-card {
  background: rgba(30, 30, 54, 0.6);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; transition: var(--transition);
  backdrop-filter: blur(10px); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px); border-color: rgba(0,212,255,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px var(--accent-glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2);
}
.feature-card__title {
  font-family: 'Orbitron', monospace; font-size: 1rem; font-weight: 600;
  margin-bottom: 0.75rem; color: var(--text-primary);
}
.feature-card__desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ─── Screenshots Carousel ──────────────────────────────── */
.carousel { position: relative; margin-top: 2rem; }
.carousel__track {
  overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--accent-glow);
}
.carousel__slide {
  display: none; animation: fadeIn 0.5s ease;
}
.carousel__slide.active { display: block; }
.carousel__slide img {
  width: 100%; height: auto; display: block;
}
@keyframes fadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

.carousel__nav {
  display: flex; justify-content: center; align-items: center;
  gap: 1rem; margin-top: 1.5rem;
}
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.carousel__btn:hover {
  background: var(--accent); color: var(--bg-primary);
  border-color: var(--accent); box-shadow: 0 0 15px var(--accent-glow);
}
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: var(--transition);
}
.carousel__dot.active { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); transform: scale(1.2); }
.carousel__label {
  text-align: center; margin-top: 1rem;
  font-size: 0.9rem; color: var(--text-secondary); font-weight: 500;
}

/* ─── Pricing / License Tiers ───────────────────────────── */
.pricing__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  max-width: 900px; margin: 0 auto;
}
.pricing-card {
  background: rgba(30, 30, 54, 0.6);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center;
  backdrop-filter: blur(10px); transition: var(--transition);
  position: relative; overflow: hidden;
}
.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}
.pricing-card--featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), var(--purple), var(--accent));
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card__badge {
  display: inline-block; padding: 4px 16px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 1rem;
}
.pricing-card__badge--demo { background: rgba(136,136,170,0.2); color: var(--text-secondary); }
.pricing-card__badge--full { background: rgba(0,212,255,0.15); color: var(--accent); }

.pricing-card__name {
  font-family: 'Orbitron', monospace; font-size: 1.5rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.pricing-card__price {
  font-size: 2.5rem; font-weight: 800; margin-bottom: 0.25rem;
}
.pricing-card__period { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.pricing-card__features { list-style: none; text-align: left; margin-bottom: 2rem; }
.pricing-card__features li {
  padding: 8px 0; border-bottom: 1px solid rgba(42,42,68,0.5);
  font-size: 0.9rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__check { color: var(--success); font-weight: 700; }
.pricing-card__cross { color: var(--error); font-weight: 700; }

/* ─── FAQ Accordion ─────────────────────────────────────── */
.faq__list { max-width: 850px; margin: 0 auto; }
.faq__category {
  font-family: 'Orbitron', monospace; font-size: 0.85rem;
  color: var(--accent); letter-spacing: 2px; text-transform: uppercase;
  margin: 3rem 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,212,255,0.2);
}
.faq__category:first-child { margin-top: 0; }

.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 0.75rem; overflow: hidden;
  background: rgba(30, 30, 54, 0.4); transition: var(--transition);
}
.faq-item:hover { border-color: rgba(0,212,255,0.2); }
.faq-item.active { border-color: rgba(0,212,255,0.3); }

.faq-item__q {
  width: 100%; padding: 1.25rem 1.5rem;
  background: none; border: none; color: var(--text-primary);
  font-size: 0.95rem; font-weight: 600; text-align: left;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; font-family: 'Inter', sans-serif;
}
.faq-item__q:hover { color: var(--accent); }

.faq-item__icon {
  font-size: 1.2rem; color: var(--accent);
  transition: transform 0.3s ease; flex-shrink: 0;
}
.faq-item.active .faq-item__icon { transform: rotate(45deg); }

.faq-item__a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-item__a { max-height: 500px; }
.faq-item__a-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(13, 13, 20, 0.8);
}
.footer__brand {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 1rem;
}
.footer__logo { height: 32px; }
.footer__name {
  font-family: 'Orbitron', monospace; font-size: 0.9rem;
  color: var(--accent); letter-spacing: 2px; font-weight: 600;
}
.footer__links {
  display: flex; justify-content: center; gap: 2rem;
  list-style: none; margin-bottom: 1.5rem;
}
.footer__links a { color: var(--text-secondary); font-size: 0.85rem; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { color: var(--text-muted); font-size: 0.8rem; }

/* ─── Scroll Animations ─────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(13,13,20,0.98); padding: 2rem;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
  }
  .section { padding: 60px 1.25rem; }
  .section__title { font-size: 1.6rem; }
  .hero__title { font-size: 2rem; }
  .hero__logo { width: 120px; }
  .features__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 450px; }
  .hero__cta { flex-direction: column; align-items: center; }
}
