/* Global Styles */
:root {
    --bg-dark: #0a0a0f;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --neon-cyan: #00f3ff;
    --neon-purple: #bd00ff;
    --neon-gold: #ffd700;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo .highlight {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
}

.nav-links li a:hover {
    color: var(--neon-cyan);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--neon-purple);
    transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.btn-glow {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--neon-cyan);
    border-radius: 5px;
    color: var(--neon-cyan) !important;
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
}

.btn-glow:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark) !important;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.6), rgba(10, 10, 15, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    position: relative;
}

.glitch {
    position: relative;
    color: white;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    /* This creates the glitch scanlines, but simpler */
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 30px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 100px, 0);
    }

    40% {
        clip: rect(10px, 9999px, 120px, 0);
    }

    60% {
        clip: rect(15px, 9999px, 50px, 0);
    }

    80% {
        clip: rect(60px, 9999px, 100px, 0);
    }

    100% {
        clip: rect(20px, 9999px, 80px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(120px, 9999px, 140px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    40% {
        clip: rect(80px, 9999px, 110px, 0);
    }

    60% {
        clip: rect(30px, 9999px, 60px, 0);
    }

    80% {
        clip: rect(90px, 9999px, 130px, 0);
    }

    100% {
        clip: rect(20px, 9999px, 40px, 0);
    }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--neon-cyan);
    margin-bottom: 3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .count {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scroll-down {
    font-size: 2rem;
    color: var(--text-muted);
    animation: bounce 2s infinite;
    display: inline-block;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Sections */
main.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

.content-text h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    bottom: -10px;
    left: 0;
    background: var(--neon-purple);
}

.content-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Space Mono', monospace;
    color: #fff;
}

.feature-list li i {
    color: var(--neon-cyan);
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--text-muted);
    color: #fff;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--neon-cyan);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: var(--bg-dark);
    border-color: var(--neon-cyan);
}

/* 3D Cards */
.content-image {
    flex: 1;
    perspective: 1000px;
}

.card-3d {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-3d img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(2deg);
    box-shadow: -10px 10px 40px rgba(0, 243, 255, 0.2);
}

.card-3d:hover img {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* Feed Sections */
.feed-section {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.feed-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.feed-header {
    text-align: center;
    margin-bottom: 3rem;
}

.feed-title-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.feed-icon {
    font-size: 2rem;
}

.cyber-icon {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan), 0 0 30px rgba(0, 243, 255, 0.3);
    animation: iconPulse 3s ease-in-out infinite;
}

.travel-icon {
    color: var(--neon-purple);
    text-shadow: 0 0 15px var(--neon-purple), 0 0 30px rgba(189, 0, 255, 0.3);
    animation: iconPulse 3s ease-in-out infinite 1s;
}

.food-icon {
    color: var(--neon-gold);
    text-shadow: 0 0 15px var(--neon-gold), 0 0 30px rgba(255, 215, 0, 0.3);
    animation: iconPulse 3s ease-in-out infinite 2s;
}

@keyframes iconPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.feed-header h2 {
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feed-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.feed-sources {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.source-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.source-tag:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.15);
}

.source-tag i {
    font-size: 0.6rem;
    color: var(--neon-cyan);
    opacity: 0.5;
}

/* Feed Grid */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Feed Cards */
.feed-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
}

.feed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feed-card:hover::before {
    opacity: 1;
}

.feed-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 243, 255, 0.05);
    background: rgba(255, 255, 255, 0.05);
}

