:root {
    --bg-dark: #050505;
    --panel-bg: rgba(10, 10, 10, 0.85);
    --text-primary: #e0e0e0;
    --text-secondary: #7a7a7a;
    --border-color: #2a2a2a;
    --accent-primary: #ff5500; /* Tactical orange */
    --accent-secondary: #ff3333; /* Alert red */
}

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

body {
    background-color: var(--bg-dark);
    background-image: url('images/bg-toughness.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scanline effect */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 5%;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 100px rgba(0,0,0,0.9);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    min-height: 100vh;
    position: relative;
    z-index: 3;
}

.tactical-header {
    display: flex;
    justify-content: space-between;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-primary);
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 5rem;
    text-shadow: 0 0 10px rgba(255,85,0,0.5);
}

.hero {
    margin-bottom: 6rem;
    animation: glitchIn 0.5s ease forwards;
}

@keyframes glitchIn {
    0% { opacity: 0; transform: scale(0.98); filter: blur(5px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

h1 {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1rem;
    letter-spacing: -3px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px var(--accent-secondary);
}

.hazard-bar {
    height: 6px;
    width: 100%;
    background: repeating-linear-gradient(
      45deg,
      var(--accent-primary),
      var(--accent-primary) 10px,
      transparent 10px,
      transparent 20px
    );
    margin-bottom: 2.5rem;
    animation: hazardMove 20s linear infinite;
}

@keyframes hazardMove {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 0; }
}

.hero p {
    font-size: 1.25rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    font-weight: 400;
}

.theological-framework {
    background: rgba(255, 85, 0, 0.05);
    border-left: 4px solid var(--accent-primary);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin: 4rem 0;
    box-shadow: inset 0 0 20px rgba(255,85,0,0.05);
}

.alert-icon {
    color: var(--accent-primary);
    font-size: 2rem;
    line-height: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; text-shadow: 0 0 10px var(--accent-primary); }
    50% { opacity: 0.5; text-shadow: none; }
    100% { opacity: 1; text-shadow: 0 0 10px var(--accent-primary); }
}

.theological-framework p {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.integrations-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 5rem;
}

.armor-panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
    transition: all 0.2s ease;
}

.armor-panel:hover {
    border-color: var(--accent-primary);
    box-shadow: inset 0 0 30px rgba(255,85,0,0.1);
}

.panel-header {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 2px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px var(--accent-primary);
}

.integration-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: #ffffff;
}

.integration-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--accent-primary);
    text-decoration: none;
    padding: 1.2rem;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: 1px solid var(--accent-primary);
    transition: all 0.1s ease;
}

.cta-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-dark);
    text-shadow: none;
}

.section-title {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.8rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.seo-architecture {
    position: relative;
}

.seo-architecture::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(5,5,5,1));
    pointer-events: none;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 6rem;
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.seo-card {
    padding: 2rem;
    background: rgba(15,15,15,0.7);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--border-color);
    transition: all 0.1s ease;
}

.seo-card:hover {
    border-left-color: var(--accent-primary);
    background: rgba(255,85,0,0.05);
    transform: translateX(5px);
}

.seo-card .tag {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.8rem;
}

.seo-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* Modal CSS */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    width: 90%;
    max-width: 550px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.modal p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input[type="email"] {
    padding: 1.2rem;
    background: #000000;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1rem;
    outline: none;
}

input[type="email"]:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(255,85,0,0.2);
}

.submit-btn {
    background: var(--accent-primary);
    color: var(--bg-dark);
    border: none;
    padding: 1.2rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.1s ease;
}

.submit-btn:hover {
    background: #ffffff;
}

.privacy-note {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem !important;
    color: var(--text-secondary) !important;
    text-align: center;
    margin-top: 1rem !important;
}

footer {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px dashed var(--border-color);
    margin-top: 5rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    h1 { font-size: 4rem; }
    .integrations-matrix { grid-template-columns: 1fr; }
    .armor-panel { padding: 1.5rem; }
}
