/* ==========================================================================
   CyberSpartans - Shared Stylesheet
   cyberspartans.co.uk
   ========================================================================== */

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

:root {
    --red: #e63946;
    --red-bright: #ff4757;
    --red-dark: #c1121f;
    --cyan: #00d9ff;
    --bg: #0a0e1a;
    --bg-card: #131829;
    --bg-elevated: #1a2030;
    --text: #e8ecf3;
    --text-dim: #8a96a8;
    --border: rgba(255,255,255,0.06);
    --border-strong: rgba(255,255,255,0.12);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER & NAV ===== */
header {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.25s;
}

nav a:hover, nav a.active { color: var(--red-bright); }

.nav-cta {
    background: var(--red);
    color: white !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.25s;
}

.nav-cta:hover {
    background: var(--red-bright) !important;
    transform: translateY(-1px);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { letter-spacing: -1px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(230, 57, 70, 0.3);
    background: rgba(230, 57, 70, 0.06);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--red-bright);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.eyebrow.cyan {
    color: var(--cyan);
    background: rgba(0, 217, 255, 0.08);
    border-color: rgba(0, 217, 255, 0.3);
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
    animation: dot-pulse 1.5s infinite;
}

@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 8px currentColor; }
    50% { box-shadow: 0 0 16px currentColor; }
}

.red { color: var(--red-bright); }
.cyan { color: var(--cyan); }

/* ===== BUTTONS ===== */
.btn {
    padding: 14px 28px;
    border-radius: 4px;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary { background: var(--red); color: white; }
.btn-primary:hover {
    background: var(--red-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
    border-color: var(--red);
    color: var(--red-bright);
}

.btn-cyan { background: var(--cyan); color: var(--bg); }
.btn-cyan:hover {
    background: #00b8e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.35);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 60px;
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    background: var(--bg-card);
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 60px 48px 30px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 11px;
    color: var(--text);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    padding: 5px 0;
    transition: color 0.25s;
}

.footer-col a:hover { color: var(--red-bright); }

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    header { padding: 14px 32px; }
    .section { padding: 70px 32px; }
    .section-header h2 { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    header { padding: 14px 20px; flex-direction: column; gap: 12px; }
    nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .section { padding: 50px 20px; }
    .section-header h2 { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    footer { padding: 40px 20px 24px; }
}
