:root {
  --royal-navy: #0f172a;
  --form-color-1: #edca6a;
  --form-color-2: #fbbf24;
  --shadow-soft: 0 20px 80px -10px rgba(30, 58, 138, 0.15);
  --easing: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- CONTAINER STYLES --- */
.bvid-ivy {
  font-family: "Manrope", sans-serif;
  position: relative;
  max-width: 500px;
  margin: 21px auto;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  /* border-radius: 32px; */
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  color: var(--royal-navy);
  border: 4px solid #fff;
  min-height: 525px;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 600px) {
  .bvid-ivy {
    width: 95% !important;
    margin: 15px auto !important;
    /* border-radius: 24px; */
    border-radius: 0;
    border-width: 2px;
    min-height: auto;
  }
  .card-body {
    padding: 20px 20px 40px !important;
    height: auto !important;
    min-height: 480px; /* Ensure space for keyboard */
  }
  h1 {
    font-size: 40px !important;
  }
  .option-card {
    padding: 18px !important;
  }
}

/* BACKGROUND EFFECTS */
.bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
      circle at 10% 10%,
      rgba(30, 58, 138, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(251, 191, 36, 0.08) 0%,
      transparent 40%
    );
}

/* HEADER STRIP */
.header-strip {
  position: relative;
  padding: 25px 30px 10px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  /* color: var(--form-color-1); */
  color: #92845d;
  /* background: rgba(30, 58, 138, 0.08); */
  background: rgb(237 202 106 / 15%);
  padding: 5px 10px;
  /* border-radius: 20px; */
  border-radius: 0;
}
.progress-dots {
  display: flex;
  gap: 6px;
}
.p-dot {
  width: 6px;
  height: 6px;
  /* border-radius: 50%; */
  border-radius: 0;
  background: #cbd5e1;
  transition: 0.3s;
}
.p-dot.active {
  background: var(--form-color-1);
  width: 18px;
  /* border-radius: 10px; */
  border-radius: 0;
}

/* MAIN CONTENT AREA */
.card-body {
  position: relative;
  z-index: 2;
  padding: 20px 35px 10px;
  height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-body h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px !important;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 12px !important;
  color: var(--royal-navy);
  letter-spacing: -0.5px;
}
.card-body p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 25px;
  line-height: 1.5;
}
.highlight-gold {
  color: #b45309;
  font-style: italic;
}

.step {
  display: none;
  width: 100%;
  animation: slideUp 0.5s var(--easing) forwards;
}
.step.active {
  display: block;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* UI COMPONENTS */
.option-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  /* border-radius: 16px; */
  border-radius: 0;
  padding: 22px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s var(--easing);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}
.option-card:active {
  transform: scale(0.98);
  background: #f8fafc;
}
.option-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}
.option-card span {
  font-size: 22px;
  /* background: #f1f5f9; */
  background: #edca6a;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 50%; */
  border-radius: 0;
}

.float-group {
  position: relative;
  margin-bottom: 25px;
  margin-top: 5px;
}
.float-input {
  width: 100%;
  border: none;
  background: transparent;
  border-bottom: 2px solid #e2e8f0 !important;
  padding: 10px 0 10px 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--royal-navy) !important;
  font-family: "Manrope", sans-serif;
  transition: 0.3s;
  border-radius: 0;
}
.float-input:focus {
  outline: none;
  border-bottom-color: var(--form-color-1) !important;
}
.float-input::placeholder {
  color: #cbd5e1;
  font-weight: 400;
}

.wa-group {
  display: flex;
  align-items: flex-end;
  /* border-bottom: 2px solid #e2e8f0; */
  padding-bottom: 2px;
  transition: 0.3s;
}
.wa-prefix {
  font-size: 22px;
  font-weight: 600;
  /* color: var(--form-color-1); */
  color: #000000;
  padding: 10px 10px 10px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.wa-input {
  border: none !important;
  padding-left: 0;
}
.wa-group:focus-within {
  border-bottom-color: var(--form-color-1);
}

.grade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.grade-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.grade-btn:active {
  transform: scale(0.96);
  background: #fffbeb;
  border-color: var(--form-color-2);
}
.g-text {
  font-weight: 700;
  font-size: 14px;
  color: var(--royal-navy);
}
.g-sub {
  font-size: 11px;
  color: #64748b;
}

.action-btn {
  width: 100%;
  background: var(--royal-navy);
  color: #fff;
  border: none;
  padding: 18px;
  /* border-radius: 14px; */
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}
.action-btn:active {
  transform: scale(0.98);
}

.call-link {
  text-decoration: none;
  width: 100%;
  display: block;
}
.call-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.err-msg {
  color: #dc2626;
  font-size: 13px;
  margin-top: 5px;
  font-weight: 600;
  display: none;
}
