/* ============================================
   SKYQUOTE PUBLIC PAGES - DARK THEME
   Consistent with landing page design
   ============================================ */

/* ============================================
   CSS VARIABLES - Dark Design System
   ============================================ */
:root {
    /* Background Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-elevated: #1a1a1a;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    
    /* Status Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    
    /* Border Colors */
    --border-color: #222222;
    --border-light: #333333;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.mobile-menu-open {
    overflow: hidden;
}

.public-main {
    min-height: 100vh;
    padding-top: 0;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-purple);
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.public-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.public-nav-scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.public-nav-hidden {
    transform: translateY(-100%);
}

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

.public-nav-logo-img {
    height: 32px;
    width: auto;
    transition: transform var(--transition-fast);
}

.public-nav-logo:hover .public-nav-logo-img {
    transform: scale(1.05);
}

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

.public-nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.public-nav-link:hover {
    color: var(--text-primary);
}

.public-nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.public-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.public-nav-btn-secondary {
    color: var(--text-secondary);
    background: transparent;
}

.public-nav-btn-secondary:hover {
    color: var(--text-primary);
}

.public-nav-btn-primary {
    color: var(--bg-primary);
    background: var(--text-primary);
}

.public-nav-btn-primary:hover {
    background: var(--text-secondary);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.public-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.public-nav-toggle-line {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

.public-nav-toggle.active .public-nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.public-nav-toggle.active .public-nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.public-nav-toggle.active .public-nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.public-nav-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    padding: 2rem;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.public-nav-mobile.active {
    opacity: 1;
    visibility: visible;
}

.public-nav-mobile-link {
    display: block;
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition-fast);
}

.public-nav-mobile-link:hover {
    color: var(--text-primary);
}

.public-nav-mobile-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .public-nav-links,
    .public-nav-auth {
        display: none;
    }
    
    .public-nav-toggle {
        display: flex;
    }
    
    .public-nav-mobile {
        display: flex;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.public-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.public-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.public-footer-brand {
    max-width: 280px;
}

.public-footer-logo {
    height: 32px;
    margin-bottom: 1rem;
}

.public-footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.public-footer-social {
    display: flex;
    gap: 1rem;
}

.public-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.public-footer-social-link:hover {
    color: var(--text-primary);
    background: var(--border-light);
}

.public-footer-column {
    display: flex;
    flex-direction: column;
}

.public-footer-heading {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.public-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.public-footer-links li {
    margin-bottom: 0.75rem;
}

.public-footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.public-footer-links a:hover {
    color: var(--text-primary);
}

.public-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.public-footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.public-footer-badge {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .public-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .public-footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
    
    .public-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .public-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .public-footer-brand {
        grid-column: span 1;
    }
}

/* ============================================
   PAGE CONTENT STYLES
   ============================================ */
.page-header {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-section {
    margin-bottom: 3rem;
}

.page-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.page-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.page-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.page-section ul, .page-section ol {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.page-section li {
    margin-bottom: 0.5rem;
}

/* ============================================
   CARDS & CONTAINERS
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ============================================
   FORMS (Login, Register, Contact, etc.)
   ============================================ */
.form-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

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

.form-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=12 height=12 fill=%23a0a0a0 viewBox=0 0 16 16%3E%3Cpath d=M8 11L3 6h10l-5 5z/%3E%3C/svg%3E);
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-blue);
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-error {
    color: var(--color-danger);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    background: var(--text-secondary);
    transform: translateY(-1px);
}

.btn-secondary {
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--border-light);
}

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

.btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-danger, .alert-error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-info {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-elevated);
}

.faq-question i {
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-secondary);
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.about-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-info {
    padding: 2rem;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-method i {
    color: var(--accent-blue);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.contact-method h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   JOB BOARD LANDING
   ============================================ */
.job-hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.job-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.job-hero .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.job-hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.job-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

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

.job-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.job-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--accent-blue);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--color-success);
}

/* ============================================
   BETA APPLICATION
   ============================================ */
