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

:root {
  --bg: #080c14;
  --bg2: #0d1220;
  --bg3: #111827;
  --accent: #00d4ff;
  --accent2: #7c3aed;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(255,255,255,0.07);
  --card-bg: rgba(255,255,255,0.04);
  --radius: 12px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }

/* ===== NAV ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 1.2rem; font-weight: 700;
  color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.logo i { font-size: 1.4rem; }
.nav-links {
  list-style: none;
  display: flex; gap: 32px;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: space-between;
  padding: 100px 24px 60px;
  max-width: 1200px; margin: 0 auto;
  position: relative; gap: 40px;
}
.hero-bg {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(124,58,237,0.08) 0%, transparent 50%);
}
.hero-content { flex: 1; max-width: 600px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-glow); border: 1px solid rgba(0,212,255,0.3);
  color: var(--accent); font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.accent { color: var(--accent); }
.hero p {
  font-size: 1.1rem; color: var(--muted);
  margin-bottom: 36px; max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--accent); color: #080c14;
}
.btn-primary:hover {
  background: #33ddff;
  box-shadow: 0 0 24px rgba(0,212,255,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-2px);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  flex: 0 0 auto;
  position: relative; width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.5;
}
.orb1 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(0,212,255,0.3), transparent);
  animation: pulse 4s ease-in-out infinite;
}
.orb2 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(124,58,237,0.4), transparent);
  animation: pulse 4s ease-in-out infinite 2s;
}
.shield-icon {
  font-size: 8rem; color: var(--accent);
  filter: drop-shadow(0 0 30px rgba(0,212,255,0.5));
  animation: float 3s ease-in-out infinite;
  position: relative; z-index: 1;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.7; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 24px; }
.section-alt { background: var(--bg2); }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 48px; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start; margin-top: 32px;
}
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-cards { display: flex; flex-direction: column; gap: 20px; }
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); }
.card i { font-size: 1.5rem; margin-bottom: 12px; display: block; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ===== ECOSYSTEM ===== */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-top: 16px;
}
.eco-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  transition: all var(--transition);
}
.eco-card:hover {
  border-color: rgba(0,212,255,0.35);
  transform: translateY(-5px);
}
.eco-card.highlight {
  border-color: rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.05);
}
.eco-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--accent);
  margin-bottom: 16px;
}
.eco-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.eco-role {
  font-size: 0.75rem; color: var(--accent);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 10px; display: block;
}
.eco-card p { color: var(--muted); font-size: 0.88rem; }

/* ===== TECH STRIP ===== */
.tech-strip {
  margin-top: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.tech-label {
  color: var(--accent); font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tags span {
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--text); font-size: 0.82rem;
  padding: 5px 12px; border-radius: 100px;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-top: 16px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(0,212,255,0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,212,255,0.08);
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ===== TIMELINE ===== */
.timeline {
  position: relative; margin-top: 48px;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item {
  position: relative; margin-bottom: 40px;
  display: flex; gap: 24px; align-items: flex-start;
}
.timeline-dot {
  position: absolute; left: -28px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg3); border: 2px solid var(--border);
  flex-shrink: 0; transition: var(--transition);
}
.timeline-dot.done { background: var(--accent); border-color: var(--accent); }
.timeline-dot.active {
  background: var(--accent2); border-color: var(--accent2);
  box-shadow: 0 0 12px rgba(124,58,237,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 12px rgba(124,58,237,0.6); }
  50% { box-shadow: 0 0 24px rgba(124,58,237,0.9); }
}
.timeline-content {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  flex: 1; transition: border-color var(--transition);
}
.timeline-content:hover { border-color: rgba(0,212,255,0.3); }
.phase {
  font-size: 0.75rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em;
  display: block; margin-bottom: 6px;
}
.timeline-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.timeline-content p { color: var(--muted); font-size: 0.9rem; }

/* ===== LITEPAPER ===== */
.litepaper-wrap { text-align: center; }
.litepaper-card {
  display: flex; align-items: center; gap: 32px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px;
  max-width: 700px; margin: 0 auto;
  text-align: left;
  transition: border-color var(--transition);
}
.litepaper-card:hover { border-color: rgba(0,212,255,0.3); }
.litepaper-icon {
  font-size: 4rem; color: var(--accent);
  filter: drop-shadow(0 0 16px rgba(0,212,255,0.4));
  flex-shrink: 0;
}
.litepaper-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.litepaper-info p { color: var(--muted); margin-bottom: 20px; font-size: 0.95rem; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-top: 32px;
}
.contact-social p { color: var(--muted); margin-bottom: 24px; }
.social-links { display: flex; flex-direction: column; gap: 12px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: all var(--transition);
  width: fit-content;
}
.social-btn:hover { transform: translateX(6px); }
.social-btn.twitter:hover { border-color: #e2e8f0; color: #e2e8f0; }
.social-btn.email:hover { border-color: #34d399; color: #34d399; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color var(--transition);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.form-success {
  color: var(--accent); font-size: 0.9rem;
  display: none; margin-top: 4px;
}
.form-success.show { display: block; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-inner span { color: var(--muted); font-size: 0.85rem; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  color: var(--muted); font-size: 1.1rem;
  transition: color var(--transition);
}
.footer-socials a:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 120px; }
  .hero p { margin: 0 auto 36px; }
  .hero-btns { justify-content: center; }
  .hero-visual { width: 220px; height: 220px; }
  .shield-icon { font-size: 5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .litepaper-card { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(8,12,20,0.97);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px; gap: 20px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
}
