/* CandidateBuilder Main Stylesheet */
:root {
    --steel-blue: #1E3A5F;
    --concrete-gray: #D4D6D9;
    --safety-orange: #FF6B35;
    --bright-white: #FFFFFF;
    --emerald-green: #3CB371;
    --dark-bg: #0F1419;
    --light-gray: #F8F9FA;
    
    --font-headlines: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-data: 'Oswald', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--steel-blue);
    background-color: var(--bright-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headlines);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--safety-orange);
    color: var(--bright-white);
    border-color: var(--safety-orange);
}

.btn-primary:hover {
    background-color: #E5592F;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--steel-blue);
    border-color: var(--steel-blue);
}

.btn-secondary:hover {
    background-color: var(--steel-blue);
    color: var(--bright-white);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--safety-orange);
    border-color: var(--safety-orange);
}

.btn-primary-outline:hover {
    background-color: var(--safety-orange);
    color: var(--bright-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--concrete-gray);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand .brand-text {
    font-size: 1.5rem;
    color: var(--steel-blue);
    margin-bottom: 0;
}

.nav-brand .tagline {
    font-size: 0.8rem;
    color: var(--concrete-gray);
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--steel-blue);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--safety-orange);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--bright-white) 100%);
}

.blueprint-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--steel-blue) 1px, transparent 1px),
        linear-gradient(90deg, var(--steel-blue) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.construction-frame.animated {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 300px;
    height: 400px;
    border: 3px solid var(--safety-orange);
    transform: translateY(-50%);
    animation: frameGlow 3s ease-in-out infinite;
}

@keyframes frameGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 107, 53, 0.6); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
    padding: 2rem;
}

.hero-headline {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--steel-blue);
}

.hero-headline .highlight {
    color: var(--safety-orange);
}

.hero-subhead {
    font-size: 1.3rem;
    color: var(--concrete-gray);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

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

/* Sections */
section {
    padding: 5rem 0;
}

.foundation-section {
    background-color: var(--light-gray);
}

.blueprint-section {
    background-color: var(--bright-white);
}

.command-center-section {
    background-color: var(--dark-bg);
    color: var(--bright-white);
}

.command-center-section .step-headline,
.command-center-section .step-copy {
    color: var(--bright-white);
}

.proof-section {
    background-color: var(--light-gray);
}

.final-cta {
    background: linear-gradient(135deg, var(--steel-blue) 0%, var(--dark-bg) 100%);
    color: var(--bright-white);
    text-align: center;
}

.final-cta .cta-headline,
.final-cta .cta-copy {
    color: var(--bright-white);
}

/* Step Content Layout */
section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.step-headline {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.step-copy {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Feature Tiles */
.feature-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.tile {
    background-color: var(--bright-white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--safety-orange);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tile h3 {
    color: var(--steel-blue);
    margin-bottom: 0.5rem;
}

.tile p {
    color: var(--concrete-gray);
    margin-bottom: 0;
    font-size: 1rem;
}

/* Command Modules */
.command-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.command-tile {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.command-tile:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2);
}

.command-tile h3 {
    color: var(--safety-orange);
    margin-bottom: 0.5rem;
    font-family: var(--font-data);
}

.command-tile p {
    color: var(--concrete-gray);
    margin-bottom: 0;
    font-size: 1rem;
}

/* CTA Sections */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: var(--steel-blue);
    color: var(--bright-white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand h3 {
    color: var(--bright-white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--concrete-gray);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--bright-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--safety-orange);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subhead {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-tiles,
    .command-modules {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Visual Effects */
.step-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foundation-grid,
.construction-frame,
.partispin-console {
    width: 300px;
    height: 300px;
    position: relative;
}

.partispin-console {
    background: linear-gradient(135deg, var(--steel-blue) 0%, var(--dark-bg) 100%);
    border-radius: 8px;
    border: 2px solid var(--safety-orange);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.console-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--safety-orange), var(--emerald-green), var(--safety-orange));
    border-radius: 8px;
    z-index: -1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}