﻿:root {
  --bs-primary: #22a06b; /* Professional green */
  --bs-secondary: #4b5563; /* Muted dark gray */
  --bs-success: #16a34a;
  --bs-info: #2dd4bf;
  --bs-warning: #facc15;
  --bs-danger: #ef4444;
  --bs-light: #f8fafc;
  --bs-dark: #1e293b;
  --bs-body-bg: #f4f7f6; /* light grey*/
  --bs-body-color: #1e293b;
  --bs-border-radius: 0.5rem;
  --radius: 0.5rem;
  --shadow: 0 2px 8px rgba(34, 160, 107, 0.08);
  --background-light: #fff;
  --primary-green: #22a06b;
  --primary-green-dark: #178154;
  --primary-green-light: #d1fae5;
  --accent: #2dd4bf;
}

body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.card, .panel, .shadow-sm {
  border-radius: var(--bs-border-radius);
  box-shadow: var(--shadow);
  background: var(--background-light);
  border: 1px solid #e2e8f0;
}

.navbar, .navbar-light, .navbar-dark {
  background: var(--background-light);
  border-bottom: 1px solid #e2e8f0;
}

.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: #fff;
  transition: background 0.2s, border 0.2s;
}

  .btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
  }

.btn-outline-primary {
  color: var(--primary-green);
  border-color: var(--primary-green);
}

  .btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-green);
    color: #fff;
  }

.form-control, .form-select {
  border-radius: var(--bs-border-radius);
  border: 1px solid #b5e4d0;
  background: #f8fafc;
  color: var(--bs-body-color);
  transition: border 0.2s;
}

  .form-control:focus, .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(34, 160, 107, 0.15);
  }

input[type="email"]:focus, input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-green);
}

a {
  color: var(--primary-green);
  text-decoration: none;
}

  a:hover, a:focus {
    color: var(--primary-green-dark);
    text-decoration: underline;
  }

h1, h2, h3, h4, h5, h6 {
  color: var(--bs-dark);
  font-weight: 600;
}

.table {
  background: var(--background-light);
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

.alert {
  border-radius: var(--bs-border-radius);
}

footer {
  background: var(--background-light);
  border-top: 1px solid #e2e8f0;
  color: var(--bs-secondary);
  padding: 1rem 0;
  text-align: center;
  margin-top: 2rem;
}

.solution ul {
  list-style-type: disc;
  padding-left: 2rem;
}

  .solution ul li {
    margin-bottom: 0.75rem;
  }

.hero, .problem, .solution, .audience, .early-access {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  background: var(--primary-green-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

  .hero h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
  }

.cta-button {
  background-color: var(--primary-green);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.75rem 0.75rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  display: inline-block;
  margin-top: 0.5rem;
  border: none;
  transition: background 0.2s;
}

  .cta-button:hover, .cta-button:focus {
    background-color: var(--primary-green-dark);
    color: #fff;
  }

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  background: var(--background-light);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid #b5e4d0;
}

.early-access form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  max-width: 400px;
  margin: 2rem auto;
}

.early-access input,
.early-access select,
.early-access button {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid #b5e4d0;
}

.early-access button {
  background: var(--primary-green);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: background 0.2s;
}

  .early-access button:hover, .early-access button:focus {
    background: var(--primary-green-dark);
  }

.problem, .solution {
  background: #fff;
  border: 1px solid #e2e8f0;
}

