@import url("https://fonts.googleapis.com/css?family=Karla:100,200,300,400,700&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

/* ==== RESET ==== */
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Karla", Arial, sans-serif;
  background-image: linear-gradient(
    to bottom,
    #051937,
    #04162d,
    #041322,
    #030e18,
    #04070a
  );
  color: #fff;
  box-sizing: border-box;
  width: 100vw;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

/* ==== NAVBAR ==== */
.main-header {
  width: 100%;
  left: 0;
  top: 0;
  background: transparent !important;
  box-shadow: none !important;
  position: absolute;
  z-index: 50;
  padding: 0;
  margin: 0;
  border: none;
}

.main-header .inner {
  max-width: 1240px;
  width: 94vw;
  margin: 14px auto 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 16px 16px;
  backdrop-filter: blur(6px);
  padding-left: 2vw;
  padding-right: 2vw;
  position: relative;
}

/* Logo */
.logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* Desktop nav links */
nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
nav a {
  font-size: 1rem;
  color: #ffffff;
  padding: 10px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  font-weight: 700;
  position: relative;
}
nav a.active,
nav a:hover {
  color: #ffffff;
}
nav a.active::after,
nav a:hover::after {
  content: "";
  display: block;
  width: 70%;
  height: 2px;
  background: #00e6e6;
  border-radius: 1px;
  margin: 5px auto 0;
}

/* Hamburger toggle (only on mobile ≤900px) */
.burger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
  z-index: 60;
}
.burger span {
  display: block;
  width: 32px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transform-origin: center center;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.burger.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ==== MOBILE HEADER PADDING & DROPDOWN UNDER 900px ==== */
@media (max-width: 900px) {
  /* breathing room above/below the navbar */
  .main-header .inner {
    padding-top: 24px;
    padding-bottom: 16px;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 0 0 10px 10px;
    padding-left: 8vw;
    padding-right: 8vw;
  }

  /* hide desktop nav */
  nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100vw;
    min-height: 230px;
    background: rgba(17, 24, 39, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 6px 48px rgba(10, 12, 18, 0.21);
    z-index: 999;
    padding: 38px 0 30px;
    animation: dropdownFade 0.3s;
    gap: 1.5rem;
  }
  nav.show {
    display: flex;
  }

  /* show burger toggle */
  .burger {
    display: flex;
  }

  /* fade-in animation */
  @keyframes dropdownFade {
    from {
      opacity: 0;
      transform: translateY(-14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* dropdown link styling */
  nav a {
    font-size: 1.16rem;
    color: #fff;
    padding: 12px 0;
    width: 80vw;
    text-align: center;
    border-radius: 7px;
    transition: background 0.16s, color 0.16s;
    letter-spacing: 2px;
    background: transparent;
  }
  nav a.active,
  nav a:hover {
    /* background: linear-gradient(90deg, #0df5e3 0%, #9c5fff 100%); */
    /* background-image: radial-gradient(circle, #140820, #0c091d, #050a19, #020913, #04070a); */
    background-color: #E63939;
    box-shadow: 0 4px 16px rgba(45, 215, 221, 0.13);
    text-decoration: none;
  }
  nav a.active::after,
  nav a:hover::after {
    display: none !important;
  }
}

/* ===== HERO SECTION & EVERYTHING BELOW REMAINS UNCHANGED ===== */

/* ...the rest of your CSS (hero, features, showcase, FAQ, CTA, footer, etc.) stays exactly as it was... */

/* ===== HERO SECTION (unchanged) ===== */
.hero {
  background-image: linear-gradient(
    to bottom,
    #051937,
    #04162d,
    #041322,
    #030e18,
    #04070a
  );
  min-height: 100vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  width: 100%;
  padding: 4rem 2rem 2rem 2rem;
}
.hero-text {
  flex: 1;
  max-width: 480px;
  margin-right: 2rem;
  text-align: left;
}
.tagline {
  color: #00e6e6;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.hero-text h1 {
  font-size: 2.7rem;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  font-weight: 700;
}
.hero-text p {
  font-size: 1.17rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #e5e8ed;
}
.hero-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-media .slider-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
}
#slider {
  position: relative;
  width: 340px;
  height: 680px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
#slider img {
  display: none;
}
#slider canvas {
  width: 100% !important;
  height: 100% !important;
  border-radius: 24px;
}
#pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  margin-left: 0.5rem;
}
#pagination button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background: #fff;
  opacity: 0.22;
  transition: opacity 0.25s, background 0.25s;
  cursor: pointer;
  outline: none;
}
#pagination button.active,
#pagination button:hover {
  opacity: 1;
  background: #00e6e6;
}

