/*
  TurboX Optimize Landing Page Styles
  - Dark, neon, futuristic theme
  - Responsive layout with glassmorphism panels
  - Smooth animations and hover neon glow
*/

:root {
  --bg: #070b17;
  --bg-2: #0a0f1f;
  --panel: rgba(13, 21, 45, 0.55);
  --border: rgba(0, 255, 255, 0.25);
  --text: #e6f0ff;
  --muted: #a8b3c7;
  --neon: #00ffff; /* ciano neon */
  --purple: #9d4edd;
  --accent: #3df0ff;
  --shadow-neon: 0 0 14px rgba(0, 255, 255, 0.45), 0 0 32px rgba(0, 255, 255, 0.2);
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1200px;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(0, 255, 255, 0.12), transparent 60%),
              radial-gradient(900px 700px at -10% 30%, rgba(157, 78, 221, 0.12), transparent 60%),
              var(--bg);
  color: var(--text);
  font-family: "Rajdhani", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section__title {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.5px;
  font-weight: 800;
  text-align: center;
  font-size: clamp(22px, 2.6vw, 34px);
  margin: 0 0 36px;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(7, 11, 23, 0.95), rgba(7,11,23,0.55));
  border-bottom: 1px solid rgba(0, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700;
}
.logo__icon { filter: drop-shadow(0 0 8px rgba(0,255,255,0.6)); }
.logo__text { font-family: "Orbitron", sans-serif; }
.header__cta { display: none; }

.nav { position: relative; }
.nav__toggle {
  display: none; border: 1px solid var(--border); background: transparent; color: var(--text);
  width: 44px; height: 44px; border-radius: 10px; font-size: 20px;
}
.nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 10px 12px; border-radius: 10px; position: relative;
}
.nav__link:hover, .nav__link:focus { color: var(--text); }
.nav__link.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: linear-gradient(90deg, transparent, var(--neon), transparent);
  box-shadow: var(--shadow-neon);
}

/* Buttons */
.btn {
  --btn-bg: var(--panel);
  --btn-color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; text-decoration: none; cursor: pointer; border: 1px solid var(--border);
  color: var(--btn-color); background: var(--btn-bg); transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn--small { padding: 10px 14px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 18px; }
.btn--xl { padding: 18px 30px; font-size: 18px; }

.btn--neon {
  --btn-bg: linear-gradient(180deg, rgba(0, 255, 255, 0.15), rgba(0, 255, 255, 0.06));
  border-color: rgba(0, 255, 255, 0.45);
  box-shadow: inset 0 0 24px rgba(61, 240, 255, 0.15);
}
.btn--neon:hover { box-shadow: var(--shadow-neon), inset 0 0 24px rgba(61, 240, 255, 0.25); transform: translateY(-2px); }
.btn--neon.glow { animation: glowPulse 2.6s infinite ease-in-out; }

.btn--outline {
  background: transparent; border-color: rgba(157, 78, 221, 0.45); color: var(--text);
}
.btn--outline:hover { box-shadow: 0 0 18px rgba(157, 78, 221, 0.35); }

@keyframes glowPulse { 0%, 100% { box-shadow: inset 0 0 20px rgba(61, 240, 255, 0.18); } 50% { box-shadow: inset 0 0 35px rgba(61, 240, 255, 0.35), 0 0 24px rgba(0,255,255,0.25); } }

/* Hero */
.hero { padding-top: 128px; padding-bottom: 72px; overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__gradient { position: absolute; inset: -20% -10% -10% -10%; background: radial-gradient(600px 400px at 30% 20%, rgba(61, 240, 255, 0.24), transparent 60%), radial-gradient(900px 600px at 80% 10%, rgba(157, 78, 221, 0.25), transparent 60%); filter: blur(40px); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(157,78,221,0.07) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(60% 60% at 50% 20%, black, transparent 70%); }

.hero__content { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
.hero__title { font-family: "Orbitron", sans-serif; font-size: clamp(28px, 4.8vw, 56px); line-height: 1.1; margin: 0 0 16px; }
.hero__title .emoji { filter: drop-shadow(0 0 10px rgba(0,255,255,0.6)); margin-right: 6px; }
.hero__subtitle { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); margin: 0 0 26px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero__badges { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

.hero__visual { display: grid; place-items: center; }
.app-mockup { width: min(520px, 100%); border-radius: var(--radius-lg); border: 1px solid rgba(0,255,255,0.25); background: linear-gradient(180deg, rgba(7,11,23,0.8), rgba(10,15,31,0.6)); box-shadow: var(--shadow-neon); overflow: hidden; }
.app-mockup__header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: rgba(0,0,0,0.35); border-bottom: 1px solid rgba(0,255,255,0.2); }
.app-mockup__header .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--neon); box-shadow: 0 0 8px rgba(0,255,255,0.7); }
.app-mockup__header .title { margin-left: auto; color: var(--muted); font-weight: 700; }
.app-mockup__body { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 18px; }
.stats { display: grid; gap: 14px; }
.stat { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; color: var(--muted); }
.stat .bar { height: 12px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; border: 1px solid rgba(0,255,255,0.15); }
.stat .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--neon)); box-shadow: var(--shadow-neon); }
.cta-panel { display: grid; gap: 8px; place-items: start; }
.cta-panel .hint { margin: 0; color: var(--muted); font-size: 13px; }

