html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

/* FONTS */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* CORE VARIABLES & RESET */
:root {
    --bg-dark: #0a0a0a;
    --bg-surface: #151515;
    --text-main: #F5F5F7;
    --text-muted: #888888;
    --accent-blue: #1d4ed8;
    --accent-blue-hover: #2563eb;
    --border-color: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background-color: var(--accent-blue);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: transparent;
    box-shadow: none;
}

/* HEADER & NAVIGATION (NEW FROM INLINE) */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
}

.site-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
    letter-spacing: 2px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #333;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: #fff;
}

.header-btn {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
}

/* NAVIGATION (OLD) */
nav {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-main);
}

/* HERO BANNER SECTION */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 4rem 0;
}

.hero-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slowZoom 20s ease-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.65) 0%,
        rgba(10, 10, 10, 0.85) 50%,
        rgba(10, 10, 10, 1) 100%
    );
}

.hero-banner__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-banner__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-banner__line {
    height: 1px;
    width: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-banner__tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ccc;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    text-wrap: balance;
}

.hero-description {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.7;
    color: #a0a0a0;
    margin: 0 auto 3rem auto;
    max-width: 800px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    text-wrap: pretty;
}

.hero-banner__actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn.btn-ghost {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}


/* MANIFESTO SECTION */
.manifesto {
    background-color: var(--bg-surface);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.manifesto p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-main);
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 300;
}

/* PILLARS SECTION */
.pillars {
    padding: 5rem 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.pillar-card {
    background-color: var(--bg-surface);
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--text-muted);
}

/* SECTIONS FROM INLINE STYLES */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.services {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .card {
        max-width: 500px;
        width: 100%;
    }
}

.card {
    background: #111;
    padding: 2rem;
    border: 1px solid #222;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.moat {
    padding: 4rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.moat .section-title {
    margin-bottom: 1.5rem;
}

.moat-description {
    max-width: 700px;
}

.moat-list {
    max-width: 800px;
    margin: 0 auto;
    list-style-type: none;
    padding: 0;
}

.moat-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    border-left: 3px solid #fff;
}

.moat-list li strong {
    color: #fff;
}

.sla-proof {
    background-color: #0a0a0a;
    padding: 3rem 0;
    text-align: center;
}

.sla-proof h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    color: #888;
    margin-bottom: 1rem;
}

.metrics-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.metric-item {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* TROJAN HORSE / AUDIT SECTION */
.audit {
    background-color: #050505;
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* INTAKE FORM SECTION */
.intake {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.intake-header {
    text-align: center;
    margin-bottom: 2rem;
}

.intake-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.intake-header p {
    color: var(--text-muted);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.intake-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
    color: #aaa;
}

input,
select {
    width: 100%;
    padding: 0.8rem;
    background-color: #111;
    border: 1px solid #333;
    color: #fff;
    font-size: 1rem;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
    appearance: none;
}

input:focus,
select:focus {
    border-color: var(--accent-blue);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.btn-submit:hover {
    background-color: #e0e0e0;
}

/* FOOTER */
.site-footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #222;
    background-color: transparent;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.site-footer p {
    margin-bottom: 0.5rem;
}

.site-footer p:last-child {
    margin-bottom: 0;
}

.site-footer a {
    color: #aaa;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 160px;
    }

    .services, .moat, .sla-proof, .intake {
        padding: 4rem 0;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .hero-banner {
        min-height: 60vh;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-banner__actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-banner__actions .btn {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .site-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 5%;
    }
    
    .desktop-nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .metrics-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .intake-header h2 {
        font-size: 2rem;
    }
    
    .intake-header h3 {
        font-size: 1.2rem;
    }
}

.no-underline {
    text-decoration: none !important;
    color: inherit !important;
}