/* ===== sdigiapps.com - Main Stylesheet ===== */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E8F0FF;
    --secondary: #1A1A2E;
    --accent: #00D4FF;
    --success: #00C851;
    --warning: #FFB300;
    --danger: #FF3547;
    --dark: #0D0D1A;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-600: #6C757D;
    --text: #1A1A2E;
    --text-muted: #6C757D;
    --bg: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-section: #F8F9FF;
    --border: #E9ECEF;
    --shadow: 0 4px 24px rgba(0,102,255,0.08);
    --shadow-lg: 0 8px 48px rgba(0,102,255,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font: 'Inter', sans-serif;
}

[data-theme="dark"] {
    --text: #E8EAED;
    --text-muted: #9AA0A6;
    --bg: #0D0D1A;
    --bg-card: #1A1A2E;
    --bg-section: #111122;
    --border: #2A2A3E;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
    --primary-light: #1A2A4A;
    --gray-100: #1A1A2E;
    --gray-200: #2A2A3E;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

/* ===== NAVBAR ===== */
.navbar-main {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1000;
}

[data-theme="dark"] .navbar-main {
    background: rgba(13,13,26,0.95);
}

.navbar-main.scrolled {
    box-shadow: var(--shadow);
    padding: 8px 0;
}

/* Logo & Brand Light Effects */
.logo-glow {
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.4));
    transition: var(--transition);
    animation: pulse-glow 3s infinite ease-in-out;
}