/* Features */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease; backdrop-filter: blur(4px);
}
.card:hover { transform: translateY(-6px); border-color: rgba(61,240,255,0.6); box-shadow: var(--shadow-neon); }
.card__icon { font-size: 28px; margin-bottom: 8px; }
.card h3 { margin: 4px 0 8px; font-family: "Orbitron", sans-serif; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

/* Demo */
.demo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.viz { position: relative; height: 260px; background: linear-gradient(180deg, rgba(0,255,255,0.05), rgba(157,78,221,0.08)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; gap: 14px; padding: 22px; box-shadow: inset 0 0 40px rgba(0,255,255,0.08);
}
.viz .bar { width: 16%; height: var(--h); background: linear-gradient(180deg, var(--accent), var(--purple)); box-shadow: var(--shadow-neon); border-radius: 8px 8px 0 0; animation: barGrow 2.4s ease infinite alternate; }
.viz .bar:nth-child(2) { animation-delay: .3s; }
.viz .bar:nth-child(3) { animation-delay: .6s; }
.viz .bar:nth-child(4) { animation-delay: .9s; }
.viz .ring { position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border: 2px dashed rgba(61,240,255,0.5); border-radius: 50%; animation: spin 6s linear infinite; filter: drop-shadow(0 0 8px rgba(0,255,255,0.3)); }
@keyframes barGrow { from { transform: scaleY(0.6); } to { transform: scaleY(1.1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.bullets { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.bullets li { color: var(--muted); }

/* Pricing */
.pricing { background: radial-gradient(900px 500px at 50% -10%, rgba(61,240,255,0.12), transparent), var(--bg-2); }
.pricing__grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 720px; margin: 0 auto; }
.price-card { position: relative; background: linear-gradient(180deg, rgba(13,21,45,0.8), rgba(13,21,45,0.55)); border: 1px solid rgba(61,240,255,0.35); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-neon); overflow: hidden; }
.price-card__shine { position: absolute; inset: -60% -40% auto -40%; height: 180px; background: radial-gradient(500px 120px at 50% 50%, rgba(61,240,255,0.22), transparent 60%); filter: blur(16px); pointer-events: none; }
.price-card__header h3 { margin: 0 0 6px; font-family: "Orbitron", sans-serif; }
.price-card .price { font-size: 20px; color: var(--muted); margin: 0 0 10px; }
.price-card .price span { font-size: 42px; font-weight: 800; color: var(--text); text-shadow: 0 0 12px rgba(0,255,255,0.3); }
.price-card__features { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; color: var(--muted); }
.countdown { display: grid; gap: 6px; margin: 6px 0 18px; }
.countdown .label { color: var(--muted); font-size: 14px; }
.countdown .timer { font-family: "Orbitron", sans-serif; font-size: 28px; letter-spacing: 1px; text-shadow: var(--shadow-neon); }

/* Testimonials */
.testimonials { background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.16)); }
.testimonials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.testimonial { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; color: var(--muted); }
.testimonial blockquote { margin: 0 0 10px; color: var(--text); }
.testimonial .stars { color: #ffd166; text-shadow: 0 0 8px rgba(255, 209, 102, 0.45); }

/* Guarantee */
.guarantee { background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55)); border-top: 1px solid rgba(0,255,255,0.15); border-bottom: 1px solid rgba(0,255,255,0.15); }
.guarantee__inner { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.guarantee__text h2 { margin: 0 0 8px; font-family: "Orbitron", sans-serif; }

/* Download */
.download { text-align: center; }
.download__hint { color: var(--muted); margin-top: 10px; }

/* Footer */
.footer { background: #050813; border-top: 1px solid rgba(0,255,255,0.15); }
.footer__inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 20px 0; }
.footer__links { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--text); }
.footer__social a { color: var(--muted); font-size: 22px; margin-left: 10px; }
.footer__social a:hover { color: var(--text); }
.footer__copy { text-align: center; color: var(--muted); font-size: 13px; padding: 12px 0 24px; border-top: 1px solid rgba(255,255,255,0.06); }

/* Animations on scroll */
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }
[data-animate="fade-left"] { transform: translateX(24px); }
[data-animate="fade-right"] { transform: translateX(-24px); }
[data-animate="fade-left"].visible, [data-animate="fade-right"].visible { transform: translateX(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; }
  .header__cta { display: inline-flex; }
}
@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .demo__inner { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__toggle { display: inline-grid; place-items: center; }
  .nav__list { position: absolute; right: 0; top: calc(100% + 10px); background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: none; flex-direction: column; min-width: 220px; box-shadow: var(--shadow-neon); }
  .nav__list.open { display: flex; }
  .header__cta { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .guarantee__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
}

/* Particles Canvas fits container */
#particles { width: 100%; height: 100%; display: block; }


