@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #0a0f1a;
    --bg-card: rgba(22, 33, 62, 0.8);
    --primary: #00d4aa;
    --primary-glow: rgba(0, 212, 170, 0.4);
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --warning: #f59e0b;
    --text-main: #f0f4f8;
    --text-dim: #8492a6;
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0d1526 50%, #0a1628 100%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Glassmorphism */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header / Hero */
.container header {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding-top: 60px;
}

.hero-content {
    z-index: 2;
}

.section-label {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00b894 100%);
    padding: 1rem 2rem;
    color: #0a0f1a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--primary-glow);
}

.btn-secondary {
    padding: 1rem 2rem;
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.btn-secondary:hover {
    color: var(--primary);
}

.btn-outline {
    padding: 1rem 2rem;
    color: var(--primary);
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Hero Visual - Load Preview Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.load-preview {
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.load-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.load-badge {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

.load-time {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.load-route {
    margin-bottom: 1.5rem;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.route-icon {
    font-size: 1.5rem;
}

.route-point strong {
    display: block;
    color: var(--text-main);
}

.route-point span {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.route-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    margin-left: 1.1rem;
    margin: 0.5rem 0 0.5rem 1.1rem;
}

.load-details {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.load-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.load-rate {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.rate-label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.rate-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.rate-per-mile {
    font-size: 0.9rem;
    color: var(--accent);
    margin-left: auto;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    opacity: 0.6;
}

.trust-item {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-dim);
}

/* Sections */
.container section {
    padding: 100px 0;
}

.container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* What is Load Board Section */
.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.intro-subtext {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.how-it-works h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.step-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
    display: block;
    margin-bottom: 0.5rem;
}

.step-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.intro-sidebar {
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.intro-sidebar h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.users-list {
    list-style: none;
}

.users-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.users-list li:last-child {
    border-bottom: none;
}

.users-list li span {
    font-size: 1.3rem;
}

.sidebar-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-note p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Find Loads Section */
.section-header {
    margin-bottom: 3rem;
}

.find-loads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.search-demo {
    padding: 2rem;
}

.search-demo h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.search-fields {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.field-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
}

.field-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.search-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #00b894 100%);
    border: none;
    border-radius: 8px;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    box-shadow: 0 4px 20px var(--primary-glow);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Real-Time Matching Section */
#real-time-matching {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.matching-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.match-card {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.match-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.match-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.match-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Live Feed Visual */
.live-feed {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.9) 0%, rgba(15, 25, 50, 0.9) 100%);
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    font-weight: 600;
}

.live-indicator {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.feed-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feed-item {
    display: grid;
    grid-template-columns: 1fr 80px 80px;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    align-items: center;
    transition: all 0.3s ease;
}

.feed-item.new {
    background: rgba(0, 212, 170, 0.1);
    border-left: 3px solid var(--primary);
}

.feed-route {
    font-weight: 600;
    font-size: 0.95rem;
}

.feed-type {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
}

.feed-rate {
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}

/* Carrier Network Section */
.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.network-card {
    padding: 2rem;
    transition: all 0.3s ease;
}

.network-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.network-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #00b894 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.network-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.network-card > p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.network-list {
    list-style: none;
}

.network-list li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 1rem;
    position: relative;
}

.network-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.network-list li:last-child {
    border-bottom: none;
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tool-card {
    padding: 2rem;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.tool-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.tool-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Equipment Section */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.equipment-card {
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.equipment-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.equipment-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.equipment-card p {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Benefits Section */
.benefits-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-check {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.benefits-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-box {
    padding: 2rem;
    text-align: center;
}

.stat-box .stat-number {
    font-size: 3rem;
}

.stat-box p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem;
    margin-bottom: 4rem;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .container header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .intro-grid,
    .find-loads-grid,
    #real-time-matching,
    .benefits-row {
        grid-template-columns: 1fr;
    }
    
    .network-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .network-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .container h2 {
        font-size: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .matching-features {
        grid-template-columns: 1fr;
    }
    
    .network-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-bar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