.feed-card .card-source {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-card .card-source i {
    font-size: 0.55rem;
}

.feed-card .card-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.feed-card:hover .card-title {
    color: var(--neon-cyan);
}

.feed-card .card-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.feed-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feed-card .card-date {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: #666;
}

.feed-card .card-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.feed-card:hover .card-link {
    color: var(--neon-cyan);
}

.feed-card .card-link i {
    font-size: 0.55rem;
    transition: transform 0.3s;
}

.feed-card:hover .card-link i {
    transform: translateX(3px);
}

/* Skeleton Loading */
.feed-card.skeleton {
    pointer-events: none;
}

.skeleton-line {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    margin-bottom: 0.75rem;
    width: 100%;
}

.skeleton-line.title {
    height: 20px;
    width: 80%;
    margin-bottom: 1rem;
}

.skeleton-line.short {
    width: 50%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Feed card type-specific accents */
#cyber-feed .feed-card::before {
    background: linear-gradient(90deg, var(--neon-cyan), #00a8ff);
}

#travel-feed .feed-card::before {
    background: linear-gradient(90deg, var(--neon-purple), #ff6ec7);
}

#food-feed .feed-card::before {
    background: linear-gradient(90deg, var(--neon-gold), #ff8c00);
}

#cyber-feed .feed-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 243, 255, 0.08);
}

#travel-feed .feed-card:hover {
    border-color: rgba(189, 0, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(189, 0, 255, 0.08);
}

#food-feed .feed-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.08);
}

#travel-feed .feed-card .card-source {
    color: var(--neon-purple);
}

#food-feed .feed-card .card-source {
    color: var(--neon-gold);
}

#travel-feed .feed-card:hover .card-title {
    color: var(--neon-purple);
}

#food-feed .feed-card:hover .card-title {
    color: var(--neon-gold);
}

/* Feed error/empty state */
.feed-error {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-family: 'Space Mono', monospace;
    grid-column: 1 / -1;
}

.feed-error i {
    font-size: 2rem;
    color: var(--neon-purple);
    margin-bottom: 1rem;
    display: block;
}

/* Newsletter */
.newsletter {
    padding: 6rem 2rem;
    background: radial-gradient(circle at center, #1a1a2e 0%, var(--bg-dark) 70%);
    text-align: center;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}

.glass-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.glass-panel p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 5px;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem 2rem;
    background: var(--neon-purple);
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    transition: all 0.3s;
    align-self: center;
    width: 100%;
}

.contact-form button:hover {
    background: #d53dff;
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.5);
    transform: translateY(-2px);
}

/* Response Message Styles */
#form-status {
    font-family: 'Space Mono', monospace;
    font-weight: bold;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--neon-cyan);
    transform: translateY(-3px);
}

