   :root {
      --primary: #2563eb;
      --primary-dark: #1d4ed8;
      --secondary: #7c3aed;
      --text-light: #cbd5e1;
      --bg-dark: #0f172a;
      --accent: #facc15;
      --card-bg: #111827;
      --featured-bg: #1e293b;
      --success: #10b981;
    }

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 40px;
  left: 20px;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  background-color: var(--secondary);
}

    /* Hero Section */
    .hero {
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      padding: 100px 0;
      padding-top: 150px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    }

    .hero h1 {
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      background: linear-gradient(to right, #fff, var(--text-light));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero p {
      font-size: 1.25rem;
      max-width: 700px;
      margin: 0 auto;
      color: var(--text-light);
    }

    /* Section Styling */
    section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title h2 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .section-title p {
      font-size: 1.125rem;
      color: var(--text-light);
      max-width: 600px;
      margin: 0 auto;
    }

    .pricing-subheading {
      font-size: 1.75rem;
      font-weight: 600;
      text-align: center;
      margin-bottom: 40px;
      color: var(--accent);
    }

    /* Pricing Grid */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 30px;
      margin-bottom: 60px;
    }

    /* Pricing Card */
    .pricing-card {
      background: var(--card-bg);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
      position: relative;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .pricing-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .pricing-card.featured {
      background: var(--featured-bg);
      border: 1px solid var(--primary);
      transform: scale(1.05);
    }

    .pricing-card.featured:hover {
      transform: scale(1.05) translateY(-10px);
    }

    .pricing-header {
      padding: 30px;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pricing-name {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .badge {
      background: #f43f5e;
      color: white;
      font-size: 0.75rem;
      padding: 4px 12px;
      border-radius: 20px;
      font-weight: 600;
    }

    .pricing-price {
      margin-bottom: 10px;
    }

    .price-kes {
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent);
      display: block;
    }

    .price-usd {
      font-size: 1rem;
      color: var(--text-light);
    }

    .pricing-period {
      color: var(--text-light);
      font-size: 0.9rem;
    }

    .pricing-features {
      padding: 30px;
      flex-grow: 1;
    }

    .pricing-features li {
      list-style: none;
      margin-bottom: 15px;
      display: flex;
      align-items: flex-start;
    }

    .pricing-features i {
      margin-right: 12px;
      margin-top: 4px;
      flex-shrink: 0;
    }

    .pricing-features .fa-check {
      color: #22c55e;
    }

    .pricing-features .fa-times {
      color: #ef4444;
    }

    .cta-price-button {
      display: block;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      color: white;
      text-align: center;
      padding: 15px;
      margin: 0 30px 30px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
      font-family: inherit;
    }

    .cta-price-button:hover {
      background: linear-gradient(90deg, var(--primary-dark), var(--secondary));
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .featured-btn {
      background: linear-gradient(90deg, var(--accent), #f97316);
    }

    .featured-btn:hover {
      background: linear-gradient(90deg, #eab308, #ea580c);
    }

    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .modal-content {
      background: var(--card-bg);
      border-radius: 16px;
      padding: 30px;
      width: 100%;
      max-width: 600px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
      position: relative;
      max-height: 90vh;
      overflow-y: auto;
    }

    .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 1.5rem;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close-btn:hover {
      color: white;
    }

    .form-header {
      text-align: center;
      margin-bottom: 30px;
    }

    .form-header h2 {
      margin-bottom: 10px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }

    input, select, textarea {
      width: 100%;
      padding: 12px 15px;
      border-radius: 8px;
      border: 1px solid #374151;
      background: #1f2937;
      color: white;
      font-size: 1rem;
      transition: border-color 0.3s;
    }

    input:focus, select:focus, textarea:focus {
      outline: none;
      border-color: var(--primary);
    }

    .error-message {
      color: #f87171;
      font-size: 0.85rem;
      margin-top: 5px;
      display: none;
    }

    .submit-btn {
      width: 100%;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      color: white;
      border: none;
      border-radius: 10px;
      padding: 15px;
      cursor: pointer;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
      margin-top: 10px;
    }

    .submit-btn:hover {
      background: linear-gradient(90deg, var(--primary-dark), var(--secondary));
      transform: translateY(-2px);
    }

    .submit-btn:disabled {
      background: #6b7280;
      cursor: not-allowed;
      transform: none;
    }

    .loading-message {
      display: none;
      background: #3b82f6;
      color: white;
      padding: 15px;
      border-radius: 8px;
      margin-top: 20px;
      text-align: center;
    }

    /* Selected Plan Display */
    .selected-plan-display {
      background: #1e293b;
      border-radius: 12px;
      padding: 20px;
      margin: 20px 0;
      border-left: 4px solid var(--accent);
    }

    .selected-plan-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .selected-plan-name {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--accent);
    }

    .change-plan-btn {
      background: rgba(255, 255, 255, 0.1);
      color: var(--text-light);
      border: 1px solid #374151;
      border-radius: 6px;
      padding: 8px 16px;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .change-plan-btn:hover {
      background: rgba(255, 255, 255, 0.2);
      color: white;
      transform: translateY(-1px);
    }

    .selected-plan-details {
      color: var(--text-light);
      font-size: 0.95rem;
      line-height: 1.5;
    }

    /* Confirmation Popup */
    .confirmation-popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 1001;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .confirmation-content {
      background: var(--card-bg);
      border-radius: 16px;
      padding: 40px;
      width: 100%;
      max-width: 500px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
      position: relative;
      text-align: center;
      animation: popIn 0.5s ease-out;
    }

    @keyframes popIn {
      0% {
        opacity: 0;
        transform: scale(0.8);
      }
      100% {
        opacity: 1;
        transform: scale(1);
      }
    }

    .confirmation-icon {
      font-size: 4rem;
      color: var(--success);
      margin-bottom: 20px;
      animation: bounce 1s ease-in-out;
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
      }
      40% {
        transform: translateY(-10px);
      }
      60% {
        transform: translateY(-5px);
      }
    }

    .confirmation-content h3 {
      font-size: 1.8rem;
      margin-bottom: 15px;
      color: var(--success);
    }

    .confirmation-content p {
      color: var(--text-light);
      margin-bottom: 25px;
      font-size: 1.1rem;
    }

    .confirmation-btn {
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      color: white;
      border: none;
      border-radius: 10px;
      padding: 12px 30px;
      cursor: pointer;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .confirmation-btn:hover {
      background: linear-gradient(90deg, var(--primary-dark), var(--secondary));
      transform: translateY(-2px);
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }
      
      .hero p {
        font-size: 1.1rem;
      }
      
      .section-title h2 {
        font-size: 2rem;
      }
      
      .pricing-grid {
        grid-template-columns: 1fr;
      }
      
      .pricing-card.featured {
        transform: none;
      }
      
      .pricing-card.featured:hover {
        transform: translateY(-10px);
      }
      
      .confirmation-content {
        padding: 30px 20px;
      }
      
      .confirmation-icon {
        font-size: 3rem;
      }
      
      .selected-plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      
      .change-plan-btn {
        align-self: flex-end;
      }
    }