/* =============================================================================
   HaulMind — Landing Page Styles
   Brand: Teal (#0D9488 primary, #2DD4BF light, #5EEAD4 glow)
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #0A0F1C;
    --bg-alt: #0F1629;
    --surface: #161D30;
    --surface-hover: #1C2540;
    --border: #1E2A45;
    --border-light: #2A3A5C;
    --text: #F0F4F8;
    --text-muted: #8B9DC3;
    --text-dim: #5A6F94;

    /* Brand teal palette */
    --primary: #0D9488;
    --primary-light: #2DD4BF;
    --primary-glow: #5EEAD4;
    --primary-dark: #0A7A70;
    --gradient: linear-gradient(135deg, #0D9488, #2DD4BF);
    --gradient-glow: linear-gradient(135deg, #0D9488, #5EEAD4);
    --gradient-subtle: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(45, 212, 191, 0.05));

    /* Agent accent colors (match dashboard) */
    --agent-intake: #3b82f6;
    --agent-pricing: #10b981;
    --agent-carrier: #8b5cf6;
    --agent-compliance: #f43f5e;
    --agent-dispatch: #f59e0b;
    --agent-docs: #06b6d4;
    --agent-support: #ec4899;
    --agent-orchestrator: #0D9488;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ========== Nav ========== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0 24px;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-mark {
    flex-shrink: 0;
}
.logo-haul {
    color: #FFFFFF;
}
.logo-mind {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-nav:hover {
    background: var(--primary-light);
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.3);
    color: white;
}

/* ========== Hero ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    max-width: 780px;
    position: relative;
}
.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}
.hero-logo-mark {
    filter: drop-shadow(0 0 24px rgba(45, 212, 191, 0.2));
}
.hero-wordmark {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0;
}
.wm-white { color: #FFFFFF; }
.wm-teal {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-tagline {
    font-size: 0.95rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: rgba(13, 148, 136, 0.08);
}
.hero h1 {
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.gradient-text {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}
.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    opacity: 0.92;
    box-shadow: 0 4px 24px rgba(13, 148, 136, 0.4);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    color: var(--primary-light);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover {
    background: rgba(13, 148, 136, 0.1);
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.15);
}
.hero-hint {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 48px;
}
.hero-hint strong { color: var(--primary-light); }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ========== Sections ========== */
.section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.alt-bg {
    background: var(--bg-alt);
    max-width: none;
}
.alt-bg > * {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-badge {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: rgba(13, 148, 136, 0.08);
}
.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== Cards Grid ========== */
.cards-grid {
    display: grid;
    gap: 24px;
}
.four-col {
    grid-template-columns: repeat(4, 1fr);
}
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.card:hover {
    border-color: var(--border-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.carrier-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
}
.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== Steps ========== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
}
.step:hover {
    border-color: var(--border-light);
}
.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}
.step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}
.step p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ========== Agent Cards ========== */
.agent-card {
    padding: 28px 24px;
    text-align: center;
}
.agent-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 auto 16px;
    box-shadow: 0 0 12px currentColor;
}
.dot-intake { background: var(--agent-intake); color: var(--agent-intake); }
.dot-pricing { background: var(--agent-pricing); color: var(--agent-pricing); }
.dot-carrier { background: var(--agent-carrier); color: var(--agent-carrier); }
.dot-compliance { background: var(--agent-compliance); color: var(--agent-compliance); }
.dot-dispatch { background: var(--agent-dispatch); color: var(--agent-dispatch); }
.dot-docs { background: var(--agent-docs); color: var(--agent-docs); }
.dot-support { background: var(--agent-support); color: var(--agent-support); }
.dot-orchestrator { background: var(--agent-orchestrator); color: var(--agent-orchestrator); }

.agent-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}
.agent-card p {
    font-size: 0.85rem;
}

/* ========== CTA Section ========== */
.cta-section {
    text-align: center;
}
.cta-content {
    max-width: 600px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ========== Footer ========== */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 24px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand {
    color: var(--text-dim);
    font-size: 0.9rem;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-light); }

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

@media (max-width: 768px) {
    .hero h1 { font-size: 2.6rem; }
    .hero-sub { font-size: 1.05rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .section-header h2 { font-size: 2rem; }
    .steps { grid-template-columns: 1fr; }
    .four-col { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
    .footer-links { flex-direction: column; gap: 8px; }
    .nav-links a:not(.btn-nav) { display: none; }
    .cta-content h2 { font-size: 2rem; }
}
