/* ===== VARIABLES ===== */
:root {
  --purple: #7C5CFC;
  --purple-light: #9B7FFF;
  --purple-dark: #5B3FE0;
  --bg: #070514;
  --bg-2: #0F0C22;
  --bg-card: rgba(20,16,38,0.85);
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --border: rgba(124,92,252,0.22);
  --border-subtle: rgba(255,255,255,0.07);
  --green: #10B981;
  --gradient: linear-gradient(135deg,#7C5CFC,#9B7FFF);
  --glow: 0 0 60px rgba(124,92,252,0.25);
  --radius: 16px;
  --max-w: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { color: inherit; text-decoration:none; }
button { cursor:pointer; font-family:inherit; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.2rem,5vw,3.8rem); font-weight:800; line-height:1.1; letter-spacing:-0.02em; }
h2 { font-size: clamp(1.6rem,3.5vw,2.6rem); font-weight:700; line-height:1.2; }
h3 { font-size: 1.2rem; font-weight:600; }
p  { color: var(--text-muted); }

/* ===== LAYOUT UTILITIES ===== */
.container { max-width:var(--max-w); margin:0 auto; padding:0 24px; }
.section { padding: 100px 0; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight:700; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--purple-light);
  background: rgba(124,92,252,0.12);
  border: 1px solid rgba(124,92,252,0.3);
  padding: 4px 14px; border-radius:20px; margin-bottom:16px;
}
.text-center { text-align:center; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items:center; gap:8px;
  padding: 13px 26px; border-radius:12px;
  font-size:15px; font-weight:600;
  transition: all .2s ease;
  border:none; outline:none;
  white-space:nowrap;
}
.btn-primary {
  background: var(--gradient); color:#fff;
  box-shadow: 0 4px 20px rgba(124,92,252,0.4);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(124,92,252,0.55); }
.btn-outline {
  background:transparent; color:var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background:rgba(124,92,252,0.12); border-color:var(--purple-light); }
.btn-lg { padding:16px 32px; font-size:16px; border-radius:14px; }

/* ===== FADE-UP ANIMATION ===== */
.fade-up {
  opacity:0;
  transform:translateY(28px);
  transition:opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity:1; transform:translateY(0); }
.fade-up.delay-1 { transition-delay:.1s; }
.fade-up.delay-2 { transition-delay:.2s; }
.fade-up.delay-3 { transition-delay:.3s; }
.fade-up.delay-4 { transition-delay:.4s; }
.fade-up.delay-5 { transition-delay:.5s; }

/* ===== NAVIGATION ===== */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:0 24px;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background:rgba(7,5,20,0.88);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border-subtle);
}
.nav-inner {
  max-width:var(--max-w); margin:0 auto;
  height:68px;
  display:flex; align-items:center; gap:32px;
}
.nav-logo {
  display:flex; align-items:center; gap:10px;
  font-size:18px; font-weight:800;
  flex-shrink:0;
}
.nav-logo-img {
  width:34px; height:34px; object-fit:contain;
}
.nav-links {
  display:flex; align-items:center; gap:4px;
  margin-left:auto;
  list-style:none;
}
.nav-links a {
  display:block; padding:7px 14px; border-radius:8px;
  font-size:14px; font-weight:500; color:var(--text-muted);
  transition:color .2s, background .2s;
}
.nav-links a:hover { color:var(--text); background:rgba(255,255,255,0.05); }
.nav-cta { margin-left:8px; }

/* ===== HERO ===== */
.hero {
  min-height:100vh;
  display:flex; align-items:center;
  padding-top:100px;
  position:relative; overflow:hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,92,252,0.18) 0%, transparent 70%),
              var(--bg);
}
.hero::before {
  content:'';
  position:absolute; top:-200px; left:50%; transform:translateX(-50%);
  width:800px; height:800px; border-radius:50%;
  background: radial-gradient(circle, rgba(124,92,252,0.12) 0%, transparent 70%);
  pointer-events:none;
}
.hero-inner {
  max-width:var(--max-w); margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:1fr 1fr;
  align-items:center; gap:60px;
  width:100%;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; color:var(--text-muted);
  background:rgba(255,255,255,0.05);
  border:1px solid var(--border-subtle);
  padding:6px 14px; border-radius:20px; margin-bottom:20px;
}
.hero-badge span { width:6px; height:6px; border-radius:50%; background:var(--green); flex-shrink:0; }
.hero h1 { margin-bottom:20px; }
.hero p { font-size:1.15rem; max-width:480px; margin-bottom:36px; line-height:1.7; }
.hero-btns { display:flex; gap:14px; flex-wrap:wrap; }
.hero-img {
  border-radius:18px;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px var(--border-subtle), var(--glow);
  overflow:hidden;
}
.hero-img img { width:100%; }