footer {
    text-align: center;
    padding: 2rem;
    background: #050508;
    color: #555;
    font-size: 0.8rem;
    font-family: 'Space Mono', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        right: 0;
        top: 70px;
        background: var(--bg-dark);
        height: calc(100vh - 70px);
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: transform 0.5s ease-in;
    }

    .burger {
        display: block;
    }

    .nav-active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .content-section {
        flex-direction: column !important;
        text-align: center;
    }

    .content-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-list li {
        justify-content: center;
    }

    .feed-grid {
        grid-template-columns: 1fr;
    }

    .feed-header h2 {
        font-size: 1.5rem;
    }

    .feed-sources {
        gap: 0.5rem;
    }

    .source-tag {
        font-size: 0.6rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   NEW DASHBOARD & SIDEBAR STYLES (v2.1)
   ========================================= */

/* Feed Layout Wrapper */
.feed-layout-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 968px) {
    .feed-layout-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Adjust Main Feed Grid when inside wrapper */
.feed-main-column .feed-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 600px) {
    .feed-main-column .feed-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Styling */
.feed-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.widget-header {
    font-family: 'Space Mono', monospace;
    color: var(--neon-cyan);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Identity Pulse Widget */
.pulse-widget {
    border-top: 2px solid var(--neon-cyan);
}

.pulse-item {
    margin-bottom: 1.5rem;
}

.pulse-item:last-child {
    margin-bottom: 0;
}

.pulse-item .label {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pulse-value-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pulse-item .value {
    font-family: 'Space Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.pulse-item .value.highlight-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.pulse-item .value.neon-red {
    color: #ff4d4d;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

.trend-indicator {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Vendor Sentiment */
.sentiment-tracker {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.vendor-sentiment {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    justify-content: space-between;
    transition: background 0.3s;
}

.vendor-sentiment:hover {
    background: rgba(255, 255, 255, 0.08);
}

.vendor-sentiment i.fab,
.vendor-sentiment i.fas.fa-shield-halved {
    width: 20px;
    text-align: center;
    color: #fff;
}

.vendor-sentiment span {
    flex: 1;
    margin-left: 0.8rem;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.vendor-sentiment.up .indicator {
    color: #00ff00;
}

.vendor-sentiment.down .indicator {
    color: #ff4d4d;
}

/* Clint's Take Card */
.clint-take-card {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.05) 0%, rgba(10, 10, 15, 0.6) 100%);
    border: 1px solid var(--neon-cyan);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    /* Spacing before feed grid */
    position: relative;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.05);
    margin-top: 0;
}

.take-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.take-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.take-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    object-fit: cover;
    padding: 2px;
    background: var(--bg-dark);
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: #00ff00;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 8px #00ff00;
}

.take-meta h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: #fff;
    line-height: 1.2;
}

.badge-featured {
    font-size: 0.65rem;
    background: var(--neon-purple);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: inline-block;
}

.take-content h4 {
    color: var(--neon-cyan);
    margin-bottom: 0.8rem;
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    line-height: 1.4;
}

.take-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* IAM Bible */
.best-of-list {
    list-style: none;
}

.best-of-list li {
    margin-bottom: 0;
}

.best-of-list a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #ccc;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.best-of-list li:last-child a {
    border-bottom: none;
    padding-bottom: 0;
}

.best-of-list a:hover {
    color: var(--neon-cyan);
    padding-left: 0.5rem;
}

.best-of-list i {
    color: var(--neon-purple);
    font-size: 0.8rem;
}

.upvote-count {
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Quick Tools */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.tool-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
    color: var(--neon-cyan);
    transition: all 0.3s;
}

.tool-btn:hover {
    background: rgba(0, 243, 255, 0.08);
    border-color: var(--neon-cyan);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tool-btn:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* =========================================
   THREAT DASHBOARD STYLES (v2.2)
   ========================================= */

.dashboard-container {
    padding-top: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.dashboard-header h1 {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--text-muted);
}

.user-badge {
    position: relative;
    width: 50px;
    height: 50px;
}

.user-badge img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}

/* Dashboard Grid */
.dashboard-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 900px) {
    .dashboard-grid-top {
        grid-template-columns: 1fr;
    }
}

.dash-card {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

/* Gauge specific */
.gauge-card {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.05) 0%, rgba(10, 10, 15, 0.8) 70%);
}

.gauge-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 1.5rem;
}

.gauge-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 15px solid rgba(255, 255, 255, 0.05);
}

.gauge-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 15px solid transparent;
    border-top-color: var(--neon-cyan);
    border-right-color: var(--neon-cyan);
    transform: rotate(-45deg);
    /* Start position */
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.gauge-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0.5rem 0;
}

.gauge-score {
    font-size: 0.9rem;
    color: var(--neon-cyan);
}

