:root {
  --wm-blue: #1f7acb;
  --wm-blue-dark: #175f9c;
  --wm-bg: #f4f6fb;
  --wm-text: #1f2933;
  --wm-muted: #6b7280;
  --wm-card-border: #e5e7eb;
  --wm-card-bg: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--wm-bg);
  color: var(--wm-text);
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  width: 40px;
  height: auto;
  object-fit: contain;
}

.header-link { font-size: 0.9rem; }

main {
  flex: 1;
}

.main-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 1.5rem 3rem;
}

/* Updated Hero Section with Background Image */
.hero {
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                    url('/css/img/cyclists_pedestrians2.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh; /* Changed from 100vh to allow content below to be visible */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--wm-card-border);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--wm-text);
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-line {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--wm-blue);
  color: #ffffff;
  cursor: pointer;
}

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

.btn-outline {
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
  font-weight: 500;
  background: #ffffff;
  color: var(--wm-blue);
  border: 1px solid #cbd5e1;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--wm-blue-dark);
  color: var(--wm-blue-dark);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-note {
  font-size: 0.85rem;
  margin-top: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 800px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero { height: auto; padding: 4rem 1.5rem; }
}

.step-card {
  background: var(--wm-card-bg);
  border-radius: 14px;
  border: 1px solid var(--wm-card-border);
  padding: 1.2rem;
  font-size: 0.9rem;
}

.step-title { font-weight: 600; margin-bottom: 0.25rem; }
.step-text { color: var(--wm-muted); }

.card {
  background: var(--wm-card-bg);
  border-radius: 14px;
  border: 1px solid var(--wm-card-border);
  padding: 2rem;
  font-size: 0.9rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card-text {
  color: var(--wm-muted);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.embed-wrapper {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  position: relative;
  width: 100%;
  height: 500px;
}

.embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.users-icon {
  width: 100px;
  height: auto;
}

.users-text {
  font-size: 0.9rem;
  color: var(--wm-muted);
  line-height: 1.5;
}

footer {
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

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

/* Bottom Call to Action Section */
.cta-bottom {
  background: var(--wm-blue);
  color: #ffffff;
  border-radius: 14px;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 1rem;
}

.cta-content h3 {
  font-size: 1.8rem;
  margin: 0 0 1rem 0;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Ensure buttons stand out against blue background */
.cta-bottom .btn-primary {
  background: #ffffff;
  color: var(--wm-blue);
}

.cta-bottom .btn-primary:hover {
  background: #f0f4f8;
}

.cta-bottom .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.cta-bottom .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Updated Hero with new text constraints */
.hero {
  background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(0, 0, 0, 0.1)), 
                    url('/css/img/cyclists_pedestrians2.jpg');
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--wm-card-border);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    max-width: 800px;
    line-height: 1.2;
    color: #1f2933; /* Dark text */
    /* This creates a soft white glow behind dark text */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 
                 0 0 5px rgba(255, 255, 255, 0.5);
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #1f2933;
    margin-bottom: 2rem;
    max-width: 650px;
    /* Soft glow for subtext */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Specific fix for the bottom note to make it white with a dark glow */
.hero-note {
    margin-top: 2rem;
    font-weight: 600;
    color: #ffffff !important; /* Force white text */
    /* Darker shadow to make white text pop against light backgrounds */
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.8),
                 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-use-cases {
  margin-top: 1.5rem;
  color: var(--wm-text);
  text-align: left;
  max-width: 500px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-list li::before {
  content: "•";
  color: var(--wm-blue);
  font-weight: bold;
  display: inline-block; 
  width: 1.2em;
}

/* The glowing white bottom note */
.hero-note {
  margin-top: 2rem;
  font-weight: 600;
  color: #ffffff !important;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.8), 
               0px 0px 10px rgba(0, 0, 0, 0.5);
}

/* Container for use cases */
.hero-use-cases {
  margin-top: 1.5rem;
  text-align: left;
  max-width: 550px;
  padding: 1rem;
  /* Optional: adds a subtle dark tint behind just this text to make white pop */
  background: rgba(0, 0, 0, 0.15); 
  border-radius: 8px;
}

/* Make the title and list items white */
.use-case-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-list li {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  /* Soft shadow makes white text readable on light image parts */
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.25rem;
}

/* Custom bullet styling */
.hero-list li::before {
  content: "•";
  color: #ffffff; /* Bullet color changed to white */
  font-weight: bold;
  display: inline-block; 
  width: 1.2em;
}

/* Bottom note styling (Pick one project...) */
.hero-note {
  margin-top: 2rem;
  font-weight: 600;
  color: #ffffff !important;
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.9);
}

/* new */
/* Container for simplified use cases */
.hero-use-cases {
  margin-top: 1.5rem;
  text-align: center; /* Centered to match the hero style */
  max-width: 700px;
  padding: 0;
  background: transparent; /* Removes the darkened background */
}

.use-case-text {
  color: #1f2933; /* Dark text to match original style */
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
  /* Keeps subtle white glow for legibility against image */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* Bottom note styling (Pick one project...) */
.hero-note {
  margin-top: 2rem;
  font-weight: 600;
  color: #ffffff !important; /* Kept white per previous request */
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.9);
}