/* ===== FEATURES ===== */
.features { background: var(--bg-2); }
.features-header { text-align:center; margin-bottom:64px; }
.features-header h2 { margin-bottom:12px; }
.features-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.feat-card {
  background: var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .25s, box-shadow .25s, border-color .25s;
  backdrop-filter:blur(12px);
}
.feat-card:hover {
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(0,0,0,.4), 0 0 0 1px var(--purple);
  border-color:rgba(124,92,252,0.5);
}
.feat-card-img {
  height:200px; overflow:hidden;
  background:var(--bg);
}
.feat-card-img img {
  width:100%; height:100%;
  object-fit:cover; object-position:top;
  transition:transform .35s ease;
}
.feat-card:hover .feat-card-img img { transform:scale(1.05); }
.feat-card-body { padding:22px 22px 24px; }
.feat-icon {
  width:40px; height:40px; border-radius:10px;
  background:rgba(124,92,252,0.15);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; margin-bottom:12px;
}
.feat-card-body h3 { margin-bottom:6px; }
.feat-card-body p { font-size:14px; line-height:1.6; }

/* ===== DEMO ===== */
.demo-section { background:var(--bg); }
.demo-header { text-align:center; margin-bottom:48px; }
.demo-header h2 { margin-bottom:10px; }
.demo-hint {
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; color:var(--text-muted);
  background:rgba(124,92,252,0.08);
  border:1px solid var(--border);
  padding:7px 16px; border-radius:20px; margin-top:14px;
}
.demo-hint svg { flex-shrink:0; }
.demo-wrap {
  border-radius:20px; overflow:hidden;
  box-shadow: 0 0 0 1px var(--border), 0 40px 80px rgba(0,0,0,.5), var(--glow);
  position:relative;
}
.demo-wrap iframe {
  display:block; width:100%; height:580px; border:none;
}

/* ===== PROMO GALLERY ===== */
.gallery-section { background:var(--bg-2); overflow:hidden; }
.gallery-header { text-align:center; margin-bottom:48px; }
.gallery-header h2 { margin-bottom:10px; }
.gallery-outer { position:relative; }
.gallery-track {
  display:flex; gap:20px;
  overflow-x:auto; scroll-snap-type:x mandatory;
  scrollbar-width:none; -ms-overflow-style:none;
  padding:0 24px 20px;
  cursor:grab;
}
.gallery-track::-webkit-scrollbar { display:none; }
.gallery-track.grabbing { cursor:grabbing; }
.gallery-item {
  flex-shrink:0; width:220px;
  scroll-snap-align:start;
  border-radius:14px; overflow:hidden;
  border:1px solid var(--border-subtle);
  transition:transform .2s, box-shadow .2s;
}
.gallery-item:hover { transform:scale(1.03); box-shadow:0 12px 30px rgba(0,0,0,.4); }
.gallery-item img { width:100%; height:auto; display:block; }
.gallery-nav {
  display:flex; justify-content:center; gap:12px; margin-top:28px;
}
.gallery-btn {
  width:42px; height:42px; border-radius:50%;
  background:rgba(124,92,252,0.15);
  border:1px solid var(--border);
  color:var(--text); font-size:18px;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, border-color .2s;
}
.gallery-btn:hover { background:var(--purple); border-color:var(--purple); }

