/* EasyRoute Commerce LLC - Flexport & Stripe Inspired Corporate Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --bg-main: #ffffff;
  --bg-surface: #f8fafc;
  --bg-subtle: #f1f5f9;
  
  --primary-blue: #0284c7;
  --primary-dark: #0f172a;
  --accent-blue: #2563eb;
  --accent-emerald: #059669;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --border-light: #e2e8f0;
  --border-active: #cbd5e1;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  background-color: var(--bg-main);
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.3rem;
}

.logo-badge {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
}

.brand-llc {
  font-size: 0.7rem;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  font-weight: 700;
  margin-left: 0.4rem;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.btn-bank {
  background: var(--primary-dark);
  color: #ffffff;
  font-weight: 700;
  padding: 0.6rem 1.3rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

/* Hero Section */
.hero {
  padding-top: 9.5rem;
  padding-bottom: 5rem;
  background: linear-gradient(to bottom, #ffffff 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 20px;
  color: var(--accent-emerald);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  background: var(--primary-blue);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-active);
}

/* Sleek Order Routing Telemetry Dashboard (Replaces Globe) */
.hero-dashboard-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.2rem;
}

.dash-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-live-badge {
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-emerald);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
}

.dash-route-flow {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}

.flow-nodes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 1rem;
}

.flow-node-box {
  text-align: center;
}

.node-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--primary-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 0.4rem auto;
  box-shadow: var(--shadow-sm);
}

.node-title {
  font-size: 0.85rem;
  font-weight: 800;
}

.node-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.flow-path-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-emerald));
  margin: 0 1rem;
  position: relative;
}

.flow-path-line::after {
  content: '✈️';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  animation: movePlane 3s infinite linear;
}

@keyframes movePlane {
  0% { left: 0%; }
  100% { left: 100%; }
}

.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.dash-metric-item {
  background: #ffffff;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.dash-m-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-blue);
  font-family: var(--font-code);
}

.dash-m-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.dash-carrier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: rgba(2, 132, 199, 0.05);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 8px;
  margin-top: 1rem;
}

.dash-carrier-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}

.dash-carrier-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-blue);
  font-family: var(--font-code);
}

/* Section Title */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-primary);
}

/* Corporate Dossier Card */
.dossier-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.company-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.company-status {
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dossier-item {
  background: var(--bg-surface);
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.dossier-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.dossier-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-code);
}

/* Badges Bar */
.compliance-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.compliance-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.comp-icon {
  font-size: 1.2rem;
}

.comp-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.comp-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Ultra-Clean & Sleek Ecosystem Logo Showcase */
.partners-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 5rem 0;
}

.ecosystem-group {
  margin-bottom: 3.5rem;
}

.ecosystem-group:last-child {
  margin-bottom: 0;
}

.group-title-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.group-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-blue);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.group-title-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.clean-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.2rem;
}

.clean-logo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90px;
  transition: all 0.25 ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.clean-logo-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.clean-brand-svg {
  max-height: 38px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
}

.clean-logo-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Workflow Steps */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 36px;
  height: 36px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary-blue);
  font-weight: 800;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 0.8rem;
  max-width: 320px;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .hero-grid, .dossier-grid, .workflow-grid, .footer-grid, .compliance-row {
    grid-template-columns: 1fr;
  }
}
