/* ============================================
   SiteForge — Signup Page Styles
   ============================================ */

/* Inherits :root variables from styles.css (loaded in signup.html) */

/* --- Signup Layout --- */
.signup-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.signup-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.signup-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signup-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-400);
  transition: color 0.2s;
}

.signup-back:hover {
  color: var(--accent);
}

.signup-back svg {
  width: 18px;
  height: 18px;
}

/* --- Main Content Area --- */
.signup-main {
  flex: 1;
  padding: 120px 24px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.signup-container {
  width: 100%;
  max-width: 680px;
}

/* --- Progress Bar --- */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 0 20px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.progress-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--navy-700);
  color: var(--navy-500);
  background: var(--navy-900);
  transition: all 0.4s var(--ease-out);
  position: relative;
  z-index: 2;
}

.progress-dot.active {
  border-color: var(--accent);
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.progress-dot.completed {
  border-color: var(--success);
  color: var(--white);
  background: var(--success);
}

.progress-dot.completed svg {
  width: 16px;
  height: 16px;
}

.progress-line {
  width: 48px;
  height: 2px;
  background: var(--navy-700);
  transition: background 0.4s var(--ease-out);
  flex-shrink: 0;
}

.progress-line.completed {
  background: var(--success);
}

.progress-label {
  display: none; /* Hidden on mobile, shown on desktop */
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  color: var(--navy-500);
  white-space: nowrap;
}

.progress-dot.active .progress-label {
  color: var(--accent);
}

.progress-dot.completed .progress-label {
  color: var(--success);
}

/* --- Form Steps --- */
.form-step {
  display: none;
  animation: stepFadeIn 0.5s var(--ease-out);
}

.form-step.active {
  display: block;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header {
  text-align: center;
  margin-bottom: 40px;
}

.step-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step-header p {
  font-size: 1rem;
  color: var(--navy-400);
  max-width: 480px;
  margin: 0 auto;
}

/* --- Form Card --- */
.form-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-300);
}

.form-field .optional {
  color: var(--navy-500);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
  color: var(--white);
  transition: all 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--navy-600);
}

.form-field select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f97316' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-field .field-error {
  font-size: 0.8rem;
  color: #ef4444;
  display: none;
  margin-top: 2px;
}

.form-field.has-error input,
.form-field.has-error select {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-field.has-error .field-error {
  display: block;
}

/* --- Yes/No Radio Groups --- */
.question-group {
  margin-bottom: 28px;
}

.question-group:last-child {
  margin-bottom: 0;
}

.question-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}

.radio-group {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.radio-option {
  flex: 1;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--navy-700);
  background: var(--navy-900);
  color: var(--navy-400);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.radio-option input[type="radio"]:checked + label {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.radio-option label:hover {
  border-color: var(--navy-600);
  color: var(--navy-300);
}

.conditional-field {
  display: none;
  animation: fieldSlideIn 0.3s var(--ease-out);
}

.conditional-field.visible {
  display: block;
}

@keyframes fieldSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Domain Search --- */
.domain-search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.domain-search-box input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 16px 20px;
  background: var(--navy-900);
  border: 2px solid var(--navy-700);
  border-radius: var(--radius-md);
  color: var(--white);
  outline: none;
  transition: all 0.2s;
}

.domain-search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.domain-search-box input::placeholder {
  color: var(--navy-600);
}

.domain-search-btn {
  padding: 16px 28px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.domain-search-btn:hover {
  background: var(--accent-dark);
}

.domain-search-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.domain-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.domain-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 2px solid var(--navy-700);
  background: var(--navy-900);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.domain-result:hover {
  border-color: var(--navy-600);
}

.domain-result.selected {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.domain-result.unavailable {
  opacity: 0.4;
  cursor: not-allowed;
}

.domain-result-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.domain-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
}

.domain-tld {
  color: var(--accent);
}

.domain-status {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.domain-status.available {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.domain-status.taken {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.domain-result-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.domain-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-300);
}

.domain-price span {
  font-size: 0.75rem;
  color: var(--navy-500);
  font-weight: 400;
}

.domain-select-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.domain-result.selected .domain-select-indicator {
  border-color: var(--accent);
  background: var(--accent);
}

.domain-result.selected .domain-select-indicator svg {
  opacity: 1;
}

.domain-select-indicator svg {
  width: 12px;
  height: 12px;
  color: var(--white);
  opacity: 0;
}

.domain-searching {
  text-align: center;
  padding: 40px 20px;
  color: var(--navy-400);
}

.domain-searching .spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--navy-700);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.domain-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--navy-500);
  margin-top: 16px;
}

