/* ============================================================
   Trading Signal Pro — Premium Dark UI
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary:      #10b981;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.25);
    --secondary:    #06b6d4;
    --gold:         #f59e0b;
    --danger:       #ef4444;

    --bg-base:      #050d1a;
    --bg-card:      #0c1829;
    --bg-card2:     #0f1f35;
    --bg-glass:     rgba(12, 24, 41, 0.85);
    --border:       rgba(16, 185, 129, 0.15);
    --border-soft:  rgba(255,255,255,0.06);

    --text:         #e2e8f0;
    --text-muted:   #64748b;
    --text-faint:   #3d5470;

    --shadow-sm:    0 2px 8px rgba(0,0,0,0.4);
    --shadow-md:    0 8px 24px rgba(0,0,0,0.5);
    --shadow-glow:  0 0 30px rgba(16, 185, 129, 0.2);

    --radius:       14px;
    --radius-sm:    8px;
    --transition:   all 0.25s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    background: var(--bg-base);
    color: var(--text);
}

a { text-decoration: none; transition: var(--transition); }

img { max-width: 100%; height: auto; }

/* ============================================================
   NAVBAR
   ============================================================ */
.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(5, 13, 26, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: var(--transition);
}

.site-navbar .container {
    padding-top: 14px;
    padding-bottom: 14px;
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-brand-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(16,185,129,0.4);
}

.navbar-brand-logo span { color: var(--primary); }

.site-navbar .nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.07);
}

.site-navbar .nav-link.active {
    color: var(--primary) !important;
}

.btn-nav-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 7px 20px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-nav-login:hover {
    box-shadow: 0 6px 20px rgba(16,185,129,0.4) !important;
    transform: translateY(-1px);
    color: #fff !important;
}

.navbar-toggler {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* ============================================================
   TICKER BAR
   ============================================================ */
.ticker-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-soft);
    padding: 8px 0;
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 500;
}

.ticker-inner {
    display: flex;
    gap: 40px;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-item { color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.ticker-item .sym { color: #fff; font-weight: 600; }
.ticker-item .up  { color: var(--primary); }
.ticker-item .dn  { color: var(--danger); }

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-base);
}

/* Grid pattern overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16,185,129,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,185,129,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Glow blob */
.hero-section::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(16,185,129,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.3);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge .pulse-dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 20px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-sub strong { color: var(--primary); }

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Floating chart card in hero */
.hero-chart-float {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hero-stat-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-stat-pill {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.hero-stat-pill .val { color: #fff; font-weight: 700; }
.hero-stat-pill .lbl { color: var(--text-muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 13px 32px;
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16,185,129,0.45);
}

.btn-outline-custom {
    background: transparent;
    color: rgba(255,255,255,0.8);
    padding: 12px 32px;
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-outline-custom:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16,185,129,0.5);
    background: linear-gradient(135deg, #0ea573, var(--primary-dark));
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 52px; text-align: center; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.25);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #fff;
    margin-bottom: 14px;
}

.section-title .accent { color: var(--primary); }

.section-desc {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 52px 0;
}

.stat-card {
    text-align: center;
    padding: 24px 16px;
}

.stat-card .stat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 14px;
}

.stat-card .stat-value {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.stat-divider {
    width: 1px;
    background: var(--border-soft);
    align-self: stretch;
    margin: 10px 0;
}

/* ============================================================
   SIGNAL CARDS
   ============================================================ */
.signals-section {
    padding: 80px 0;
    background: var(--bg-base);
}

.signal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.signal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--primary);
    transition: var(--transition);
}

.signal-card.sell::before { background: var(--danger); }
.signal-card.hold::before { background: var(--gold); }

.signal-card:hover {
    border-color: rgba(16,185,129,0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.signal-card .signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.signal-symbol {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.signal-market-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-forex   { background: rgba(6,182,212,0.15); color: #06b6d4; border: 1px solid rgba(6,182,212,0.3); }
.badge-crypto  { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.badge-stock   { background: rgba(139,92,246,0.15); color: #8b5cf6; border: 1px solid rgba(139,92,246,0.3); }
.badge-commodity { background: rgba(249,115,22,0.15); color: #f97316; border: 1px solid rgba(249,115,22,0.3); }

.type-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.type-buy  { background: rgba(16,185,129,0.15); color: var(--primary); border: 1px solid rgba(16,185,129,0.3); }
.type-sell { background: rgba(239,68,68,0.15);  color: var(--danger);  border: 1px solid rgba(239,68,68,0.3); }
.type-hold { background: rgba(245,158,11,0.15); color: var(--gold);    border: 1px solid rgba(245,158,11,0.3); }

.signal-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.price-item { text-align: center; }
.price-item .price-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.lbl-entry { color: var(--text-muted); }
.lbl-tp    { color: var(--primary); }
.lbl-sl    { color: var(--danger); }

.price-item .price-val {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.signal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.signal-status-open   { color: var(--primary); font-weight: 600; }
.signal-status-closed { color: var(--text-muted); }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-soft);
}

.feature-card {
    background: var(--bg-base);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    border-color: rgba(16,185,129,0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.feature-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon-green  { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05)); color: var(--primary); }
.icon-cyan   { background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(6,182,212,0.05));   color: var(--secondary); }
.icon-gold   { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05)); color: var(--gold); }
.icon-purple { background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.05)); color: #8b5cf6; }
.icon-red    { background: linear-gradient(135deg, rgba(239,68,68,0.2),  rgba(239,68,68,0.05));  color: var(--danger); }
.icon-blue   { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05)); color: #3b82f6; }

.feature-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
    padding: 80px 0;
    background: var(--bg-base);
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--bg-card), #0a2018);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 50px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 6px;
}

