/* ── WaterWave Minimalist B2B SaaS Landing Page Theme (Premium Dark Slate) ── */

:root {
  --primary: #3B82F6;          /* Royal Trust Blue */
  --primary-hover: #2563EB;    /* Deep Trust Blue */
  --primary-dim: #14223E;      /* Solid dark blue background */
  --accent: #06B6D4;           /* Flow Cyan */
  --accent-dim: #132A35;       /* Solid dark cyan background */
  --bg-clean: #151D30;         /* Solid dark slate card/surface */
  --bg-slate: #0F1318;         /* Background Slate */
  --text-dark: #F8FAFC;        /* Highly-legible white-slate text */
  --text-muted: #94A3B8;       /* High-contrast medium slate text */
  --text-light: #4E6180;       /* Solid dark-slate for metadata/inactive */
  --border-slate: #222F4B;     /* Flat solid blue-grey border */
  --border-blue: #2E3E5F;      /* Secondary border for active/hover states */
  
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-premium: 0 20px 40px -15px rgba(59, 130, 246, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body.dark-landing, body.light-landing {
  background-color: var(--bg-slate);
  color: var(--text-dark);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Kinetic Glow Background elements */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  animation: float 25s infinite alternate ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: #3B82F6;
  top: 5%;
  left: -200px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: #06B6D4;
  top: 45%;
  right: -250px;
  animation-delay: -7s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 100px) scale(1.1); }
}

header, section, footer {
  position: relative;
  z-index: 10;
}

/* ── Typography & Headings ── */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

/* ── Layout & Sections Spacing ── */
section {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 24px;
}

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

