/* --- CLEAN SLATE ENGINE: TWCS GROUP --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-dark: #0a0a0a;
    --white: #ffffff;
    --gold: #d4af37;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }
.page-container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Header */
.site-header { background: #0a0a0a; border-bottom: 1px solid #222; padding: 15px 0; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; letter-spacing: 2px; font-size: 1.2rem; }
.gold-text { color: var(--gold); }

/* Grid & Modules */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 25px; 
    margin: 40px 0;
}

.service-module { 
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.service-module:hover { border-color: #333; background: #121212; }

/* Locked-in Header (Icon + Text) */
.module-header {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.module-icon {
    font-size: 1.3rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-module h2 { 
    margin: 0; 
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    line-height: 1;
}

.service-module p { 
    color: var(--text-secondary); 
    font-size: 1rem; 
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Beam Effect */
.service-module::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 2px;
    background: var(--gold);
    transition: 0.5s;
}
.service-module:hover::before { left: 0; }

/* Methodology & Tags */
.methodology { text-align: center; margin: 60px 0; color: var(--text-secondary); }
.methodology h3 { font-size: 0.7rem; letter-spacing: 5px; margin-bottom: 10px; color: var(--gold); }
.line { width: 50px; height: 1px; background: var(--gold); margin: 0 auto 20px; }

.code-tag {
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #00ff41;
    background: #0a140a;
    padding: 8px 12px;
    border-left: 2px solid #00ff41;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 3rem 0;
    border-top: 1px solid #222;
    text-align: center;
    color: #666;
    background-color: #050505;
}