.domain-skip {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--navy-400);
  cursor: pointer;
  transition: color 0.2s;
}

.domain-skip:hover {
  color: var(--accent);
}

/* --- Plan Selection Cards --- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}

.plan-card {
  background: var(--navy-800);
  border: 2px solid var(--navy-700);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative;
  text-align: center;
}

.plan-card:hover {
  border-color: var(--navy-600);
  transform: translateY(-4px);
}

.plan-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.plan-card.popular {
  background: linear-gradient(135deg, var(--navy-800), rgba(249,115,22,0.05));
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.plan-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}

.plan-dollar {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.plan-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--navy-400);
  margin-bottom: 6px;
}

.plan-setup {
  font-size: 0.8rem;
  color: var(--navy-500);
  margin-bottom: 4px;
}

.plan-setup .original {
  text-decoration: line-through;
  opacity: 0.5;
}

.plan-setup .promo {
  color: var(--success);
  font-weight: 700;
}

.plan-promo-label {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--navy-700);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--navy-300);
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-check-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.plan-card.selected .plan-check-indicator {
  border-color: var(--accent);
  background: var(--accent);
}

.plan-card.selected .plan-check-indicator svg {
  opacity: 1;
}

.plan-check-indicator svg {
  width: 14px;
  height: 14px;
  color: var(--white);
  opacity: 0;
}

/* --- Order Summary (Step 5) --- */
.order-summary {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.order-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--navy-700);
}

.order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.order-line-label {
  font-size: 0.95rem;
  color: var(--navy-300);
}

.order-line-label small {
  display: block;
  font-size: 0.8rem;
  color: var(--navy-500);
  margin-top: 2px;
}

.order-line-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

.order-divider {
  height: 1px;
  background: var(--navy-700);
  margin: 8px 0;
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0;
}

.order-total-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.order-total-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.order-note {
  font-size: 0.8rem;
  color: var(--navy-500);
  margin-top: 20px;
  padding: 16px;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  line-height: 1.6;
}

.order-note strong {
  color: var(--navy-400);
}

.payment-btn {
  margin-top: 28px;
}

.payment-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--navy-500);
}

.payment-secure svg {
  width: 14px;
  height: 14px;
}

/* --- Confirmation (Step 6) --- */
.confirmation-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
}

/* Force Calendly embed iframe to fill container */
#calendlyEmbed {
  min-height: 950px !important;
}
#calendlyEmbed iframe {
  min-height: 900px !important;
  height: 900px !important;
}

.confirmation-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.confirmation-card h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.confirmation-card > p {
  font-size: 1.05rem;
  color: var(--navy-400);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.next-steps {
  text-align: left;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

.next-steps h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.next-steps ol {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.next-steps ol li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--navy-300);
  line-height: 1.5;
}

.next-steps ol li::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}

.confirmation-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Navigation Buttons --- */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 16px;
}

.step-nav .btn {
  min-width: 140px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--navy-700);
  color: var(--navy-300);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  background: transparent;
}

.btn-back:hover {
  border-color: var(--navy-500);
  color: var(--white);
}

.btn-back svg {
  width: 18px;
  height: 18px;
}

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  border: none;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-next:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-next svg {
  width: 18px;
  height: 18px;
}

.step-nav-right {
  margin-left: auto;
}

