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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navbar */
.navbar {
    background: #dc3545;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #fff;
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #dc3545 0%, #000 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: #dc3545;
    color: #fff;
    font-weight: bold;
}

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #000;
    color: #fff;
    font-weight: bold;
}

.btn-secondary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #667eea;
}

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

.how-it-works {
    background: #f8f9fa;
}

.marketplace-focus {
    background: #fff;
}

.platform-modules {
    background: #f8f9fa;
}

.cta-section {
    background: linear-gradient(135deg, #dc3545 0%, #000 100%);
    color: #fff;
    text-align: center;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

section p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

/* Cards */
.card, .feature-card, .module-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
}

.card-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.card:hover, .feature-card:hover, .module-card:hover {
    transform: translateY(-5px);
}

.card h3, .feature-card h4, .module-card h3 {
    margin-bottom: 1rem;
    color: #dc3545;
}

.card ol {
    padding-left: 1.5rem;
}

.card ol li {
    margin-bottom: 0.5rem;
}

.module-card {
    text-align: center;
}

.module-card .btn {
    margin-top: 1rem;
}

/* Form Section */
.form-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

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

.form-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.submission-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc3545;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submission-form button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Jobs Section */
.jobs-header {
    background: linear-gradient(135deg, #dc3545 0%, #000 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.jobs-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.jobs-search {
    background: #f8f9fa;
    padding: 2rem 0;
}

.search-bar {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.search-bar input,
.search-bar select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.jobs-listing {
    background: #fff;
    min-height: 400px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.job-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.job-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.job-card h3 {
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.job-card .company {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.job-tag {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    color: #666;
}

.job-card .btn {
    width: 100%;
    margin-top: 1rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Admin Dashboard */
.admin-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

.admin-section h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border: none;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #dc3545;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.submission-card {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.submission-card h3 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.submission-card p {
    margin: 0.5rem 0;
    text-align: left;
}

.submission-card strong {
    color: #333;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.login-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-error {
    color: #dc3545;
    text-align: center;
    margin-top: 1rem;
}

.g-recaptcha {
    margin: 1.5rem 0;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .search-bar {
        grid-template-columns: 1fr;
    }

    .submission-form {
        padding: 2rem 1rem;
    }

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