/* ===== PRICING ===== */
.pricing-section { background:var(--bg); }
.pricing-header { text-align:center; margin-bottom:64px; }
.pricing-header h2 { margin-bottom:10px; }
.pricing-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:22px; max-width:1400px; margin:0 auto;
}
.price-card {
  border-radius:var(--radius);
  padding:28px 24px;
  border:1px solid var(--border);
  background:var(--bg-card);
  position:relative;
  transition:transform .25s, box-shadow .25s;
}
.price-card:hover { transform:translateY(-4px); }
.price-card.popular {
  background:linear-gradient(160deg,rgba(124,92,252,0.2),rgba(155,127,255,0.08));
  border-color:rgba(124,92,252,0.55);
  box-shadow: 0 0 0 1px rgba(124,92,252,0.2), 0 20px 50px rgba(124,92,252,0.15);
}
.popular-badge {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:var(--gradient); color:#fff;
  font-size:12px; font-weight:700; letter-spacing:0.05em;
  padding:4px 18px; border-radius:20px;
  white-space:nowrap;
}
.price-name { font-size:20px; font-weight:700; margin-bottom:6px; }
.price-amount {
  display:flex; align-items:baseline; gap:4px;
  margin:18px 0 6px;
}
.price-amount .amount {
  font-size:3rem; font-weight:800; line-height:1;
  background:var(--gradient);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.price-amount .period { font-size:14px; color:var(--text-muted); }
.price-sub { font-size:13px; color:var(--text-muted); margin-bottom:28px; }
.price-features { list-style:none; margin-bottom:32px; }
.price-features li {
  display:flex; align-items:center; gap:10px;
  font-size:14px; padding:7px 0;
  border-bottom:1px solid var(--border-subtle);
}
.price-features li:last-child { border-bottom:none; }
.price-features .check { color:var(--green); font-size:15px; flex-shrink:0; }
.price-features .dash  { color:var(--text-muted); font-size:15px; flex-shrink:0; }
.price-features .muted { color:var(--text-muted); }
.price-features .in-dev {
  font-size:10px; font-weight:700; letter-spacing:0.04em;
  color:#F59E0B; border:1px solid rgba(245,158,11,0.4);
  border-radius:4px; padding:1px 6px; white-space:nowrap;
  margin-left:auto; flex-shrink:0;
}
.price-btn { width:100%; justify-content:center; }
.price-card.premium {
  background:linear-gradient(160deg,rgba(245,158,11,0.15),rgba(251,191,36,0.05));
  border-color:rgba(245,158,11,0.45);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.15), 0 20px 50px rgba(245,158,11,0.1);
}
.price-card.premium .price-amount .amount {
  background:linear-gradient(135deg,#F59E0B,#FBBF24);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.premium-badge {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:linear-gradient(135deg,#F59E0B,#FBBF24); color:#fff;
  font-size:12px; font-weight:700; letter-spacing:0.05em;
  padding:4px 18px; border-radius:20px;
  white-space:nowrap;
}
.price-card.lifetime {
  background:linear-gradient(160deg,rgba(16,185,129,0.18),rgba(52,211,153,0.06));
  border-color:rgba(16,185,129,0.5);
  box-shadow: 0 0 0 1px rgba(16,185,129,0.18), 0 20px 50px rgba(16,185,129,0.12);
}
.price-card.lifetime .price-amount .amount {
  background:linear-gradient(135deg,#10B981,#34D399);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.lifetime-badge {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:linear-gradient(135deg,#10B981,#34D399); color:#fff;
  font-size:12px; font-weight:700; letter-spacing:0.05em;
  padding:4px 18px; border-radius:20px;
  white-space:nowrap;
}

/* ===== SCREENSHOTS TABS ===== */
.shots-section { background:var(--bg-2); }
.shots-header { text-align:center; margin-bottom:48px; }
.shots-tabs {
  display:flex; gap:8px; flex-wrap:wrap; justify-content:center;
  margin-bottom:40px;
}
.shots-tab {
  padding:8px 20px; border-radius:8px;
  font-size:14px; font-weight:500;
  background:rgba(255,255,255,0.05);
  border:1px solid transparent;
  color:var(--text-muted);
  transition:all .2s;
}
.shots-tab:hover { color:var(--text); background:rgba(255,255,255,0.08); }
.shots-tab.active {
  background:rgba(124,92,252,0.18);
  border-color:rgba(124,92,252,0.4);
  color:var(--purple-light);
}
.shots-panel { display:none; }
.shots-panel.active { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.shot-img {
  border-radius:12px; overflow:hidden;
  border:1px solid var(--border-subtle);
  background:var(--bg);
  transition:transform .2s, box-shadow .2s;
  cursor:zoom-in;
}
.shot-img:hover { transform:scale(1.03); box-shadow:0 12px 30px rgba(0,0,0,.5); }
.shot-img img { width:100%; height:auto; display:block; }

/* ===== DOWNLOAD ===== */
.download-section {
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(124,92,252,0.12) 0%, transparent 70%),
              var(--bg);
}
.download-inner { text-align:center; max-width:680px; margin:0 auto; }
.download-inner h2 { margin-bottom:12px; }
.download-inner p { font-size:1.05rem; margin-bottom:40px; }
.download-btns { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:20px; }
.dl-counter {
  display:flex; align-items:center; justify-content:center; gap:8px;
  margin-bottom:20px;
}
.dl-count-num {
  font-size:1.5rem; font-weight:800; line-height:1;
  background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
  font-variant-numeric:tabular-nums;
  min-width:60px; text-align:center;
  transition:transform .15s ease;
}
.dl-count-num.bump { transform:scale(1.18); }
.dl-count-label { font-size:13px; color:var(--text-muted); font-weight:500; }
.download-note {
  font-size:13px; color:var(--text-muted);
  display:flex; align-items:center; justify-content:center; gap:8px;
  flex-wrap:wrap;
}
.download-note span { color:var(--border); }
.download-version {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(16,185,129,0.12); border:1px solid rgba(16,185,129,0.25);
  color:var(--green); font-size:12px; font-weight:600;
  padding:3px 12px; border-radius:20px; margin-bottom:32px;
}

/* ===== FOOTER ===== */
.footer {
  background:var(--bg-2);
  border-top:1px solid var(--border-subtle);
  padding:60px 0 40px;
}
.footer-inner {
  max-width:var(--max-w); margin:0 auto; padding:0 24px;
}
.footer-top {
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:40px; margin-bottom:48px;
  flex-wrap:wrap;
}
.footer-brand .nav-logo { margin-bottom:12px; }
.footer-brand p { font-size:14px; max-width:280px; }
.footer-links { display:flex; gap:48px; flex-wrap:wrap; }
.footer-col h4 { font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; color:var(--text-muted); margin-bottom:16px; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:10px; }
.footer-col a { font-size:14px; color:var(--text-muted); transition:color .2s; }
.footer-col a:hover { color:var(--text); }
.visitor-counter {
  display:flex; align-items:center; justify-content:center; gap:20px;
  padding:20px 0 28px;
  font-size:13px; color:var(--text-muted);
  border-top:1px solid var(--border-subtle);
}
.vc-item { display:flex; align-items:center; gap:6px; }
.vc-num {
  font-size:1rem; font-weight:700; font-variant-numeric:tabular-nums;
  color:var(--text); transition:transform .15s ease;
}
.vc-num.bump { transform:scale(1.2); }
.vc-sep { color:var(--border); }
.footer-bottom {
  border-top:1px solid var(--border-subtle);
  padding-top:24px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px;
}
.footer-bottom p { font-size:13px; color:var(--text-muted); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position:fixed; inset:0; z-index:999;
  background:rgba(0,0,0,0.85);
  display:none; align-items:center; justify-content:center;
  padding:24px;
  backdrop-filter:blur(6px);
}
.lightbox.open { display:flex; }
.lightbox img {
  max-width:90vw; max-height:90vh;
  border-radius:12px; box-shadow:0 40px 80px rgba(0,0,0,.8);
}
.lightbox-close {
  position:absolute; top:24px; right:24px;
  width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,.1); border:none;
  color:#fff; font-size:20px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}

/* ===== MOBILE NAV ===== */
.nav-mob-btn {
  display:none; width:36px; height:36px;
  background:none; border:none; color:var(--text);
  font-size:20px; cursor:pointer;
  margin-left:auto;
}
.nav-mob { display:none; }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .hero-inner { grid-template-columns:1fr; text-align:center; }
  .hero p { max-width:100%; }
  .hero-btns { justify-content:center; }
  .hero-img { max-width:600px; margin:0 auto; }
}
@media(max-width:768px){
  .section { padding:70px 0; }
  h1 { font-size:2rem; }
  .nav-links, .nav-cta { display:none; }
  .nav-mob-btn { display:flex; align-items:center; justify-content:center; }
  .nav-mob.open {
    display:flex; flex-direction:column; gap:4px;
    padding:12px; background:rgba(7,5,20,0.97);
    border-bottom:1px solid var(--border-subtle);
  }
  .nav-mob a {
    display:block; padding:10px 16px; border-radius:8px;
    font-size:15px; color:var(--text-muted);
    transition:background .2s;
  }
  .nav-mob a:hover { background:rgba(255,255,255,.06); color:var(--text); }
  .features-grid { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; max-width:420px; }
  .price-card.lifetime .price-amount .amount,
  .price-card.premium .price-amount .amount { font-size:2.4rem; }
  .shots-panel.active { grid-template-columns:1fr 1fr; }
  .download-btns { flex-direction:column; align-items:center; }
  .footer-top { flex-direction:column; }
  .footer-links { gap:32px; }
  .demo-wrap iframe { height:440px; }
}
@media(max-width:480px){
  .shots-panel.active { grid-template-columns:1fr; }
  .gallery-item { width:180px; }
  .hero-btns { flex-direction:column; }
  .btn-lg { width:100%; justify-content:center; }
}
