/* ══ RESET & BASE ══ */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #030812; }
::-webkit-scrollbar-thumb { 
  background: rgba(0, 245, 255, 0.2); 
  border-radius: 4px; 
  border: 1px solid rgba(0, 245, 255, 0.1);
}
::-webkit-scrollbar-thumb:hover { 
  background: var(--cyan); 
  box-shadow: 0 0 10px var(--cyan);
}

html { scroll-behavior:smooth; }
body {
  font-family:'Rajdhani',sans-serif;
  background:#030812;
  color:#c8e8f0;
  overflow-x:hidden;
  cursor:none;
}
@media(max-width:768px){
  body { cursor:auto; }
  #cursor, #cursor-ring { display:none; }
  nav { padding:15px 20px; flex-direction: column; gap: 10px; }
  .nav-links { gap:20px; }
}

/* ══ CSS VARIABLES ══ */
:root {
  --cyan:#00f5ff;
  --magenta:#ff00aa;
  --purple:#7b2fff;
  --dark:#030812;
  --border:rgba(0,245,255,.13);
}

/* ══ CURSOR ══ */
#cursor {
  width:10px; height:10px; background:var(--cyan); border-radius:50%;
  position:fixed; top:0; left:0; pointer-events:none; z-index:9999;
  box-shadow:0 0 12px var(--cyan),0 0 24px var(--cyan);
  mix-blend-mode:screen;
}
#cursor-ring {
  width:34px; height:34px;
  border:1px solid rgba(0,245,255,.45); border-radius:50%;
  position:fixed; top:0; left:0; pointer-events:none; z-index:9998;
  transition:transform .13s ease;
}

/* ══ BACKGROUND ══ */
canvas#bg { position:fixed; inset:0; z-index:0; opacity:.35; pointer-events:none; }
.noise {
  position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.15;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
}

