/* ==========================================================================
   Expedait Landing Page — Design System Tokens
   Primary: Enterprise Indigo #4F46E5
   Font: Inter
   Grid: 8pt base unit
   ========================================================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand colors */
  --indigo-50: #EEF2FF;
  --indigo-100: #E0E7FF;
  --indigo-500: #6366F1;
  --indigo-600: #4F46E5;
  --indigo-700: #4338CA;
  --indigo-800: #3730A3;
  --indigo-900: #312E81;

  /* Neutrals */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Semantic */
  --emerald: #10B981;
  --amber: #F59E0B;
  --rose: #E11D48;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing (8pt grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  /* Transitions */
  --transition: 200ms ease-in-out;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-800);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: var(--space-5);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--transition);
}

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

.nav-actions {
  display: flex;
  gap: var(--space-2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  font-size: 14px;
  padding: 8px 16px;
}

.btn-lg {
  font-size: 16px;
  padding: 14px 28px;
}

.btn-primary {
  background: var(--indigo-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--indigo-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.btn-white {
  background: #fff;
  color: var(--indigo-600);
}

.btn-white:hover {
  background: var(--indigo-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: calc(64px + var(--space-9)) 0 var(--space-9);
  background: linear-gradient(180deg, #fff 0%, var(--indigo-50) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo-600);
  background: var(--indigo-50);
  border: 1px solid var(--indigo-100);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin-bottom: var(--space-4);
}

.hero-accent {
  color: var(--indigo-600);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate-600);
  margin-bottom: var(--space-5);
}

.hero-subtitle em {
  color: var(--slate-800);
  font-style: italic;
}

.hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.hero-note {
  font-size: 13px;
  color: var(--slate-400);
}

.hero-video {
  width: 100%;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: var(--space-9) 0;
}

.section-alt {
  background: var(--slate-50);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo-600);
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: var(--space-3);
}

.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate-500);
}

/* ==========================================================================
   Solution Table (Challenge → Solution → Outcome, left to right)
   ========================================================================== */

.solutions-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 var(--space-3);
}

.solutions-table tr {
  background: #fff;
  transition: box-shadow var(--transition);
}

.solutions-table tr:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.solutions-table td {
  padding: var(--space-4);
  vertical-align: middle;
}

.solutions-table tr td:first-child {
  border-radius: 12px 0 0 12px;
  border: 1px solid var(--slate-200);
  border-right: none;
}

.solutions-table tr td:last-child {
  border-radius: 0 12px 12px 0;
  border: 1px solid var(--slate-200);
  border-left: none;
}

.solutions-table tr td:not(:first-child):not(:last-child) {
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.solution-challenge {
  width: 30%;
}

.solution-challenge-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: var(--space-1);
  line-height: 1.4;
}

.solution-challenge-desc {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
}

.solution-arrow-cell {
  width: 24px;
  text-align: center;
}

.solution-arrow-cell svg {
  width: 24px;
  height: 24px;
}

.solution-answer-cell {
  width: 35%;
}

.solution-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.solution-desc {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
}

.solution-outcome-cell {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
}

.solution-outcome-cell svg {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 6px;
}

/* ==========================================================================
   Stats Grid (Problem Section)
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.stat-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: var(--space-5) var(--space-4);
  text-align: center;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--indigo-600);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-unit {
  font-size: 28px;
  font-weight: 600;
}

.stat-label {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: var(--space-2);
  flex: 1;
  display: flex;
  align-items: center;
}

.stat-quote {
  font-size: 12px;
  color: var(--slate-400);
  line-height: 1.5;
  font-style: italic;
  border-left: 2px solid var(--indigo-100);
  padding-left: var(--space-2);
  margin: var(--space-2) 0;
  text-align: left;
}

.stat-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--slate-400);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.stat-source-logo {
  border-radius: 3px;
  object-fit: contain;
  flex-shrink: 0;
}

.stat-source:hover {
  color: var(--indigo-600);
}

/* Pillars Grid — removed, replaced by solutions-grid */

/* ==========================================================================
   Demo Video
   ========================================================================== */

.demo-video {
  max-width: 896px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  background: var(--slate-800);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--slate-400);
  font-size: 15px;
}

.video-placeholder svg {
  width: 80px;
  height: 80px;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table thead th {
  padding: var(--space-3) var(--space-4);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
  border-bottom: 2px solid var(--slate-200);
  vertical-align: top;
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table thead th .comparison-tools {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--slate-400);
  margin-top: 2px;
}

.comparison-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 32px;
  margin-bottom: 8px;
}

.comparison-logos img,
.comparison-logos svg {
  border-radius: 4px;
  object-fit: contain;
}

.comparison-category {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.comparison-verdict {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--slate-400);
  margin-top: 6px;
  line-height: 1.4;
  font-style: italic;
}

