/* ==========================================================================
   Gitto 420 — Landing Page Styles
   Palette from official logo:
     Primary   #36c6f6  (cyan)     — most used: buttons, titles, nav, glows
     Secondary #66ef8d  (green)    — gradients, secondary accents, hovers
     Accent    #942bf7  (purple)   — speed lines, title accent, highlights
     Highlight #f9b836  (gold)     — status badges, "coming soon" indicators
     Background #17292f (dark teal)— site background
   ========================================================================== */

/* ---- Brand color variables (from official Gitto 420 logo) ---- */
:root {
  --neon-cyan:   #36c6f6;
  --neon-green:  #66ef8d;
  --neon-purple: #942bf7;
  --neon-gold:   #f9b836;
  --bg:          #17292f;
  --bg-2:        #1a2f36;
  --surface:     rgba(30, 55, 65, 0.72);
  --text:        #eaf6ff;
  --text-dim:    #8aa5b0;
  --border:      rgba(54, 198, 246, 0.14);
  --border-hot:  rgba(102, 239, 141, 0.22);
  --glow-cyan:   0 0 18px rgba(54, 198, 246, 0.55), 0 0 42px rgba(54, 198, 246, 0.25);
  --glow-green:  0 0 18px rgba(102, 239, 141, 0.5), 0 0 42px rgba(102, 239, 141, 0.2);
  --glow-gold:   0 0 18px rgba(249, 184, 54, 0.5), 0 0 42px rgba(249, 184, 54, 0.2);
  --glow-purple: 0 0 18px rgba(148, 43, 247, 0.5), 0 0 42px rgba(148, 43, 247, 0.2);
  --font-display:'Orbitron', sans-serif;
  --font-body:   'Rajdhani', sans-serif;
  --maxw:        1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }

/* ---- Animated background ---- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(54,198,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54,198,246,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow {
  position: fixed; z-index: -2; border-radius: 50%;
  filter: blur(120px); opacity: .5; pointer-events: none;
  animation: floatGlow 14s ease-in-out infinite alternate;
}
.bg-glow--1 { width: 560px; height: 560px; background: var(--neon-cyan); top: -180px; left: -120px; }
.bg-glow--2 { width: 520px; height: 520px; background: var(--neon-green); top: 30%; right: -160px; animation-delay: -7s; }
@keyframes floatGlow {
  0% { transform: translate(0,0) scale(1); }
  100%{ transform: translate(40px,30px) scale(1.15); }
}

/* Speed lines */
.speed-lines { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.speed-lines span {
  position: absolute; height: 2px; width: 220px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0; animation: streak 4s linear infinite;
}
.speed-lines span:nth-child(1){ top: 18%; left:-240px; animation-delay: 0s; }
.speed-lines span:nth-child(2){ top: 42%; left:-240px; animation-delay: 1.1s; background: linear-gradient(90deg, transparent, var(--neon-green), transparent); }
.speed-lines span:nth-child(3){ top: 68%; left:-240px; animation-delay: 2.2s; }
.speed-lines span:nth-child(4){ top: 82%; left:-240px; animation-delay: 3.1s; background: linear-gradient(90deg, transparent, var(--neon-purple), transparent); }
.speed-lines span:nth-child(5){ top: 30%; left:-240px; animation-delay: 1.7s; background: linear-gradient(90deg, transparent, var(--neon-gold), transparent); }
@keyframes streak {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: .8; }
  100% { transform: translateX(110vw); opacity: 0; }
}

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(23,41,47,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: .8rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__logo { display: flex; align-items: center; gap: .6rem; }
.nav__logo-img { height: 38px; width: auto; }
.nav__logo-text { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; letter-spacing: 1px; }
.nav__logo-accent { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a {
  font-family: var(--font-display); font-weight: 500; font-size: .82rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim);
  position: relative; transition: color .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--neon-cyan); box-shadow: var(--glow-cyan); transition: width .25s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__link--alt { color: var(--neon-green) !important; }
.nav__link--alt::after { background: var(--neon-green) !important; box-shadow: var(--glow-green) !important; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px; background: var(--neon-cyan); box-shadow: var(--glow-cyan);
  transition: transform .3s, opacity .3s; border-radius: 2px;
}
.nav__toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2){ opacity: 0; }
.nav__toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: .85rem 1.8rem; border-radius: 10px; cursor: pointer;
  border: none; position: relative; transition: transform .2s, box-shadow .25s, background .25s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
  color: #17292f;
  box-shadow: 0 0 20px rgba(54,198,246,.4), 0 0 40px rgba(102,239,141,.2);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 28px rgba(54,198,246,.6), 0 0 56px rgba(102,239,141,.35);
}
.btn--primary:active { transform: translateY(0) scale(.99); }
.btn--large { font-size: 1rem; padding: 1.1rem 2.4rem; width: 100%; }
.btn--disabled {
  background: rgba(255,255,255,.06); color: var(--text-dim);
  border: 1px solid rgba(255,255,255,.1); cursor: not-allowed;
}
.btn__icon { width: 20px; height: 20px; }