.pricing-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

.pricing-duration {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-divider {
    height: 1px;
    background: var(--border-soft);
    margin: 20px 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.88rem;
    color: var(--text);
}

.pricing-features li i {
    color: var(--primary);
    margin-top: 1px;
    flex-shrink: 0;
    font-size: 0.95rem;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-soft);
}

.testi-card {
    background: var(--bg-base);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.testi-card:hover {
    border-color: rgba(16,185,129,0.2);
    transform: translateY(-3px);
}

.testi-card .quote-icon {
    font-size: 2.5rem;
    color: rgba(16,185,129,0.2);
    line-height: 1;
    margin-bottom: 12px;
    font-family: Georgia, serif;
}

.testi-card .stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.testi-card .content {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-card .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

.testi-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testi-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.testi-occ {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   ARTICLES SECTION
   ============================================================ */
.articles-section {
    padding: 80px 0;
    background: var(--bg-base);
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.article-card:hover {
    border-color: rgba(16,185,129,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-thumb {
    height: 180px;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-faint);
    border-bottom: 1px solid var(--border-soft);
}

.article-thumb.cat-edukasi  { background: linear-gradient(135deg, #0a1f35, #0d2a20); }
.article-thumb.cat-laporan  { background: linear-gradient(135deg, #1a0a35, #200a20); }
.article-thumb.cat-analisis { background: linear-gradient(135deg, #1a1a0a, #200d00); }

.article-body { padding: 22px; }

.article-cat {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.article-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-faint);
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 90px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(16,185,129,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 16px;
}

.cta-inner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-soft);
    padding: 60px 0 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
}

.footer-brand .brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: var(--bg-base);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(16,185,129,0.1);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: var(--text-muted);
    font-size: 0.87rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.87rem;
    color: var(--text-muted);
}

.footer-contact-item i { color: var(--primary); width: 16px; flex-shrink: 0; }

.footer-bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-faint);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }

/* ============================================================
   FLASH ALERTS
   ============================================================ */
.alert {
    border: none;
    border-radius: 0;
    border-left: 3px solid;
    font-size: 0.9rem;
    padding: 12px 20px;
}

.alert-success { border-color: var(--primary); background: rgba(16,185,129,0.1); color: var(--primary); }
.alert-danger   { border-color: var(--danger);  background: rgba(239,68,68,0.1);  color: #f87171; }
.alert-info     { border-color: var(--secondary); background: rgba(6,182,212,0.1); color: var(--secondary); }
.alert-warning  { border-color: var(--gold); background: rgba(245,158,11,0.1); color: var(--gold); }
.btn-close { filter: invert(1); opacity: 0.5; }

/* ============================================================
   FORMS (Dark Theme)
   ============================================================ */
.form-control, .form-select {
    background: var(--bg-base);
    border: 1px solid var(--border-soft);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-control::placeholder { color: var(--text-faint); }

.form-control:focus, .form-select:focus {
    background: var(--bg-card2);
    border-color: var(--primary);
    color: var(--text);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* ============================================================
   CARDS (Generic)
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    color: var(--text);
}

.card-header {
    background: var(--bg-card2);
    border-bottom: 1px solid var(--border-soft);
    padding: 14px 20px;
    font-weight: 600;
    font-size: 0.92rem;
}

/* ============================================================
   TABLE
   ============================================================ */
.table {
    color: var(--text);
}

.table th {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg-card2);
}

.table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.88rem;
    vertical-align: middle;
}

.table tbody tr:hover td {
    background: rgba(255,255,255,0.02);
}

/* ============================================================
   ADMIN SIDEBAR
   ============================================================ */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: var(--bg-card);
    border-right: 1px solid var(--border-soft);
    flex-shrink: 0;
}

.sidebar .sidebar-brand {
    padding: 20px 16px;
    border-bottom: 1px solid var(--border-soft);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar .nav-link {
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    padding: 9px 14px;
    font-size: 0.87rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: rgba(16,185,129,0.12);
}

.sidebar .nav-link.active {
    color: var(--primary) !important;
    background: rgba(16,185,129,0.12);
    border-left: 2px solid var(--primary);
}

.sidebar .nav-link i { width: 18px; font-size: 1rem; }

/* ============================================================
   BADGE OVERRIDES
   ============================================================ */
.badge { font-weight: 600; letter-spacing: 0.3px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination .page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    border-radius: var(--radius-sm) !important;
    margin: 0 2px;
    font-size: 0.85rem;
    padding: 7px 13px;
}

.pagination .page-link:hover {
    background: rgba(16,185,129,0.1);
    color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    background: var(--bg-card2);
    color: var(--text-faint);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 42px; height: 42px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.scroll-top.show { display: flex; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 20px var(--primary-glow); }

/* ============================================================
   COUNTER ANIMATION
   ============================================================ */
.counter-value { display: inline-block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; letter-spacing: -0.8px; }
    .hero-sub   { font-size: 0.95rem; }
    .section-title { font-size: 1.7rem; }
    .pricing-card { margin-bottom: 20px; }
    .stats-section .row { --bs-gutter-y: 0; }
    .stat-divider { display: none; }
    .site-navbar .nav-link { padding: 10px 14px !important; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}
