/* ========================================
   CrewMind - Clean Modern Design
   ======================================== */

:root {
    /* Clean Modern Palette */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;

    /* Neutrals */
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text: #0f172a;
    --text-light: #64748b;
    --border: #e2e8f0;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-demo {
    padding: 0.75rem 1.5rem !important;
    background: var(--primary);
    color: white !important;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-demo:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* === HERO === */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.gradient-mesh {
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.gradient-text {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 700px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* === SECTIONS === */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* === FEATURES === */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: var(--space-xl);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.feature-card-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.feature-card-highlight .feature-description,
.feature-card-highlight .feature-list li {
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.feature-description {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-md);
}

.feature-list li {
    padding-left: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--text-light);
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

.feature-card-highlight .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

.btn-feature {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-top: var(--space-md);
    transition: all 0.3s;
}

.btn-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* === VALUE PROPS === */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.value-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: var(--space-xl);
    transition: all 0.3s;
}

.value-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.value-card-contractors {
    border-left: 4px solid var(--primary);
}

.value-card-veterans {
    border-left: 4px solid var(--accent);
}

.value-card-apprentices {
    border-left: 4px solid var(--secondary);
}

.value-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.value-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.value-list li {
    display: flex;
    gap: var(--space-md);
    align-items: start;
}

.value-icon {
    color: var(--success);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.value-list strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.value-list p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* === HOW IT WORKS === */
.how-it-works {
    background: var(--bg-light);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: var(--space-xl);
    align-items: start;
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: var(--space-xl);
    transition: all 0.3s;
}

.step:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* === IMPACT === */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.metric-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.metric-card-highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
}

.metric-card-highlight .metric-label,
.metric-card-highlight .metric-detail {
    color: white;
}

.metric-value {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.metric-card-highlight .metric-value {
    color: white;
}

.metric-label {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.metric-detail {
    font-size: 0.875rem;
    color: var(--text-light);
}

.roi-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: var(--space-2xl);
}

.roi-content h3 {
    font-size: 2rem;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.roi-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: var(--space-lg);
}

.roi-item h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.roi-item p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.roi-solution {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success);
    padding: var(--space-md);
    border-radius: 0.5rem;
    margin-top: var(--space-md);
}

.roi-solution strong {
    color: var(--success);
}

/* === FINAL CTA === */
.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-content {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    font-weight: 900;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
}

/* === FOOTER === */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    background: var(--bg-dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: var(--space-3xl);
}

.footer-column h4 {
    margin-bottom: var(--space-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: var(--space-sm);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 1rem;
    padding: var(--space-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

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

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: var(--space-xl);
}

/* === FORM === */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.btn-submit,
.btn-cancel {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit {
    background: var(--primary);
    color: white;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-cancel {
    background: var(--bg-light);
    color: var(--text-light);
}

.btn-cancel:hover {
    background: var(--border);
}

/* === FORM SUCCESS === */
.form-success {
    text-align: center;
    padding: var(--space-xl) 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: white;
    font-size: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.form-success h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.form-success p {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links a:not(.btn-demo) {
        display: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
        padding: var(--space-lg);
    }

    .form-actions {
        flex-direction: column;
    }
}
