/*
Theme Name: CryptXNet
Theme URI: https://cryptxnet.com
Author: CryptXNet Team
Author URI: https://cryptxnet.com
Description: AI-Powered Cybersecurity — Glassmorphism Edition
Version: 2.1
License: GNU General Public License v2
Text Domain: cryptxnet
*/

/* ══════════════════════════════════════════════
   VARIABLES — Deep Navy Glassmorphism
══════════════════════════════════════════════ */
:root {
    --bg:           #060612;
    --surface:      rgba(255,255,255,0.035);
    --surface2:     rgba(255,255,255,0.06);
    --glass:        rgba(12,12,30,0.55);
    --glass-border: rgba(255,255,255,0.08);
    --glass-glow:   rgba(120,200,255,0.12);
    --edge-glow:    rgba(120,200,255,0.22);
    --edge-subtle:  rgba(120,200,255,0.06);
    --border:       rgba(255,255,255,0.06);
    --green:        #a78bfa;
    --green-dim:    rgba(167,139,250,0.25);
    --green-glow:   rgba(167,139,250,0.08);
    --amber:        #f59e0b;
    --red:          #ef4444;
    --text:         #eeeef6;
    --text-dim:     rgba(255,255,255,0.55);
    --text-muted:   rgba(255,255,255,0.30);
    --mono:         'Space Mono', monospace;
    --sans:         'Syne', sans-serif;
    --body:         'Inter', sans-serif;
    --accent:       #a78bfa;
    --accent-dim:   rgba(167,139,250,0.25);
    --accent2:      #6366f1;
    --accent3:      #ec4899;
    --gradient:     linear-gradient(135deg, #7c3aed, #a78bfa, #ec4899);
}

/* ══════════════════════════════════════════════
   RESET
══════════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    background: #060612 !important;
    background-color: #060612 !important;
}
img  { max-width: 100%; height: auto; }
body {
    background: var(--bg) !important;
    background-color: #060612 !important;
    color: var(--text);
    font-family: var(--body);
    overflow-x: hidden;
}

/* ambient gradient mesh */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 15% 30%, rgba(99,102,241,0.14) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 85% 15%, rgba(124,58,237,0.09) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 85%, rgba(236,72,153,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 5% 95%, rgba(99,102,241,0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

nav { display: none; }

/* ══════════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════════ */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.15; }
}
@keyframes pulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1);   opacity: 0.8; }
    50%       { transform: translate(-50%,-50%) scale(1.1); opacity: 1;   }
}
@keyframes scan {
    0%   { top: 0; }
    100% { top: 100%; }
}
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════
   LOGO
══════════════════════════════════════════════ */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-text {
    font-family: var(--sans);
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
    letter-spacing: -0.5px;
}
.logo-text span { color: var(--accent); }