/* Enhance the hero-section for a vibrant, professional header */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  max-width: 700px;
  margin: 0 auto;
  background: var(--primary-green-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 960px;
}

  .hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }

  .hero-section h2 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    font-weight: 500;
  }

  .hero-section h3 {
    color: var(--bs-dark);
    font-size: 1.75rem;
    font-weight: 500;
    margin: 2rem 0 1.25rem 0;
  }

  .hero-section p {
    color: var(--hero-lead);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .hero-lead {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #444;
  }

.hero-plan {
  font-style: italic;
  color: var(--bs-secondary);
  margin-bottom: 1.5rem;
}

.hero-success {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  font-size: 1rem;
  color: #228B22;
  margin-top: 1.5rem;
}

.hero-section .cta-button {
  background-color: #fff;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  font-size: 1.65rem;
  font-weight: 700;
  border-radius: 2rem;
  padding: 0.75rem 2.5rem;
  box-shadow: 0 2px 8px rgba(34, 160, 107, 0.10);
  transition: background 0.2s, color 0.2s, border 0.2s;
}

  .hero-section .cta-button:hover, .hero-section .cta-button:focus {
    background-color: var(--primary-green);
    color: #fff;
    border-color: #fff;
  }

.hero-section .GetEarlyAccess {
  font-size: 0.85rem;
  display: block;
  margin-top: 0;
  color: inherit;
  font-weight: 400;
  letter-spacing: normal;
}

.hero-plan-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem; /* reduced gap for tighter look */
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0.75rem 0 1rem 0; /* less vertical space */
}

  .hero-plan-steps .step {
    padding: 0.35rem 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    background-color: #c6f6dd; /* slightly darker than --primary-green-light */
    border-radius: var(--bs-border-radius);
    color: var(--primary-green);
    border: 1px solid rgba(34, 160, 107, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.2s ease-in-out;
  }

  .hero-plan-steps .divider {
    font-size: 1.5rem;
    color: var(--primary-green-dark);
    margin: 0 0.25rem;
  }

.hero-section .cta-row {
  flex-direction: row;
  gap:1rem;
  align-items: stretch;
}




.contributor-roles {
  text-align: left;
}

.waitlist-section {
  margin: 2.5rem auto; /* Adds 2.5rem space above and below, keeps horizontal centering */
  padding: 2rem 2rem;
  text-align: center;
  max-width: 960px;
  background: var(--primary-green-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

  .waitlist-section h3 {
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
  }

  .waitlist-section .form-group label {
    color: var(--bs-dark);
    font-weight: 500;
  }

  .waitlist-section .form-control {
    margin-bottom: 0.5rem;
  }

  .waitlist-section .btn-primary {
    margin-top: 1.5rem;
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
  }

  .waitlist-section .alert {
    max-width: 400px;
    margin: 1rem auto 2rem auto;
  }

.waitlist-form-row {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* <-- changed from center */
  margin-bottom: 1.25rem;
}

.waitlist-label {
  flex: 0 0 110px;
  max-width: 110px;
  text-align: right;
  margin-right: 0.75rem;
  font-weight: 500;
  color: var(--bs-dark);
  font-size: 1rem;
  line-height: 1.2;
  height: 1.5em; /* Limit to one line of text */
  overflow: hidden; /* Hide overflow text */
  white-space: nowrap; /* Prevent wrapping */
  display: flex; /* Align label content vertically */
  align-items: flex-end; /* Center text vertically */
}

.waitlist-input {
  height: 2.5rem; /* or use a value that matches your design */
  min-height: 2.5rem;
  max-height: 2.5rem;
  line-height: 1.5;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  resize: none;
  overflow-y: hidden;
}

.waitlist-radio-option {
  display: flex;
  align-items: center; /* Vertically center radio and text */
  gap: 0.5rem; /* Space between radio and text */
  margin-bottom: 0.25rem;
  font-size: 1rem;
  white-space: nowrap; /* Keep on one line, remove if you want wrapping */
  justify-content: flex-start; /* Left-justify */
}

.waitlist-label-block {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  text-align: left;
  margin-right: 0;
  margin-bottom: 0.25rem;
  white-space: normal; /* allow wrapping if needed */
  overflow: visible;
  color: var(--bs-dark);
  font-weight: 500;
}

.waitlist-radio-group {
  padding-left: 110px; /* Align with label width */
  text-align: left; /* Ensure left alignment */
  display: block; /* Prevent centering by flex */
}


@media (max-width: 600px) {
  .waitlist-radio-group {
    padding-left: 0; /* Remove padding for mobile */
  }

  .waitlist-form-row,
  .waitlist-form-row.mb-3 {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0 !important; /* Remove Bootstrap's margin */
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box;
  }


  .waitlist-label {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0.15rem;
    margin-right: 0;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }


  .waitlist-input {
    max-width: 100%;
    height: 2.5rem;
    min-height: 2.5rem;
    max-height: 2.5rem;
    line-height: 1.5;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
  }

  .hero-success {
    flex-direction: column;
  }

  .hero-plan-steps {
    display: none; /* Hide the horizontal layout on small screens */
  }

  .hero-inline-plan {
    display: block;
    margin: 1rem auto;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--bs-dark);
  }

    .hero-inline-plan .step {
      background: var(--primary-green-light);
      padding: 0.2rem 0.6rem;
      border-radius: var(--bs-border-radius);
      margin: 0 0.25rem;
      font-weight: 600;
      color: var(--primary-green);
    }

  .hero-section .cta-row {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
}

.platform-mnemonic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.platform-card {
  background: var(--background-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #b5e4d0;
  padding: 1.5rem 1rem;
  transition: box-shadow 0.2s, border 0.2s;
  color: var(--primary-green); /* Ensure card text uses main theme color */
}

  .platform-card .card-title {
    color: var(--primary-green);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .platform-card .card-text {
    color: var(--primary-green); /* Use main theme color for description text */
    font-size: 1rem;
  }

.waitlist-section h3 {
  color: var(--primary-green);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.storybrandSection {
  margin: 2.5rem auto; /* Adds 2.5rem space above and below, keeps horizontal centering */
  display: block;
  padding: 2rem 2rem;
  max-width: 960px;
  background: var(--primary-green-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

  .storybrandSection h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
  }

.company-logo {
  position: fixed;
  top: 0.1rem;
  left: 0.5rem;
  right: auto;
  width: 200px;
  height: 200px;
  z-index: 1000;
  background: var(--primary-green-light);
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: left 0.6s cubic-bezier(.4,1.4,.6,1), transform 0.6s cubic-bezier(.4,1.4,.6,1), width 0.6s, height 0.6s;
}

/* Move logo from left to center at 1233px */
@media (max-width: 1422px) {
  .company-logo {
    left: 50%;
    top: 0.1rem; /* Ensure it's near the top */
    transform: translateX(-50%);
    width: 175px; /* 50% of 350px, or adjust as needed */
    height: 175px;
  }

    .company-logo.logo-small {
      left: 50%;
      top: 0.1rem;
      transform: translateX(-50%);
      width: 60px !important;
      height: 60px !important;
      transition: width 0.3s, height 0.3s, opacity 0.3s, left 0.6s, transform 0.6s;
    }

  .hero-section {
    margin-top: 190px; /* 50% of 370px, or adjust as needed */
  }
}

.company-logo.logo-small {
  width: 60px !important;
  height: 60px !important;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}
