@import url("https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,300,400&display=swap");

:root {
  /* Color Palette aligned to Figma reference */
  --bg-color: #0e0e0e;
  --card-bg: #121212;
  --border-color: #303030;
  --accent-green: #40ff1c;
  --accent-green-dark: #257d14;
  --accent-green-hover: #32e612;
  --accent-gold: #c9a100;
  --accent-purple: #6100c8;
  --accent-purple-variant: #b46eff;
  --primary-variant-2: #b6e246;
  --text-primary: #ffffff;
  --text-secondary: #adadad;
  --text-muted: #6b7280;

  /* Typography */
  --font-primary: "Satoshi", sans-serif;

  /* Spacing & Layout */
  --container-width: 1200px;
  --padding-section: 100px 20px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
}

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

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

.nav-wrap {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: solid 2px var(--border-color);
  padding: 15%;
  border-radius: 20%;
}

.nav-wrap * {
  user-select: none;
}

.toggle {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  /* filter: drop-shadow(1px 1px 0 var(--border-color)) drop-shadow(-1px 1px 0 var(--border-color)) */
  /* drop-shadow(1px -1px 0 var(--border-color)) drop-shadow(-1px -1px 0 var(--border-color)); */
}

.toggle .bar path {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: 0.3s;
}

.toggle .bar-after path {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: 0.3s;
}

/* Right toggle animation */
.left-right .bar {
  stroke-dasharray: 30;
  stroke-dashoffset: 0;
}

.left-right .bar path {
  transition-delay: 0.2s;
}

.left-right.active .bar {
  stroke-dashoffset: 30;
}

.left-right.active .bar path,
.left-right.active .bar-after path {
  transition: 0.2s;
}

.toggle-right .bar-after path {
  stroke: #54ff5a;
}

.left-right .bar-1-after,
.left-right .bar-3-after {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

.left-right .bar-2-after {
  stroke-dasharray: 15;
  stroke-dashoffset: 15;
}

.left-right.active .bar-after path {
  transition-delay: 0.2s;
}

.left-right.active .bar-2-after {
  stroke-dashoffset: 0;
}

.left-right.active .bar-1-after,
.left-right.active .bar-3-after {
  stroke-dasharray: 20;
  stroke-dashoffset: 40;
}

ul {
  list-style: none;
}

.container {
  max-width: max(300px, 80%);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Utility */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: 5rem;
  line-height: 7rem;
  letter-spacing: -0.96px;
  text-align: center;
  white-space: collapse balance;
}

h2 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.32px;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 24px;
}

h1 > span {
  display: block;
}

section.section:nth-child(3) {
  padding-top: 5%;
  background: radial-gradient(
    circle at center -50%,
    rgba(93, 0, 199, 0.08) 0%,
    rgba(18, 18, 18, 1) 40%,
    rgba(18, 18, 18, 1) 100%
  );
}

canvas {
  touch-action: none;
}

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

