.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
  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: 42px 42px;
}

/* NAVBAR */
.navbar {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(7, 16, 31, 0.76);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
  transition: width 0.42s ease, height 0.42s ease, top 0.42s ease, padding 0.42s ease, background 0.42s ease;
}

.navbar.nav-compact {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  top: 16px;
  padding: 0 18px;
  justify-content: space-between;
  background: rgba(7, 16, 31, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.2);
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
  transition: 0.3s ease;
}

.nav-links a {
  position: relative;
  padding: 0.45rem 0;
}

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

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.nav-actions {
  display: flex;
  gap: 0.7rem;
  transition: 0.3s ease;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 155px 24px 90px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 120px 12% auto;
  height: 460px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-badge {
  position: relative;
  width: fit-content;
  margin: 0 auto 26px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.12);
}

.hero h1 {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  line-height: 1.06;
  letter-spacing: -0.065em;
}

.hero h1 span {
  background: linear-gradient(135deg, #ffffff, #93c5fd 35%, #38bdf8 80%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 780px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.hero-buttons {
  margin-top: 38px;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* DASHBOARD PREVIEW */
.hero-preview {
  width: min(1040px, 100%);
  margin: 78px auto 0;
  background: rgba(9, 20, 38, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 34px;
  box-shadow:
    var(--shadow),
    0 0 100px rgba(47, 124, 255, 0.2);
  overflow: hidden;
  transform-style: preserve-3d;
}

.preview-top {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.preview-top p {
  margin-left: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.red { background: #ff5f57; }
.yellow { background: #ffbd2e; }
.green { background: #28c840; }

.preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 1rem;
  padding: 1.3rem;
}

.preview-card {
  text-align: left;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 24px;
  padding: 1.25rem;
  transition: 0.25s ease;
}

.preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.42);
}

.preview-card.mission {
  grid-column: span 4;
}

.label {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.muted {
  color: var(--muted);
}

.blue {
  color: var(--cyan);
}

.task-list {
  grid-column: span 2;
}

.mentor-note {
  grid-column: span 2;
}

.task-row {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.task-row:last-child {
  border-bottom: 0;
}

.progress-bars {
  height: 120px;
  display: flex;
  align-items: end;
  gap: 0.45rem;
  margin-top: 1rem;
}

.progress-bars span {
  flex: 1;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.28);
  animation: barPulse 2.6s ease-in-out infinite alternate;
}

@keyframes barPulse {
  from { opacity: 0.7; transform: scaleY(0.92); }
  to { opacity: 1; transform: scaleY(1); }
}

/* DEMO VIDEO */
.demo-video-section {
  width: min(1040px, 100%);
  margin: 42px auto 0;
  display: block;
}

.demo-video-copy {
  display: none;
}

.demo-video-card {
  width: 100%;
  aspect-ratio: 16 / 9;

  border-radius: 28px;
  border: 1px solid rgba(96, 165, 250, 0.25);

  background:
    linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.18),
      rgba(15, 23, 42, 0.85)
    );

  backdrop-filter: blur(20px);

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

  gap: 1rem;

  overflow: hidden;

  position: relative;

  box-shadow:
    0 25px 80px rgba(0,0,0,0.35),
    0 0 80px rgba(59,130,246,0.15);
}

.demo-video-copy h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 1rem;
}

.demo-video-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.demo-video-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.3), transparent 45%),
    linear-gradient(135deg, rgba(47,124,255,0.28), rgba(255,255,255,0.05));
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.demo-video-card h3 {
  font-size: 2rem;
  font-weight: 800;
}

.demo-video-card p {
  color: var(--muted);
  font-size: 1rem;
}

.demo-video-button {
  width: 100%;
  height: 100%;

  border: none;
  background: transparent;
  color: var(--text);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
   cursor: pointer;

  gap: 24px;

   position: absolute;

  inset: 0;

 
}

.demo-video-button h3 {
  margin: 0;
  font-size: 3rem;
  font-weight: 900;
}

.demo-video-button:hover .video-play-orb {
  transform: scale(1.1);
}

.video-play-orb {
  width: 90px;
  height: 90px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2rem;

  background: linear-gradient(
    135deg,
    #3b82f6,
    #38bdf8
  );

  color: white;

  box-shadow:
    0 0 40px rgba(59,130,246,0.45);

  cursor: pointer;

  transition: all 0.3s ease;
}

.video-play-orb:hover {
  transform: scale(1.08);
}

@keyframes floatOrb {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* SECTIONS */
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0;
}

.section-head {
  max-width: 790px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-head p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.78;
}

.eyebrow {
  color: var(--cyan) !important;
  font-size: 0.82rem !important;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cards-3,
.feature-grid,
.batch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.glass-card,
.feature-card,
.batch-card,
.review-card {
  position: relative;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.058);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 28px;
  backdrop-filter: blur(20px);
  transition: 0.28s ease;
  overflow: hidden;
}

.glass-card::before,
.feature-card::before,
.batch-card::before,
.review-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 25% 10%, rgba(56, 189, 248, 0.16), transparent 35%);
  opacity: 0;
  transition: 0.28s ease;
  pointer-events: none;
}

.glass-card:hover,
.feature-card:hover,
.batch-card:hover,
.review-card:hover {
  transform: translateY(-7px) rotateX(2deg);
  border-color: rgba(56, 189, 248, 0.48);
  box-shadow: 0 24px 80px rgba(0,0,0,0.26), 0 0 70px rgba(56,189,248,0.1);
}

