/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #f7931a;
    --primary-dark: #e07b00;
    --secondary-color: #4a5568;
    --accent-color: #2d3748;
    --background-light: #f7fafc;
    --background-white: #ffffff;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--background-white);
    overflow-x: hidden;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 1rem;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    background: var(--background-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

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

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-menu .btn-apply {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
}

.nav-menu .btn-apply:hover {
    background: var(--primary-dark);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.hero-video {
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   Content Cards
   =================================== */
.content-card {
    background: var(--background-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* ===================================
   Job Summary Section
   =================================== */
.job-summary {
    background: var(--background-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-white);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.info-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.highlight-box p {
    margin: 0;
    font-size: 1.1rem;
}

/* ===================================
   Payment Structure Section
   =================================== */
.payment-structure {
    background: var(--background-white);
}

.fee-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.fee-card {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.fee-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.fee-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: var(--primary-color);
}

.fee-range {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.fee-amount {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fee-label {
    font-size: 1rem;
    opacity: 0.8;
}

.process-box {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    margin-top: 2rem;
}

.process-box h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.process-box h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.process-steps {
    list-style: none;
    counter-reset: step-counter;
}

.process-steps li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
    line-height: 1.8;
}

.process-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===================================
   Commission Options Section
   =================================== */
.commission-options {
    background: var(--background-light);
}

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

.option-card {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.option-header {
    margin-bottom: 1.5rem;
}

.option-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.option-header h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.fee-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.option-note {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.option-steps {
    list-style: none;
}

.option-steps li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
}

.option-steps li:last-child {
    border-bottom: none;
}

.option-steps li i {
    color: var(--success-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
    font-size: 1.2rem;
}

/* ===================================
   Resources Section
   =================================== */
.resources {
    background: var(--background-white);
}

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

.resource-category {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
}

.resource-category h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.resource-category h3 i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.resource-list {
    list-style: none;
}

.resource-list li {
    margin-bottom: 1rem;
}

.resource-list a {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--background-white);
    border-radius: 5px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.resource-list a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.resource-list a i {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #ff0000;
}

.resource-list a:hover i {
    color: white;
}

/* ===================================
   Apply Section
   =================================== */
.apply-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.apply-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.apply-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--accent-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section h4 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .fee-structure {
        grid-template-columns: 1fr;
    }
    
    .option-card {
        padding: 1.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-category {
        padding: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .fee-amount {
        font-size: 2.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