.text-green {
  color: var(--accent-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(to bottom, #40ff1c, #257d14);
  border: 1px solid #37a721;
  color: #0e0e0e;
  box-shadow:
    0 0 15px rgba(182, 226, 70, 0.16),
    0 0 30px rgba(182, 226, 70, 0.08);
}

.btn-primary:active {
  background: linear-gradient(to bottom, #257d14, #257d14) !important;
  transform: translateY(1px) !important;
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #4dff2a, #2b8e18);
  transform: translateY(-2px);
  box-shadow:
    0 0 15px rgba(182, 226, 70, 0.2),
    0 0 30px rgba(182, 226, 70, 0.1);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: inset 2px 2px 40px rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: var(--text-secondary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(18, 18, 18, 0.96);
  box-shadow: inset 2px 2px 40px rgba(255, 255, 255, 0.04);
  font-size: 12px;
  line-height: 16px;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.badge2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent-gold);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  /*! max-width: fit-content; */
  font-size: 0.75rem;
  margin-bottom: 24px;
  padding: 4px 12px;

  max-width: fit-content;
  gap: 0.5rem;
}

.badge2 * {
  display: inherit;
}

#hero-animation-slider {
  height: 500px;
  width: max(300px, 80%);
}

.approach_flex {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  flex-direction: column;
}

.approach_flex > * {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  /* flex-grow: 100%; */
  /* width: 100%; */
  flex-direction: row;
  justify-content: center;
  /* align-items: center; */
  /* container-type: size; */
  height: 50%;
}

.approach_flex > div:nth-child(1) > *:nth-child(1),
.approach_flex > div:nth-child(2) > *:nth-child(2) {
  flex: 7 7 100%;
}

.approach_flex > div:nth-child(1) > *:nth-child(2),
.approach_flex > div:nth-child(2) > *:nth-child(1) {
  flex: 8 8 100%;
}

.approach_flex img {
  height: 542px;
}

.approach_flex > div > * {
  height: fit-content;
}

.contain_center_col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  /* height: 100svh; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* .navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100svw;
  height: 100dvh;
  background: rgba(2, 8, 12, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
} */

.navbar > div:nth-child(1) {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 5% 5%; */
  padding: min(5%, 2svh) 5%;
  /* background: rgba(2, 8, 12, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px); */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img,
.footer-logo {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-menu-bg {
  background: rgba(2, 8, 12, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.mob-nav-menu {
  display: flex;
  flex-direction: column;
  /* flex: 1; */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;

  padding: 7% 0%;
  /* padding: clamp(1rem, 3dvh, 2rem) 0; */

  /* background: rgba(2, 8, 12, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px); */
  /*! width: 100vw; */
  /*! height: 100vh; */
  /*! padding: calc(20vw + 2.5rem) 0 clamp(1.5rem, 5vh, 3rem); */
  opacity: 0;
  /* pointer-events: none; */
  /* visibility: hidden; */
  transition: opacity 0.4s ease;
}

.mob-nav-menu.active {
  pointer-events: auto;
  /* visibility: visible; */
  /* transition-delay: 0s; */
  opacity: 0;
}

.mob-nav-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  border-bottom: 1px solid rgba(126, 157, 183, 0.24);
}

.mob-nav-brand {
  display: flex;
  align-items: center;
  max-width: min(62vw, 17rem);
}

.mob-nav-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 2.5rem;
  object-fit: contain;
  object-position: left center;
}

.mob-nav-close {
  display: grid;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  color: var(--accent-green);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mob-nav-close svg {
  width: 2.25rem;
  height: 2.25rem;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.mob-nav-links {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0.15rem;
  padding: clamp(1.5rem, 4vh, 2.5rem) 20px;
  border-bottom: 1px solid rgba(126, 157, 183, 0.28);
}

.mob-nav-links a {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 3.6rem;
  padding: 0.5rem 0;
  color: #f3f5f7;
  font-size: 1.15rem;
  line-height: 1.3;
}

.mob-nav-links a::before {
  content: "";
  width: 1.75rem;
  height: 1.75rem;
  background: center / contain no-repeat;
}

.mob-nav-links a[href="/"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f5f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 9v12h5v-7h4v7h5V9'/%3E%3C/svg%3E");
}

.mob-nav-links a[href="/sme-program.html"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f5f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 10 10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5M22 10v6'/%3E%3C/svg%3E");
}

.mob-nav-links a[href="/developers.html"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f5f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 8-4 4 4 4m8-8 4 4-4 4m-3-10-2 12'/%3E%3C/svg%3E");
}

.mob-nav-links a[href="/how-it-works.html"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f5f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3m0 14v3M4.93 4.93l2.12 2.12m9.9 9.9 2.12 2.12M2 12h3m14 0h3m-16.07 7.07 2.12-2.12m9.9-9.9 2.12-2.12'/%3E%3C/svg%3E");
}

.mob-nav-links a[href="/about.html"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f5f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

.mob-nav-links a[href="/vision.html"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f5f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.2 6.8L21 12l-6.8 2.2L12 21l-2.2-6.8L3 12l6.8-2.2L12 3Z'/%3E%3C/svg%3E");
}

.mob-nav-links a::after {
  content: "\2192";
  font-size: 1.6rem;
  line-height: 1;
}

.mob-nav-links a:hover,
.mob-nav-links a.active {
  color: var(--accent-green);
}

.mob-nav-cta-panel {
  display: grid;
  grid-template-columns: clamp(2.75rem, 12vw, 3.75rem) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  width: 100%;
  margin-top: auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(40, 255, 105, 0.5);
  border-radius: 1.5rem;
  background:
    radial-gradient(
      ellipse at 100% 0,
      rgba(0, 255, 145, 0.12),
      transparent 58%
    ),
    rgba(5, 18, 22, 0.82);
  box-shadow: inset 0 0 2.5rem rgba(48, 255, 133, 0.06);
}

.mob-nav-cta-panel.container {
  display: grid;
  align-items: start;
  justify-content: initial;
}

.mob-nav-cta-mark {
  display: block;
  width: 100%;
  max-width: 3.75rem;
  height: auto;
  object-fit: contain;
}

.mob-nav-cta-copy h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.2rem, 5vw, 1.65rem);
  line-height: 1.18;
  text-align: left;
}

.mob-nav-cta-copy p {
  margin: 0;
  color: #c1cbd3;
  font-size: 0.95rem;
  line-height: 1.5;
}

.mob-nav-cta {
  grid-column: 1 / -1;
  width: min(100%, 24rem);
  min-height: 3.5rem;
  margin: 0.5rem auto 0;
  border-radius: 999px !important;
  font-size: 1rem;
}

.navbar .mob-nav-cta {
  display: inline-flex;
}

/* @media (min-width: 769px) { */
@media (min-width: 980px) {
  .mob-nav-menu {
    display: none !important;
  }
}

/* Sections */
.section {
  padding: var(--padding-section);
}

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

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

header.section {
  margin-top: 5%;
}

/* Cards */
.grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast);
  box-shadow: inset 2px 2px 40px rgba(255, 255, 255, 0.04);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #333;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  color: var(--accent-green);
}

.card img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  object-fit: cover;
}

/* Forms */
.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-color);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-green);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.1);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