.glass-card:hover::before,
.feature-card:hover::before,
.batch-card:hover::before,
.review-card:hover::before {
  opacity: 1;
}

.glass-card h3,
.feature-card h3,
.batch-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.glass-card p,
.feature-card p,
.batch-card p,
.batch-card li {
  color: var(--muted);
  line-height: 1.75;
}

/* FLOW */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.flow-step {
  padding: 1.55rem;
  border-radius: 28px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: rgba(255, 255, 255, 0.055);
  transition: 0.25s ease;
}

.flow-step:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
}

.flow-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  margin-bottom: 1rem;
  font-weight: 950;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.35);
}

/* BATCHES */
.batch-card ul {
  margin: 1rem 0 1.4rem;
  padding-left: 1.1rem;
}

.batch-card.highlight {
  background: linear-gradient(180deg, rgba(47, 124, 255, 0.25), rgba(255, 255, 255, 0.06));
  border-color: rgba(56, 189, 248, 0.55);
}

/* REVIEWS */
.review-scroll {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.review-scroll::-webkit-scrollbar {
  width: 8px;
}

.review-scroll::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.32);
  border-radius: 999px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
}

.review-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 950;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 34px rgba(56,189,248,0.25);
}

.review-head h3 {
  font-size: 1.05rem;
}

.stars {
  color: #facc15;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

.review-card p {
  color: var(--muted);
  line-height: 1.75;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.25rem 1.45rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-item p {
  color: var(--muted);
  margin-top: 0.85rem;
  line-height: 1.75;
}

/* FOOTER */
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 62px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 950;
  font-size: 1.1rem;
}

.footer img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .nav-links {
    display: none;
  }

  .navbar.nav-compact {
    width: min(240px, calc(100% - 32px));
  }

  .preview-grid,
  .cards-3,
  .feature-grid,
  .batch-grid,
  .flow,
  .demo-video-section,
  .review-scroll {
    grid-template-columns: 1fr;
  }

  .preview-card,
  .preview-card.mission,
  .task-list,
  .mentor-note {
    grid-column: span 1;
  }
}

@media (max-width: 700px) {
  .nav-actions {
    display: none;
  }

  .hero {
    padding-top: 130px;
  }

  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ================================
   LANDING MOBILE FIX
   ================================ */

@media (max-width: 768px) {
  .hero,
  .hero-section,
  .landing-hero {
    padding: 24px 16px 48px;
    text-align: center;
  }

  .hero h1,
  .hero-title,
  .landing-hero h1 {
    font-size: 44px !important;
    line-height: 1.05 !important;
    letter-spacing: -1.8px;
  }

  .hero p,
  .hero-subtitle,
  .landing-hero p {
    font-size: 17px !important;
    line-height: 1.6;
  }

  .hero-actions,
  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-actions .btn,
  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .demo-card,
  .video-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: auto;
    padding: 24px;
  }

  .demo-card h2,
  .video-card h2 {
    font-size: 38px;
    line-height: 1.1;
  }
}


/* ===============================
   LANDING PAGE MOBILE FIX
================================ */

@media (max-width: 768px) {
  .noise-layer,
  .background-glow {
    overflow: hidden;
  }

  .navbar {
    width: calc(100% - 28px) !important;
    margin: 14px auto 0 !important;
    padding: 14px 18px !important;
    border-radius: 28px !important;
  }

  .nav-logo,
  .brand,
  .logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .nav-logo img,
  .brand img,
  .logo img {
    width: 42px !important;
    height: 42px !important;
    object-fit: contain !important;
  }

  .nav-links,
  .navbar nav,
  .nav-actions {
    display: none !important;
  }

  .hero {
    min-height: auto !important;
    padding: 110px 18px 60px !important;
    text-align: center !important;
  }

  .hero-badge {
    width: 100% !important;
    justify-content: center !important;
    font-size: 14px !important;
    padding: 12px 14px !important;
    line-height: 1.35 !important;
  }

  .hero h1,
  .hero-title {
    font-size: 46px !important;
    line-height: 1.02 !important;
    letter-spacing: -2px !important;
    margin-top: 28px !important;
  }

  .hero-text,
  .hero p {
    font-size: 18px !important;
    line-height: 1.65 !important;
    max-width: 100% !important;
    margin: 28px auto 0 !important;
  }

  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 32px !important;
  }

  .hero-buttons .btn,
  .hero-buttons a {
    width: 100% !important;
    min-height: 58px !important;
    justify-content: center !important;
    font-size: 17px !important;
  }

  .demo-preview,
  .demo-card,
  .video-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 42px !important;
    border-radius: 28px !important;
  }

  .demo-preview h2,
  .demo-card h2,
  .video-card h2 {
    font-size: 42px !important;
    line-height: 1.1 !important;
  }

  section {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* ===============================
   FINAL MOBILE NAVBAR FIX
================================ */

@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 72px !important;
    top: 12px !important;
    padding: 12px !important;
    border-radius: 26px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .brand {
    flex-shrink: 0 !important;
  }

  .brand-logo {
    width: 42px !important;
    height: 42px !important;
  }

  .brand span {
    font-size: 1rem !important;
  }

  .nav-links {
    display: none !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  .nav-actions .btn {
    min-height: 42px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  .hero {
    padding-top: 120px !important;
  }
}