/* --- Google Font Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:wght@600;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-deep: #050507;
    --bg-panel: rgba(20, 20, 25, 0.7);
    --text-main: #e0e0e0;
    --text-muted: #8a8a9b;
    --accent-glow: #00f0ff; 
    --accent-secondary: #7000ff; 
    --link-color: #4da6ff;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-body: 'Inter', sans-serif;
    --font-head: 'Montserrat', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --container-width: 840px;
}

/* --- Base & Typography --- */
body {
    font-family: var(--font-body);
    line-height: 1.8;
    margin: 0;
    color: var(--text-main);
    background-color: var(--bg-deep);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: #fff;
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 { font-size: 2.5em; font-weight: 800; text-shadow: 0 0 20px rgba(0, 240, 255, 0.2); }
h2 { font-size: 1.8em; border-bottom: 1px solid var(--accent-secondary); padding-bottom: 10px; display: inline-block; }
h3 { font-size: 1.4em; color: var(--accent-glow); }

a { color: var(--link-color); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--accent-glow); text-shadow: 0 0 8px var(--accent-glow); }

hr { margin: 3rem 0; border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent); }

/* --- Polish: Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border: 1px solid var(--accent-secondary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* --- Polish: Text Selection --- */
::selection {
    background: var(--accent-glow);
    color: #000;
}

/* --- Layout Containers --- */
.main-content-after-hero, article, header nav, footer {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
header {
    padding: 20px 0;
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}
nav { display: flex; justify-content: center; gap: 30px; }
nav a { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.85em; letter-spacing: 1px; color: var(--text-muted); }
nav a:hover { color: #fff; border-bottom-color: transparent; }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--accent-secondary);
    margin-bottom: 40px;
}
.hero-section .site-header-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.6;
}
.hero-section::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(5,5,7,0.4) 0%, var(--bg-deep) 100%);
    z-index: 2;
}
.hero-content { position: relative; z-index: 3; padding: 0 20px; }
.hero-section h1 { font-size: 3.5em; margin: 0; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 30px rgba(0, 240, 255, 0.5); }
.hero-section .subtitle {
    font-family: var(--font-mono); font-size: 1.1em; color: var(--accent-glow); margin-top: 10px;
    background: rgba(0,0,0,0.5); display: inline-block; padding: 5px 15px; border: 1px solid var(--accent-glow); border-radius: 4px;
}

/* --- Homepage Wow Factor --- */
.transmission-intro { text-align: center; margin: 5rem 0; }
.glitch-text {
    font-family: var(--font-mono); font-weight: 800; font-size: 2.2rem; color: #fff;
    text-shadow: 2px 0 var(--accent-glow), -2px 0 var(--accent-secondary);
}
.lead-text { font-size: 1.3rem; line-height: 1.6; }
.highlight { color: var(--accent-glow); font-weight: 600; text-shadow: 0 0 10px rgba(0, 240, 255, 0.4); }

/* Protocol Grid Fix (2x2 equal height alignment) */
.protocol-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 4rem 0;
    align-items: stretch; 
}
.protocol-card {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.protocol-card::before {
    content: ''; position: absolute; top: -1px; left: -1px; width: 15px; height: 15px;
    border-top: 2px solid var(--accent-glow); border-left: 2px solid var(--accent-glow);
}
.protocol-card:hover { border-color: var(--accent-glow); transform: translateY(-3px); }
.card-header { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); margin-bottom: 15px; letter-spacing: 1px; }
.status-dot { height: 6px; width: 6px; background: var(--accent-glow); display: inline-block; border-radius: 50%; margin-right: 5px; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.protocol-card h3 { font-family: var(--font-mono); font-size: 1.1rem; color: #fff; margin: 0 0 10px 0; border: none; text-transform: uppercase; }
.protocol-card p { font-size: 0.9rem; line-height: 1.5; color: var(--text-muted); margin-bottom: 15px; }
.card-footer { margin-top: auto; font-family: var(--font-mono); font-size: 0.6rem; color: var(--accent-secondary); border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 10px; }

/* --- CTA Acquisition Section Fix --- */
.cta-section.main-acquisition {
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid var(--border-color);
    padding: 0;
    border-radius: 12px;
    margin-top: 4rem;
    overflow: hidden;
}
.cta-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-align: left;
}
.cta-cover {
    flex: 1;
    max-width: 50%;
    line-height: 0;
}
.cta-cover .site-cover-wrapper {
    margin: 0;
    box-shadow: none;
    border: none;
    transform: none;
}
.cta-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cta-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-info h2 {
    margin-top: 0;
    font-size: 2rem;
    border-bottom: 2px solid var(--accent-secondary);
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
}
.cta-buttons.vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    margin: 1.5rem 0;
}
.cta-button.primary-glow {
    background: var(--accent-glow);
    color: #000;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    border: 2px solid var(--accent-glow);
    transition: 0.3s;
}
.cta-button.primary-glow:hover {
    background: transparent;
    color: var(--accent-glow);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}
.cta-link-secondary {
    font-family: var(--font-mono);
    color: var(--accent-glow);
    font-size: 0.85rem;
    text-decoration: underline;
    opacity: 0.8;
}
.support-text {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Support Page Specifics --- */
.support-grid { display: flex; flex-direction: row; gap: 20px; width: 100%; margin-bottom: 40px; }
.feature-item.preferred { border: 1px solid var(--accent-glow); background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, var(--bg-panel) 100%); }
.preferred-tag { display: block; background: var(--accent-glow); color: #000; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; padding: 4px 12px; margin-bottom: 20px; border-radius: 2px; }
.store-icon-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 15px 0; }
.store-icon-container img { width: 38px; height: 38px; border-radius: 6px; filter: grayscale(100%) opacity(0.7); border: 1px solid var(--border-color); transition: all 0.3s; }
.store-icon-container a:hover img { filter: grayscale(0%) opacity(1); border-color: var(--accent-glow); box-shadow: 0 0 10px var(--accent-glow); transform: translateY(-3px); }
.store-icon-container.single img { width: 120px; height: auto; filter: invert(1); border: none; }

/* --- Footer --- */
footer { margin-top: 80px; padding: 40px 20px; border-top: 1px solid var(--border-color); font-family: var(--font-mono); font-size: 0.8em; color: var(--text-muted); text-align: center; }

@media (max-width: 900px) {
    .protocol-grid { grid-template-columns: 1fr; }
    .support-grid, .cta-layout { flex-direction: column; text-align: center; }
    .cta-cover { max-width: 100%; }
    .cta-info { padding: 2rem; align-items: center; }
    .cta-buttons.vertical { align-items: center; width: 100%; }
    .cta-button.primary-glow { width: 100%; }
}