/* style.css - complete modern UI with shocking aesthetics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #020218;
  background-image: radial-gradient(circle at 25% 10%, rgba(10, 30, 80, 0.6) 0%, #010014 95%);
  color: #f0f5ff;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.4;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

:root {
  --glow-cyan: 0 0 12px rgba(0, 255, 255, 0.7), 0 0 25px rgba(0, 210, 255, 0.4);
  --glass-bg: rgba(15, 25, 50, 0.55);
  --glass-border: 1px solid rgba(0, 210, 255, 0.35);
  --transition-shock: cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

canvas#particle-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 3rem;
}

/* FLOATING DOCK NAVIGATION */
.quantum-dock {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  gap: 0.8rem;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.65);
  padding: 0.7rem 1.6rem;
  border-radius: 60px;
  border: var(--glass-border);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.quantum-dock a {
  color: #b9f3ff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 0.3rem 0.9rem;
  border-radius: 40px;
  transition: 0.2s;
}
.quantum-dock a:hover {
  background: rgba(0, 255, 200, 0.2);
  color: #fff;
  text-shadow: 0 0 6px cyan;
}

/* HERO SECTION */
.hero-cosmic {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 4rem;
}
.hero-badge {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  background: linear-gradient(120deg, #80ffe0, #a06eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.hero-cosmic h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(145deg, #ffffff, #9ad8ff, #c084fc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShift 7s ease infinite;
  margin: 0.5rem 0;
}
@keyframes textShift {
  0% { background-position: 0% 30%; }
  50% { background-position: 100% 70%; }
  100% { background-position: 0% 30%; }
}
.hero-sub {
  font-size: 1.5rem;
  font-weight: 400;
  color: #cde4ff;
  max-width: 700px;
  backdrop-filter: blur(2px);
}
.hero-sub strong {
  color: #2effe6;
  font-weight: 600;
}
.btn-ripple {
  margin-top: 2.2rem;
  display: inline-flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.btn-neon {
  background: rgba(0, 255, 210, 0.08);
  border: 1px solid rgba(0, 255, 210, 0.7);
  padding: 0.8rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  color: #e2f0ff;
  font-weight: 600;
  transition: 0.2s;
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: inline-block;
}
.btn-neon:hover {
  background: cyan;
  color: #010018;
  box-shadow: 0 0 18px cyan;
}

/* PROJECT SECTION */
.project-nebula {
  margin: 6rem 0;
}
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #7bc5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.project-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2rem;
}
.card-supernova {
  background: rgba(10, 20, 40, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 2rem;
  padding: 1.8rem;
  border: 1px solid rgba(0, 210, 255, 0.3);
  transition: transform 0.3s var(--transition-shock), box-shadow 0.2s;
}
.card-supernova:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #34fff0;
  box-shadow: 0 20px 30px -10px rgba(0,255,200,0.2);
}
.project-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.card-supernova h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0.8rem;
}
.tech-tag {
  background: rgba(0, 200, 255, 0.18);
  border-radius: 40px;
  padding: 0.2rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.card-desc {
  color: #c7dcff;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ABOUT QUANTUM SECTION */
.about-quantum {
  margin: 5rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(0,40,70,0.6), rgba(5,5,25,0.8));
  border-radius: 3rem;
  padding: 2.5rem;
  border: var(--glass-border);
}
.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}
.about-text {
  flex: 2;
}
.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.detail-list {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.detail-item {
  background: rgba(0,0,0,0.4);
  border-radius: 2rem;
  padding: 0.6rem 1.3rem;
  font-weight: 500;
  border-left: 3px solid cyan;
}
.about-stats {
  flex: 1;
  background: rgba(0, 10, 30, 0.6);
  border-radius: 2rem;
  padding: 1.8rem;
  text-align: center;
}

/* DATA STREAM TICKER */
.data-stream {
  margin: 3rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: rgba(0, 30, 40, 0.5);
  padding: 0.9rem 0;
  border-block: 1px solid cyan;
}
.stream-text {
  display: inline-block;
  animation: scrollTicker 24s linear infinite;
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: 500;
}
@keyframes scrollTicker {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-48%); }
}

/* CONTACT MODERN */
.contact-modern {
  margin-top: 5rem;
  background: rgba(0, 30, 50, 0.5);
  border-radius: 3rem;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.form-left {
  flex: 1;
}
.form-right {
  flex: 1.2;
}
.glass-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: none;
  border-bottom: 1px solid cyan;
  padding: 1rem 0.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: 0.2s;
}
.glass-input:focus {
  border-bottom-color: #ff70b0;
}
.send-wave {
  background: transparent;
  border: 1.5px solid cyan;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  color: cyan;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}
.send-wave:hover {
  background: cyan;
  color: black;
  box-shadow: 0 0 20px cyan;
}

footer {
  margin-top: 4rem;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 750px) {
  .container {
    padding: 1.5rem;
  }
  .quantum-dock {
    bottom: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
  }
  .hero-sub {
    font-size: 1.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
}