/* --- Email Provider Sub-field --- */
.email-subfields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .signup-main {
    padding: 100px 16px 60px;
  }

  .form-card {
    padding: 28px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .plan-card.popular {
    order: -1;
  }

  .radio-group {
    flex-direction: row;
  }

  .domain-search-box {
    flex-direction: column;
  }

  .domain-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .domain-result-right {
    width: 100%;
    justify-content: space-between;
  }

  .order-summary {
    padding: 24px 20px;
  }

  .confirmation-card {
    padding: 36px 24px;
  }

  .step-nav {
    flex-direction: column-reverse;
  }

  .step-nav .btn,
  .step-nav .btn-back,
  .step-nav .btn-next {
    width: 100%;
    justify-content: center;
  }

  .step-nav-right {
    margin-left: 0;
    width: 100%;
  }

  .email-subfields {
    grid-template-columns: 1fr;
  }

  .confirmation-ctas {
    flex-direction: column;
  }

  .confirmation-ctas .btn {
    width: 100%;
  }

  .progress-line {
    width: 24px;
  }

  .progress-dot {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .progress-line {
    width: 16px;
  }

  .progress-dot {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
}

/* --- Loading states --- */
.btn-loading-state {
  position: relative;
}

.btn-loading-state .btn-label {
  transition: opacity 0.2s;
}

.btn-loading-state.loading .btn-label {
  opacity: 0;
}

.btn-loading-state .btn-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-loading-state.loading .btn-spinner {
  opacity: 1;
}

.btn-spinner-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  margin: 0 3px;
  animation: bounce 1.2s infinite;
}

.btn-spinner-dot:nth-child(2) { animation-delay: 0.2s; }
.btn-spinner-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* --- Logo Upload --- */
.logo-upload-area {
  border: 2px dashed var(--navy-600);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  background: var(--navy-900);
}

.logo-upload-area:hover {
  border-color: var(--accent);
  background: rgba(249, 115, 22, 0.05);
}

.logo-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 2rem;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-300);
}

.logo-hint {
  font-size: 0.8rem;
  color: var(--navy-500);
}

.logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.logo-preview img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.logo-remove {
  position: absolute;
  top: -8px;
  right: calc(50% - 70px);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.logo-remove:hover {
  transform: scale(1.1);
}

/* --- SMS Opt-in Box --- */
.sms-optin-box {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
}

.sms-optin-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.sms-optin-label input[type="checkbox"] {
  display: none;
}

.sms-optin-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--navy-500);
  border-radius: 6px;
  background: var(--navy-800);
  position: relative;
  transition: all 0.2s;
  margin-top: 2px;
}

.sms-optin-label input[type="checkbox"]:checked + .sms-optin-check {
  background: #22c55e;
  border-color: #22c55e;
}

.sms-optin-label input[type="checkbox"]:checked + .sms-optin-check::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sms-optin-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--navy-200);
  line-height: 1.4;
}

.sms-optin-text strong {
  color: #22c55e;
  font-size: 1.05rem;
}

.sms-optin-note {
  font-size: 0.85rem;
  color: var(--navy-300);
  margin: 12px 0 0 36px;
  line-height: 1.5;
  padding: 8px 12px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 6px;
}

.sms-optin-note strong {
  color: #22c55e;
}

.sms-optin-legal {
  font-size: 0.75rem;
  color: var(--navy-500);
  margin: 12px 0 0 36px;
  line-height: 1.5;
}

/* Free month applied state */
.sms-optin-box.applied {
  border-color: #22c55e;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
}

.order-total-value.free {
  color: #22c55e !important;
}

.order-total-value .original-price {
  text-decoration: line-through;
  color: var(--navy-500);
  font-size: 0.85em;
  margin-right: 8px;
}

/* --- Signup Footer --- */
.signup-footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--navy-800);
}

.signup-footer p {
  font-size: 0.8rem;
  color: var(--navy-600);
}