/* ══ ANIMATIONS ══ */
@keyframes spinRing  { to { transform:rotate(360deg); } }
@keyframes spinRingR { to { transform:rotate(-360deg); } }
@keyframes floatImg  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes fadeUp    { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
@keyframes pulseGlow { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ══ UTILITIES ══ */
.clip-btn {
  clip-path:polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
}
.reveal {
  opacity:0; transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.show { opacity:1; transform:none; }

/* ══ NAV ══ */
nav {
  position:fixed; top:0; left:0; right:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 64px;
  background:rgba(3,8,18,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,245,255,.08);
}
.nav-logo {
  font-family:'Orbitron',sans-serif; font-weight:900;
  font-size:1.15rem; letter-spacing:.12em;
  color:var(--cyan); text-decoration:none;
  text-shadow:0 0 20px rgba(0,245,255,.7);
}
.nav-logo span { color:var(--magenta); }
.nav-links { display:flex; gap:40px; list-style:none; }
.nav-links a {
  font-size:.75rem; letter-spacing:.12em; text-transform:uppercase;
  font-weight:600; color:rgba(200,232,240,.5); text-decoration:none;
  transition:color .2s;
}
.nav-links a:hover { color:var(--cyan); }
.nav-lang { display:flex; gap:8px; }
.lang-btn {
  background:none; padding:4px 12px;
  font-size:.7rem; letter-spacing:.12em;
  font-family:'Rajdhani',sans-serif; font-weight:600;
  cursor:pointer; transition:all .2s;
  border:1px solid rgba(0,245,255,.15);
  color:rgba(200,232,240,.4);
}
.lang-btn:hover, .lang-btn.active {
  color:var(--cyan); border-color:var(--cyan);
}

@media(max-width:768px){
  nav { padding:16px 24px; }
  .nav-links { display:none; }
}

/* ══ HERO ══ */
#hero {
  position:relative; z-index:10;
  min-height:100vh;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center;
  padding:120px 24px 80px;
}

/* Logo */
.logo-wrap {
  position:relative; display:inline-block;
  margin-bottom:32px;
  animation:floatImg 4s ease-in-out infinite;
}
.logo-wrap img {
  width:144px; height:144px; border-radius:50%;
  position:relative; z-index:2;
  border:2px solid rgba(0,245,255,.4);
  box-shadow:0 0 40px rgba(0,245,255,.3), 0 0 80px rgba(123,47,255,.2);
}
.logo-ring-1 {
  position:absolute; inset:-20px; border-radius:50%;
  border:1px solid rgba(0,245,255,.18);
  animation:spinRing 9s linear infinite;
  pointer-events:none;
}
.logo-ring-2 {
  position:absolute; inset:-38px; border-radius:50%;
  border:1px solid rgba(255,0,170,.1);
  animation:spinRingR 15s linear infinite;
  pointer-events:none;
}

/* Title */
.hero-title {
  font-family:'Orbitron',sans-serif; font-weight:900;
  font-size:clamp(3rem,8vw,6rem);
  line-height:1; letter-spacing:-.02em;
  color:#fff; margin-bottom:20px;
  text-shadow:0 0 60px rgba(0,245,255,.35);
}
.hero-title .c1 { color:var(--cyan); }
.hero-title .c2 { color:var(--magenta); }

/* Subtitle */
.hero-sub {
  max-width:560px; font-size:1.05rem; line-height:1.75;
  color:rgba(255, 255, 255, 0.6); font-weight:300;
  letter-spacing:.04em; margin-bottom:40px;
}

/* CTA */
.cta-group { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.btn-primary {
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 36px;
  font-family:'Orbitron',sans-serif; font-weight:900;
  font-size:.8rem; letter-spacing:.1em; text-transform:uppercase;
  color:#000; text-decoration:none;
  background:linear-gradient(135deg,var(--cyan),var(--purple));
  box-shadow:0 0 30px rgba(0,245,255,.35);
  clip-path:polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition:transform .3s, box-shadow .3s;
}
.btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 0 50px rgba(0,245,255,.6);
}
.btn-secondary {
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 36px;
  font-family:'Orbitron',sans-serif; font-weight:900;
  font-size:.8rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--cyan); text-decoration:none;
  background:transparent;
  border:1px solid rgba(0,245,255,.4);
  clip-path:polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition:background .3s;
}
.btn-secondary:hover { background:rgba(0,245,255,.07); }

.btn-github {
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 36px;
  font-family:'Orbitron',sans-serif; font-weight:900;
  font-size:.8rem; letter-spacing:.1em; text-transform:uppercase;
  color:#fff; text-decoration:none;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.2);
  clip-path:polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition:all .3s ease;
}
.btn-github:hover {
  background:rgba(255,255,255,0.1);
  border-color:#fff;
  box-shadow:0 0 20px rgba(255,255,255,0.2);
  transform:translateY(-2px);
}

.nav-github {
  display:flex; align-items:center;
  color:rgba(200,232,240,.5);
  transition:all .3s ease;
  margin-left:10px;
}
.nav-github:hover {
  color:#fff;
  filter:drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

/* Stats */
.stats {
  display:flex; gap:48px; margin-top:64px;
  flex-wrap:wrap; justify-content:center; align-items:center;
}
.stat { text-align:center; }
.stat-val {
  font-family:'Orbitron',sans-serif; font-weight:700;
  font-size:2rem; color:var(--cyan); display:block;
  text-shadow:0 0 18px rgba(0,245,255,.5);
}
.stat-label {
  display:block; margin-top:4px;
  font-size:.65rem; letter-spacing:.18em;
  text-transform:uppercase; color:rgba(243, 235, 235, 0.686);
}
.stat-div { width:1px; height:40px; background:rgba(0,245,255,.1); }

/* Scroll hint */
.scroll-hint {
  position:absolute; bottom:32px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  opacity:.3;
}
.scroll-hint-line {
  width:1px; height:40px;
  background:linear-gradient(to bottom,transparent,var(--cyan));
}
.scroll-hint span {
  font-size:.6rem; letter-spacing:.2em;
  text-transform:uppercase; color:var(--cyan);
}

/* ══ DIVIDER ══ */
.divider {
  position:relative; z-index:10;
  width:100%; height:1px;
  background:linear-gradient(90deg,transparent,var(--cyan),transparent);
  opacity:.2;
}
.divider.magenta {
  background:linear-gradient(90deg,transparent,var(--magenta),transparent);
  opacity:.15;
}

/* ══ SECTIONS ══ */
.section {
  position:relative; z-index:10;
  padding:100px 24px;
  max-width:1100px;
  margin:0 auto;
}
.section-sm { max-width:800px; text-align:center; }

.section-tag {
  display:block; font-size:.65rem;
  letter-spacing:.3em; text-transform:uppercase;
  font-weight:600; color:var(--magenta);
  margin-bottom:12px;
}
.section-title {
  font-family:'Orbitron',sans-serif; font-weight:700;
  font-size:clamp(1.8rem,4vw,2.8rem);
  color:#fff; line-height:1.1;
}
.section-title .c { color:var(--cyan); }
.section-desc {
  font-size:1rem; line-height:1.75;
  color:rgba(200, 232, 240, 0.735);
  max-width:440px; margin:16px auto 40px;
}

/* ══ FEATURES ══ */
.features-header { text-align:center; margin-bottom:64px; }
.features-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
@media(max-width:900px){
  .features-grid { grid-template-columns:1fr; }
}

.feat-card {
  position:relative; overflow:hidden;
  padding:32px;
  background:rgba(0,245,255,.03);
  border:1px solid var(--border);
  transition:transform .3s, border-color .3s, box-shadow .3s;
}
.feat-card:hover {
  transform:translateY(-6px);
  border-color:rgba(0,245,255,.4);
  box-shadow:0 20px 60px rgba(0,0,0,.5), 0 0 28px rgba(0,245,255,.08);
}
.feat-card-line {
  position:absolute; bottom:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent,var(--cyan),transparent);
  opacity:0; transition:opacity .3s;
}
.feat-card:hover .feat-card-line { opacity:1; }
.feat-icon {
  width:48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.6rem;
  background:rgba(0,245,255,.05);
  border:1px solid rgba(0,245,255,.15);
  margin-bottom:24px;
}
.feat-title {
  font-family:'Orbitron',sans-serif; font-weight:700;
  font-size:.85rem; letter-spacing:.04em;
  color:#fff; margin-bottom:10px;
}
.feat-desc {
  font-size:.88rem; line-height:1.7;
  color:rgba(255, 255, 255, 0.45);
}
.feat-tag {
  display:inline-block; margin-top:20px;
  font-size:.62rem; letter-spacing:.15em; text-transform:uppercase;
  padding:3px 10px;
  background:rgba(0,245,255,.07);
  color:var(--cyan);
  border:1px solid rgba(0,245,255,.2);
}

/* ══ SUPPORT ══ */
.support-btns {
  display:flex; gap:16px;
  flex-wrap:wrap; justify-content:center;
}

/* ══ FOOTER ══ */
footer {
  background: rgba(3, 8, 18, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 60px 64px 30px;
  position: relative;
  z-index: 10;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-links-list { display: flex; flex-direction: column; gap: 12px; }
.footer-links-list a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-links-list a:hover { color: var(--cyan); }
.footer-brand .footer-logo {
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: 1.5rem; letter-spacing: .12em;
  color: var(--cyan); margin-bottom: 10px;
  text-shadow: 0 0 16px rgba(0,245,255,0.5);
}
.footer-brand .footer-logo span { color: var(--magenta); }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.5); }

.footer-label {
  font-family: 'Orbitron'; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--cyan); margin-bottom: 20px;
  opacity: 0.8;
}

.footer-support-btns { display: flex; flex-direction: column; gap: 12px; }
.footer-support-link {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-support-link:hover { color: var(--cyan); }
.footer-support-link svg { color: var(--cyan); flex-shrink: 0; }

.footer-nav-links { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-nav-links a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px; text-align: center;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

@media(max-width:992px){
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media(max-width:768px){
  footer { padding: 40px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: span 1; }
  .stats { gap:24px; }
  .section { padding:70px 24px; }
}