select.form-control option {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.form-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-group.inline,
.checkbox-group.inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.radio-label:hover,
.checkbox-label:hover {
  color: var(--text-color);
}

.radio-label input,
.checkbox-label input {
  accent-color: var(--accent-green);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-section {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.form-section h3 {
  margin-bottom: 24px;
  color: var(--text-color);
  font-size: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-section h3 span.step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-green);
  color: rgb(10, 10, 10);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: bold;
}

.conditional-field {
  display: none;
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--border-color);
  animation: fadeIn 0.3s ease;
}

.conditional-field.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive form grid */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* @media (max-width: 768px) { */
@media (max-width: 980px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-section {
    padding: 24px 16px;
  }

  .approach_flex > * {
    flex-wrap: wrap;
  }
}

/* Waitlist Form */
.waitlist-section {
  text-align: center;
  padding: 120px 20px;
  background: radial-gradient(
    circle at center,
    rgba(57, 255, 20, 0.05) 0%,
    var(--bg-color) 70%
  );
}

.waitlist-section .icon-box {
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  display: flex;
  margin: 0 auto;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
}

.waitlist-form input:focus {
  border-color: var(--accent-green);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-muted);
}

.social-links a:hover {
  color: var(--text-primary);
}

/* Learning Journey Frame */
.learning-journey-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 400px;
  margin: 60px auto 0;
}

.journey-histogram {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  z-index: 1;
}

.journey-bar {
  flex: 1;
  background: var(--text-secondary);
  opacity: 0.05;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  animation: barPulse 3s infinite alternate ease-in-out;
}

.journey-bar:nth-child(1) {
  height: 20%;
  animation-delay: 0s;
}