.alert-banner {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--neon-cyan);
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Metric Cards */
.metric-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.metric-icon {
    font-size: 2.5rem;
    color: var(--neon-purple);
    background: rgba(189, 0, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.metric-info h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.metric-value-group {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.metric-trend {
    font-size: 0.9rem;
    font-weight: 600;
}

.metric-trend.up {
    color: #00ff00;
}

.metric-trend.down {
    color: #ff4d4d;
}

/* Industry Insights */
.industry-insights {
    margin-bottom: 4rem;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    border-color: var(--neon-cyan);
}

.sector-bar-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sector-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: width 0.5s ease;
}

.sector-name {
    width: 100px;
    font-family: 'Space Mono', monospace;
    color: #fff;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 4px;
    width: 0;
    /* Animate to value */
    transition: width 1s ease-out;
}

.sector-value {
    width: 50px;
    text-align: right;
    font-weight: bold;
    color: var(--neon-cyan);
}

/* Alerts List */
.latest-alerts {
    margin-bottom: 4rem;
}

/* Global Threat Map */
.threat-map-section {
    margin-bottom: 6rem;
}

.threat-map-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.map-tabs {
    display: flex;
    background: rgba(10, 10, 30, 0.8);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(0, 242, 254, 0.1);
    gap: 5px;
}

.map-tab-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.map-tab-btn.active {
    background: var(--neon-cyan);
    color: #000;
}

.map-view {
    display: none;
    animation: fadeIn 0.5s ease;
}

.map-view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-brand-overlay {
    position: absolute;
    z-index: 10;
    background: #1a1a2e;
    /* Match Kaspersky frame background */
    padding: 6px 16px;
    font-family: var(--font-heading);
    font-weight: 800;
    pointer-events: none;
}

.map-brand-topright {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 1px;
    border-radius: 0 12px 0 8px;
    padding: 10px 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.map-brand-topright .highlight {
    color: var(--neon-cyan);
}

.map-brand-topleft {
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-weight: 700;
    border-radius: 12px 0 8px 0;
    padding: 10px 20px;
}

.threat-map-container {
    position: relative;
    background: #000;
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.threat-map-container iframe {
    display: block;
    width: 100%;
    height: 500px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all {
    color: var(--neon-cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s;
}

.alert-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
    border-color: var(--neon-cyan);
}

.alert-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.alert-source {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #fff;
}

.alert-severity {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.alert-severity.critical {
    background: rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

.alert-severity.high {
    background: rgba(255, 140, 0, 0.2);
    color: #ff8c00;
    border: 1px solid #ff8c00;
}

.alert-severity.medium {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid #ffd700;
}

.alert-title {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.alert-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.investigate-btn {
    color: var(--neon-cyan);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Alert Skeletons */
.alert-skeleton {
    height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    animation: shimmer 1.5s infinite;
}

/* MITRE INTEL BOT UI */
#intel-bot-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--neon-purple);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#intel-bot-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.6);
}

#intel-bot-trigger .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-purple);
    border-radius: 50%;
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

#intel-bot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--neon-purple);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: bottom right;
}

#bot-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1005;
    border-radius: 20px;
}

.login-content {
    text-align: center;
    width: 80%;
}

.login-content i {
    font-size: 3rem;
    color: var(--neon-purple);
    margin-bottom: 1rem;
}

.login-content h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.login-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.login-content input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.8rem;
    color: white;
    margin-bottom: 0.8rem;
    outline: none;
}

.login-content input:focus {
    border-color: var(--neon-purple);
}

#bot-login-btn {
    width: 100%;
    background: var(--neon-purple);
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intel-bot-collapsed {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

#intel-bot-header {
    padding: 1.2rem;
    background: rgba(189, 0, 255, 0.1);
    border-bottom: 1px solid rgba(189, 0, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--neon-purple);
    letter-spacing: 2px;
}

.bot-controls button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.bot-controls button:hover {
    color: white;
}

#intel-bot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bot-message {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bot-message.system {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    align-self: flex-start;
    border-left: 3px solid var(--neon-purple);
}

.bot-message.user {
    background: var(--neon-purple);
    color: white;
    align-self: flex-end;
}

.bot-message.bot {
    background: rgba(0, 242, 254, 0.05);
    color: var(--text-main);
    align-self: flex-start;
    border-left: 3px solid var(--neon-cyan);
}

#intel-bot-input-area {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--glass-border);
}

#bot-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    color: white;
    outline: none;
}

#bot-input:focus {
    border-color: var(--neon-purple);
}

#send-bot-query {
    background: var(--neon-purple);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
}