/* ============================================
   OrgTrust - EventOga Antigravity Theme CSS
   ============================================ */

:root, [data-bs-theme="dark"] {
    --ev-orange:       #ff6a00;
    --ev-orange-light: #f97316;
    --ev-purple:       #a855f7;

    --ev-bg-base:      #050505;
    --ev-bg-card:      #0b0b0b;
    --ev-bg-card2:     #090909;
    --ev-bg-card3:     #070707;
    --ev-bg-elevated:  #111111;
    --ev-bg-orange:    #120905;

    --primary: #ff6a00;
    --primary-dark: #e05d00;
    --accent: #a855f7;
    --accent-light: #c084fc;
    --bg-dark: #050505;
    --bg-dark-2: #090909;
    --sidebar-bg: #090909;
    --sidebar-text: #d1d5db;
    --dashboard-bg: #050505;
    --card-bg: #0b0b0b;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border: rgba(255, 255, 255, 0.1);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Bootstrap Overrides */
    --bs-body-bg: #050505;
    --bs-body-color: #ffffff;
    --bs-tertiary-bg: #090909;
    --bs-secondary-bg: #0b0b0b;
    --bs-border-color: rgba(255, 255, 255, 0.1);
    --bs-dark-rgb: 5,5,5;

    /* Glows */
    --ev-glow-orange:      0 0 18px rgba(255,106,0,0.35), 0 0 45px rgba(255,106,0,0.12);
    --ev-glow-orange-soft: 0 0 14px rgba(255,106,0,0.24), 0 0 35px rgba(255,106,0,0.10);
    --ev-glow-purple:      0 0 18px rgba(168,85,247,0.35), 0 0 55px rgba(168,85,247,0.16);
    --ev-glow-purple-soft: 0 0 14px rgba(168,85,247,0.28), 0 0 35px rgba(168,85,247,0.12);
    --ev-glow-mix:         0 0 20px rgba(255,106,0,0.25), 0 0 55px rgba(168,85,247,0.22);
}

* { box-sizing: border-box; }

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff !important;
    background-color: #050505 !important;
    background:
        radial-gradient(circle at 18% 8%,   rgba(255,106,0,0.16),  transparent 24%),
        radial-gradient(circle at 82% 14%,  rgba(168,85,247,0.23), transparent 28%),
        radial-gradient(circle at 50% 45%,  rgba(168,85,247,0.12), transparent 34%),
        radial-gradient(circle at 18% 68%,  rgba(255,106,0,0.12),  transparent 28%),
        radial-gradient(circle at 88% 78%,  rgba(168,85,247,0.18), transparent 30%),
        #050505 !important;
    background-attachment: fixed !important;
    margin: 0;
    min-height: 100vh;
}

