* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  min-height: 100vh;
  background: #020617;
  color: #e5e7eb;
  overflow-x: hidden;
}

/* ================= BACKGROUND BLOBS ================= */
.bg-blobs span {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  opacity: 0.35;
  filter: blur(80px);
  animation: float 18s infinite alternate;
}

.bg-blobs span:nth-child(1) {
  top: -100px;
  left: -100px;
}

.bg-blobs span:nth-child(2) {
  bottom: -120px;
  right: -100px;
  animation-delay: 4s;
}

.bg-blobs span:nth-child(3) {
  top: 40%;
  left: 60%;
  animation-delay: 8s;
}

@keyframes float {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-80px) translateX(60px);
  }
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 20px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8b5cf6, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: #9ca3af;
  font-size: 1.15rem;
}

.start-btn {
  margin-top: 20px;
  padding: 14px 42px;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99,102,241,0.4);
}

/* ================= CALCULATOR ================= */
.calculator-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 30px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card h2 {
  text-align: center;
  font-weight: 700;
}

.card input,
.card select {
  padding: 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: #020617;
  color: white;
  font-size: 1rem;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row span {
  color: #9ca3af;
}

.calc-btn {
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.calc-btn:hover {
  opacity: 0.9;
}

.result {
  margin-top: 10px;
  text-align: center;
  font-weight: 600;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 20px;
  color: #6b7280;
  font-size: 0.9rem;
}
