:root {
  --primary: rgb(127,90,240);
  --primary-dark: #5a3ec8;
  --accent: #ffd803;
  --background: #181828;
  --background-light: #23233a;
  --card-bg: #23233a;
  --text: #f7f7fb;
  --muted: #b1b1d1;
  --cta-bg: var(--primary);
  --cta-text: #fff;
  --cta-hover: #5a3ec8;
  --border-radius: 16px;
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
  background: var(--background);
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--background-light);
  z-index: 100;
  padding: 0.7rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  height: 60px;
}

.logo {
  display: inline-block;   /* keep it together */
  white-space: nowrap;     /* no wrapping */
}

.logo svg {
  display: block;          /* avoid baseline spacing issues */
  max-width: 100%;         /* responsive shrink */
  height: 32px; 
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  z-index: 201;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s, font-weight 0.2s;
  position: relative;
  cursor: pointer;
}
.nav-link.active,
.nav-link[aria-current="true"] {
  color: var(--accent);
  font-weight: 800;
}
.nav-link.active::after,
.nav-link[aria-current="true"]::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  margin-top: 0.2em;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    background: #23233a;
    padding: 2rem 1rem;
    z-index: 200;
    gap: 1.2rem;
    box-shadow: 0 4px 24px rgba(127,90,240,0.12);
    align-items: flex-end;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: block;
    margin-left: auto;
  }
}

.snap-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  padding: 0 1rem;
  width: 100%;
  background: var(--background-light);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.snap-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.intro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

/* Hero Section */
.hero-section {
  position: relative;
  color: var(--text);
  background: var(--background-light);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('robot.jpg') center/cover no-repeat;
  z-index: 0;
  opacity: 0.5;
}
.hero-content {
  position: relative;
  margin: 6rem 5rem 5rem 5rem;
  z-index: 1;
  max-width: 800px;
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(24,24,40,0.7);
  border-radius: 18px;
}

@media (max-width: 600px) {
	.hero-content {
	  margin: 0;
	  
	}
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.hero-content img {
  max-width: 100%;
  height: auto;
  display: block; /* removes bottom gap */
}

.hero-content video {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-content ul {
    list-style: disc;       /* or none, if you don’t want bullets */
    padding-left: 1.5rem;   /* controls how far bullets/text are indented */
    margin-left: 0;         /* remove browser default margin */
    text-align: left;       /* force alignment left inside centered parent */
}

.hero-content li {
    margin-bottom: 0.5rem;  /* spacing between items */
}

.gradient-text {
  background: linear-gradient(90deg, #7f5af0 30%, #ffd803 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subheadline {
  font-size: 1.18rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
  line-height: 1.7;
  font-weight: 500;
}

.highlight-keyword {
  color: #7f5af0; /* Moodaroo primary */
  font-weight: 700;
}

.highlight-keyword:nth-of-type(2) { color: #ffd803; }
.highlight-keyword:nth-of-type(3) { color: #5a3ec8; }
.highlight-keyword:nth-of-type(5) { color: #22223b; }


.cta-btn {
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  border-radius: var(--border-radius);
  padding: 1rem 2.2rem;
  font-size: 1.13rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(127,90,240,0.10);
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  display: inline-block;
  margin-top: 1.2rem;
  text-decoration: none;
}
.cta-btn.prominent {
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--cta-hover);
  outline: none;
  transform: translateY(-2px) scale(1.04);
}
.down-arrow {
  background: none;
  border: none;
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 10;
  animation: bounceDown 1.5s infinite;
  opacity: 0.85;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0);}
  50% { transform: translateX(-50%) translateY(10px);}
}
.down-arrow svg polyline {
  stroke: #ffd803;
}

/* Cards Row */
.cards-row {
  display: flex;
  /*flex-wrap: wrap; */
  justify-content: center;
  gap: 2.2rem;
  width: 100%;
  margin: 2rem 0;
}

/* Card Design */
.card {
  background: #23233a;
  color: #f7f7fb;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(127,90,240,0.10);
  padding: 2rem 1.5rem;
  margin: 1rem;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  will-change: opacity, transform;
}
.card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.card .icon {
  margin-bottom: 1rem;
  background-color: #ffd803;
  padding: 10px;
  border-radius: 5px;
  border: 2px solid;
  opacity: 0.9;
}
.card h3 {
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: center;
}
.card p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
  text-align: center;
  font-weight: 500;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(127,90,240,0.15);
  transform: translateY(-4px) scale(1.03);
}

.why-summary {
  text-align: center;
  font-size: 1.12rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0;
}

/* Waitlist Section */
.waitlist-section {
  background: var(--background-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  color: var(--text);
}
.waitlist-section h2 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  font-weight: 800;
}
.cta-vertical {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 0.7rem;
  width: 100%;
  max-width: 350px;
}
#email {
  padding: 0.7rem 1rem;
  border-radius: var(--border-radius);
  border: 1.5px solid #b1b1d1;
  font-size: 1rem;
  transition: border-color 0.15s;
  background: #fff;
  color: #23233a;
}
#email:focus {
  border-color: var(--primary);
  outline: none;
}
.cta-btn:disabled {
  background: #b1b1d1;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
  font-size: 0.98em;
}
.checkbox-row label {
  color: #b1b1d1;
  font-weight: 500;
}
.checkbox-row a {
  color: var(--primary-dark);
  text-decoration: underline;
}
.form-message {
  min-height: 1.3em;
  color: #e63946;
  font-size: 0.98em;
  margin-top: 0.2rem;
}
.form-message.success {
  color: #219653;
  font-weight: 600;
}