/* Responsive: horizontal dots and more padding for mobile/tablet */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.2rem 6vw 1.4rem 6vw !important;
  }
  .hero-text {
    margin: 0 auto 2rem auto;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 520px;
  }
  .hero-media {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-media .slider-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  #pagination {
    flex-direction: row;
    gap: 12px;
    margin-left: 0;
    margin-top: 12px;
  }
  #slider {
    width: 240px;
    height: 480px;
  }
}
@media (max-width: 600px) {
  .hero-container {
    padding: 1.6rem 5vw 1.1rem 5vw !important;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .hero-text {
    margin: 0 auto 1.4rem auto;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 98vw;
  }
  .hero-media {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 480px) {
  #slider {
    width: 150px;
    height: 320px;
  }
  .hero-text h1 {
    font-size: 1.2rem;
  }
  .hero-text p {
    font-size: 0.98rem;
  }
}

/* Why Telestream section */

#features-heading {
  font-weight: 400; /* Light by default */
  color: #e0e0e0; /* Optional: softer white */
  line-height: 1.3;
}

#features-heading span#animated-title {
  display: inline-block;
  font-weight: 800; /* Bold only this part */
  color: #ffffff; /* Brighter to pop */
}

.features-section {
  position: relative;
  background-image: linear-gradient(
    to top,
    #051937,
    #04162d,
    #041322,
    #030e18,
    #04070a
  );
  padding: 82px 0 60px 0;
  width: 100vw;
  overflow: hidden;
}

#stars {
  box-shadow: 885px 1026px #fff, 544px 565px #fff, 1037px 1361px #fff,
    1222px 447px #fff, 1978px 812px #fff, 1679px 377px #fff, 1885px 1800px #fff,
    497px 410px #fff, 345px 1907px #fff, 1217px 1696px #fff, 1315px 624px #fff,
    823px 1439px #fff, 1620px 1640px #fff, 1531px 428px #fff, 1667px 1835px #fff,
    1112px 1278px #fff, 1637px 522px #fff, 1476px 1547px #fff,
    1149px 1342px #fff, 1002px 1357px #fff;
  width: 1px;
  height: 1px;
  animation: animStar 120s linear infinite;
}
#stars2 {
  box-shadow: 400px 1800px #fff, 1800px 900px #fff, 1000px 200px #fff,
    1200px 1500px #fff, 800px 300px #fff, 200px 700px #fff, 700px 1500px #fff,
    1500px 1200px #fff, 1700px 800px #fff, 600px 1100px #fff;
  width: 2px;
  height: 2px;
  animation: animStar 220s linear infinite;
}
#stars3 {
  box-shadow: 900px 1400px #fff, 300px 1600px #fff, 1700px 300px #fff,
    500px 700px #fff, 1200px 600px #fff, 100px 1000px #fff, 600px 500px #fff,
    1100px 1600px #fff, 1300px 900px #fff, 1600px 1100px #fff;
  width: 3px;
  height: 3px;
  animation: animStar 320s linear infinite;
}

/* Slow star movement (adjust duration to make slower/faster) */
@keyframes animStar {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-2000px);
  }
}

.features-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  position: relative; /* Make content stack above particles */
  z-index: 1;
}