/* ══════════════════════════════════════════════
   NAV CTA
══════════════════════════════════════════════ */
.nav-cta {
    font-family: var(--body);
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    background: var(--gradient);
    padding: 9px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(124,58,237,0.25);
}
.nav-cta:hover {
    box-shadow: 0 6px 30px rgba(124,58,237,0.45);
    color: #fff !important;
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: #fff;
    font-family: var(--body);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: all 0.3s;
    box-shadow: 0 4px 28px rgba(124,58,237,0.3);
}
.btn-primary:hover {
    box-shadow: 0 8px 44px rgba(124,58,237,0.5);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text);
    font-family: var(--body);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.btn-outline:hover {
    border-color: rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
    color: var(--text);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 110px 48px 80px;
    overflow: hidden;
    gap: 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow {
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(99,102,241,0.18) 0%,
        rgba(124,58,237,0.10) 30%,
        rgba(236,72,153,0.04) 55%,
        transparent 70%);
    top: 35%; left: 50%;
    transform: translate(-50%,-50%);
    animation: pulse 7s ease-in-out infinite;
}
.scanline {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120,200,255,0.35), transparent);
    opacity: 0.35;
    animation: scan 8s linear infinite;
}
.hero-content { position: relative; z-index: 1; max-width: 1100px; width: 100%; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    border: 1px solid rgba(167,139,250,0.25);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 40px;
    background: rgba(167,139,250,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: blink 1.2s ease-in-out infinite;
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(22px, 3.8vw, 64px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 32px;
    white-space: nowrap;
    overflow: visible;
}
.hero h1 .paren { color: rgba(255,255,255,0.18); font-weight: 300; }
.hero h1 .line-green {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero h1 .line-dim { color: var(--text-muted); font-size: 0.7em; }
.hero-desc { font-size: 16px; line-height: 1.7; color: var(--text-dim); max-width: 560px; margin: 0 auto 44px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ══════════════════════════════════════════════
   STATS BAR — Glass
══════════════════════════════════════════════ */
.stats-bar {
    position: relative;
    z-index: 1;
    background: var(--glass);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 32px 48px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    box-shadow: inset 0 1px 0 0 var(--edge-subtle);
}
.stat { padding: 0 32px; border-right: 1px solid var(--border); }
.stat:first-child { padding-left: 0; }
.stat:last-child  { border-right: none; }
.stat-num {
    font-family: var(--sans);
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════ */
section { position: relative; z-index: 1; }
.section-header { margin-bottom: 60px; }
.section-tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    display: block;
}
.section-title {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -1px;
    line-height: 1.05;
}
.section-desc { font-size: 15px; color: var(--text-dim); line-height: 1.7; max-width: 560px; margin-top: 16px; }

/* ══════════════════════════════════════════════
   SERVICES — Glass Cards with Edge Glow
══════════════════════════════════════════════ */
.services { padding: 100px 48px; background: transparent; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    background: transparent;
    border: none;
}

a.service-card { color: inherit; text-decoration: none; display: block; }

.service-card {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    padding: 44px 36px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow:
        inset 1px 1px 0 0 rgba(120,200,255,0.10),
        inset -1px -1px 0 0 rgba(120,200,255,0.02),
        0 8px 40px rgba(0,0,0,0.3);
}
/* top edge shine line */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        var(--edge-glow) 0%,
        var(--edge-subtle) 40%,
        transparent 75%);
    opacity: 0.7;
}
/* corner glow spot — top-left */
.service-card::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 90px; height: 90px;
    background: radial-gradient(circle at 0% 0%, rgba(120,200,255,0.14), transparent 70%);
    pointer-events: none;
    border-radius: 18px 0 0 0;
}

.service-card:hover {
    background: rgba(15,15,35,0.75);
    border-color: rgba(120,200,255,0.15);
    transform: translateY(-4px);
    box-shadow:
        inset 1px 1px 0 0 rgba(120,200,255,0.18),
        inset -1px -1px 0 0 rgba(120,200,255,0.04),
        0 24px 60px rgba(99,102,241,0.10),
        0 0 40px rgba(120,200,255,0.03);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 48px; height: 48px;
    background: rgba(167,139,250,0.08);
    border: 1px solid rgba(167,139,250,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 28px;
}
.service-title { font-family: var(--sans); font-weight: 700; font-size: 20px; margin-bottom: 14px; letter-spacing: -0.3px; }
.service-desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.service-tag {
    display: inline-block;
    margin-top: 24px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    border: 1px solid rgba(167,139,250,0.15);
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════════
   THREAT TICKER
══════════════════════════════════════════════ */
.threat-ticker {
    background: rgba(239,68,68,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(239,68,68,0.12);
    border-bottom: 1px solid rgba(239,68,68,0.12);
    padding: 14px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.threat-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-label {
    flex-shrink: 0;
    background: var(--red);
    color: white;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
    margin-right: 24px;
    min-width: 120px;
    justify-content: center;
    border-radius: 0 6px 6px 0;
}
.ticker-track { display: flex; gap: 48px; animation: ticker 120s linear infinite; will-change: transform; white-space: nowrap; }
.ticker-item { font-family: var(--mono); font-size: 12px; color: #ef4444; display: flex; align-items: center; gap: 8px; }
.ticker-item .dot { color: var(--red); }

/* ══════════════════════════════════════════════
   THREAT ZONE
══════════════════════════════════════════════ */
.threat-zone {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.threat-ticker-wrap { border-right: 1px solid rgba(239,68,68,0.08); overflow: hidden; }
.daily-brief { padding: 32px 40px; }
.daily-brief-title {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.daily-brief-items { display: flex; flex-direction: column; gap: 12px; }
.brief-item {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.brief-item::before { content: '›'; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════════
   BLOG — Glass Cards with Edge Glow
══════════════════════════════════════════════ */
.blog { padding: 80px 48px 48px; background: transparent; }

.blog-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
}
.blog-tabs::-webkit-scrollbar { display: none; }
.blog-tab {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 16px;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
    user-select: none;
    white-space: nowrap;
    cursor: pointer;
}
.blog-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.blog-tab:hover { color: var(--text-dim); }

.blog-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    background: transparent;
    border: none;
}

.blog-card {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow:
        inset 1px 1px 0 0 rgba(120,200,255,0.08),
        inset -1px -1px 0 0 rgba(120,200,255,0.02),
        0 8px 32px rgba(0,0,0,0.25);
}
/* top edge shine */
.blog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        var(--edge-glow) 0%,
        var(--edge-subtle) 50%,
        transparent 80%);
    pointer-events: none;
}
/* corner glow */
.blog-card::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 70px; height: 70px;
    background: radial-gradient(circle at 0% 0%, rgba(120,200,255,0.12), transparent 70%);
    pointer-events: none;
    border-radius: 18px 0 0 0;
}
.blog-card:hover {
    background: rgba(15,15,35,0.75);
    border-color: rgba(120,200,255,0.12);
    transform: translateY(-3px);
    box-shadow:
        inset 1px 1px 0 0 rgba(120,200,255,0.14),
        0 20px 50px rgba(99,102,241,0.08);
}
.blog-card.tab-hidden { display: none !important; }
.blog-card.featured { grid-row: span 2; padding: 48px; }
.blog-card.featured .post-title { font-size: 26px; }

.post-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    margin-bottom: 18px;
    border-radius: 6px;
}
.post-cat.ai     { color: #a78bfa; background: rgba(167,139,250,0.08); border: 1px solid rgba(167,139,250,0.15); }
.post-cat.cyber  { color: #818cf8; background: rgba(129,140,248,0.08); border: 1px solid rgba(129,140,248,0.15); }
.post-cat.threat { color: #f59e0b; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.15); }
.post-cat.brief  { color: #34d399; background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.15); }
.post-cat.archive { color: #60a5fa; background: rgba(96,165,250,0.08); border: 1px solid rgba(96,165,250,0.15); }

.post-title { font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -0.3px; margin-bottom: 14px; color: var(--text); }
.post-excerpt { font-size: 13px; color: var(--text-dim); line-height: 1.65; margin-bottom: 24px; }
.post-meta { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 11px; color: var(--text-muted); }
.post-meta .author { color: var(--text-dim); }
.post-meta .sep    { opacity: 0.3; }

.blog-featured-img {
    width: 100%; height: 220px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(124,58,237,0.04));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 28px;
    overflow: hidden;
    position: relative;
    display: block;
}
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.read-more {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.read-more:hover { gap: 10px; color: var(--accent); }

/* ══════════════════════════════════════════════
   CTA
══════════════════════════════════════════════ */
.cta-section { padding: 64px 48px; background: transparent; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
    content: '';
    position: absolute;
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.10) 0%, rgba(167,139,250,0.05) 40%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}
.cta-section h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(32px, 5vw, 60px); letter-spacing: -2px; line-height: 1; margin-bottom: 24px; position: relative; }
.cta-section p { font-size: 16px; color: var(--text-dim); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; position: relative; }
.cta-actions { position: relative; display: flex; gap: 16px; justify-content: center; }

/* ══════════════════════════════════════════════
   FOOTER — Glass
══════════════════════════════════════════════ */
footer {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 64px 48px 32px;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 0 0 var(--edge-subtle);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-col-title { font-family: var(--mono); font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; }
.footer-links            { list-style: none; }
.footer-links li         { margin-bottom: 10px; }
.footer-links a          { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover    { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p  { font-family: var(--mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; }
.footer-bottom a  { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-status { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; color: var(--accent); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.5s ease-in-out infinite; flex-shrink: 0; box-shadow: 0 0 6px var(--accent); }
.status-dot--delayed { animation-delay: 0.6s; }

/* ══════════════════════════════════════════════
   TERMINAL — Glass Container with Edge Glow
══════════════════════════════════════════════ */
.terminal {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 860px;
    margin: 56px auto 0;
    height: 420px;
    min-height: 420px;
    max-height: 420px;
    background: rgba(8,8,20,0.8);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        inset 1px 1px 0 0 rgba(120,200,255,0.08),
        0 0 80px rgba(99,102,241,0.06),
        0 40px 100px rgba(0,0,0,0.5);
}
/* terminal edge shine */
.terminal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        var(--edge-glow) 0%,
        var(--edge-subtle) 40%,
        transparent 75%);
    z-index: 10;
    pointer-events: none;
}

.terminal-bar { display: flex; align-items: center; gap: 0; padding: 10px 16px; background: rgba(255,255,255,0.025); border-bottom: 1px solid rgba(255,255,255,0.05); flex-shrink: 0; }
.terminal-dots { display: flex; gap: 6px; flex-shrink: 0; }
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.terminal-dot:nth-child(1){ background: #ef4444; }
.terminal-dot:nth-child(2){ background: #f59e0b; }
.terminal-dot:nth-child(3){ background: #22c55e; }
.terminal-title { flex: 1; text-align: center; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.30); letter-spacing: 0.06em; }
.terminal-bar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.term-powered-by { font-family: var(--mono); font-size: 9px; color: rgba(167,139,250,0.65); letter-spacing: 0.08em; border: 1px solid rgba(167,139,250,0.15); padding: 2px 7px; border-radius: 4px; }
.term-status-dot { font-size: 10px; transition: color 0.3s; }
.term-status-ready { color: var(--accent); }
.term-status-busy  { color: #f59e0b; animation: blink 0.6s step-end infinite; }
.term-status-error { color: #ef4444; }

.terminal-body { flex: 1; overflow-y: auto; padding: 18px 20px 12px; font-family: var(--mono); font-size: 12px; line-height: 1.85; scroll-behavior: smooth; }
.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-track { background: transparent; }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(167,139,250,0.2); border-radius: 2px; }

.term-input-sep { height: 1px; background: rgba(255,255,255,0.05); flex-shrink: 0; }
.term-input-wrap { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(167,139,250,0.02); flex-shrink: 0; }
.t-prompt-sym { font-family: var(--mono); font-size: 13px; color: var(--accent); flex-shrink: 0; }
.term-input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--mono); font-size: 12px; color: var(--text); caret-color: var(--accent); min-width: 0; }
.term-input::placeholder { color: rgba(255,255,255,0.15); }
.term-send-btn, .term-clear-btn { background: none; border: 1px solid rgba(167,139,250,0.15); color: rgba(167,139,250,0.55); font-family: var(--mono); font-size: 11px; padding: 4px 10px; transition: all 0.15s; flex-shrink: 0; border-radius: 4px; cursor: pointer; }
.term-send-btn:hover  { background: rgba(167,139,250,0.08); color: var(--accent); border-color: var(--accent); }
.term-clear-btn:hover { background: rgba(239,68,68,0.06); color: #ef4444; border-color: rgba(239,68,68,0.25); }

/* terminal text */
.t-cmd      { color: var(--accent); }
.t-path     { color: #93c5fd; }
.t-out      { color: rgba(255,255,255,0.60); }
.t-dim      { color: rgba(255,255,255,0.30); }
.t-small    { font-size: 10px; }
.t-warn     { color: var(--amber); }
.t-err      { color: #ef4444; }
.t-success  { color: var(--accent); }
.t-answer   { color: rgba(255,255,255,0.80); white-space: pre-wrap; word-break: break-word; max-width: 100%; }
.t-link     { color: rgba(147,197,253,0.9); text-decoration: none; }
.t-link:hover { text-decoration: underline; color: #bfdbfe; }
.t-inline   { display: inline; }
.t-source-line { padding-left: 4px; }
.t-cursor { display: inline-block; width: 7px; height: 13px; background: var(--accent); vertical-align: middle; animation: blink 0.8s step-end infinite; }

/* ══════════════════════════════════════════════
   ABOUT — Glass
══════════════════════════════════════════════ */
.about { padding: 100px 48px; background: transparent; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; height: 400px; }
.hex-grid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hex-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(167,139,250,0.1); animation: rotate 20s linear infinite; }
.hex-ring:nth-child(1) { width: 180px; height: 180px; animation-duration: 15s; }
.hex-ring:nth-child(2) { width: 280px; height: 280px; animation-direction: reverse; animation-duration: 25s; }
.hex-ring:nth-child(3) { width: 380px; height: 380px; animation-duration: 35s; }
.hex-center { width: 100px; height: 100px; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; background: rgba(167,139,250,0.08); border: 1px solid rgba(167,139,250,0.3); border-radius: 12px; font-size: 40px; box-shadow: 0 0 50px rgba(167,139,250,0.2); }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.about-feature {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 14px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: inset 1px 1px 0 0 rgba(120,200,255,0.06);
}
.about-feature::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 50px; height: 50px;
    background: radial-gradient(circle at 0% 0%, rgba(120,200,255,0.10), transparent 70%);
    pointer-events: none;
    border-radius: 14px 0 0 0;
}
.about-feature:hover { border-color: rgba(167,139,250,0.2); transform: translateY(-2px); }
.about-feature .icon { font-size: 20px; margin-bottom: 10px; }
.about-feature h4 { font-family: var(--sans); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.about-feature p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════════════
   FADE-IN
══════════════════════════════════════════════ */
.fade-in         { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════════ */
.single-post-wrap { max-width: 780px; margin: 120px auto 80px; padding: 0 24px; }
.single-post-wrap h1 { font-family: var(--sans); font-size: clamp(26px, 3vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 24px; color: var(--text); }
.single-post-wrap .post-content               { font-size: 16px; line-height: 1.85; color: var(--text-dim); }
.single-post-wrap .post-content h2            { font-family: var(--sans); font-size: 26px; font-weight: 700; color: var(--text); margin: 40px 0 16px; letter-spacing: -0.5px; }
.single-post-wrap .post-content h3            { font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.single-post-wrap .post-content p             { margin-bottom: 20px; }
.single-post-wrap .post-content a             { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.single-post-wrap .post-content strong        { color: var(--text); }
.single-post-wrap .post-content ul,
.single-post-wrap .post-content ol            { padding-left: 24px; margin-bottom: 20px; }
.single-post-wrap .post-content li            { margin-bottom: 8px; }
.single-post-wrap .post-content code          { font-family: var(--mono); font-size: 13px; background: rgba(167,139,250,0.06); border: 1px solid rgba(167,139,250,0.1); padding: 2px 8px; color: var(--accent); border-radius: 4px; }
.single-post-wrap .post-content pre           { background: var(--glass); border: 1px solid var(--glass-border); padding: 24px; overflow-x: auto; margin-bottom: 24px; font-family: var(--mono); font-size: 13px; color: var(--text-dim); line-height: 1.7; border-radius: 12px; }
.single-post-wrap .post-content pre code      { background: none; border: none; padding: 0; }
.single-post-wrap .post-content blockquote    { border-left: 3px solid var(--accent); padding: 16px 24px; margin: 32px 0; background: rgba(167,139,250,0.04); font-style: italic; color: var(--text); border-radius: 0 8px 8px 0; }
.single-post-wrap .post-content img           { width: 100%; height: auto; border: 1px solid var(--glass-border); margin: 24px 0; display: block; border-radius: 12px; }
.single-post-wrap .post-content table         { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.single-post-wrap .post-content th            { background: var(--glass); border: 1px solid var(--border); padding: 10px 14px; text-align: left; font-family: var(--mono); font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.single-post-wrap .post-content td            { border: 1px solid var(--border); padding: 10px 14px; color: var(--text-dim); }

/* ══════════════════════════════════════════════
   PAGE OFFSET + TRUSTED BY
══════════════════════════════════════════════ */
main, .contact-wrap { padding-top: 70px; }

.trusted-by { padding: 40px 48px; background: transparent; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.trusted-by-label { font-family: var(--mono); font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 24px; display: block; }
.trusted-by-logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trusted-logo { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 8px; opacity: 0.5; transition: opacity 0.2s; text-decoration: none; }
.trusted-logo:hover { opacity: 0.8; }
.trusted-logo-icon { width: 20px; height: 20px; opacity: 0.6; font-size: 16px; }

/* ══════════════════════════════════════════════
   BRIEFING POST CONTENT
══════════════════════════════════════════════ */
.cx-briefing-post { max-width: 960px; margin: 0 auto; font-family: var(--sans); }
.cx-bp-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 28px; background: rgba(167,139,250,0.04); border: 1px solid rgba(167,139,250,0.12); border-radius: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.cx-bp-label { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; display: block; margin-bottom: 6px; }
.cx-bp-date { font-family: var(--sans); font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.cx-bp-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cx-bp-badge { font-family: var(--mono); font-size: 9px; font-weight: 700; padding: 4px 10px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 4px; }
.cx-bp-badge.news   { background: rgba(167,139,250,0.08); color: rgba(167,139,250,0.9); border: 1px solid rgba(167,139,250,0.15); }
.cx-bp-badge.source { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.08); }

.cx-kev-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 11px; margin: 20px 0 32px; }
.cx-kev-table thead tr { background: rgba(239,68,68,0.06); border-bottom: 1px solid rgba(239,68,68,0.15); }
.cx-kev-table th { padding: 10px 14px; text-align: left; font-weight: 700; color: #ef4444; text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; white-space: nowrap; }
.cx-kev-table td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.03); color: var(--text-dim); vertical-align: top; }
.cx-kev-table tr:hover td { background: rgba(255,255,255,0.02); }
.cx-kev-table td:first-child { color: var(--text); font-weight: 700; white-space: nowrap; }
.cx-kev-table td a { color: var(--accent); text-decoration: none; }
.cx-kev-table td a:hover { text-decoration: underline; }

.cx-news-list { padding-left: 0; list-style: none; counter-reset: news-counter; }
.cx-news-list li { counter-increment: news-counter; padding: 14px 16px 14px 48px; border-bottom: 1px solid rgba(255,255,255,0.03); position: relative; font-size: 13px; line-height: 1.6; color: var(--text-dim); }
.cx-news-list li::before { content: counter(news-counter, decimal-leading-zero); position: absolute; left: 0; top: 16px; width: 36px; text-align: right; font-family: var(--mono); font-size: 10px; color: rgba(167,139,250,0.5); font-weight: 700; }
.cx-news-list li strong a { color: var(--text); text-decoration: none; font-weight: 700; }
.cx-news-list li strong a:hover { color: var(--accent); }
.cx-news-list .cx-news-source { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.35); }
.cx-news-list li small { display: block; font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px; }

.cx-briefing-post hr { border: none; border-top: 1px solid var(--border); margin: 32px 0 16px; }
.cx-briefing-post h2 { font-family: var(--sans); font-size: 18px; font-weight: 800; color: var(--text); margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); letter-spacing: -0.2px; }

@media (max-width: 768px) {
    .cx-kev-table { font-size: 10px; }
    .cx-kev-table th, .cx-kev-table td { padding: 8px 10px; }
    .cx-bp-header { padding: 16px; }
    .cx-bp-date { font-size: 18px; }
    .cx-kev-table th:nth-child(5), .cx-kev-table td:nth-child(5) { display: none; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET ≤ 1280px
══════════════════════════════════════════════ */
@media (max-width: 1280px) {
    main, .contact-wrap { padding-top: 58px; }
    .hero { padding: 100px 24px 60px; min-height: auto; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero h1 { font-size: clamp(22px, 5.5vw, 48px); letter-spacing: -1px; white-space: nowrap; }
    .hero-desc { font-size: 15px; max-width: 100%; }
    .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
    .btn-primary, .btn-outline { width: 100%; max-width: 360px; justify-content: center; }
    .terminal { width: 100%; max-width: 100%; margin: 40px auto 0; height: 380px; min-height: 380px; max-height: 380px; }

    .stats-bar { grid-template-columns: repeat(2,1fr); padding: 24px 20px; }
    .stat { padding: 20px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .stat:nth-child(2n) { border-right: none; }
    .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
    .stat-num { font-size: 28px; }

    .threat-zone { grid-template-columns: 1fr; }
    .threat-ticker-wrap { border-right: none; border-bottom: 1px solid rgba(239,68,68,0.1); }
    .daily-brief { padding: 20px; }

    .services { padding: 60px 24px; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .service-card { padding: 28px 20px; }

    .about { padding: 60px 24px; grid-template-columns: 1fr; gap: 40px; }
    .about-visual { display: none; }
    .about-features { grid-template-columns: 1fr 1fr; gap: 16px; }

    .blog { padding: 48px 24px 32px; }
    .blog-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px; gap: 8px; }
    .blog-tab { white-space: nowrap; flex-shrink: 0; }
    .blog-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .blog-card { padding: 24px; }
    .blog-card.featured { grid-column: span 2; grid-row: span 1; }
    .blog-card.featured .post-title { font-size: 20px; }

    .cta-section { padding: 48px 24px; }
    .cta-section h2 { font-size: clamp(28px, 6vw, 48px); }
    .cta-actions { flex-direction: column; align-items: center; gap: 12px; }

    footer { padding: 60px 24px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .section-title { font-size: clamp(26px, 5vw, 42px); }
    .section-desc  { font-size: 14px; }

    .contact-wrap { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px 60px; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .contact-form-wrap { padding: 32px 24px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — PHONE ≤ 640px
══════════════════════════════════════════════ */
@media (max-width: 640px) {
    .hero { padding: 95px 16px 48px; gap: 32px; }
    .hero h1 { font-size: clamp(16px, 7.5vw, 36px); letter-spacing: -0.5px; white-space: nowrap; }
    .hero-badge { font-size: 10px; }
    .btn-primary, .btn-outline { max-width: 100%; padding: 14px 20px; font-size: 12px; }
    .terminal { max-width: 100%; height: 400px; min-height: 400px; max-height: 400px; }
    .terminal-body { font-size: 11px; padding: 12px 14px; }
    .term-input { font-size: 11px; }
    #cx-geo-bar { display: none !important; }

    .stats-bar { grid-template-columns: 1fr 1fr; padding: 16px 12px; }
    .stat-num { font-size: 24px; }
    .stat-label { font-size: 10px; }
    .ticker-item { font-size: 11px; }

    .services { padding: 48px 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 24px 20px; }
    .service-title { font-size: 17px; }

    .about { padding: 48px 16px; }
    .about-features { grid-template-columns: 1fr; }

    .blog { padding: 40px 16px 24px; }
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-card.featured { grid-column: span 1; grid-row: span 1; }
    .blog-card { padding: 20px; }
    .post-title { font-size: 17px !important; }

    .cta-section { padding: 40px 16px; }
    .cta-section h2 { font-size: clamp(26px, 8vw, 36px); }

    footer { padding: 48px 16px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .section-title { font-size: clamp(24px, 8vw, 32px); }
    .section-tag { font-size: 10px; }

    .contact-wrap { padding: 80px 16px 48px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-wrap { padding: 24px 16px; }
    .form-group input, .form-group select, .form-group textarea { font-size: 16px !important; }
    .form-group textarea { min-height: 100px; }
    .form-submit { padding: 14px 20px; font-size: 12px; }

    .single-post-wrap { margin: 80px auto 60px; padding: 0 16px; }
    .single-post-wrap h1 { font-size: clamp(24px, 7vw, 32px); }
    .single-post-wrap .post-content { font-size: 15px; }
}

/* ══════════════════════════════════════════════
   SMALL PHONES ≤ 380px
══════════════════════════════════════════════ */
@media (max-width: 380px) {
    .hero h1 { font-size: 7vw; white-space: nowrap; letter-spacing: -0.3px; }
    .stat-num { font-size: 22px; }
    .contact-form-wrap { padding: 20px 12px; }
    .blog-card { padding: 16px; }
    .service-card { padding: 20px 16px; }
}

/* ══════════════════════════════════════════════
   DESKTOP > 1280px
══════════════════════════════════════════════ */
@media (min-width: 1281px) {
    nav { display: none; }
    main, .contact-wrap { padding-top: 70px; }
    .services-grid { grid-template-columns: repeat(3,1fr); }
    .about { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1.8fr 1fr 1fr; }
    .blog-card.featured { grid-column: span 1; grid-row: span 2; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .form-row { grid-template-columns: 1fr 1fr; }
}