/* ============================================
   DIVIDENDSTRIKE — SHARED STYLESHEET
   ============================================ */

:root {
    --bg: #0a0a0f;
    --card: rgba(15,15,25,0.85);
    --border: rgba(255,255,255,0.07);
    --green: #22c55e;
    --glow: rgba(34,197,94,0.2);
    --text: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #1f2937 transparent;
}

*::-webkit-scrollbar { width: 4px; height: 4px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 2px; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* Container */
.container { max-width: 1440px; margin: 0 auto; padding: 0 20px; }

/* Card */
.card {
    backdrop-filter: blur(20px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}
.card:hover { border-color: rgba(34,197,94,0.25); }
.card-clickable { cursor: pointer; }
.card-clickable:hover {
    border-color: rgba(34,197,94,0.35);
    box-shadow: 0 20px 50px -15px var(--glow);
    transform: translateY(-2px);
}

/* Glow Border */
.glow-border { position: relative; }
.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(34,197,94,0.25), rgba(59,130,246,0.25));
    z-index: -1;
    filter: blur(18px);
    opacity: 0.5;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
}
.btn-primary { background: #22c55e; color: white; }
.btn-primary:hover { background: #16a34a; transform: translateY(-1px); }
.btn-secondary { background: #374151; color: white; }
.btn-secondary:hover { background: #4b5563; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--text-secondary); }
.btn-outline:hover { border-color: var(--green); color: white; }
.btn-sm { padding: 6px 14px; font-size: 12px; }

/* Badges */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}
.badge-green { background: rgba(34,197,94,0.2); color: #22c55e; }
.badge-blue { background: rgba(59,130,246,0.2); color: #3b82f6; }
.badge-yellow { background: rgba(234,179,8,0.2); color: #eab308; }
.badge-red { background: rgba(239,68,68,0.2); color: #ef4444; }
.badge-purple { background: rgba(168,85,247,0.2); color: #a855f7; }

/* Navigation */
.nav-link {
    text-decoration: none;
    transition: all 0.2s;
    color: var(--text-secondary);
}
.nav-link:hover { color: white !important; }
.nav-link.active {
    background: rgba(34,197,94,0.15);
    color: #22c55e !important;
    border-bottom: 2px solid #22c55e;
}

/* Inputs */
.input {
    width: 100%;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.input:focus { border-color: #22c55e; }
select.input { cursor: pointer; }

/* Text Utilities */
.text-green { color: #22c55e; }
.text-blue { color: #3b82f6; }
.text-yellow { color: #eab308; }
.text-red { color: #ef4444; }
.text-purple { color: #a855f7; }
.text-muted { color: #6b7280; }
.text-secondary { color: #9ca3af; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Feature Card */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -15px rgba(34,197,94,0.2); }
.feature-card .feature-icon { transition: transform 0.3s ease; font-size: 32px; margin-bottom: 12px; }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, 
        rgba(34,197,94,0.08) 0%, 
        rgba(16,185,129,0.05) 25%, 
        rgba(59,130,246,0.05) 50%, 
        rgba(168,85,247,0.04) 75%, 
        rgba(245,158,11,0.03) 100%);
}

/* Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(34,197,94,0.3);
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    color: white;
    font-size: 20px;
    font-weight: 700;
}
.scroll-top-btn.show { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(34,197,94,0.5); }

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 20px;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.6s ease-out forwards; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.pulse-dot { animation: pulse 2s infinite; }

/* Spacing */
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.p-3 { padding: 12px; } .p-4 { padding: 16px; } .p-6 { padding: 24px; } .p-8 { padding: 32px; }
.rounded-xl { border-radius: 12px; } .rounded-2xl { border-radius: 16px; } .rounded-3xl { border-radius: 24px; }
.text-center { text-align: center; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.relative { position: relative; } .overflow-hidden { overflow: hidden; }
.hidden { display: none; }
@media (min-width: 1024px) { .lg\:flex { display: flex; } .lg\:hidden { display: none; } }
