/* --- Billing Summary Section --- */
.billing-summary {
  background: var(--section-bg, #0f172a);
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.5rem;
}

.billing-container {
  display: flex;
  flex-direction: row; /* horizontal on desktop */
  justify-content: space-between; /* spread cards evenly */
  align-items: stretch;
  gap: 2rem;
  max-width: 100%; /* take full width of parent .section-box */
  width: 100%;
}

.billing-card {
  flex: 1 1 0;          /* allow cards to grow equally */
  max-width: 90%;        /* ensures two cards fit side-by-side with gap */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.billing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.billing-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.billing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b82f6;
  margin: 0.5rem 0;
}

.billing-amount span {
  font-size: 1.25rem;
  color: #9ca3af;
}

.billing-note {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.billing-note-long {
  text-align:left;
}

/* --- Responsive: stack vertically on small screens --- */
@media (max-width: 768px) {
  .billing-container {
    flex-direction: column;
    align-items: center;
  }

  .billing-card {
    width: 100%;
  }
}
/* --- Checkout Header --- */
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 0.5rem;
}

.checkout-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.checkout-step {
  font-size: 1rem;
  color: #9ca3af;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .checkout-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .checkout-title {
    font-size: 1.5rem;
  }

  .checkout-step {
    font-size: 0.95rem;
  }
}

.cart-item {
  background: rgba(255, 255, 255, 0.05);   /* subtle dark card */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.25rem;                   /* slightly larger padding */
  color: #e5e7eb;
  font-weight: 500;
  display: flex;
  justify-content: space-between;           /* name/qty left, price right */
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0.75rem;                  /* space between items */
}

.cart-item:last-child {
  margin-bottom: 0;                        /* remove extra space after last item */
}

.cart-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25); /* subtle lift on hover */
}



/* Optional: for mobile stacking */
@media (max-width: 640px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
  }
}


.cart-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Container for name and quantity */
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-name {
  font-weight: 600;
  color: #fff;
}

.cart-item-qty {
  font-size: 0.85rem;
  color: #9ca3af;
}

.cart-item-price {
  font-weight: 600;
  color: #3b82f6;
  font-size: 1.5rem;
}
/* Keep your original price style untouched */
.cart-item-price {
  font-weight: 600;
  color: #3b82f6;
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
}

/* Only when discounted */
.cart-item-price.diagonal-strike {
  color: #9ca3af; /* faded gray to show it's old */
  font-size: 1.25rem;
}

.cart-item-price.diagonal-strike::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ef4444; /* red diagonal line */
  transform: rotate(-12deg);
  transform-origin: center;
  pointer-events: none;
  opacity: 0.9;
}

/* New price below the old one */
.cart-item-price-new {
  font-weight: 700;
  color: #22c55e; /* bright green for savings */
  font-size: 1.5rem;
}

/* Price wrapper for stacked layout */
.cart-item-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

/* Optional: smaller padding for mobile */
@media (max-width: 640px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 0.8rem;
  }
  
  .cart-item-price {
    margin-top: 0.5rem;
    font-size: 0.95rem;
  }
  .cart-item-price-wrapper {
    align-items: flex-start;
  }
  .cart-item-price-new {
    font-size: 1rem;
  }
  .cart-item-price.diagonal-strike {
    font-size: 0.95rem;
  }
}
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space between icon and text */
}

.cart-icon {
  stroke: #3b82f6; /* your site’s accent color */
  width: 1.25rem;  /* 20px */
  height: 1.25rem; /* 20px */
  flex-shrink: 0;  /* prevent icon from shrinking */
}



/* Style the radio as a card */
.radio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 1rem 1.25rem;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
}

/* Hide default radio */
.radio-card input[type="radio"] {
  display: none;
}

.radio-card-content {
  display: flex;
  justify-content: space-between; /* text left, price right */
  align-items: center;
  flex: 1;
}

.radio-text {
  flex: 1; /* take remaining space */
}

.radio-price {
  font-weight: 700;
  color: #facc15; /* yellow accent */
  margin-left: 1rem;
  white-space: nowrap; /* keep on one line */
  font-size: 1.05rem;
}
/* your existing styles remain unchanged, just add these: */

.radio-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* right-align under price */
  margin-left: 1rem;
}

.radio-subtext {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.15rem;
}



/* Highlight entire card when selected */
.radio-card:has(input[type="radio"]:checked) {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}


/* Hover effect */
.radio-card:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.03);
}

/* Fieldset styling */
.company-setup-form fieldset {
  border: none;
  padding: 0;
  margin: 1rem 0;
}

.company-setup-form legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #60a5fa;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .radio-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
  }
}
.radio-error {
  color: #f87171; /* red */
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none; /* hidden by default */
}
/* Unique Contact Section Styling */
.contact-section {
  background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.contact-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 40px 50px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  animation: fadeIn 0.6s ease-out;
}

.contact-title {
  font-size: 1.9rem;
  color: #1a1a1a;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.contact-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 35px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  width: 100%;
}