.logo-glow:hover {
    filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.7));
    transform: scale(1.05);
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.8)); }
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    color: white;
    font-size: 16px;
    margin-right: 8px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.brand-icon::after {
    content: '';
    position: absolute;
    top: -50%; left: -150%;
    width: 200%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
    0% { left: -150%; }
    20%, 100% { left: 150%; }
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.brand-dot { color: var(--primary); }

/* Brand di footer selalu putih (background gelap) */
.footer-main .brand-text { color: #ffffff; }
.footer-main .brand-dot  { color: var(--accent); }

.navbar-main .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-main .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.btn-theme-toggle {
    background: var(--gray-100);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
}

.btn-theme-toggle:hover { background: var(--primary-light); color: var(--primary); }

.btn-user {
    background: var(--gray-100);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 12px;
    display: flex; align-items: center; gap: 8px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.avatar-sm {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 24px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,102,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,102,255,0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    font-weight: 600;
    padding: 8px 22px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-wa {
    background: #25D366;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 20px;
    transition: var(--transition);
}

.btn-wa:hover { background: #128C7E; color: white; transform: translateY(-2px); }

.btn-xl {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 14px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0D0D1A 0%, #1A1A3E 50%, #0D1A3E 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0,102,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,102,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px; right: -100px;
    animation: pulse 4s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px; left: -50px;
    animation: pulse 6s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,102,255,0.15);
    border: 1px solid rgba(0,102,255,0.3);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: block;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
}

.hero-card-float {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.hero-app-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.hero-app-item:hover {
    background: rgba(0,102,255,0.2);
    border-color: rgba(0,102,255,0.4);
    transform: translateY(-4px);
}

.hero-app-item i {
    font-size: 1.5rem;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
}

.hero-app-item span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--primary-light), rgba(0,212,255,0.1));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== APP CARDS ===== */
.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.app-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-card-header::before {
    content: '';
    position: absolute;
    width: 150px; height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -50px; right: -30px;
}

.app-card-icon {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.15);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 12px;
}

.app-card-header h5 {
    color: white;
    font-weight: 700;
    margin: 0;
}

.app-card-body {
    padding: 24px;
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.app-features li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-features li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.app-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.app-price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ===== PRICING CARDS ===== */
.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
}

.pricing-price sup { font-size: 1rem; font-weight: 600; }
.pricing-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.testimonial-stars { color: #FFB300; margin-bottom: 12px; }

.testimonial-text {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer-main {
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
}

[data-theme="dark"] .footer-main { background: #050510; }

.footer-top { padding: 64px 0 48px; }

.footer-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--primary);
    width: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.social-links { display: flex; gap: 10px; }

.social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-link:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-3px); }
.social-link.wa:hover { background: #25D366; border-color: #25D366; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ===== WA FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px; height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: wa-pulse 2s infinite;
}

.wa-float:hover { background: #128C7E; color: white; transform: scale(1.1); }

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ===== CARDS & UTILITIES ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
}

.card-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.bg-section { background: var(--bg-section); }

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* ===== FORMS ===== */
.form-control, .form-select {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    padding: 12px 16px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    background: var(--bg-card);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
    color: var(--text);
}

.form-label { font-weight: 600; font-size: 0.9rem; color: var(--text); margin-bottom: 6px; }

/* ===== ALERTS ===== */
.alert { border-radius: var(--radius); border: none; font-weight: 500; }
.alert-success { background: rgba(0,200,81,0.1); color: #00A040; }
.alert-danger { background: rgba(255,53,71,0.1); color: #CC0020; }
.alert-warning { background: rgba(255,179,0,0.1); color: #CC8800; }
.alert-info { background: rgba(0,102,255,0.1); color: var(--primary); }

/* ===== TABLES ===== */
.table { color: var(--text); }
.table th { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border-color: var(--border); }
.table td { border-color: var(--border); vertical-align: middle; }
.table-hover tbody tr:hover { background: var(--primary-light); }

/* ===== LOADING ===== */
.spinner-border { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-stats { gap: 20px; }
    .hero-stat .number { font-size: 1.5rem; }
    .pricing-card.popular { transform: scale(1); }
    .hero-visual { margin-top: 40px; }
    .wa-float { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 1.4rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== SECTION SPACING ===== */
.py-section { padding: 80px 0; }
.py-section-sm { padding: 48px 0; }

/* ===== DROPDOWN ===== */
.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
}

.dropdown-item {
    color: var(--text);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-divider { border-color: var(--border); }

/* ===== DARK / LIGHT MODE ADAPTIVE FIXES ===== */

/* Navbar active link */
.navbar-main .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

/* Cards */
.card { color: var(--text); }
.card-header { color: var(--text); }

/* Input group text */
.input-group-text {
    background: var(--bg-section);
    border-color: var(--border);
    color: var(--text-muted);
}

/* Form placeholder */
.form-control::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-control, .form-select { color: var(--text); }

/* Section titles & headings */
h1, h2, h3, h4, h5, h6 { color: var(--text); }

/* Paragraphs inside cards & sections */
.card p, .feature-card p, .testimonial-text { color: var(--text-muted); }

/* Pricing card text */
.pricing-card h5 { color: var(--text); }
.pricing-card ul li { color: var(--text-muted); }

/* App card body text */
.app-card-body p { color: var(--text-muted); }

/* Legal pages */
.legal-content p, .legal-content li { color: var(--text-muted); }
.legal-content strong { color: var(--text); }

/* Alert dark mode */
[data-theme="dark"] .alert-success { background: rgba(0,200,81,0.15); color: #00E060; }
[data-theme="dark"] .alert-danger  { background: rgba(255,53,71,0.15);  color: #FF6070; }
[data-theme="dark"] .alert-warning { background: rgba(255,179,0,0.15);  color: #FFCC44; }
[data-theme="dark"] .alert-info    { background: rgba(0,102,255,0.15);  color: #4D9FFF; }

/* Table dark mode */
[data-theme="dark"] .table { color: var(--text); }
[data-theme="dark"] .table-hover tbody tr:hover { background: rgba(0,102,255,0.08); }
[data-theme="dark"] .table th { color: var(--text-muted); border-color: var(--border); }
[data-theme="dark"] .table td { border-color: var(--border); }

/* Dropdown dark mode */
[data-theme="dark"] .dropdown-menu { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .dropdown-item { color: var(--text); }
[data-theme="dark"] .dropdown-item:hover { background: rgba(0,102,255,0.12); color: var(--primary); }
[data-theme="dark"] .dropdown-divider { border-color: var(--border); }

/* Modal dark mode */
[data-theme="dark"] .modal-content { background: var(--bg-card); color: var(--text); border-color: var(--border); }
[data-theme="dark"] .modal-header  { border-color: var(--border); }
[data-theme="dark"] .modal-footer  { border-color: var(--border); }
[data-theme="dark"] .btn-close     { filter: invert(1); }

/* Badge dark mode */
[data-theme="dark"] .badge.bg-secondary { background: #3A3A5E !important; color: #C0C0D0; }
[data-theme="dark"] .badge.bg-success   { background: rgba(0,200,81,0.2) !important; color: #00E060; }
[data-theme="dark"] .badge.bg-danger    { background: rgba(255,53,71,0.2) !important; color: #FF6070; }
[data-theme="dark"] .badge.bg-warning   { background: rgba(255,179,0,0.2) !important; color: #FFCC44; }
[data-theme="dark"] .badge.bg-primary   { background: rgba(0,102,255,0.25) !important; color: #4D9FFF; }
[data-theme="dark"] .badge.bg-info      { background: rgba(0,212,255,0.2) !important; color: var(--accent); }

/* List group dark mode */
[data-theme="dark"] .list-group-item {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text);
}

/* Pagination dark mode */
[data-theme="dark"] .page-link {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .page-link:hover { background: var(--primary-light); color: var(--primary); }
[data-theme="dark"] .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: white; }
[data-theme="dark"] .page-item.disabled .page-link { background: var(--bg-section); color: var(--text-muted); }

/* Btn outline light mode fix */
[data-theme="dark"] .btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-muted);
}
[data-theme="dark"] .btn-outline-secondary:hover {
    background: var(--bg-section);
    color: var(--text);
    border-color: var(--text-muted);
}

/* Section badge dark mode */
[data-theme="dark"] .section-badge {
    background: rgba(0,102,255,0.15);
    color: #4D9FFF;
}

/* Feature card dark mode */
[data-theme="dark"] .feature-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .feature-card h5 { color: var(--text); }

/* Testimonial dark mode */
[data-theme="dark"] .testimonial-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .testimonial-name { color: var(--text); }

/* Pricing dark mode */
[data-theme="dark"] .pricing-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .pricing-price { color: var(--text); }

/* App card dark mode */
[data-theme="dark"] .app-card { background: var(--bg-card); border-color: var(--border); }

/* btn-user dark mode */
[data-theme="dark"] .btn-user {
    background: var(--bg-section);
    border-color: var(--border);
    color: var(--text);
}

/* Input group dark mode */
[data-theme="dark"] .input-group-text {
    background: var(--bg-section);
    border-color: var(--border);
    color: var(--text-muted);
}

/* Form control dark mode */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: var(--bg-section);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background: var(--bg-card);
    border-color: var(--primary);
    color: var(--text);
}
[data-theme="dark"] .form-control::placeholder { color: var(--text-muted); }
[data-theme="dark"] .form-label { color: var(--text); }

/* Headings in dark mode */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 { color: var(--text); }

/* Text utilities */
[data-theme="dark"] .text-dark { color: var(--text) !important; }
[data-theme="dark"] .text-muted { color: var(--text-muted) !important; }
[data-theme="dark"] .fw-700, [data-theme="dark"] .fw-800 { color: inherit; }

/* Border dark mode */
[data-theme="dark"] .border { border-color: var(--border) !important; }
[data-theme="dark"] hr { border-color: var(--border); }