.comparison-verdict-highlight {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.comparison-table thead th.comparison-highlight {
  background: var(--indigo-600);
  color: #fff;
  border-radius: 8px 8px 0 0;
  border-bottom-color: var(--indigo-600);
}

.comparison-table thead th.comparison-highlight .comparison-category {
  font-size: 15px;
}

.comparison-table tbody td {
  padding: var(--space-3) var(--space-4);
  text-align: center;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-600);
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--slate-700);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody td:last-child {
  background: var(--indigo-50);
}

.comparison-table tbody tr:last-child td:last-child {
  border-radius: 0 0 8px 8px;
}

.comparison-no {
  color: var(--slate-400);
}

.comparison-partial {
  color: var(--amber);
  font-weight: 500;
}

.comparison-yes {
  color: var(--emerald);
  font-weight: 600;
}

.comparison-table tbody td.comparison-yes:last-child {
  color: var(--indigo-600);
  font-weight: 600;
}

.comparison-row-label {
  white-space: nowrap;
}

/* ==========================================================================
   Roadmap
   ========================================================================== */

.roadmap-timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--slate-200);
}

.roadmap-item {
  display: flex;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  position: relative;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--slate-300);
  background: #fff;
  flex-shrink: 0;
  z-index: 1;
}

.roadmap-done .roadmap-marker {
  background: var(--emerald);
  border-color: var(--emerald);
}

.roadmap-active .roadmap-marker {
  background: var(--indigo-600);
  border-color: var(--indigo-600);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.roadmap-content {
  padding-top: 4px;
}

.roadmap-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: var(--space-1);
}

.roadmap-done .roadmap-status {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
}

.roadmap-active .roadmap-status {
  background: var(--indigo-50);
  color: var(--indigo-600);
}

.roadmap-next .roadmap-status {
  background: var(--slate-100);
  color: var(--slate-500);
}

.roadmap-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: var(--space-1);
}

.roadmap-desc {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

.roadmap-next .roadmap-title {
  color: var(--slate-500);
}

.roadmap-next .roadmap-desc {
  color: var(--slate-400);
}

/* ==========================================================================
   Founders
   ========================================================================== */

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 800px;
  margin: 0 auto;
}

.founder-card {
  text-align: center;
}

.founder-avatar {
  margin-bottom: var(--space-3);
}

.avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
}

.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--indigo-600);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.founder-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--space-1);
}

.founder-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo-600);
  margin-bottom: var(--space-2);
}

.founder-bio {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.65;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-3);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-400);
  text-decoration: none;
  transition: color 0.2s;
}

.founder-linkedin:hover {
  color: var(--indigo-600);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.section-cta {
  background: var(--indigo-600);
  padding: var(--space-9) 0;
}

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.cta-waitlist {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-waitlist .cta-note {
  margin-top: var(--space-2);
}

.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--slate-900);
  padding: var(--space-5) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer .logo-text {
  color: #fff;
}

.footer-tagline {
  font-size: 13px;
  color: var(--slate-400);
  margin-top: var(--space-1);
}

.footer-links {
  display: flex;
  gap: var(--space-4);
}

.footer-links a {
  font-size: 14px;
  color: var(--slate-400);
  transition: color var(--transition);
}

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

.footer-legal p {
  font-size: 13px;
  color: var(--slate-500);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .solutions-table,
  .solutions-table tbody,
  .solutions-table tr,
  .solutions-table td {
    display: block;
    width: 100%;
  }

  .solutions-table tr {
    margin-bottom: var(--space-3);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    overflow: hidden;
  }

  .solutions-table tr td:first-child,
  .solutions-table tr td:last-child,
  .solutions-table tr td:not(:first-child):not(:last-child) {
    border: none;
    border-radius: 0;
  }

  .solution-challenge {
    width: 100%;
    text-align: center;
  }

  .solution-arrow-cell {
    display: none;
  }

  .solution-answer-cell {
    width: 100%;
    text-align: center;
  }

  .solution-outcome-cell {
    text-align: center;
    white-space: normal;
  }

  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: calc(64px + var(--space-7)) 0 var(--space-7);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section {
    padding: var(--space-7) 0;
  }

  .section-title {
    font-size: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .solutions-table,
  .solutions-table tbody,
  .solutions-table tr,
  .solutions-table td {
    display: block;
    width: 100%;
  }

  .solutions-table tr {
    margin-bottom: var(--space-3);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    overflow: hidden;
  }

  .solutions-table tr td:first-child,
  .solutions-table tr td:last-child,
  .solutions-table tr td:not(:first-child):not(:last-child) {
    border: none;
    border-radius: 0;
  }

  .solution-challenge {
    width: 100%;
    text-align: center;
  }

  .solution-arrow-cell {
    display: none;
  }

  .solution-answer-cell {
    width: 100%;
    text-align: center;
  }

  .solution-outcome-cell {
    text-align: center;
    white-space: normal;
  }



  .founders-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .stat-number {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 24px;
  }

  .btn-lg {
    width: 100%;
  }
}
