/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: linear-gradient(135deg, #f0f4f8, #d9e8ff);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  background: #fff;
  padding: 30px 25px;
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.container:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.logo {
  width: 110px;
  margin-bottom: 15px;
}

h1 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e3a8a;
}

h2 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #2563eb;
  text-align: center;
}

label {
  display: block;
  margin: 14px 0 8px;
  font-weight: 600;
  font-size: 1rem;
  color: #374151;
  text-align: left;
}

#price {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: 0.2s;
  box-sizing: border-box;
}

/* Focus effect */
#price:focus {
  border-color: #2563eb;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.3);
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

button {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s;
  flex: 1;
}

button:hover {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.result {
  margin-top: 25px;
  padding: 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-align: left;
}

.result p {
  margin: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
}

.result span {
  font-weight: 700;
  color: #2563eb;
}

/* Retail price shown once, above the plan blocks */
.retail-line {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 18px;
}

.retail-line span {
  color: #2563eb;
  font-weight: 700;
}

/* Space between the plan cards */
#plans .result + .result {
  margin-top: 16px;
}
