/* ==========================================================================
   GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
  --bg-main: #0d071e;
  --card-bg: rgba(22, 14, 51, 0.92);
  --bg-card: rgba(22, 14, 51, 0.92);      /* ADD */
  --bg-card-alt: rgba(22, 14, 51, 0.75);  /* ADD */
  --border-color: rgba(255, 255, 255, 0.08);
  --accent-purple: #7c3aed;
  --accent-purple-hover: #6d28d9;
  --accent-gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-white);
  line-height: 1.5;
}

/* Gradient Typography Utility */
    .text-gradient {
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* Container Utility */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }

    /* Section Spacing */
    section {
      padding: 4rem 0;
    }

    /* ==========================================================================
       2. Navigation Bar & Mobile Menu
       ========================================================================== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: rgba(13, 7, 30, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 1000;
      border-bottom: 1px solid var(--border-color);
      height: 70px;
      display: flex;
      align-items: center;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .brand-logo {
      font-size: 1.35rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text-white);
      text-decoration: none;
      z-index: 1002;
    }

    .brand-logo span {
      color: var(--accent-purple);
    }

    /* Desktop Navigation Links */
    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      align-items: center;
    }

    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: var(--text-white);
    }

    .btn-nav {
      background-color: var(--accent-purple);
      color: var(--text-white);
      padding: 0.55rem 1.1rem;
      border-radius: var(--radius-md);
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      transition: background-color 0.2s;
      border: none;
      cursor: pointer;
    }

    .btn-nav:hover {
      background-color: var(--accent-purple-hover);
    }

    .nav-desktop-right {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    /* Mobile Hamburger Button */
    .hamburger-btn {
      display: none;
      background: none;
      border: none;
      color: var(--text-white);
      cursor: pointer;
      z-index: 1002;
      padding: 0.25rem;
    }

    .hamburger-btn svg {
      width: 1.85rem;
      height: 1.85rem;
    }

    /* Mobile Menu Drawer */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      max-width: 320px;
      height: 100vh;
      background-color: var(--bg-card);
      border-left: 1px solid var(--border-color);
      z-index: 1001;
      padding: 5.5rem 2rem 2rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .mobile-menu.active {
      right: 0;
    }

    .mobile-menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(4px);
      z-index: 1000;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .mobile-nav-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .mobile-nav-links a {
      color: var(--text-white);
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 600;
      display: block;
      transition: color 0.2s;
    }

    .mobile-nav-links a:hover {
      color: var(--accent-purple);
    }

    @media (max-width: 768px) {

      .nav-links,
      .nav-desktop-right {
        display: none;
      }

      .hamburger-btn {
        display: block;
      }
    }

    /* ==========================================================================
       3. Hero Section (Positioned Directly Under Navbar)
       ========================================================================== */
    .hero-section {
      min-height: 100vh;
      padding-top: 90px;
      /* Accounts for navbar so top goes right beneath header */
      padding-bottom: 3rem;
      display: flex;
      align-items: center;
      position: relative;
    }

    .hero-header {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 2.5rem auto;
    }

    .badge-pill {
      display: inline-block;
      background-color: rgba(124, 58, 237, 0.15);
      color: #c4b5fd;
      border: 1px solid rgba(124, 58, 237, 0.3);
      padding: 0.3rem 0.85rem;
      border-radius: var(--radius-sm);
      font-size: 0.75rem;
      font-weight: 600;
      margin-bottom: 0.85rem;
    }

    .hero-title {
      font-size: 2rem;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 0.75rem;
    }

    .hero-subtitle {
      color: var(--text-muted);
      font-size: 0.95rem;
      padding: 0 0.5rem;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.5rem;
      align-items: center;
    }

    @media (min-width: 992px) {
      .hero-grid {
        grid-template-columns: 1fr 1fr;
      }

      .hero-title {
        font-size: 2.85rem;
      }

      .hero-subtitle {
        font-size: 1.05rem;
      }
    }

    .hero-image-box {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem 0;
    }

    .hero-image-box::before {
      content: "";
      position: absolute;
      width: 320px;
      height: 320px;
      background: radial-gradient(circle,
          rgba(124, 58, 237, 0.45) 0%,
          rgba(13, 7, 30, 0) 70%);
      border-radius: 50%;
      z-index: 1;
      filter: blur(30px);
    }

    @media (min-width: 768px) {
      .hero-image-box::before {
        width: 420px;
        height: 420px;
      }
    }

    .hero-image {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 380px;
      height: auto;
      object-fit: contain;
      animation: floatAnimation 4s ease-in-out infinite;
      filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
    }

    @media (min-width: 992px) {
      .hero-image {
        max-width: 480px;
      }
    }

    @media (min-width: 1200px) {
      .hero-image {
        max-width: 540px;
      }
    }

    @keyframes floatAnimation {

      0%,
      100% {
        transform: translateY(0px);
      }

      50% {
        transform: translateY(-12px);
      }
    }

    /* Wizard Card */
    .wizard-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-xl);
      padding: 1.25rem;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

    @media (min-width: 640px) {
      .wizard-card {
        padding: 1.5rem;
      }
    }

    .tab-bar {
      background-color: var(--bg-main);
      padding: 0.25rem;
      border-radius: var(--radius-md);
      display: flex;
      gap: 0.25rem;
      margin-bottom: 1.25rem;
      border: 1px solid var(--border-color);
    }

    .tab-btn {
      flex: 1;
      padding: 0.5rem 0.75rem;
      border-radius: var(--radius-sm);
      font-size: 0.8rem;
      font-weight: 700;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
    }

    .tab-btn.active {
      background-color: var(--accent-purple);
      color: var(--text-white);
    }

    .tab-btn.inactive {
      background-color: transparent;
      color: var(--text-muted);
    }

    .plan-specs {
      display: flex;
      gap: 1rem;
      align-items: center;
      margin-bottom: 1.25rem;
    }

    .router-icon-box {
      width: 3.25rem;
      height: 3.25rem;
      background-color: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .router-icon-box svg {
      width: 1.6rem;
      height: 1.6rem;
      stroke: #a855f7;
    }

    .plan-title {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0.2rem;
    }

    .specs-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.25rem 0.75rem;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .specs-grid span {
      color: #a855f7;
      font-weight: bold;
    }

    /* Stepper Box */
    .stepper-box {
      background-color: rgba(13, 7, 30, 0.6);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1rem 1.1rem;
      margin-bottom: 1.25rem;
    }

    .stepper-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.75rem;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .speed-number {
      font-size: 1.5rem;
      font-weight: 800;
      line-height: 1;
    }

    .upload-info {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-left: 0.35rem;
    }

    .help-link {
      font-size: 0.75rem;
      color: #c4b5fd;
      text-decoration: underline;
    }

    .controls-row {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }

    .progress-bar-bg {
      flex: 1;
      background-color: rgba(255, 255, 255, 0.1);
      height: 0.65rem;
      border-radius: var(--radius-sm);
      overflow: hidden;
    }

    .progress-bar-fill {
      background: var(--accent-gradient);
      height: 100%;
      width: 50%;
      transition: width 0.3s ease;
    }

    .btn-step-group {
      display: flex;
      gap: 0.35rem;
    }

    .btn-step {
      width: 1.85rem;
      height: 1.85rem;
      border-radius: var(--radius-sm);
      background-color: var(--accent-purple);
      color: var(--text-white);
      border: none;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.2s;
    }

    .btn-step:hover {
      background-color: var(--accent-purple-hover);
    }

    .feature-bullets {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.4rem 0.75rem;
      margin-top: 0.85rem;
      padding-top: 0.75rem;
      border-top: 1px solid var(--border-color);
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .feature-bullets span {
      color: #a855f7;
      font-weight: bold;
    }

    /* Price & CTA */
    .cta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .price-value {
      font-size: 1.75rem;
      font-weight: 900;
      line-height: 1;
    }

    .price-unit {
      font-size: 0.8rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    .btn-select-plan {
      background: var(--accent-gradient);
      color: var(--text-white);
      font-weight: 700;
      font-size: 0.85rem;
      padding: 0.7rem 1.2rem;
      border-radius: var(--radius-md);
      border: none;
      cursor: pointer;
      box-shadow: 0 8px 20px -4px rgba(124, 58, 237, 0.4);
      transition:
        transform 0.2s,
        box-shadow 0.2s;
    }

    .btn-select-plan:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 25px -4px rgba(124, 58, 237, 0.6);
    }

    /* ==========================================================================
       4. Features Section
       ========================================================================== */
    .section-title {
      text-align: center;
      font-size: 1.75rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
    }

    @media (min-width: 768px) {
      .section-title {
        font-size: 2rem;
      }
    }

    .section-subtitle {
      text-align: center;
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto 2.5rem auto;
      font-size: 0.9rem;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
    }

    .feature-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      transition: transform 0.2s;
    }

    .feature-card:hover {
      transform: translateY(-4px);
    }

    .feature-icon {
      width: 3rem;
      height: 3rem;
      background-color: rgba(124, 58, 237, 0.15);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.25rem;
    }

    .feature-icon svg {
      width: 1.5rem;
      height: 1.5rem;
      stroke: #a855f7;
    }

    .feature-title {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .feature-desc {
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    /* ==========================================================================
       5. Coverage Eligibility Section
       ========================================================================== */
    .coverage-card {
      background-color: var(--bg-card-alt);
      border: 1px solid rgba(124, 58, 237, 0.3);
      border-radius: var(--radius-xl);
      padding: 2.5rem 1.5rem;
      text-align: center;
      max-width: 800px;
      margin: 0 auto;
    }

    .coverage-form {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      max-width: 500px;
      margin: 1.75rem auto 0 auto;
    }

    @media (min-width: 640px) {
      .coverage-form {
        flex-direction: row;
      }
    }

    .coverage-input {
      flex: 1;
      padding: 0.75rem 1rem;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      background-color: var(--bg-main);
      color: var(--text-white);
      outline: none;
      font-size: 0.9rem;
    }

    .coverage-input:focus {
      border-color: var(--accent-purple);
    }

    /* ==========================================================================
       6. FAQ Accordion Section
       ========================================================================== */
    .faq-container {
      max-width: 750px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    .faq-item {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .faq-question {
      width: 100%;
      padding: 1rem 1.25rem;
      background: none;
      border: none;
      color: var(--text-white);
      font-size: 0.95rem;
      font-weight: 600;
      text-align: left;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition:
        max-height 0.3s ease,
        padding 0.3s ease;
      padding: 0 1.25rem;
      color: var(--text-muted);
      font-size: 0.875rem;
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 1rem;
    }

    .faq-icon {
      transition: transform 0.3s ease;
      font-size: 0.8rem;
    }

    .faq-item.active .faq-icon {
      transform: rotate(180deg);
    }

    /* ==========================================================================
       7. Modal Lead Capture
       ========================================================================== */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(8px);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.25rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .modal-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-box {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      max-width: 450px;
      width: 100%;
      position: relative;
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 1.5rem;
      cursor: pointer;
    }

    .form-group {
      margin-bottom: 1rem;
    }

    .form-group label {
      display: block;
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 0.35rem;
    }

    .form-control {
      width: 100%;
      padding: 0.7rem 0.85rem;
      border-radius: var(--radius-md);
      background-color: var(--bg-main);
      border: 1px solid var(--border-color);
      color: var(--text-white);
      outline: none;
      font-size: 0.9rem;
    }

    .form-control:focus {
      border-color: var(--accent-purple);
    }

    /* ==========================================================================
       8. Footer Section
       ========================================================================== */
    .footer {
      border-top: 1px solid var(--border-color);
      padding: 2.5rem 0 1.5rem 0;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-brand p {
      margin-top: 0.5rem;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border-color);
    }

    /* ==========================================================================
   Modern Styling for SweetAlert Plan Selector
   ========================================================================== */

/* Custom Container / Select Box Styling */
.swal2-popup #swalPlanSelect {
  width: 100% !important;
  max-width: 100% !important;
  height: 52px !important;
  margin: 1.25rem 0 0.5rem 0 !important;
  padding: 0 1.25rem !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  outline: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  
  /* Custom modern dropdown arrow */
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%3C7c3aed' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1.125rem !important;
}

/* Hover State */
.swal2-popup #swalPlanSelect:hover {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
}

/* Focus / Active State */
.swal2-popup #swalPlanSelect:focus {
  background-color: #ffffff !important;
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15) !important;
}

/* Optgroup Styling */
.swal2-popup #swalPlanSelect optgroup {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #7c3aed !important;
  background-color: #ffffff !important;
  padding: 8px 0 !important;
}