.features-header {
  text-align: center;
  margin-bottom: 48px;
}

.features-tag {
  color: #7a7afc;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.features-header h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
  line-height: 1.16;
}

.features-header .bold {
  font-weight: 800;
  color: #fff;
}

.features-lead {
  color: #b9bed1;
  font-size: 1.18rem;
  max-width: 520px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 42px;
}

.feature-card {
  background: rgba(10, 15, 32, 0.86);
  border-radius: 22px;
  box-shadow: 0 4px 36px rgba(0, 0, 0, 0.13);
  padding: 38px 24px 32px 24px;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-card:hover {
  transform: translateY(-7px) scale(1.035);
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  background: linear-gradient(140deg, #2e73fa 0%, #a259f7 48%, #33f0c8 100%);
  border-radius: 18px;
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px auto;
}
.feature-icon .material-icons {
  color: #fff;
  font-size: 38px;
}

.feature-card h3 {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 800;
  margin: 0 0 14px 0;
  letter-spacing: 0.01em;
}

.feature-card p {
  color: #b9bed1;
  font-size: 1.03rem;
  margin: 0;
  line-height: 1.52;
}

.bold span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  transition: opacity 0.16s, transform 0.32s cubic-bezier(0.37, 1.6, 0.74, 0.98);
}
.bold span.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive grid for tablets/phones */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-section {
    padding: 52px 0 40px 0;
  }
}

/* ===== End of Why TeleStream Section ===== */

/* App Features Section */
/* body {
  font-family: 'Karla', Arial, sans-serif;
  margin: 0;
  padding: 0;
} */

/* background-image: linear-gradient(to bottom, #051937, #04162d, #041322, #030e18, #04070a); */
/* ─────────────────────────────────────────────── */
/* 1.  BACKGROUND WRAPPER                         */
/* ─────────────────────────────────────────────── */
.feature-showcase-bg {
  background: linear-gradient(
      to bottom,
      #051937,
      #04162d,
      #041322,
      #030e18,
      #04070a
    ),
    url("https://images.unsplash.com/photo-1465101046530-73398c7f28ca?auto=format&fit=crop&w=1200&q=80")
      center/cover no-repeat;
  width: 100vw;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 0;
}

/* ─────────────────────────────────────────────── */
/* 2.  CARD                                       */
/* ─────────────────────────────────────────────── */
.feature-showcase {
  background: rgba(21, 29, 58, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 72px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(6.5px);
  -webkit-backdrop-filter: blur(6.5px);

  display: flex;
  gap: 54px;
  align-items: center;
  justify-content: center;

  max-width: 1350px;
  margin: auto;
  padding: 58px 64px;
  position: relative; /* ← needed for tablet header */
}

/* ─────────────────────────────────────────────── */
/* 3.  NAV DOTS (DESKTOP)                         */
/* ─────────────────────────────────────────────── */
.feature-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-dot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f5f6fa;
  border: 1.5px solid #eaeaea;
  box-shadow: 0 3px 14px rgba(30, 40, 60, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, width 0.33s, height 0.33s;
  z-index: 1;
}
.feature-dot:not(:first-child) {
  margin-top: -27px;
} /* overlap */
.feature-dot .material-icons {
  font-size: 26px;
  color: #8f98ac;
  transition: color 0.16s;
}

.feature-dot.active {
  background: #25d3e5;
  box-shadow: 0 8px 38px rgba(46, 226, 255, 0.3);
  width: 108px;
  height: 108px;
  border: none;
  z-index: 3;
}
.feature-dot.active .material-icons {
  color: #fff;
}
.feature-dot::after {
  display: none;
} /* triangle hidden desktop */

/* ─────────────────────────────────────────────── */
/* 4.  PHONE SCREEN                               */
/* ─────────────────────────────────────────────── */
.feature-screen {
  width: 350px;
  min-width: 270px;
  height: 700px;
  position: relative;
  margin: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-img {
  position: absolute;
  inset: 0;
  width: 350px;
  height: 700px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 12px 46px rgba(34, 40, 70, 0.13);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4, 2, 0.65, 0.94);
}
.feature-img.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* ─────────────────────────────────────────────── */
/* 5.  DESCRIPTION PANEL (DESKTOP)                */
/* ─────────────────────────────────────────────── */
.feature-desc-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 360px;
  max-width: 440px;
  padding-left: 20px;
}