/* ---- Hero ---- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 6rem 1.4rem 3rem;
  position: relative;
}
.hero__content { max-width: 760px; animation: fadeUp .9s ease-out; }
.hero__logo-wrap { margin-bottom: 1.2rem; }
.hero__logo { max-height: 160px; width: auto; margin: 0 auto 1rem; filter: drop-shadow(0 0 30px rgba(54,198,246,.4)); }
.hero__title {
  font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 900; letter-spacing: 4px;
  background: linear-gradient(135deg, var(--neon-cyan), #fff 40%, var(--neon-green));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(54,198,246,.35));
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__tagline {
  font-family: var(--font-display); font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  color: var(--neon-cyan); margin-top: .6rem; text-shadow: var(--glow-cyan);
}
.hero__sub { color: var(--text-dim); font-size: 1.1rem; margin-top: .4rem; letter-spacing: 1px; }
.hero__cta { margin-top: 2.4rem; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.hero__windows {
  font-size: .85rem; letter-spacing: 1px; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: .5rem;
}
.hero__windows::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon-gold); box-shadow: var(--glow-gold);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
}
.hero__scroll span {
  display: block; width: 24px; height: 42px; border: 2px solid var(--neon-cyan);
  border-radius: 14px; opacity: .5; position: relative;
}
.hero__scroll span::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--neon-cyan); border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%{opacity:1;top:6px;} 70%{opacity:0;top:22px;} 100%{opacity:0;} }

/* ---- Sections ---- */
.section { padding: 5rem 1.4rem; position: relative; }
.container { max-width: var(--maxw); margin: 0 auto; }
.section__title {
  text-align: center; font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900;
  letter-spacing: 2px; margin-bottom: 2.5rem; text-transform: uppercase;
}
.accent { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }

/* ---- About ---- */
.about__card {
  max-width: 760px; margin: 0 auto; padding: 2.5rem; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-align: center; position: relative; overflow: hidden;
}
.about__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green), var(--neon-purple));
}
.about__text { font-size: 1.25rem; line-height: 1.7; color: var(--text); }

/* ---- Features ---- */
.features__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  padding: 2rem 1.6rem; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--border); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  transform: scaleX(0); transition: transform .35s;
}
.feature-card:hover {
  transform: translateY(-6px); border-color: var(--border-hot);
  box-shadow: 0 12px 40px rgba(54,198,246,.12), 0 0 24px rgba(102,239,141,.1);
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(54,198,246,.08); border: 1px solid var(--border);
  margin-bottom: 1.2rem; color: var(--neon-cyan);
}
.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; letter-spacing: .5px; }
.feature-card p { color: var(--text-dim); font-size: .98rem; }

/* ---- Download ---- */
.download__sub { text-align: center; color: var(--text-dim); font-size: 1.1rem; margin-top: -1.5rem; margin-bottom: 2.5rem; }
.download__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 760px; margin: 0 auto; }
.download-card {
  padding: 2.5rem 2rem; border-radius: 18px; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.download-card--primary {
  border-color: rgba(54,198,246,.3);
  box-shadow: 0 0 30px rgba(54,198,246,.12);
}
.download-card--soon { opacity: .65; }
.download-card__platform {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 1px;
}
.download-card__os-icon { width: 28px; height: 28px; color: var(--neon-cyan); }
.download-card__status {
  font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
  padding: .3rem .9rem; border-radius: 20px;
}
.download-card__status--available { background: rgba(54,198,246,.12); color: var(--neon-cyan); border: 1px solid rgba(54,198,246,.3); }
.download-card__status--soon { background: rgba(249,184,54,.1); color: var(--neon-gold); border: 1px solid rgba(249,184,54,.3); }
.download-card__note { color: var(--text-dim); font-size: .88rem; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border); padding: 2.5rem 1.4rem;
  background: rgba(23,41,47,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer__brand { display: flex; align-items: center; gap: .6rem; }
.footer__logo { height: 32px; }
.footer__brand-text { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; letter-spacing: 1px; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__links a { font-size: .9rem; color: var(--text-dim); transition: color .25s; letter-spacing: .5px; }
.footer__links a:hover { color: var(--neon-cyan); }
.footer__copy { font-size: .88rem; color: var(--text-dim); letter-spacing: .5px; }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0;
    background: rgba(23,41,47,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .35s ease;
    z-index: 99;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: 1.1rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav__links a::after { display: none; }
  .download__cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero { padding-top: 5rem; }
  .hero__logo { max-height: 110px; }
  .section { padding: 3.5rem 1rem; }
  .about__card { padding: 1.8rem 1.4rem; }
  .about__text { font-size: 1.05rem; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ---- Music toggle ---- */
.music-toggle {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 200;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(23,41,47,.85); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--neon-cyan);
  box-shadow: 0 4px 20px rgba(0,0,0,.4), var(--glow-cyan);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.music-toggle:hover {
  transform: scale(1.1);
  border-color: var(--neon-cyan);
  box-shadow: 0 4px 24px rgba(0,0,0,.5), 0 0 28px rgba(54,198,246,.5);
}
.music-toggle svg { width: 22px; height: 22px; }
.music-toggle.playing { color: var(--neon-green); border-color: var(--border-hot); box-shadow: 0 4px 20px rgba(0,0,0,.4), var(--glow-green); }
.music-toggle.playing .music-on { animation: musicPulse 1.5s ease-in-out infinite; }
@keyframes musicPulse { 0%,100%{opacity:1;} 50%{opacity:.5;} }

/* ---- Accessibility: reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}