/* Option Items Styling */
.swal2-popup #swalPlanSelect option {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  background-color: #ffffff !important;
  padding: 10px 14px !important;
}

    /* SweetAlert Dark Theme Overrides */
    .swal2-popup {
      background-color: var(--bg-card) !important;
      color: var(--text-white) !important;
      border: 1px solid var(--border-color) !important;
      border-radius: var(--radius-xl) !important;
    }

    .swal2-title,
    .swal2-html-container {
      color: var(--text-white) !important;
    }

    .swal2-html-container .location-details {
      text-align: left;
      margin-top: 1rem;
      padding: 0.85rem 1rem;
      background-color: var(--bg-main);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      font-size: 0.875rem;
    }

    .swal2-html-container .location-details p {
      margin-bottom: 0.35rem;
      color: var(--text-muted);
    }

    .swal2-html-container .location-details strong {
      color: var(--text-white);
    }

    .text-red-500 {
      color: rgb(151, 28, 53);
    }

/* ==========================================================================
   REGISTER PAGE & RESPONSIVE OPTIMIZATIONS (ALL VIEWS)
   ========================================================================== */

/* Page Outer Layout */
html.register-scope,
body.register-scope {
  width: 100%;
  min-height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

.register-page {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

/* Background Glow Effects - Constrained to prevent horizontal scrolling */
.register-page::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: min(900px, 100vw);
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.15) 0%,
    rgba(124, 58, 237, 0.05) 38%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.register-page::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -300px;
  width: min(700px, 100vw);
  height: 600px;
  transform: translateX(30%);
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.register-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

/* Brand & Headers */
.register-brand {
  text-align: center;
  margin-bottom: 0.85rem;
}

.register-logo {
  display: inline-block;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.register-logo span {
  color: #a855f7;
}

.register-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.register-title {
  margin: 0 0 0.35rem;
  font-size: 1.95rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.register-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Main Layout Grid */
.register-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(480px, 1.25fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Info Card Side */
.register-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  background: rgba(22, 14, 51, 0.92);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 25px 50px -25px rgba(0, 0, 0, 0.6);
}

.info-heading {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 750;
}

.info-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.18);
  color: #a855f7;
}

.info-icon svg {
  width: 1rem;
  height: 1rem;
}

.info-item-content {
  min-width: 0;
}

.info-item-content strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.info-item-content span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.info-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1.25rem 0;
}