.contact-form label {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form input {
  padding: 12px 14px;
  border: 1px solid #d3d8e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.contact-form input:focus {
  border-color: #4a78ff;
  box-shadow: 0 0 0 3px rgba(74, 120, 255, 0.15);
  outline: none;
  background-color: #1a1b1e;
}

.btn-next {
  background: #4a78ff;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.btn-next:hover {
  background: #345fe3;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(74, 120, 255, 0.25);
}

/* Soft fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .contact-box {
    padding: 30px 24px;
  }
}
/* make the main form take full width so radios are stacked normally */
.company-setup-form {
  width: 100%;
  box-sizing: border-box;
}

/* button row sits under the form and aligns the two forms inline */
.form-buttons {
  margin-top: 1.25rem;
}

/* the row that holds both forms/buttons */
.form-buttons .button-row {
  display: flex;
  justify-content: flex-end; /* or center / space-between as you prefer */
  gap: 0.75rem;
  align-items: right;
  margin-top: 1rem;
}

/* ensure each tiny form behaves like an inline block */
.form-buttons .button-row form {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

/* button styling */
.button-primary,
.button-secondary {
  padding: 0.6rem 1.1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
}

/* examples — change colors to taste */
.button-primary { background:#007bff; color:#fff; }
.button-secondary { background:#f3f3f3; color:#222; }

.form-footer {
  display: flex;
  justify-content: flex-end; /* move everything to the right */
  gap: 0.75rem;               /* spacing between buttons */
  align-items: center;
  margin-top: 1.5rem;
}

/* ensure a plain button and small form both align and size consistently */
.form-footer button,
.form-footer .secondary-form {
  margin: 0;
}

/* if you put a <form> around the secondary button, make it behave like an inline-block */
.form-footer .secondary-form {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 600px) {
  .form-footer {
    flex-direction: column;
    align-items: stretch; /* makes buttons full width */
  }

  .form-footer button,
  .form-footer .secondary-form {
    width: 100%;
  }

  /* ensure form inside footer doesn't get extra horizontal padding */
  .form-footer .secondary-form {
    justify-content: center;
  }
}
.password_field {
  width: 100%;
  padding: 10px 14px;
  background-color: #1e1e1e;         /* Matches colorBackground */
  color: #ffffff;                    /* Matches colorText */
  border: 1px solid #333;            /* Subtle border */
  border-radius: 8px;                /* Matches borderRadius */
  font-family: Inter, system-ui, sans-serif; /* Matches fontFamily */
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* On focus */
.password_field:focus {
  border-color: #00d1b2; /* Matches colorPrimary */
  box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.25);
}

/* On error */
.password_field.error {
  border-color: #ff6b6b; /* Matches colorDanger */
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.25);
}

/* Placeholder text */
.password_field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.field-group {
  margin-bottom: 12px; /* spacingUnit × 3 */
}
.password-fields {
  display: flex;
  gap: 12px; /* space between fields */
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}

/* Each field takes 50% width on large screens */
.password-fields .field-group {
  flex: 1 1 48%;
  margin-bottom: 12px;
}

/* Stack vertically on small screens */
@media (max-width: 600px) {
  .password-fields {
    flex-direction: column;
  }
  .password-fields .field-group {
    flex: 1 1 100%;
  }
}
/* Payment message styling */
.payment-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid #333;
  color: #fff;
  background-color: #2a2a2a;
  max-width: 70%;
  display: none;        /* hidden by default */
  opacity: 0;           /* for fade-in animation */
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-5px);
}

/* Show and animate */
.payment-message.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Error state */
.payment-message.error {
  background-color: #330000;
  color: #ff6b6b;
  border-color: #ff6b6b;
}

/* Success state */
.payment-message.success {
  background-color: #003300;
  color: #00d1b2;
  border-color: #00d1b2;
}

/* Info / processing state */
.payment-message.info {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #00d1b2;
}
.gapped {
  margin-bottom: 12px;
}
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  color: var(--text);
  padding: 6rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

/* Decorative overlay shapes */
.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(15px, -15px) rotate(10deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.hero-overlay::before {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-overlay::after {
  width: 500px;
  height: 500px;
  background: var(--highlight);
  bottom: -150px;
  right: -150px;
  animation: drift 12s ease-in-out infinite;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;                  /* start hidden */
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.3s;       /* slight delay for smoother load */
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.hero-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.partner-code-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.partner-code-form input[type="text"] {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  border: 1px solid rgba(63, 219, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
  font-size: 15px;
  transition: all 0.3s ease;
}

.partner-code-form input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.partner-code-form input[type="text"]:focus {
  border-color: #3fdbff;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 6px rgba(63, 219, 255, 0.3);
}

.partner-code-form button {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #0ea5a4, #2563eb);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.partner-code-form button:hover {
  background: linear-gradient(90deg, #1ec7c5, #3b82f6);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(63, 219, 255, 0.3);
}
.partner_code_error {
  background-color: #020202;
  padding: 10px;
  text-align: center;
  margin-top: 15px;
  border-radius: 8px;
  color: #f00;
}
.partner_code_success {
  background-color: #020202;
  padding: 10px;
  text-align: left;
  margin-top: 15px;
  border-radius: 8px;
  color: #fff;
}
#username-status {
  margin: 6px 0 4px 0;
  font-size: 0.9rem;
  color: #9ca3af;
  transition: color 0.3s ease;
}

