/* ============================================
   SELL MODULE - Funding & Investment Styles
   Color: Green #34a853
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #202124;
    line-height: 1.6;
}

/* ============================================
   HEADER COMPONENTS
   ============================================ */

.sell-header {
    background: linear-gradient(135deg, #34a853 0%, #2e7d32 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sell-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.module-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.sell-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.sell-header p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.page-header {
    background: linear-gradient(135deg, #34a853 0%, #2e7d32 100%);
    color: white;
    padding: 40px 20px;
    position: relative;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.95;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav-bar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    color: #202124;
}

.nav-logo span {
    color: #34a853;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #34a853;
}

.nav-cta {
    background: #34a853;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: #2e7d32;
    transform: translateY(-2px);
}

/* ============================================
   CONTAINERS & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* ============================================
   CARDS
   ============================================ */

.role-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.role-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.role-card:hover {
    border-color: #34a853;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(52,168,83,0.15);
}

.role-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.role-card h3 {
    font-size: 24px;
    color: #34a853;
    margin-bottom: 15px;
}

.role-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.company-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(52,168,83,0.15);
    border-color: #34a853;
}

.company-header {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 25px;
    position: relative;
}

.company-logo {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.company-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #34a853;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.company-badge.featured {
    background: #ff6d00;
}

.company-body {
    padding: 25px;
}

.company-name {
    font-size: 20px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 5px;
}

.company-sector {
    color: #34a853;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.company-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #202124;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #34a853;
    box-shadow: 0 0 0 3px rgba(52,168,83,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
}

.checkbox-group input {
    margin-top: 3px;
    accent-color: #34a853;
}

.checkbox-group a {
    color: #34a853;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: #34a853;
    color: white;
}

.btn-primary:hover {
    background: #2e7d32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52,168,83,0.3);
}

.btn-secondary {
    background: white;
    color: #34a853;
    border: 2px solid #34a853;
}

.btn-secondary:hover {
    background: #f1f8f4;
}

.login-btn, .register-btn {
    width: 100%;
    padding: 16px;
    background: #34a853;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover, .register-btn:hover {
    background: #2e7d32;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52,168,83,0.3);
}

/* ============================================
   SEARCH & FILTERS
   ============================================ */

.search-section {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #34a853;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.filter-btn {
    padding: 14px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: #34a853;
    color: #34a853;
}

.sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section h4 {
    font-size: 14px;
    color: #202124;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.filter-option:hover {
    color: #34a853;
}

/* ============================================
   UTILITY COMPONENTS
   ============================================ */

.progress-bar {
    display: flex;
    margin-bottom: 30px;
}

.progress-step {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    margin: 0 5px;
    border-radius: 2px;
}

.progress-step.active {
    background: #34a853;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
    position: relative;
}

.user-badge {
    background: #e8f5e9;
    color: #34a853;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.verification-notice {
    background: #fff3e0;
    border-left: 4px solid #ff6d00;
    padding: 15px;
    margin-bottom: 25px;
    font-size: 13px;
    color: #666;
    border-radius: 0 8px 8px 0;
}

.verification-notice strong {
    color: #e65100;
}

.funding-info, .investor-benefits, .business-perks {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #34a853;
}

.funding-info h4, .investor-benefits h4, .business-perks h4 {
    color: #2e7d32;
    font-size: 14px;
    margin-bottom: 12px;
}

.feature-list {
    list-style: none;
    color: #666;
    font-size: 13px;
}

.feature-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34a853;
    font-weight: bold;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.page-btn:hover {
    border-color: #34a853;
    color: #34a853;
}

.page-btn.active {
    background: #34a853;
    color: white;
    border-color: #34a853;
}

/* ============================================
   LOGIN/REGISTER CONTAINERS
   ============================================ */

.login-container, .register-container {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.login-box, .register-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.login-header, .register-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-options, .account-types {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.login-option, .account-type {
    flex: 1;
    padding: 30px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.login-option:hover, .account-type:hover {
    border-color: #34a853;
    background: #f1f8f4;
    transform: translateY(-2px);
}

.login-option-icon, .account-type-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.login-option h3, .account-type h3 {
    color: #34a853;
    margin-bottom: 10px;
    font-size: 16px;
}

.login-option p, .account-type p {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.forgot-password {
    color: #34a853;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.form-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.form-footer p {
    color: #666;
    font-size: 14px;
}

.form-footer a {
    color: #34a853;
    text-decoration: none;
    font-weight: 600;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.back-link a:hover {
    color: #34a853;
}

/* ============================================
   SECTIONS
   ============================================ */

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: #202124;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 18px;
}

.stats-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h4 {
    font-size: 36px;
    color: #34a853;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-size: 14px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #34a853;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #202124;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

.footer-cta {
    background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    color: white;
    margin: 60px 0;
}

.footer-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.footer-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-btn {
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn.primary {
    background: white;
    color: #34a853;
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #34a853;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: none;
    }

    .role-cards,
    .stats-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .search-container {
        flex-wrap: wrap;
    }

    .search-box {
        width: 100%;
    }

    .login-options,
    .account-types {
        flex-direction: column;
    }

    .sell-header h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }
}