.info-note {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(13, 7, 30, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.info-note strong {
  color: var(--text-white);
}

/* Form Card */
.register-card {
  min-width: 0;
  background: rgba(22, 14, 51, 0.96);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.65);
}

.form-header {
  margin-bottom: 1rem;
}

.form-title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 750;
}

.form-description {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Wizard Navigation Bar */
.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.wizard-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.wizard-step::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 0.3rem);
  width: calc(100% - 0.6rem);
  height: 1px;
  background: var(--border-color);
  transform: translateY(-50%);
}

.wizard-step:last-child::after {
  display: none;
}

.wizard-number {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 750;
  transition: all 0.2s ease;
}

.wizard-label {
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wizard-step.active {
  color: var(--text-white);
}

.wizard-step.active .wizard-number {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.wizard-step.completed {
  color: #c4b5fd;
}

.wizard-step.completed .wizard-number {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.45);
  color: #c4b5fd;
}

.wizard-step.completed::after {
  background: rgba(124, 58, 237, 0.45);
}

.form-step {
  display: none;
}

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

/* Input Fields & Controls */
.register-form .form-group {
  margin-bottom: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.register-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 600;
}

.required {
  color: #f87171;
  margin-left: 0.12rem;
}

.field-hint {
  margin-top: 0.3rem;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.35;
}

.form-control,
.register-select {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control::placeholder {
  color: #64748b;
}

.form-control:hover,
.register-select:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.form-control:focus,
.register-select:focus {
  border-color: var(--accent-purple);
  background-color: rgba(13, 7, 30, 0.85);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14);
}

/* Phone Wrapper */
.phone-wrapper {
  position: relative;
}

.phone-prefix {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  width: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(124, 58, 237, 0.08);
  border-right: 1px solid var(--border-color);
  border-radius: calc(var(--radius-md) - 1px) 0 0 calc(var(--radius-md) - 1px);
  pointer-events: none;
}

.phone-input {
  padding-left: 4.25rem !important;
  letter-spacing: 0.02em;
}

.address-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.85rem;
}