.form-message.error {
    color: #ff0000;
    font-weight: 600;
}

.privacy-note {
    font-size: 0.94em;
    color: #b1b1d1;
    margin-top: 0.5rem;
}

footer {
  position: relative;
  color: #b1b1d1;
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  z-index: 100;
}
footer a {
  color: var(--primary-dark);
  text-decoration: underline;
  margin: 0 0.2em;
}
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .cards-row {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}
@media (max-width: 900px) {
  .cards-row {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .card {
    min-width: 220px;
    max-width: 380px;
  }
}
@media (max-width: 700px) {
  .navbar { flex-direction: row; gap: 0.5rem; padding: 0.5rem 1rem; }
  .hero-content, .section-inner { padding-left: 0.5rem; padding-right: 0.5rem; }
  .cta-vertical { max-width: 100%; }
  .section-centered {
    min-height: calc(100vh - 48px); /* adjust if navbar is shorter on mobile */
    padding-bottom: 70px;
  }
  .section-summary {
    font-size: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Center content vertically and add space for the arrow */
.section-centered {
  min-height: calc(100vh - 60px); /* 60px = navbar height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 90px; /* ensures arrow is visible */
  box-sizing: border-box;
}

/* Style for the summary text, like the hero subtitle */
.section-summary {
  font-size: 1.15rem;
  color: var(--muted);
  /*margin-top: 2rem;*/
  margin-bottom: 0;
  line-height: 1.7;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Emphasized words (no gradients, just color) */
.emph-yellow { color: #ffd803; font-weight: 700; }
.emph-purple { color: rgb(127,90,240); font-weight: 700; }

/* Down arrow always visible at bottom of section */
.why-section .down-arrow,
.how-section .down-arrow {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounceDown 1.5s infinite;
  opacity: 0.85;
}


/*.info-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  font-size: 14px;
  margin-bottom: 0.5em;
}

.info-bar:last-child {
  margin-bottom: 0; 
}
*/
/* Stack items vertically on very small screens */
/*@media (max-width: 480px) {
  .info-bar {
    flex-direction: column;
    align-items: center;   
    gap: 0.4em;            
  }

  .info-bar span {
    display: none;         
  }
}*/


.info-bar {
    color: #ffd803;                 /* text color */
    text-align: center;           /* center content */
    padding: 1rem;
    margin-top: 2rem;            /* space from content above */
    position: relative;           /* ensures it sits above .hero-bg */
    z-index: 2;
    display: block;               /* make sure it takes full width */
}
.info-bar a {
    color: inherit;
    text-decoration: none;
    margin: 0 0.25rem;
}
.info-bar span {
    margin: 0 0.25rem;
}

@media (max-width: 600px) {
  .info-bar {
	display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .info-bar a { display: block; }
  .info-bar span { display: none; } /* hide dots when stacked */
}