.beta-hero {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.beta-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.beta-hero .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.beta-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.beta-seats {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.w-100 { width: 100%; }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .about-hero h1,
    .job-hero h1 {
        font-size: 2.25rem;
    }
    
    .job-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
}

/* ============================================
   FLASH MESSAGES (BOOTSTRAP OVERRIDE)
   ============================================ */
.flash-messages {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

.flash-messages .alert {
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   AUTH PAGES (Login, Register, Forgot Password)
   ============================================ */
.auth-container {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

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

.auth-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.section-body {
    margin-bottom: 1.5rem;
}

.btn-login, .btn-register {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 500;
}

.btn-gradient-primary {
    color: white;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-gradient-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: white;
}

.forgot-link {
    color: var(--accent-blue);
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-link:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.login-footer, .register-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-footer p, .register-footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.register-link {
    color: var(--accent-blue);
    font-weight: 500;
    text-decoration: none;
}

.register-link:hover {
    color: var(--accent-purple);
}

/* ============================================
   BOOTSTRAP OVERRIDES FOR DARK THEME
   ============================================ */

/* Cards */
.card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    color: var(--text-primary) !important;
}

.card-body {
    color: var(--text-primary);
}

.card-body p {
    color: var(--text-secondary);
}

.card-body h2, .card-body h3, .card-body h4, .card-body h5 {
    color: var(--text-primary);
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Text utilities */
.text-muted {
    color: var(--text-secondary) !important;
}

.text-primary {
    color: var(--accent-blue) !important;
}

.text-success {
    color: var(--color-success) !important;
}

.lead {
    color: var(--text-secondary);
}

/* Headings */
.display-4 {
    color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

/* Container backgrounds */
.container {
    color: var(--text-primary);
}

/* Buttons */
.btn-outline-primary {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    color: white;
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

/* Form Controls (Bootstrap override) */
.form-control {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
}

.form-control:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
    background: var(--bg-primary) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
}

.form-check-label {
    color: var(--text-secondary);
}

.form-check-input {
    background-color: var(--bg-primary);
    border-color: var(--border-light);
}

.form-check-input:checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* Select dropdowns */
.form-select {
    background-color: var(--bg-primary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

.form-select:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* Tables */
.table {
    color: var(--text-primary);
}

.table th {
    color: var(--text-primary);
    border-color: var(--border-color);
}

.table td {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

/* Accordion */
.accordion-item {
    background: var(--bg-card);
    border-color: var(--border-color);
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
}

.accordion-button:not(.collapsed) {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background: var(--bg-card);
    color: var(--text-secondary);
}

/* Badge */
.badge {
    font-weight: 500;
}

.badge.bg-primary {
    background: var(--accent-blue) !important;
}

.badge.bg-success {
    background: var(--color-success) !important;
}

/* Lists */
.list-group-item {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* Dropdown */
.dropdown-menu {
    background: var(--bg-card);
    border-color: var(--border-color);
}

.dropdown-item {
    color: var(--text-secondary);
}

.dropdown-item:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Modal */
.modal-content {
    background: var(--bg-card);
    border-color: var(--border-color);
}

.modal-header {
    border-color: var(--border-color);
}

.modal-footer {
    border-color: var(--border-color);
}

.modal-title {
    color: var(--text-primary);
}

.btn-close {
    filter: invert(1);
}

/* ============================================
   BETA APPLICATION PAGE
   ============================================ */
.beta-apply-container {
    min-height: calc(100vh - 160px);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.beta-apply-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 700px;
    margin-top: 2rem;
}

.beta-apply-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.beta-apply-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.beta-apply-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.beta-spots-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

.beta-spots-badge i {
    color: #f59e0b;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

/* ============================================
   JOB BOARD LANDING - Extended Styles
   ============================================ */
.job-board-hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.job-board-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.job-board-hero .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.job-board-hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.job-preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.job-preview-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Feature cards for job board */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */
.faq-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.faq-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-blue);
    display: inline-block;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

/* ============================================
   TERMS OF SERVICE
   ============================================ */
.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.terms-container h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.terms-container h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.terms-container p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.terms-container ul {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   PRICING PAGE ENHANCEMENTS
   ============================================ */
.pricing-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.pricing-toggle-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-toggle-label.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   DSP REGISTRATION PAGES
   ============================================ */
.dsp-register-container {
    min-height: calc(100vh - 160px);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.dsp-register-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    margin-top: 2rem;
}

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

.dsp-register-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dsp-register-header p {
    color: var(--text-secondary);
}

/* ============================================
   THANK YOU PAGES
   ============================================ */
.thank-you-container {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.thank-you-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 500px;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--color-success);
}

.thank-you-card h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.thank-you-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ============================================
   CARD HEADER STYLES
   ============================================ */
.card-header {
    background: var(--bg-elevated) !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    padding: 1.25rem 1.5rem;
}

.card-header.bg-white {
    background: var(--bg-elevated) !important;
}

.card-header.bg-gradient-primary,
.card-header-blue {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    color: white !important;
    border-bottom: none !important;
}

.card-header h2, .card-header h3, .card-header h4 {
    color: inherit;
}

/* ============================================
   ACCORDION DARK THEME
   ============================================ */
.accordion {
    --bs-accordion-bg: var(--bg-card);
    --bs-accordion-border-color: var(--border-color);
}

.accordion-item {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md) !important;
}

.accordion-item:first-of-type,
.accordion-item:last-of-type {
    border-radius: var(--radius-md) !important;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 1rem 1.25rem;
    border: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: transparent !important;
}

.accordion-button::after {
    background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg viewBox=0 0 16 16 fill=%23a0a0a0%3E%3Cpath fill-rule=evenodd d=M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z/%3E%3C/svg%3E) !important;
}

.accordion-body {
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.accordion-body p {
    color: var(--text-secondary);
}

.accordion-body ul, .accordion-body ol {
    color: var(--text-secondary);
}

.accordion-body strong {
    color: var(--text-primary);
}

/* ============================================
   ADDITIONAL UTILITIES
   ============================================ */
.bg-white {
    background: var(--bg-card) !important;
}

.bg-light {
    background: var(--bg-secondary) !important;
}

.border {
    border-color: var(--border-color) !important;
}

.border-bottom {
    border-color: var(--border-color) !important;
}

/* Row/column spacing */
.row {
    color: var(--text-primary);
}

/* Small text */
small, .small {
    color: var(--text-muted);
}

small.text-muted, .small.text-muted {
    color: var(--text-muted) !important;
}

/* Icons in cards */
.fa-3x {
    font-size: 2.5rem;
}

/* Text danger for required fields */
.text-danger {
    color: var(--color-danger) !important;
}

/* ============================================
   RESPONSIVE FONT FIXES
   ============================================ */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .beta-apply-card,
    .dsp-register-card {
        padding: 2rem;
        margin-top: 1rem;
    }
    
    .auth-card {
        padding: 2rem;
    }
}

/* ============================================
   SCROLLBAR STYLING (DARK)
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) var(--bg-secondary);
}

/* ============================================
   JOB BOARD LANDING - COMPLETE STYLES
   ============================================ */
.job-landing-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 4rem 0;
    min-height: 500px;
}

.job-landing-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.job-landing-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.job-landing-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.job-landing-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.job-landing-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Table styles for dark theme */
.table {
    --bs-table-bg: transparent;
    color: var(--text-primary);
}

.table th {
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
}

.table td {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.875rem 0.75rem;
}

.table-danger {
    --bs-table-bg: rgba(239, 68, 68, 0.1) !important;
    --bs-table-border-color: var(--border-color) !important;
}

.table-danger td {
    color: #ef4444 !important;
}

.table-success {
    --bs-table-bg: rgba(16, 185, 129, 0.1) !important;
    --bs-table-border-color: var(--border-color) !important;
}

.table-success td {
    color: var(--color-success) !important;
}

/* Button variants */
.btn-light {
    color: var(--bg-primary);
    background: var(--text-primary);
    border: none;
}

.btn-light:hover {
    color: var(--bg-primary);
    background: var(--text-secondary);
}

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

.btn-outline-light:hover {
    color: var(--bg-primary);
    background: var(--text-primary);
}

/* Alert overrides */
.alert-success {
    color: var(--color-success) !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.alert-danger {
    color: var(--color-danger) !important;
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.alert-warning {
    color: var(--color-warning) !important;
    background: rgba(245, 158, 11, 0.1) !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

.alert-info {
    color: var(--accent-blue) !important;
    background: rgba(59, 130, 246, 0.1) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

/* Text color in dark sections */
.text-dark {
    color: var(--text-primary) !important;
}

/* Border-0 override */
.border-0 {
    border: 1px solid var(--border-color) !important;
}

/* Shadow variations */
.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

/* For Pilots/For Clients sections */
.bg-light {
    background: var(--bg-secondary) !important;
}

/* Section heading icons */
.fa-user-pilot {
    color: var(--accent-blue);
}

/* Feature cards in job board */
.job-feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

/* Comparison Section */
.comparison-section {
    background: var(--bg-primary);
    padding: 4rem 0;
}

.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Recent jobs preview */
.recent-jobs-section {
    background: var(--bg-primary);
    padding: 4rem 0;
}

.job-preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.job-preview-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.job-preview-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-preview-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.job-preview-budget {
    color: var(--color-success);
    font-weight: 600;
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */
.pricing-hero {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-hero .display-4 {
    color: var(--text-primary);
}

.pricing-hero .lead {
    color: var(--text-secondary);
}

/* Billing Toggle */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
}

.billing-label {
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.billing-label.active {
    color: var(--text-primary);
}

.billing-toggle {
    position: relative;
    width: 60px;
    height: 32px;
}

.billing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-light);
    border-radius: 32px;
    transition: var(--transition-fast);
}

.toggle-slider:before {
    position: absolute;
    content: ;
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.billing-toggle input:checked + .toggle-slider {
    background: var(--accent-gradient);
}

.billing-toggle input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

.savings-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    color: var(--color-success);
    border-radius: var(--radius-full);
    margin-left: 0.5rem;
}

/* Plan Cards */
.plan-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-xl) !important;
    position: relative;
    overflow: visible;
    transition: all var(--transition-base);
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue) !important;
}

.plan-card.border-success {
    border-color: var(--color-success) !important;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.05) 100%) !important;
}

.plan-card.border-primary {
    border-color: var(--accent-blue) !important;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.plan-card h3 {
    color: var(--text-primary);
    font-weight: 700;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.plan-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i.fa-check {
    color: var(--color-success);
    margin-top: 0.25rem;
}

.plan-features i.fa-times {
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Feature comparison table */
.feature-comparison {
    margin-top: 4rem;
}

.feature-comparison h2 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table th {
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table td {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* FAQ section on pricing */
.pricing-faq {
    background: var(--bg-secondary);
    padding: 4rem 0;
    margin-top: 4rem;
}

.pricing-faq h2 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

/* ============================================
   MILITARY DISCOUNT & AFFILIATE PAGES
   ============================================ */
.container-fluid {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.kpi-card-primary {
    border-left: 4px solid var(--accent-blue);
}

.kpi-card .card-body {
    padding: 1.5rem;
}

/* Icon styling */
.icon-primary {
    color: var(--accent-blue);
}

/* Page header styling */
.mb-4 h4 {
    color: var(--text-primary);
}

/* Form styling additions */
.fw-semibold {
    font-weight: 600;
}

.is-invalid {
    border-color: var(--color-danger) !important;
}

.invalid-feedback {
    color: var(--color-danger);
    font-size: 0.85rem;
}

/* Eligible section cards */
.eligible-section {
    margin-top: 2rem;
}

.eligible-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.eligible-card i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.eligible-card h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.eligible-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* File upload styling */
input[type=file] {
    color: var(--text-primary);
}

input[type=file]::file-selector-button {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    margin-right: 1rem;
}

input[type=file]::file-selector-button:hover {
    background: var(--border-light);
}

/* ============================================
   JOB BOARD LIST PAGE
   ============================================ */
.job-board-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.job-board-header {
    margin-bottom: 2rem;
}

.job-board-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.job-board-header p {
    color: var(--text-secondary);
}

/* Filter section */
.job-filters {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.job-filters .form-group {
    margin-bottom: 1rem;
}

.job-filters label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

/* Job listing cards */
.job-listing {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.job-listing:hover {
    border-color: var(--accent-blue);
    transform: translateX(4px);
}

.job-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-listing-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.job-listing-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.job-listing-title a:hover {
    color: var(--accent-blue);
}

.job-listing-budget {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-success);
}

.job-listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-listing-meta i {
    margin-right: 0.25rem;
    color: var(--text-muted);
}

.job-listing-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.job-listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.job-listing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-radius: var(--radius-full);
}

/* Empty state */
.no-jobs-message {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-jobs-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-jobs-message h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination .page-link {
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.pagination .page-link:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
    border-color: var(--accent-blue);
}

.pagination .page-item.active .page-link {
    color: white;
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-muted);
    background: var(--bg-secondary);
    cursor: not-allowed;
}

/* ============================================
   SIMPLE NAVIGATION (matches landing page)
   ============================================ */
.nav {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.nav-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--text-primary) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.mobile-nav .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