/* Select Control */
.select-wrapper {
  position: relative;
}

.register-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 2.3rem;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  width: 0.85rem;
  height: 0.85rem;
  transform: translateY(-50%);
  color: #a855f7;
  pointer-events: none;
}

.register-select option,
.register-select optgroup {
  background: #160e33;
  color: #ffffff;
}

/* Geolocation */
.geolocation-box {
  display: flex;
  gap: 0.5rem;
}

.geolocation-box .form-control {
  flex: 1;
  min-width: 0;
}

.btn-location {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: rgba(124, 58, 237, 0.1);
  color: #c4b5fd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-location:hover {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.4);
  color: #ffffff;
}

/* Terms Checkbox */
.terms-group {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: rgba(13, 7, 30, 0.45);
}

.terms-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 !important;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.terms-checkbox {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: var(--bg-main);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.terms-checkbox:checked {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

.terms-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.terms-link {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Wizard Buttons */
.wizard-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-wizard {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-wizard svg {
  width: 0.85rem;
  height: 0.85rem;
}

.btn-previous {
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
}

.btn-previous:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-next {
  margin-left: auto;
  border: 1px solid transparent;
  background: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(124, 58, 237, 0.45);
}

.btn-next:hover {
  background-color: var(--accent-purple-hover);
}

.btn-previous.hidden {
  visibility: hidden;
}

.submit-section {
  margin-top: 1rem;
}

.btn-register {
  width: 100%;
  max-width: 320px;          
  margin-left: auto;     
  margin-right: auto; 
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-gradient);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 750;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(124, 58, 237, 0.4);
  transition: all 0.2s ease;
}

.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -4px rgba(124, 58, 237, 0.6);
}

.btn-register svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

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

.form-legal {
  margin: 0.65rem 0 0;
  text-align: center;
  color: #64748b;
  font-size: 0.68rem;
  line-height: 1.4;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Modal Styling */
.terms-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.terms-modal.active {
  display: flex;
}

.terms-modal-dialog {
  background: rgba(22, 14, 51, 0.98);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.terms-modal-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terms-modal-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 750;
}

.terms-modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.terms-modal-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.terms-modal-button {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-white);
}

.terms-modal-button.primary {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

/* ==========================================================================
   BREAKPOINT MEDIA QUERIES (TABLETS & MOBILE)
   ========================================================================== */

/* Tablet Viewports (max-width: 991px) */
@media (max-width: 991px) {
  .register-page {
    height: auto;
    min-height: 100svh;
    align-items: flex-start;
  }

  .register-container {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .register-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .register-info {
    order: 2;
  }

  .register-card {
    order: 1;
  }
}

/* Mobile Viewports (max-width: 639px) */
@media (max-width: 639px) {
  .register-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

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

  .register-subtitle {
    font-size: 0.85rem;
  }

  .register-info,
  .register-card {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }

  .form-row,
  .address-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .wizard-progress {
    gap: 0.25rem;
  }

  .wizard-step {
    gap: 0.25rem;
  }

  .wizard-step::after {
    display: none !important; /* Disables connector line overlap on small viewports */
  }

  .wizard-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 0.7rem;
  }

  .wizard-label {
    font-size: 0.72rem;
  }

  .form-control,
  .register-select {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .btn-location {
    min-width: 42px;
    width: 42px;
    min-height: 42px;
  }

  /* Modal Mobile Fixes */
  .terms-modal {
    align-items: flex-end;
    padding: 0;
  }

  .terms-modal-dialog {
    width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .terms-modal-button {
    flex: 1;
  }
}

/* updated for register.html */