
:root {
  --bg: #050714;
  --card: #0c1025;
  --text: #f5f7ff;
  --muted: #b9c4e8;
  --cyan: #00eaff;
  --blue: #397bff;
  --pink: #ff36c7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background .3s, color .3s;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, #182c65 0, transparent 35%),
    radial-gradient(circle at 85% 30%, #42124f 0, transparent 30%);
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 7%;
  background: #050714ed;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #397bff66;
}

.logo {
  font-size: 21px;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav a {
  transition: color .2s;
}

nav a:hover {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

button {
  font: inherit;
  cursor: pointer;
}

.theme-btn {
  background: transparent;
  border: 1px solid var(--cyan);
  border-radius: 10px;
  padding: 7px 10px;
}

.hero {
  width: min(1150px, 90%);
  min-height: 570px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 50px;
  padding: 60px 0;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--cyan);
  border-radius: 30px;
  color: var(--cyan);
  letter-spacing: 2px;
  font-size: 12px;
  box-shadow: 0 0 15px #00eaff30;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 65px);
  line-height: 1.1;
  margin: 22px 0;
}

.hero h1 span {
  color: var(--cyan);
  text-shadow: 0 0 20px #00eaff88;
}

.hero h2 {
  color: var(--pink);
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--cyan);
  border-radius: 12px;
  padding: 11px 17px;
  margin: 5px 5px 5px 0;
  box-shadow: 0 0 15px #00eaff25;
  transition: .25s;
}

.button:hover {
  background: var(--cyan);
  color: #050714;
  transform: translateY(-3px);
  box-shadow: 0 0 25px #00eaff88;
}

.secondary {
  border-color: var(--pink);
}

.hero-card,
.panel,
.card,
.quote {
  background: linear-gradient(145deg, #101936, var(--card));
  border: 1px solid #397bff88;
  border-radius: 20px;
  box-shadow: 0 0 25px #193cff20;
}

.hero-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 35px 20px;
}

.avatar {
  display: block;
  width: 180px;
  height: 180px;
  margin: 15px 0;
  object-fit: cover;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px var(--cyan));
}

.hero-card h2 {
  color: var(--cyan);
}

.hero-card p {
  color: var(--muted);
}

.stats {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 25px;
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font-size: 27px;
}

.stats span {
  font-size: 13px;
}

.section {
  width: min(1100px, 90%);
  margin: auto;
  padding: 40px 0;
}

.section-title {
  font-size: clamp(25px, 4vw, 36px);
  margin-bottom: 25px;
}

.section-title::first-letter {
  color: var(--cyan);
}

.panel {
  padding: 25px;
  color: var(--muted);
}

.panel strong {
  color: var(--cyan);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 24px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 0 25px #00eaff30;
}

.card h3 {
  margin: 8px 0;
  color: var(--cyan);
}

.card p {
  color: var(--muted);
}

.icon {
  font-size: 38px;
}

.progress {
  height: 10px;
  background: #202a49;
  border-radius: 20px;
  overflow: hidden;
  margin: 7px 0 18px;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--pink));
  box-shadow: 0 0 12px var(--cyan);
  animation: grow 1.5s ease-out;
}

.panel small {
  color: var(--muted);
}

.quote {
  padding: 30px;
  text-align: center;
  color: var(--pink);
  font-size: 21px;
  font-weight: bold;
  box-shadow: 0 0 25px #ff36c71c;
}

footer {
  text-align: center;
  padding: 35px 15px;
  border-top: 1px solid #397bff66;
  color: var(--muted);
}

.neon-text {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
}

#topBtn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 45px;
  height: 45px;
  border: 1px solid var(--cyan);
  border-radius: 12px;
  background: #101936;
  color: var(--cyan);
  font-size: 25px;
  display: none;
  box-shadow: 0 0 15px #00eaff44;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes grow {
  from { width: 0; }
}

body.light {
  --bg: #edf4ff;
  --card: #ffffff;
  --text: #111a35;
  --muted: #46516f;
}

body.light::before {
  opacity: .2;
}

body.light .navbar {
  background: #edf4ffee;
}

body.light .hero-card,
body.light .panel,
body.light .card,
body.light .quote {
  background: #ffffff;
}

body.light .button {
  color: #15203d;
}

body.light .button:hover {
  color: #050714;
}

@media (max-width: 800px) {
  .navbar {
    flex-wrap: wrap;
    padding: 15px 5%;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 45px 0;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 39px;
  }

  .section {
    padding: 25px 0;
  }

  .stats span {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