/* header (title + subtitle) */
.feature-desc-header {
  width: 100%;
  text-align: left;
  margin-bottom: 34px;
}
.feature-desc-heading {
  font-size: 2.6rem;
  font-weight: 900;
  color: #e7e9f5;
  margin: 0 0 8px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.feature-desc-subtitle {
  font-size: 1.17rem;
  color: #b1c5dd;
  font-weight: 500;
  line-height: 1.48;
  margin: 0;
  max-width: 95%;
}

/* each feature row (number + content) */
.feature-desc-row {
  display: none;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  animation: fadein 0.6s;
  margin-top: 8px;
}
.feature-desc-row.active {
  display: flex;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-number {
  font-size: 4.2rem;
  font-weight: 900;
  color: #e7e9f5;
  opacity: 0.33;
  letter-spacing: -2px;
  min-width: 70px;
  margin: 0;
  line-height: 1;
}
.feature-content {
  max-width: 340px;
}
.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 16px 0 8px;
}
.feature-detail {
  font-size: 1.08rem;
  color: #b3c9e2;
  font-weight: 400;
  line-height: 1.56;
  margin: 0;
}

/* ─────────────────────────────────────────────── */
/* 6.  TABLET  (768 – 1200 px)                    */
/*    ORDER:  header ➜ icons ➜ phone ➜ text        */
/* ─────────────────────────────────────────────── */
@media (min-width: 700px) and (max-width: 1300px) {
  .feature-showcase {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 70px 20px 40px !important;
    max-width: 950px !important;
    width: 97vw !important;
    justify-content: flex-start !important;
    margin: 0 auto !important;
    position: relative !important;
  }

  /* 1. Header section (Cool App Features + subtitle) - Order 1 */
  .feature-desc-header {
    width: 100% !important;
    max-width: 670px !important;
    margin: 0 auto -20px auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    order: 1 !important;
  }

  .feature-desc-heading {
    font-size: 2.35rem !important;
    font-weight: 900 !important;
    color: #e7e9f5 !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.18 !important;
    text-align: center !important;
  }

  .feature-desc-subtitle {
    font-size: 1.08rem !important;
    color: #b1c5dd !important;
    font-weight: 300 !important;
    line-height: 1.48 !important;
    margin: 0 0 0 0 !important;
    max-width: 70% !important;
    text-align: center !important;
  }

  /* 2. Navigation dots (movie, live_tv, etc.) - Order 2 */
  .feature-nav {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 0px 0 !important;
    order: 2 !important;
    width: 100% !important;
  }

  .feature-dot {
    width: 62px !important;
    height: 62px !important;
    margin: 0 !important;
  }

  .feature-dot.active {
    width: 84px !important;
    height: 84px !important;
  }

  .feature-dot:not(:first-child) {
    margin-left: -22px !important;
  }

  /* 3. Screenshot/Image - Order 3 */
  .feature-screen {
    width: 280px !important;
    height: 570px !important;
    margin: 0 auto -14px auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    order: 3 !important;
  }

  .feature-img,
  .feature-screen {
    width: 280px !important;
    height: 570px !important;
  }

  /* Hide the feature-desc-panel container but keep header visible */
  .feature-desc-panel {
    order: 4 !important;
    align-items: center !important;
    padding-left: 0 !important;
    max-width: 560px !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: contents !important; /* This makes the container "disappear" but keeps children */
  }

  /* 4. Individual feature description rows - Order 4 (after screenshot) */
  .feature-desc-row {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0px !important;
    text-align: center !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 560px !important;
    order: 4 !important;
  }

  /* Only show the active feature description */
  .feature-desc-row:not(.active) {
    display: none !important;
  }

  /* Feature number (01, 02, etc.) */
  .feature-number {
    font-size: 4.5rem !important;
    min-width: unset !important;
    margin: 0 0 8px 0 !important;
    font-weight: 900 !important;
    color: #e7e9f5 !important;
    opacity: 0.2 !important;
    letter-spacing: -2px !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  /* Feature content (title + description) */
  .feature-content {
    max-width: 420px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .feature-title {
    font-size: 1.28rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 8px !important;
    margin-top: 10px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .feature-detail {
    font-size: 1.08rem !important;
    color: #b3c9e2 !important;
    font-weight: 400 !important;
    line-height: 1.56 !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

/* ─────────────────────────────────────────────── */
/* 7.  SMALL SCREENS  (< 768 px)                  */
/* ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .feature-showcase {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 70px 20px 40px !important;
    max-width: 950px !important;
    width: 97vw !important;
    justify-content: flex-start !important;
    margin: 0 auto !important;
    position: relative !important;
  }

  /* 1. Header section (Cool App Features + subtitle) - Order 1 */
  .feature-desc-header {
    width: 100% !important;
    max-width: 670px !important;
    margin: 0 auto -20px auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    order: 1 !important;
  }

  .feature-desc-heading {
    font-size: 2.35rem !important;
    font-weight: 900 !important;
    color: #e7e9f5 !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.18 !important;
    text-align: center !important;
  }

  .feature-desc-subtitle {
    font-size: 1.08rem !important;
    color: #b1c5dd !important;
    font-weight: 300 !important;
    line-height: 1.48 !important;
    margin: 0 0 0 0 !important;
    max-width: 70% !important;
    text-align: center !important;
  }

  /* 2. Navigation dots (movie, live_tv, etc.) - Order 2 */
  .feature-nav {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 0px 0 !important;
    order: 2 !important;
    width: 100% !important;
  }

  .feature-dot {
    width: 62px !important;
    height: 62px !important;
    margin: 0 !important;
  }

  .feature-dot.active {
    width: 84px !important;
    height: 84px !important;
  }

  .feature-dot:not(:first-child) {
    margin-left: -22px !important;
  }

  /* 3. Screenshot/Image - Order 3 */
  .feature-screen {
    width: 280px !important;
    height: 570px !important;
    margin: 0 auto -14px auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    order: 3 !important;
  }

  .feature-img,
  .feature-screen {
    width: 280px !important;
    height: 570px !important;
  }

  /* Hide the feature-desc-panel container but keep header visible */
  .feature-desc-panel {
    order: 4 !important;
    align-items: center !important;
    padding-left: 0 !important;
    max-width: 560px !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: contents !important; /* This makes the container "disappear" but keeps children */
  }

  /* 4. Individual feature description rows - Order 4 (after screenshot) */
  .feature-desc-row {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0px !important;
    text-align: center !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 560px !important;
    order: 4 !important;
  }

  /* Only show the active feature description */
  .feature-desc-row:not(.active) {
    display: none !important;
  }

  /* Feature number (01, 02, etc.) */
  .feature-number {
    font-size: 4.5rem !important;
    min-width: unset !important;
    margin: 0 0 8px 0 !important;
    font-weight: 900 !important;
    color: #e7e9f5 !important;
    opacity: 0.2 !important;
    letter-spacing: -2px !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  /* Feature content (title + description) */
  .feature-content {
    max-width: 420px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .feature-title {
    font-size: 1.28rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 8px !important;
    margin-top: 10px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .feature-detail {
    font-size: 1.08rem !important;
    color: #b3c9e2 !important;
    font-weight: 400 !important;
    line-height: 1.56 !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

/* FAQ */
.faq-section-gradient {
  justify-items: center;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(
    to top,
    #051937,
    #04162d,
    #041322,
    #030e18,
    #04070a
  );
  /* display: flex;            add */
  /* justify-content: center;  add */
  /* align-items: center;      add (if you want vertical centering too) */
  /* min-height: 100vh;  */
}

/* === Wave canvas === */
.faq-wave-canvas {
  position: absolute;
  inset: 0; /* shorthand for top/right/bottom/left:0 */
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* keep UI clickable */
}

/* === Layout === */
.faq-section-row {
  position: relative; /* lift above canvas */
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 1440px;
  margin: 0;
  padding: 68px 18px 80px 0;
  gap: 58px;
}

.faq-img-col {
  flex: 0 0 50%; /* up to 50 % of the row */
  max-width: 50%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.faq-img-col img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.faq-content-col {
  position: relative; /* above canvas */
  z-index: 1;
  flex: 1 1 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 360px;
  max-width: 660px;
}

.faq-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.15;
  letter-spacing: -0.7px;
}

.faq-subtitle {
  font-size: 1.19rem;
  font-weight: 400;
  color: #b1c5dd;
  margin-bottom: 28px;
}

.faq-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* === Accordion cards === */
.faq-card {
  background: linear-gradient(110deg, #984ae3 0%, #f35dc3 100%);
  border-radius: 14px;
  box-shadow: 0 8px 44px rgba(136, 30, 255, 0.11);
  overflow: hidden;
  transition: box-shadow 0.15s;
  color: #fff;
  margin: 0;
}

.faq-toggle {
  background: none;
  border: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 1.75rem; /* smaller header */
  font-weight: 800;
  color: #fff;
  padding: 18px 24px; /* reduced height */
  cursor: pointer;
  outline: none;
}

/* question text & icon */
.faq-question {
  font-size: 1.1rem;
  font-weight: 800;
}
.faq-icon {
  font-size: 2.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.7, 1.1, 0.55, 1), color 0.17s;
}
.faq-toggle[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: #e9e8fb;
}

/* === Animated answer panel === */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.3s ease, transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.faq-answer.open {
  opacity: 1;
  transform: translateY(0);
}

/* ✱ tweaked: removed fixed max-height so JS can animate true height */
.faq-toggle[aria-expanded="true"] + .faq-answer {
  padding: 8px 68px 36px;
}
/*  Tablet and below  ─────────────────────────────────────────────── */
@media (max-width: 1050px) {
  /* hide illustration */
  .faq-img-col {
    display: none;
  }

  .faq-title,
  .faq-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* narrower overall width  + more side space */
  .faq-section-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 40px 6vw 48px; /* ← increased side padding */
  }

  .faq-content-col {
    max-width: 88vw;
  }

  /* slimmer untoggled header */
  .faq-toggle {
    padding: 12px 20px;
  }
}

/*  Phones / small devices  ───────────────────────────────────────── */
@media (max-width: 700px) {
  .faq-img-col {
    display: none;
  }

  .faq-title,
  .faq-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .faq-section-row {
    gap: 20px;
    padding: 28px 6vw 30px; /* extra side space on phones */
  }

  .faq-content-col {
    max-width: 88vw;
  }

  /* even tighter header for collapsed state */
  .faq-toggle {
    font-size: 1rem;
    padding: 10px 16px; /* ↓ height */
  }
}

/* Download Section */
.cta-section-bg {
  position: relative;
  width: 100vw;
  min-height: 640px; /* Or your preferred height */
  background: url("/assets/img/bg-blend-4.png") center center/cover no-repeat;
  overflow: hidden;
}

.cta-section-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    #051937cc,
    #04162dcc,
    #041322cc,
    #030e18cc,
    #04070acc
  );
  /* The 'cc' at the end is opacity (hex): ~80%. Tweak for more/less blend */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.cta-container {
  background: rgba(19, 37, 59, 0.18);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.3px);
  -webkit-backdrop-filter: blur(4.3px);
  border: 1px solid rgba(19, 37, 59, 0.29);
  padding: 60px 50px;
  text-align: center;
  max-width: 960px;
  width: 100%;
  color: #fff;
  z-index: 2;
}

/* headings & copy */
.cta-heading {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.cta-sub {
  font-size: 1.05rem;
  opacity: 0.9;
  margin: 0 0 34px;
}

/* ----- buttons ----- */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  min-width: 200px;
  padding: 15px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  transition: all 0.25s ease;
}

/* primary pink button */
.cta-btn.primary {
  background: #ff00e7;
  color: #fff;
}
.cta-btn.primary:hover {
  filter: brightness(1.15);
}

/* outlined pink button */
.cta-btn.outline {
  background: #000;
  color: #ff00e7;
  border: 3px solid #ff00e7;
}
.cta-btn.outline:hover {
  background: #ff00e7;
  color: #fff;
}

@media (max-width: 900px) {
  .cta-section-bg {
    min-height: 350px;
  }
  .cta-container {
    padding: 36px 20px;
    max-width: 600px;
  }
  .cta-heading {
    font-size: 1.45rem;
  }
  .cta-btn {
    min-width: 150px;
    font-size: 0.97rem;
    padding: 13px 12px;
  }
  .cta-buttons {
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .cta-section-bg {
    min-height: 220px;
    padding: 0;
  }
  .cta-section-gradient {
    align-items: flex-start;
  }
  .cta-container {
    padding: 22px 7vw;
    max-width: 99vw;
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.11);
  }
  .cta-heading {
    font-size: 1.01rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .cta-sub {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .cta-btn {
    min-width: 90vw;
    font-size: 0.92rem;
    padding: 11px 0;
  }
}

@media (max-width: 430px) {
  .cta-section-bg {
    min-height: 280px;
    padding: 20px;
  }
  .cta-container {
    padding: 9vw 3vw;
    max-width: 100vw;
  }
  .cta-btn {
    min-width: 88vw;
    font-size: 0.87rem;
    padding: 9px 0;
  }
}

/* Footer */

/* ==================== FOOTER ==================== */
.footer {
  background-image: linear-gradient(
    to bottom,
    #140820,
    #0c091d,
    #050a19,
    #020913,
    #04070a
  );
  color: #fff;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px 60px; /* plenty of bottom padding to avoid cut-off */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* simple 1px line, 50% wide, centered */
.footer-line {
  width: 50%;
  max-width: 300px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

/* nav */
.footer-nav {
  list-style: none;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.footer-nav li a {
  color: #b9bed1;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-nav li a:hover {
  color: #00e6e6;
  text-decoration: underline;
}

/* 

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
nav a {
  font-size: 1rem;
  color: #b9bed1;
  padding: 10px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  font-weight: 700;
  position: relative;
}
nav a.active,
nav a:hover {
  color: #00e6e6;
}
nav a.active::after,
nav a:hover::after {
  content: "";
  display: block;
  width: 70%;
  height: 2px;
  background: #00e6e6;
  border-radius: 1px;
  margin: 5px auto 0;
}

*/

/* copyright */
.footer-copy {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 8px;
}

/* ========== MOBILE ========== */
@media (max-width: 700px) {
  .footer-inner {
    padding: 20px 16px 32px;
    gap: 12px;
  }
  .footer-line {
    width: 70%;
    max-width: 200px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .footer-nav li a {
    font-size: 0.95rem;
  }
  .footer-copy {
    font-size: 0.85rem;
    margin-top: 4px;
  }
}

@media (max-width: 400px) {
  .footer-inner {
    padding: 16px 12px 28px;
  }
  .footer-line {
    width: 90%;
    max-width: 150px;
  }
  .footer-nav li a {
    font-size: 0.9rem;
  }
  .footer-copy {
    font-size: 0.8rem;
  }
}
