html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: #0B0D12;
  color: #EDEDED;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 6rem;
  position: fixed;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.navbar.scrolled {
  background: rgba(11,13,18,0.6);
  backdrop-filter: blur(16px);
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  position: relative;
  text-align: center;
}

.hero-inner {
  max-width: 850px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 1rem 0;
}

.gradient-text {
  background: linear-gradient(90deg, #7F5AF0, #2CB67D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtext {
  font-size: 1.2rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}

/* BUTTONS */
.primary-btn {
  background: linear-gradient(90deg, #7F5AF0, #2CB67D);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(127,90,240,0.3);
}

.secondary-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  margin-left: 1rem;
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
}

.secondary-btn:hover {
  background: rgba(255,255,255,0.05);
}

.primary-btn,
.secondary-btn {
  display: inline-block;
  text-decoration: none;
}

/* Subtle grid background */
.hero-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
}

/* PRODUCT SECTION */
.product-preview {
  padding: 8rem 2rem;
  text-align: center;
}

.product-header h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.dashboard-wrapper {
  display: flex;
  justify-content: center;
}

.dashboard-mock {
  width: 1100px;
  height: 650px;
  background: #11131A;
  border-radius: 20px;
  display: flex;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transform: perspective(1200px) rotateX(4deg);
  transition: transform 0.5s ease;
}

.dashboard-mock:hover {
  transform: perspective(1200px) rotateX(0deg) scale(1.02);
}

.sidebar {
  width: 80px;
  background: #0E1016;
  border-radius: 20px 0 0 20px;
  padding: 1rem;
}

.nav-item {
  height: 40px;
  margin: 1rem 0;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.nav-item.active {
  background: linear-gradient(90deg, #7F5AF0, #2CB67D);
}

.dashboard-content {
  flex: 1;
  padding: 2rem;
}

.topbar {
  height: 50px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 2rem;
}

.card {
  background: #151822;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
}

.card.large {
  grid-column: span 2;
}

.bar {
  height: 12px;
  background: rgba(255,255,255,0.1);
  margin: 0.8rem 0;
  border-radius: 6px;
}

.bar.short {
  width: 60%;
}

.circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7F5AF0, #2CB67D);
  margin-top: 1rem;
}

/* MANIFESTO */
.manifesto {
  padding: 8rem 20%;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.8;
  opacity: 0.85;
}

/* GENERIC SECTION WRAPPER */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* PROBLEM SECTION */
.problem {
  padding: 8rem 2rem;
  background: #0E1117;
}

.problem h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  background: #151822;
  padding: 2rem;
  border-radius: 16px;
  text-align: left;
  transition: transform 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-6px);
}

.vision {
  padding: 8rem 2rem;
}

.vision h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.vision-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: left;
}

.audience {
  padding: 8rem 2rem;
  background: #0E1117;
}

.audience-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.audience-block {
  background: #151822;
  padding: 3rem;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.audience-block:hover {
  transform: translateY(-8px);
}

.audience-block ul {
  margin-top: 1.5rem;
  padding-left: 1rem;
  opacity: 0.7;
}

.audience-block li {
  margin-bottom: 0.5rem;
}

.waitlist {
  padding: 8rem 2rem;
  text-align: center;
}

.waitlist-inner {
  max-width: 600px;
  margin: 0 auto;
}

.waitlist input {
  width: 60%;
  padding: 1rem;
  border-radius: 8px;
  border: none;
  margin-right: 1rem;
  background: #151822;
  color: white;
}

.footer {
  padding: 3rem 6rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
}

/* PRODUCT PAGE */

.page-hero {
  padding: 12rem 2rem 6rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 3.5rem;
}

.feature-deep {
  padding: 6rem 2rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-text {
  direction: ltr;
}

.feature-mock {
  height: 400px;
  background: #151822;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* NAVBAR BASE */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 2rem;   /* smaller horizontal padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-sizing: border-box; /* critical */
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.launch-btn {
  background: linear-gradient(90deg, #7F5AF0, #2CB67D);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;  /* prevents weird wrapping */
}

/* LINKS */
.navbar a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  transition: 0.3s ease;
}

.navbar a:hover {
  color: white;
}

.navbar.scrolled {
  background: rgba(11,13,18,0.6);
  backdrop-filter: blur(16px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 2px;
  width: 25px;
  background: white;
  margin: 4px 0;
}

/* MOBILE */
@media (max-width: 900px) {

  .navbar {
    padding: 1rem 2rem;
  }

  .navbar nav {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: #0B0D12;
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
  }

  .navbar nav.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .vision-split {
    grid-template-columns: 1fr;
  }

  .audience-inner {
    grid-template-columns: 1fr;
  }

  .launch-btn {
    width: 100%;
  }
}

/* SCROLL REVEAL ANIMATIONS */

.problem-card,
.audience-block,
.feature-row {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ABOUT PAGE*/

.about-core {
  padding: 8rem 2rem;
}

.about-core .section-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.about-block {
  text-align: left;
}

.about-block h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-block p {
  opacity: 0.8;
  line-height: 1.8;
}

.founder {
  border-left: 2px solid rgba(127,90,240,0.5);
  padding-left: 2rem;
}

/* CONTACT PAGE */

.contact-section {
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-card {
  background: #151822;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
}

@media (max-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

/* LOGO */

.logo-img {
  height: 28px;
}

/* NAVBAR CLICK OUT*/

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* MODAL */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #151822;
  padding: 3rem;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal h2 {
  margin-bottom: 1rem;
}

.modal p {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}