:root {
  --color-primary: #1DB954;
  --color-primary-dark: #1ed760;
  --color-surface: #181818;
  --color-neutral-50: #0e0e0e;
  --color-neutral-100: #181818;
  --color-neutral-200: #282828;
  --color-neutral-300: #333333;
  --color-neutral-400: #444444;
  --color-neutral-500: #666666;
  --color-neutral-600: #999999;
  --color-neutral-700: #b3b3b3;
  --color-neutral-800: #d4d4d4;
  --color-neutral-900: #FFFFFF;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.75);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
/* DARK THEME INPUT FIELDS - Add to style.css or include separately */

/* ALL INPUT FIELDS */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  background: #181818 !important;
  border: 1px solid #333 !important;
  color: #FFFFFF !important;
  padding: 1rem !important;
  border-radius: 0.75rem !important;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: #999 !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: #1DB954 !important;
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.1) !important;
}

/* PACKAGE SELECTION HIGHLIGHTING */
.package-item {
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.package-item:hover {
  border-color: #1DB954;
  transform: translateY(-2px);
}

.package-item.package-selected {
  border-color: #1DB954 !important;
  background: rgba(29, 185, 84, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.1) !important;
}

.package-item.package-selected h3 {
  color: #1DB954 !important;
}

/* DARK FOOTER FIX */
footer {
  background: #181818 !important;
  border-top: 1px solid #333 !important;
  color: #b3b3b3 !important;
}

footer a {
  color: #b3b3b3 !important;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #1DB954 !important;
}

/* Dark theme for all cards/containers */
.card, .section-card {
  background: #181818 !important;
  border: 1px solid #333 !important;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: var(--color-neutral-900); background-color: #0e0e0e !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.navbar { background: #181818; border-bottom: 1px solid #333; padding: 1rem 0; position: sticky; top: 0; z-index: 1000; }
.navbar-container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-size: 1.25rem; font-weight: 700; color: #FFFFFF; }
.navbar-nav { display: flex; align-items: center; gap: 0.5rem; list-style: none; }
.nav-link { padding: 0.625rem 1rem; color: #b3b3b3; text-decoration: none; font-weight: 500; font-size: 0.9375rem; transition: color 0.2s; border-radius: 0.5rem; }
.nav-link:hover { color: #1DB954; }
.mobile-menu-toggle { display: none; background: transparent; border: none; color: #FFFFFF; cursor: pointer; padding: 0.5rem; }
@media (max-width: 968px) { .navbar-nav { display: none; } .mobile-menu-toggle { display: block; } }
.mobile-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.2s; }
.mobile-nav.active { opacity: 1; visibility: visible; }
.mobile-nav-content { position: absolute; right: 0; top: 0; height: 100%; width: 85%; max-width: 400px; background: #181818; padding: 2rem; transform: translateX(100%); transition: transform 0.2s; overflow-y: auto; }
.mobile-nav.active .mobile-nav-content { transform: translateX(0); }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-nav-close { background: transparent; border: none; color: #FFFFFF; cursor: pointer; padding: 0.5rem; }
.mobile-nav-links { list-style: none; }
.mobile-nav-links li { margin-bottom: 0.5rem; }
.mobile-nav-links a { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; color: #b3b3b3; text-decoration: none; border-radius: 0.75rem; transition: all 0.2s; }
.mobile-nav-links a:hover { background: #282828; color: #1DB954; }
.nav-section-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #999; padding: 1rem 1rem 0.5rem; }
.mobile-nav-cta { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #333; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600; border-radius: 9999px; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary { background: #1DB954; color: #000000; }
.btn-primary:hover { background: #1ed760; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(29, 185, 84, 0.3); }
.btn-secondary { background: #282828; color: #FFFFFF; border: 1px solid #333; }
.btn-secondary:hover { background: #2a2a2a; border-color: #444; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.hero { padding: 6rem 0 4rem; text-align: center; background: linear-gradient(180deg, #0e0e0e 0%, #181818 100%); }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; color: #FFFFFF; }
.text-gradient { background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.card { background: #181818; border: 1px solid #333; border-radius: 1rem; padding: 2rem; transition: all 0.2s; }
.card:hover { border-color: #444; transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.6); }
.card-feature { text-align: center; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-fade-in { animation: fadeIn 0.6s ease-out both; }
footer { background: #181818; border-top: 1px solid #333; padding: 4rem 0 2rem; color: #b3b3b3; }
footer a { color: #b3b3b3; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #1DB954; }
.faq-section { background: #f5f5f5; padding: 6rem 0; }
.faq-item { background: white; border: 1px solid #e5e5e5; border-radius: 1rem; padding: 1.5rem; margin-bottom: 1rem; cursor: pointer; transition: all 0.2s; }
.faq-item:hover { border-color: #d4d4d4; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #171717; }
.faq-answer { margin-top: 1rem; color: #525252; line-height: 1.6; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.2s; color: #1DB954; }
@media (max-width: 768px) { .hero { padding: 4rem 0 3rem; } .hero-content h1 { font-size: 2rem; } .container { padding: 0 1rem; } .card { padding: 1.5rem; } }
.package-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #181818;
  border: 2px solid #333;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  color: #FFFFFF;
}

.package-option:hover {
  border-color: #1DB954;
  background: rgba(29, 185, 84, 0.05);
  transform: translateY(-2px);
}

.package-option.selected {
  border-color: #1DB954 !important;
  background: rgba(29, 185, 84, 0.1) !important;
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.15) !important;
}

.package-option div {
  color: #FFFFFF;
}

.package-option.selected div:last-child {
  color: #1DB954 !important;
}
.package-card input[type="text"],
.package-card input[type="number"],
.package-card input[type="url"],
.package-card input[type="email"] {
  background: white !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  padding: 0.75rem !important;
  border-radius: 0.5rem !important;
}

.package-card input[type="text"]:focus,
.package-card input[type="number"]:focus,
.package-card input[type="url"]:focus,
.package-card input[type="email"]:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 10%, transparent) !important;
  outline: none !important;
}

/* FIX: All form inputs and textareas in admin */
#configSection .form-input,
#configSection .form-select,
#configSection textarea {
  background: white !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
}

#configSection .form-input:focus,
#configSection .form-select:focus,
#configSection textarea:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 10%, transparent) !important;
}

/* FIX: Keys import textarea */
#keysToImport {
  background: white !important;
  color: #111827 !important;
  font-family: 'SF Mono', Monaco, Consolas, monospace !important;
  font-size: 13px !important;
}

/* FIX: Color input text fields */
.color-input-group input[type="text"] {
  color: #111827 !important;
}

/* FIX: Ensure labels are readable */
.form-label {
  color: #374151 !important;
  font-weight: 600 !important;
}

/* FIX: Form hints */
.form-hint {
  color: #6b7280 !important;
}