* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background:
    radial-gradient(circle at top left, rgba(106, 90, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0, 209, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #0b1020, #11182b 45%, #0d1322);
  min-height: 100vh;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  z-index: 0;
  animation: floatGlow 8s ease-in-out infinite;
}

.glow-1 {
  top: -80px;
  left: -80px;
  background: #7a5cff;
}

.glow-2 {
  right: -100px;
  bottom: -100px;
  background: #00d1ff;
  animation-delay: 2s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  padding: 18px 22px;
  background: rgba(11, 16, 32, 0.68);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.4px;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  cursor: pointer;
  transition: 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 999px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 19;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 88vw;
  height: 100vh;
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(18px);
  border-right: 1px solid rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 20;
  padding: 22px 18px;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.side-logo {
  font-size: 22px;
  font-weight: bold;
}

.close-menu {
  border: none;
  background: rgba(255,255,255,0.08);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 26px;
  cursor: pointer;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-nav button {
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: white;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s ease;
}

.side-nav button:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,0.11);
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 20px 80px;
}

.page {
  display: none;
  animation: fadeInUp 0.45s ease;
}

.page.active {
  display: block;
}

.hero {
  text-align: center;
  padding: 34px 16px 20px;
}

.badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(122, 92, 255, 0.16);
  border: 1px solid rgba(122, 92, 255, 0.35);
  font-size: 14px;
}

.hero h1 {
  margin: 0 auto 18px;
  max-width: 840px;
  font-size: 54px;
  line-height: 1.05;
}

.hero p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.card-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card,
.section-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.22);
}

.card {
  padding: 24px;
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.16);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

.card p,
.section-box p {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.section-box {
  padding: 30px;
}

.section-box h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 38px;
}

.section-intro {
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.full-width {
  grid-column: 1 / -1;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.input-group label {
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.86);
}

.input-group input,
.input-group textarea {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: white;
  outline: none;
  font-size: 15px;
  font-family: Arial, sans-serif;
}

.input-group textarea {
  min-height: 140px;
  resize: vertical;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: rgba(122, 92, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.12);
}

.action-row {
  margin-top: 22px;
}

.primary-btn,
.secondary-btn {
  padding: 14px 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #7a5cff, #00c2ff);
  color: white;
  box-shadow: 0 12px 30px rgba(0, 162, 255, 0.22);
}

.primary-btn:hover {
  transform: translateY(-3px) scale(1.01);
}

.secondary-btn {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
}

.secondary-btn:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.13);
}

.card-btn {
  margin-top: 18px;
}

.result-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 17px;
  font-weight: bold;
}

.help-text {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.68);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(15px) translateX(8px);
  }
}

@media (max-width: 768px) {
  .container {
    padding-top: 26px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-box {
    padding: 22px;
  }

  .section-box h2 {
    font-size: 30px;
  }
}