.journey-bar:nth-child(2) {
  height: 35%;
  animation-delay: -0.5s;
}

.journey-bar:nth-child(3) {
  height: 60%;
  animation-delay: -1.2s;
}

.journey-bar:nth-child(4) {
  height: 40%;
  animation-delay: -0.8s;
}

.journey-bar:nth-child(5) {
  height: 50%;
  animation-delay: -2s;
}

.journey-bar:nth-child(6) {
  height: 80%;
  animation-delay: -1.5s;
}

.journey-bar:nth-child(7) {
  height: 90%;
  animation-delay: -0.2s;
}

.journey-bar:nth-child(8) {
  height: 75%;
  animation-delay: -1.8s;
}

.journey-bar:nth-child(9) {
  height: 45%;
  animation-delay: -0.9s;
}

.journey-bar:nth-child(10) {
  height: 65%;
  animation-delay: -2.3s;
}

.journey-bar:nth-child(11) {
  height: 85%;
  animation-delay: -1.1s;
}

.journey-bar:nth-child(12) {
  height: 55%;
  animation-delay: -0.4s;
}

.journey-bar:nth-child(13) {
  height: 35%;
  animation-delay: -1.6s;
}

.journey-bar:nth-child(14) {
  height: 45%;
  animation-delay: -0.7s;
}

.journey-bar:nth-child(15) {
  height: 20%;
  animation-delay: -1.9s;
}

@keyframes barPulse {
  0% {
    transform: scaleY(0.85);
    transform-origin: bottom;
    opacity: 0.03;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0.08;
  }
}

/* Animated Title */
.animated-title .char {
  display: inline-block;
  /* color: transparent; */
  position: relative;
  white-space: pre;
}

.animated-title .char.typed {
  color: inherit;
}

.animated-title .char.has-cursor::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 5%;
  bottom: 5%;
  width: 4px;
  background-color: var(--accent-green);
  animation: blinkCursor 0.8s step-end infinite;
}

.animated-title .char.has-cursor:not(.typed)::after {
  right: auto;
  /* left: -2px; */
}

@keyframes blinkCursor {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.journey-btn {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.05rem;
  z-index: 2;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  transition:
    border-color var(--transition-fast),
    transform var(--transition-fast);
  cursor: default;
}

.journey-btn:hover {
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.jb-1 {
  bottom: 10%;
  left: 5%;
}

.jb-2 {
  bottom: 35%;
  left: 20%;
}

.jb-3 {
  bottom: 60%;
  left: 19svw;
}

.jb-4 {
  bottom: 60%;
  right: 24svw;
}

.jb-5 {
  bottom: 35%;
  right: 20%;
}

.jb-6 {
  bottom: 10%;
  right: 5%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  padding: 0;
  width: 2.5rem;
}

/* Responsive */
/* @media (max-width: 768px) { */
@media (max-width: 980px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .mobile-menu-btn {
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-links {
    display: none;
  }

  .nav-links a {
    font-size: 1.125rem;
  }

  .navbar .btn {
    display: none;
    /* Hidden on mobile header to save space per Theme */
  }

  .navbar .mob-nav-cta {
    display: inline-flex;
  }

  .footer-grid {
    gap: 32px;
  }

  /* Learning Journey Mobile Resets */
  .learning-journey-container {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
    margin-top: 24px;
  }

  .journey-btn {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    text-align: center;
    margin: 0 !important;
    padding: 20px 24px;
  }

  .journey-btn:not(:last-child)::after {
    content: "";
    position: absolute;

    /* Horizontal Centering */
    left: 50%;
    transform: translateX(-50%);

    /* Vertical Spanning */
    top: 100%; /* Starts exactly at the bottom of the top block */
    height: 50px; /* Matches the gap height perfectly */

    /* Line Styling */
    width: 1px; /* Line thickness */
    background-color: var(--border-color); /* Line color */
  }

  .journey-histogram {
    display: none;
    /* Clean vertical stack without background distraction */
  }
}