/* ========== NAVBAR ========== */
.navbar {
    background: rgba(5, 5, 5, 0.85) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.75rem 1.25rem;
    z-index: 1030;
}
.navbar .brand-icon {
    font-size: 1.4rem;
    color: var(--ev-orange);
    filter: drop-shadow(0 0 10px rgba(255,106,0,0.5));
}
.navbar .brand-text {
    font-weight: 900;
    background: linear-gradient(to right, var(--ev-orange), var(--ev-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: #d1d5db !important;
    transition: all 0.2s;
}
.navbar .nav-link:hover {
    color: var(--ev-orange-light) !important;
    text-shadow: 0 0 10px rgba(255,106,0,0.3);
}
.main-content {
    padding-top: 70px;
    min-height: 100vh;
}

/* ========== FLASH ========== */
.flash-container {
    position: fixed;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 90%;
    max-width: 600px;
}

/* ========== STAT CARDS ========== */
.stat-card {
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(255,106,0,0.25);
    border-color: rgba(255,106,0,0.4);
}
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    background: rgba(255,106,0,0.15);
    color: var(--ev-orange-light);
    border: 1px solid rgba(255,106,0,0.3);
}
.stat-card h5 {
    margin: 0;
    font-weight: 800;
    color: #ffffff;
}

/* ========== CARDS ========== */
.card {
    background: #0b0b0b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    overflow: hidden;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.4) !important;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.2) !important;
}
.card-header {
    background: #090909 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 14px 20px;
    color: #ffffff;
    font-weight: 700;
}
.card-body {
    padding: 20px;
}

/* ========== AVATAR SIZES ========== */
.avatar-sm {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 10px;
    background: rgba(255,106,0,0.15);
    color: var(--ev-orange-light);
    border: 1px solid rgba(255,106,0,0.3);
}
.avatar-lg {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(168,85,247,0.15);
    color: #c084fc;
    border: 1px solid rgba(168,85,247,0.3);
}
.avatar-xl {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: rgba(255,106,0,0.15);
    color: var(--ev-orange-light);
    border: 2px solid var(--ev-orange);
    box-shadow: var(--ev-glow-orange-soft);
}

/* ========== AUTH PAGE ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
}
.auth-card {
    background: #0b0b0b !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    border-radius: 24px !important;
    padding: 40px;
    box-shadow: var(--ev-glow-mix) !important;
}
.auth-icon {
    font-size: 2.8rem;
    color: var(--ev-orange);
    filter: drop-shadow(0 0 15px rgba(255,106,0,0.6));
}

/* ========== SCORE CIRCLE ========== */
.score-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    border: 3px solid;
    background: #070707;
}
.score-high { border-color: #10b981; color: #10b981; box-shadow: 0 0 15px rgba(16,185,129,0.3); }
.score-mid { border-color: #f59e0b; color: #f59e0b; box-shadow: 0 0 15px rgba(245,158,11,0.3); }
.score-low { border-color: #ef4444; color: #ef4444; box-shadow: 0 0 15px rgba(239,68,68,0.3); }
.score-value { line-height: 1; }

/* ========== COMPANY CARD ========== */
.company-card {
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}
.company-card:hover {
    border-color: var(--ev-orange) !important;
    box-shadow: 0 0 30px rgba(255,106,0,0.3) !important;
    transform: translateY(-4px);
}
.score-badge {
    font-size: 0.85rem;
    font-weight: 700;
}

/* ========== PUBLIC CARD ========== */
.public-card {
    background: #0b0b0b !important;
    border: 1px solid rgba(168,85,247,0.3) !important;
    border-radius: 24px !important;
    padding: 36px;
    box-shadow: var(--ev-glow-purple) !important;
}
.public-card-page {
    background: transparent;
    min-height: 100vh;
}

/* ========== TIMELINE ========== */
.timeline {
    position: relative;
    padding-left: 20px;
}
.timeline-item {
    position: relative;
    padding-bottom: 16px;
}
.timeline-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    position: absolute;
    left: -6px;
    top: 4px;
}
.timeline-marker.active {
    background: var(--ev-orange);
    box-shadow: 0 0 12px rgba(255,106,0,0.6);
}
.timeline-content {
    padding-left: 14px;
}

/* ========== MINIMAL LAYOUT ========== */
.minimal-layout {
    background: #050505;
}
.minimal-main {
    padding-top: 56px;
}

/* ========== POSITION ROW ========== */
.position-row:hover {
    background: rgba(255,106,0,0.08);
}

/* ========== FOOTER ========== */
.site-footer {
    background: #070707;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9ca3af;
    padding: 50px 0 30px;
    margin-top: 60px;
}
.site-footer h5, .site-footer h6 { color: #fff; font-weight: 700; }
.site-footer a { color: #9ca3af; text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--ev-orange-light); text-shadow: 0 0 10px rgba(255,106,0,0.3); }

/* ========== ERROR PAGE ========== */
.error-page {
    padding: 80px 0;
}

/* ============================================
   LANDING PAGE (EventOga Glow Theme)
   ============================================ */
.landing-hero {
    background: transparent;
    color: #fff;
    padding: 140px 0 90px;
    position: relative;
    overflow: hidden;
}
.min-vh-hero { min-height: 65vh; }
.hero-badge {
    display: inline-block;
    background: rgba(255,106,0,0.15);
    border: 1px solid rgba(255,106,0,0.4);
    color: var(--ev-orange-light);
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(255,106,0,0.2);
}
.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}
.text-gradient {
    background: linear-gradient(to right, var(--ev-orange), var(--ev-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #d1d5db;
    max-width: 540px;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--ev-orange-light);
    text-shadow: 0 0 15px rgba(255,106,0,0.3);
}
.hero-stat span {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Hero Visual (Card Stack) */
.hero-visual {
    position: relative;
    height: 420px;
}
.hero-card-stack {
    position: relative;
    width: 320px;
    margin: 0 auto;
}
.hero-card {
    background: #0b0b0b;
    border: 1px solid rgba(168,85,247,0.3);
    box-shadow: var(--ev-glow-purple);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    color: #fff;
    transition: all 0.3s;
}
.hero-card-1 { transform: rotate(-3deg); }
.hero-card-2 { transform: rotate(1deg); border-color: rgba(255,106,0,0.4); box-shadow: var(--ev-glow-orange-soft); }
.hero-card-3 { transform: rotate(-1deg); }
.hero-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 35px rgba(255,106,0,0.35);
}
.hero-card .avatar-placeholder {
    font-size: 2.2rem;
    color: var(--ev-orange);
}

/* Landing Features */
.landing-features {
    padding: 100px 0;
    background: transparent;
}
.section-title {
    font-weight: 900;
    font-size: 2.4rem;
    margin-bottom: 10px;
}
.section-subtitle {
    color: #9ca3af;
    font-size: 1.15rem;
}
.feature-card {
    background: #0b0b0b !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 20px !important;
    padding: 32px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0, 0, 0.2, 1) !important;
}
.feature-card:hover {
    border-color: rgba(255,106,0,0.5) !important;
    box-shadow: 0 0 35px rgba(255,106,0,0.25) !important;
    transform: translateY(-6px) !important;
}
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: rgba(255,106,0,0.15) !important;
    color: var(--ev-orange-light) !important;
    border: 1px solid rgba(255,106,0,0.3);
}
.feature-card h4 {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}
.feature-card p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Landing CTA */
.landing-cta {
    background: #070707;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 100px 0;
}

/* ========== BUTTON OVERRIDES ========== */
.btn-primary {
    background: var(--ev-orange) !important;
    color: #000000 !important;
    font-weight: 900 !important;
    border: none !important;
    box-shadow: var(--ev-glow-orange) !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0, 0, 0.2, 1) !important;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 0 35px rgba(255,106,0,0.45), 0 0 70px rgba(255,106,0,0.2) !important;
    color: #000000 !important;
}

/* ========== Cookie Consent Banner ========== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(9, 9, 9, 0.95);
    color: #e2e8f0;
    padding: 16px 0;
    z-index: 9999;
    font-size: 0.9rem;
    border-top: 1px solid rgba(168,85,247,0.3);
    backdrop-filter: blur(16px);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}
.cookie-banner a {
    color: var(--ev-orange-light);
    text-decoration: underline;
}
