/* ==========================================================================
   LLM API Recharge Portal - Modern AI Dark Theme & Glassmorphism Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #080c14;
  --bg-card: rgba(16, 24, 40, 0.75);
  --bg-card-hover: rgba(23, 34, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(0, 242, 254, 0.4);
  
  --primary-cyan: #00f2fe;
  --primary-blue: #4facfe;
  --accent-purple: #7f00ff;
  --accent-pink: #e100ff;
  
  --gradient-main: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-purple: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
  --gradient-dark: linear-gradient(180deg, #0d1527 0%, #080c14 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  --shadow-neon: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.5);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(127, 0, 255, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
}

/* Global Text Contrast Overrides for Dark Mode */
.text-muted {
  color: #cbd5e1 !important;
}

.text-dim {
  color: #94a3b8 !important;
}

.form-text {
  color: #94a3b8 !important;
}

.form-label, .form-label-custom {
  color: #f8fafc !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-check-label {
  color: #cbd5e1 !important;
}

/* Custom Text Gradients */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 20px 50px rgba(0, 242, 254, 0.15);
}

/* Header & Navigation */
.navbar-custom {
  background: rgba(8, 12, 20, 0.85) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.navbar-brand-logo {
  height: 40px;
  width: auto;
}

.nav-link-custom {
  color: #cbd5e1 !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--primary-cyan) !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* Buttons */
.btn-primary-gradient {
  background: var(--gradient-main);
  color: #080c14 !important;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
  color: #000000 !important;
}

.btn-outline-cyan {
  border: 2px solid var(--primary-cyan);
  color: var(--primary-cyan) !important;
  background: transparent;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
}

.btn-outline-cyan:hover {
  background: var(--gradient-main);
  color: #080c14 !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 3rem 0;
  position: relative;
}

.hero-badge {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--primary-cyan);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1 !important;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Feature Cards */
.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Forms & Inputs High-Contrast Overrides */
.form-control-dark, .form-select-dark {
  background: rgba(13, 21, 39, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  transition: all 0.3s ease;
}

.form-control-dark::placeholder {
  color: #64748b !important;
  opacity: 1;
}

.form-control-dark:focus, .form-select-dark:focus {
  border-color: var(--primary-cyan) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3) !important;
  background: rgba(13, 21, 39, 1) !important;
}

.input-group-text {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--primary-cyan) !important;
  font-weight: 600;
}

/* Custom Radio Option Cards */
.radio-card-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.radio-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(13, 21, 39, 0.7);
  border-radius: 14px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(13, 21, 39, 0.95);
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.radio-card.active {
  border-color: var(--primary-cyan) !important;
  background: rgba(0, 242, 254, 0.12) !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.radio-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 600;
}

.radio-card-content .text-muted {
  color: #94a3b8 !important;
}

.radio-card-content i {
  font-size: 1.4rem;
  color: var(--primary-cyan);
}

/* Tables */
.table-custom {
  color: var(--text-main);
  border-color: var(--border-color);
}

.table-custom th {
  background: rgba(8, 12, 20, 0.6);
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.table-custom td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  color: #f1f5f9;
}

/* Status Badges */
.badge-status-paid {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-weight: 600;
}

.badge-status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-weight: 600;
}

.badge-status-failed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-weight: 600;
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: rgba(8, 12, 20, 0.95);
  padding: 2.5rem 0;
  color: #94a3b8;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .radio-card-group {
    grid-template-columns: 1fr;
  }
}
