:root {
    --navy: #0a2540;
    --cyan: #00d4ff;
}

body {
    background: var(--navy);
    color: #fff;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.hero {
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle, #0d2d4d 0%, #0a2540 100%);
    overflow: hidden;
}

.hero h1 {
    font-size: 4rem;
    margin: 0;
    letter-spacing: 8px;
    text-shadow: 0 0 20px var(--cyan);
}

.hero p {
    color: var(--cyan);
    letter-spacing: 3px;
    font-weight: bold;
}

.live-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    font-family: monospace;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid var(--cyan);
}

.stat-item span {
    color: var(--cyan);
    text-shadow: 0 0 5px var(--cyan);
}

.pulse-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    opacity: 0.6;
}

.pulse-svg {
    stroke: var(--cyan);
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: heartbeat 4s linear infinite;
}

@keyframes heartbeat {
    to {
        stroke-dashoffset: 0;
    }
}

.flatline-text {
    position: absolute;
    left: 50%;
    bottom: 65px;
    transform: translateX(-50%);
    color: var(--cyan);
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 0 15px var(--cyan);
    opacity: 0;
    animation: text-flash 4s linear infinite;
}
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
        text-align: center;
    }
    .hero p {
        text-align: center;
    }
    .live-stats {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
        border-radius: 20px;
    }
    .flatline-text {
        font-size: 11px;
        letter-spacing: 2px;
        bottom: 50px;
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 400px) {
    .flatline-text {
        display: none;
    }
}

@keyframes text-flash {
    0%,
    35% {
        opacity: 0;
    }
    38%,
    85% {
        opacity: 1;
    }
    88%,
    100% {
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background: #fff;
    color: #333;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    width: 350px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--cyan);
}

.featured-border {
    border: 3px solid var(--cyan);
}

.media-slot {
    height: 220px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.media-slot img.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insight-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d2d4d 0%, #0a2540 60%, #0d3a55 100%);
    color: var(--cyan);
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 13px;
    gap: 10px;
}

.insight-placeholder svg {
    opacity: 0.6;
}

.card-body {
    padding: 20px;
}

@media (max-width: 420px) {
    .container {
        grid-template-columns: 1fr;
        justify-content: center;
    }
    .card {
        width: 100%;
    }
}

.badge {
    background: var(--navy);
    color: var(--cyan);
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}
.cats {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--cyan);
    border-radius: 30px;
    padding: 8px 14px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.cat-item.active {
    background: var(--cyan);
    color: #0a2540;
}
.cat-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    background: #0a2540;
    border: 1px solid #00d4ff;
}
.cat-featured {
    box-shadow: 0 0 15px rgba(0,212,255,0.8);
    border-color: #00d4ff;
    background: rgba(0,212,255,0.15);
    animation: featuredPulse 2.8s ease-in-out infinite;
    color: var(--cyan);
}
.cat-item.cat-featured {
    color: var(--cyan);
}
@keyframes featuredPulse {
    0% {
        box-shadow: 0 0 10px rgba(0,212,255,0.6);
        background: rgba(0,212,255,0.12);
    }
    50% {
        box-shadow: 0 0 22px rgba(0,212,255,0.9), 0 0 40px rgba(0,212,255,0.4);
        background: rgba(0,212,255,0.22);
    }
    100% {
        box-shadow: 0 0 10px rgba(0,212,255,0.6);
        background: rgba(0,212,255,0.12);
    }
}

.share-link.whatsapp {
    color: #25D366;
}
.share-link.facebook {
    color: #1877F2;
}

.ask-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: auto;
    height: auto;
    padding: 15px 25px;
    border-radius: 30px;
    background: linear-gradient(135deg, #00d4ff, #00b5d8);
    color: #0a2540;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
    cursor: pointer;
    z-index: 999;
}

.ask-tip {
    display: none;
    position: fixed;
    right: 90px;
    bottom: 35px;
    background: #0a2540;
    color: #00d4ff;
    border: 1px solid #00d4ff;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0,212,255,0.4);
    z-index: 999;
}
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.85);
    backdrop-filter: blur(4px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}
.modal-card {
    width: 90%;
    max-width: 520px;
    background: #1a3a5a;
    border: 2px solid #00d4ff;
    border-radius: 15px;
    box-shadow: 0 0 35px rgba(0,212,255,0.4);
    color: #fff;
}
.modal-card.popi {
    max-width: 720px;
}
.modal-header {
    padding: 16px;
    border-bottom: 1px solid #0d2d4d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title {
    color: #00d4ff;
    font-weight: bold;
    letter-spacing: 2px;
}
.btn-close {
    background: #00d4ff;
    color: #0a2540;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
}
.modal-content {
    padding: 16px;
    line-height: 1.6;
    font-size: 14px;
    color: #e8f4ff;
}
.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #0d2d4d;
    margin-bottom: 10px;
}
.btn-primary {
    margin-top: 12px;
    width: 100%;
    background: #00d4ff;
    color: #0a2540;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}
.newsletter-wrap {
    max-width: 960px;
    margin: 40px auto;
    padding: 20px;
}
.newsletter {
    background: linear-gradient(135deg, #0d2d4d, #0a2540);
    border: 2px dashed #00d4ff;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.newsletter-title {
    flex: 1;
    color: #00d4ff;
    font-weight: bold;
    letter-spacing: 2px;
}
.newsletter-form {
    flex: 2;
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn-main {
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    background: #00d4ff;
    color: #0a2540;
    font-weight: bold;
    cursor: pointer;
}
.footer {
    margin-top: 40px;
    background: rgba(0,0,0,0.25);
    border-top: 1px solid var(--cyan);
}
.footer-inner {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    color: #aad4ff;
}
.link-neon {
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
}
.link-inline {
    color: #00d4ff;
    text-decoration: none;
}
.link-inline:hover {
    text-decoration: underline;
}
.footer-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #00d4ff;
    box-shadow: 0 0 10px rgba(0,212,255,0.3);
}
.icon {
    width: 14px;
    height: 14px;
    fill: #00d4ff;
}
.icon.rss {
    fill: #ff8c00;
}
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #00d4ff;
    color: #0a2540;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0,212,255,0.6);
    z-index: 9999;
}
.toast.newsletter {
    top: 60px;
}
.share-bar {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
}
.share-link {
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}
.share-link.linkedin {
    color: #0e76a8;
}
.share-link.whatsapp {
    color: #25D366;
}
