/* TradeLink Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

/* Navigation */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 80px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-large {
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

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

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-medium);
}

/* Trades Section */
.trades {
    padding: 80px 0;
}

.trades h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.trades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trade-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    transition: all 0.2s;
}

.trade-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.trade-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.trade-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.trade-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Application Form */
.application {
    padding: 80px 0;
    background: var(--bg-light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-container h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-medium);
    margin-bottom: 40px;
}

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

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

.form-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

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

.field-hint {
    font-size: 14px;
    color: var(--text-light);
    margin-top: -12px;
    margin-bottom: 16px;
}

/* Checkboxes & Radios */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-label:hover,
.radio-label:hover {
    background: #eff6ff;
}

.checkbox-label input,
.radio-label input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.terms {
    padding: 24px;
    background: var(--bg-light);
    border-radius: 8px;
}

.terms a {
    color: var(--primary);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.form-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 16px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-tagline {
    opacity: 0.8;
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.5;
}

/* Hidden honeypot field */
.hidden {
    display: none;
}

/* Success page */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    text-align: center;
}

.success-content {
    padding: 40px;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.success-page h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.success-page p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .trades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .trades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .trades-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 24px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        max-width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .application {
        padding: 40px 0;
        overflow-x: hidden;
    }
}