.section-heading {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.15;
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-subheading {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  font-weight: 400;
}

/* ── Minimalist Badges ── */
.badge, .badge-accent {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: var(--r-full);
}

.badge {
  background: var(--primary-dim);
  color: var(--primary);
  border: 1px solid var(--border-blue);
  box-shadow: var(--shadow-sm);
}

.badge-accent {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

/* ── Top Navigation Bar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px;
  z-index: 100;
  position: relative;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-cta {
  background: var(--bg-clean);
  color: var(--text-dark);
  border: 1px solid var(--border-slate);
  padding: 8px 20px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* ── Buttons System ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-clean);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: var(--bg-clean);
  color: var(--text-dark);
  border: 1px solid var(--border-slate);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-slate);
  border-color: var(--text-light);
  transform: translateY(-1px);
}

.btn-primary-light {
  background: var(--bg-clean);
  color: var(--primary);
  border: 1px solid var(--bg-clean);
  box-shadow: var(--shadow-md);
}

.btn-primary-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12.5px;
  border-radius: var(--r-sm);
}

/* ── Hero Section ── */
.hero-section {
  text-align: center;
  padding: 80px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1.08;
  margin-top: 24px;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.55;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
}

.hero-fomo {
  font-size: 12px;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.5;
}

/* ── Dashboard Mockup / Preview Panel ── */
.dashboard-preview-section {
  padding: 24px;
}

.dashboard-mockup {
  background: var(--bg-clean);
  border: 1px solid var(--border-slate);
  border-radius: var(--r-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-top: 5px solid var(--primary);
}

.mockup-header {
  background: var(--bg-slate);
  border-bottom: 1px solid var(--border-slate);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-window-controls {
  display: flex;
  gap: 6px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-title {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  font-family: monospace;
}

.mockup-status {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-slate);
}

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

.mockup-widget {
  background: var(--bg-clean);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.widget-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget-metric {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.metric-lbl {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.widget-progress {
  height: 6px;
  background: var(--bg-slate);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar {
  height: 100%;
  border-radius: var(--r-full);
}

.progress-bar.blue { background: var(--primary); }

.widget-footer {
  font-size: 11px;
  color: var(--text-light);
  margin-top: auto;
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.widget-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-slate);
}

.status-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--r-full);
  text-transform: uppercase;
}

.status-pill.green {
  background: var(--accent-dim);
  color: var(--accent);
}

.status-pill.amber {
  background: #2B2112;
  color: var(--amber);
}

.widget-alert {
  font-size: 11.5px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  margin-bottom: 8px;
  line-height: 1.4;
}

.alert-red {
  background: #311A1B;
  color: var(--red);
}

.alert-blue {
  background: var(--primary-dim);
  color: var(--primary);
}

/* ── Operational Pain Section ── */
.pain-section {
  background: var(--bg-clean);
  border-top: 1px solid var(--border-slate);
  border-bottom: 1px solid var(--border-slate);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pain-card {
  padding: 32px;
  background: var(--bg-slate);
  border: 1px solid var(--border-slate);
  border-radius: var(--r-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pain-card:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  background: var(--red-dim);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.15);
}

.pain-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.pain-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.pain-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Reframing Section ── */
.reframing-section {
  text-align: center;
}

.reframing-container {
  background: var(--bg-clean);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-lg);
  padding: 48px 32px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-premium);
}

.reframing-quote {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 24px;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 24px;
  border-radius: var(--r-full);
}

.reframing-body {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Benefits Section ── */
.benefits-section {
  background: var(--bg-clean);
  border-top: 1px solid var(--border-slate);
  border-bottom: 1px solid var(--border-slate);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.benefit-card {
  background: var(--bg-clean);
  border: 1px solid var(--border-slate);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-premium);
}

.benefit-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}

.benefit-card-title {
  font-size: 19px;
  margin-bottom: 10px;
}

.benefit-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Workflow Timeline ── */
.workflow-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  width: 100%;
}

@media (max-width: 768px) {
  .workflow-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.timeline-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--border-blue);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.step-content {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-size: 15px;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Cognitive Relief Comparison Section ── */
.relief-section {
  background: var(--bg-clean);
  border-top: 1px solid var(--border-slate);
  border-bottom: 1px solid var(--border-slate);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.comparison-box {
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-slate);
}

.before-box {
  background: #1C1517;
  border-color: #3D2224;
}

.after-box {
  background: #111A2E;
  border-color: var(--border-blue);
  border-top: 4px solid var(--primary);
}

.comparison-title {
  font-size: 19px;
  margin-bottom: 24px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-list li {
  font-size: 13.5px;
  color: var(--text-muted);
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.comparison-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.before-box .comparison-list li::before {
  background: #EF4444;
}

.after-box .comparison-list li::before {
  background: var(--accent);
}

/* ── Social Proof / Testimonials ── */
.testimonial-section {
  text-align: center;
}

.testimonial-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px;
}

.testimonial-text {
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-dark);
  margin-bottom: 32px;
  position: relative;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-details strong {
  font-size: 15px;
  color: var(--text-dark);
}

.author-details span {
  font-size: 12px;
  color: var(--text-muted);
}

.author-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
  text-transform: uppercase;
}

/* ── App Ingress Cards ── */
.app-gateways-section {
  background: var(--bg-clean);
  border-top: 1px solid var(--border-slate);
  border-bottom: 1px solid var(--border-slate);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .app-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.app-card {
  background: var(--bg-clean);
  border: 1px solid var(--border-slate);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.app-card:hover {
  background: #1C263E;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-card:hover { border-color: var(--primary); }
.rider-card:hover { border-color: var(--accent); }
.buyer-card:hover { border-color: var(--accent); }

.card-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: var(--r-full);
  width: fit-content;
  margin-bottom: 16px;
}

.card-badge.admin {
  background: var(--primary-dim);
  color: var(--primary);
}

.card-badge.rider {
  background: var(--accent-dim);
  color: var(--accent);
}

.card-badge.buyer {
  background: var(--accent-dim);
  color: var(--accent);
}

.card-headline {
  font-size: 19px;
  margin-bottom: 8px;
}

.card-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.card-link {
  font-size: 12.5px;
  font-weight: 700;
  margin-top: auto;
  transition: transform 0.2s;
}

.admin-card .card-link { color: var(--primary); }
.rider-card .card-link { color: var(--accent); }
.buyer-card .card-link { color: var(--accent); }

.app-card:hover .card-link {
  transform: translateX(4px);
}

/* ── FOMO CTA Block Section ── */
.cta-section {
  padding: 56px 24px;
}

.cta-box {
  background: linear-gradient(135deg, #1E3A8A 0%, #0B0F19 100%);
  border: 1px solid var(--border-slate);
  border-radius: var(--r-xl);
  padding: 72px 32px;
  text-align: center;
  color: var(--text-dark);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  max-width: 960px;
  margin: 0 auto;
}

.cta-heading {
  color: var(--bg-clean);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-sub {
  color: #93C5FD;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.cta-frictions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  color: #60A5FA;
  font-weight: 500;
}

/* ── Minimalist Clean Footer ── */
.footer {
  background: var(--bg-clean);
  border-top: 1px solid var(--border-slate);
  padding: 60px 24px 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto 48px;
  gap: 48px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-links-grid {
  display: flex;
  gap: 60px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.footer-links-col a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  border-top: 1px solid var(--border-slate);
  padding-top: 24px;
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
}

/* ── Mobile Sticky Bottom CTA ── */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 19, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-slate);
  padding: 12px 24px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.sticky-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hide on desktop */
@media (min-width: 769px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}