 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
  }

  body {
    background: #f9f9fb;
  }


  /* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: #EAECF7;
  position: fixed;   /* changed */
  top: 0;            /* added */
  left: 0;           /* added */
  width: 100%;       /* added */
  z-index: 1000;
}


  /* Logo */
  .logo {
    font-size: 29px;
    font-weight: 600;
    color: black;
  }

  .logo span {
    color: #7c3aed; /* Purple */
  }

  /* Nav Menu */
  .nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
  }

  .nav-links li a {
    text-decoration: none;
    color: #333333cb;
    font-size: 18px;
    transition: 0.3s;
  }

  .nav-links li a:hover {
    color: #7c3aed;
  }

  /* Button */
  .demo-btn {
    background: #5D1EED;
    color: white;
    padding: 12px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
  }

  .demo-btn:hover {
    background: #6d28d9;
  }

  /* Hamburger */
  .hamburger {

    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: black;
    border-radius: 5px;
    transition: 0.3s;
  }

  /* Mobile Menu */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #EAECF7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px 0;
    transform: translateY(-130%);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;

  }

  .mobile-menu.active {
    transform: translateY(0);
  }

  .mobile-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
  }

  .mobile-menu .demo-btn {
    margin-top: 10px;
  }

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

    .demo-btn.desktop-btn {
      display: none;
    }

    .hamburger {
      display: flex;
    }
  }
  


  #videoPopup {
  display: none;
  position: fixed;
  inset: 0;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  margin-bottom: 50px;
}

.video-box {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.video-box iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close-btn {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 40px;
  color: rgb(88, 130, 255);
  cursor: pointer;
  font-weight: bold;
  border: 1px solid rgb(0, 0, 0);
  background: rgb(255, 255, 255);
  border-radius: 100px;
  max-width: 500px;

}




      .hero {
      position: relative;
      height: 100vh;
      width: 100%;
      background: #eaecf7d7;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #111;
    }

    /* VIDEO BACKGROUND */
    .hero video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;            /* Push behind content */
      opacity: 1;           /* 50% opacity */
      pointer-events: none;   /* Prevent interaction */
    }

    .hero-content {
      position: relative;
      z-index: 1;
      padding: 20px;
    }

    .hero h1 {
      font-size: 5rem;
      margin-bottom: 5px;
      font-weight: 600;
      color: rgb(45, 44, 44);
    }

    .hero p {
      font-size: 1.7rem;
      margin-bottom: 30px;
      color: #423f3fd9;
    }

    .buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn {
      padding: 14px 28px;
      font-size: 1.2rem;
      font-weight: 700;
      border-radius: 6px;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .primary-btn {
      background-color: #5D1EED;
      color: white;
      padding: 20px 70px;
      border-radius: 20px;
      border: none;
    }

    .primary-btn:hover {
      background-color: #0056b3;
    }

    .secondary-btn {
      background-color: transparent;
      border: none;
      color: #111;
    }

    .secondary-btn:hover {
      color: rgb(0, 26, 255);
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2rem;
      }

      .hero p {
        font-size: 1rem;
      }
    }
    
.playbtn {
    display: inline-block;
    padding: 5px;
    border-radius: 100em;
    box-shadow: -2px 0 0 0 black; /* shifts border visually to left */
}

.brush-underline {
    position: relative;
    display: inline-block;
    color: #6055DB;
  }

  .brush-underline::after {
    content: "";
    position: absolute;
    left: -4px;
    bottom: -6px;
    width: calc(100% + 8px);
    height: 20px;
    border-radius: 100em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 28'%3E%3C!-- main stroke --%3E%3Cpath d='M4 18 C 40 22, 80 8, 150 14 S 260 20, 296 10' fill='none' stroke='%235B4FD8' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' opacity='1'/%3E%3C!-- thinner ghost stroke for texture --%3E%3Cpath d='M4 20 C 50 24, 90 10, 150 16 S 255 22, 296 13' fill='none' stroke='%235B4FD8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='0.35'/%3E%3C!-- subtle highlight --%3E%3Cpath d='M10 16 C 60 10, 110 18, 160 12 S 250 18, 290 9' fill='none' stroke='%238b82e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.3'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-size: 100% 100%;

    /* Animate using clip-path so the curve itself stays intact */
    clip-path: inset(0 100% 0 0);
    animation: drawBrush 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
  }

  @keyframes drawBrush {
    to {
      clip-path: inset(0 0% 0 0);
    }
  }

  /* Trigger on hover variant */
  .brush-hover::after {
    animation: none;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .brush-hover:hover::after {
    clip-path: inset(0 0% 0 0);
  }






  /* ----- all previous body styles moved to this wrapper div ----- */
.page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #ccdef6 0%, #e9ecff 45%, #e9ecff 55%, #e9ecff 65%, #b0d2ff 100%);
  padding: 2rem 1.5rem;
}

/* main section container (exactly as before) */
.sectiong {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* ----- TITLE with fading underline ----- */
.title-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.title-wrapper h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #010f1a;
  display: inline-block;
  position: relative;
  padding-bottom: 0.25rem;
}

.title-wrapper h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2b7be4, #1e4b8fb6, #2b7be4, transparent);
 
  border-radius: 4px;
}

/* ----- glass container (how it works cards) ----- */
.glass-panel {
  background: rgba(234, 236, 247, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 48px;
  padding: 3rem 2rem;
  box-shadow: 0 30px 50px -20px rgba(0, 40, 100, 0.3),
              inset 0 1px 2px rgba(234, 236, 247, 0.6);
  border: 1px solid rgba(234, 236, 247, 0.5);
  margin-bottom: 4rem;
}

/* flex row for cards + arrows */
.cards-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* individual card */
.step-card {
  flex: 1 1 220px;
  min-width: 200px;
  background: #eaecf700;
  border-radius: 32px;
  padding: 2rem 1.2rem 1.8rem;
  box-shadow: 0 20px 30px -10px rgba(0, 30, 70, 0);
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid rgba(234, 236, 247, 0);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 35px -12px rgba(18, 67, 140, 0.25);
}

/* card image (icon) */
.card-icon {
  font-size: 3.8rem;
  color: #1e4f8f;
  margin-bottom: 1.2rem;
  background: #ecf5ff00;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0a2a44;
  margin-bottom: 0.4rem;
}

.step-card p {
  color: #3a4f6c;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 200px;
  margin: 0 auto;
}

/* arrow between cards (SVG custom) */
.arrow-divider {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  margin: 0 -0.2rem;
}

.arrow-svg {
  width: 40px;
  height: 40px;
  stroke: #1e4f8f;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 4px rgba(0,30,70,0.1));
}

/* hide arrows on small screens (stack) */
@media (max-width: 880px) {
  .cards-row {
    flex-direction: column;
  }
  .arrow-divider {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }
  .title-wrapper h1 {
    font-size: 2.5rem;
  }
}

/* ----- bottom twin containers (benefits + use cases) ----- */
.bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}

.benefits-box, .usecases-box {
  flex: 1 1 300px;
  background: #EAECF7;
  border-radius: 36px;
  padding: 2.2rem 2rem;
  box-shadow: 0 25px 40px -20px rgba(18, 52, 106, 0.25);
  border: 1px solid rgba(234, 236, 247, 0.7);
  transition: all 0.15s ease;
}

.benefits-box:hover, .usecases-box:hover {
  box-shadow: 0 30px 45px -18px #0f3f7a;
}

.benefits-box h2, .usecases-box h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #0a2a44;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefits-box h2 i, .usecases-box h2 i {
  color: #2b7be4;
  font-size: 2rem;
}

/* benefit list */
.benefit-list {
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #1f3a5f;
  font-weight: 450;
}

.benefit-list li i {
  color: #0f7b3a;
  font-size: 1.6rem;
  width: 2rem;
  text-align: center;
}

/* dental use cases */
.dental-image-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
  background: #ecf3fc;
  padding: 0.8rem 1.2rem;
  border-radius: 60px;
}

.dental-image-row .fa-tooth {
  font-size: 3.4rem;
  color: #1e4f8f;
  background: #EAECF7;
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.use-case-item:hover {
  background: #EAECF7;
  border-color: #2b7be4;
}
.use-case-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.use-case-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fcff;
  padding: 0.8rem 1.5rem 0.8rem 1rem;
  border-radius: 50px;
  border: 1px solid #caddf0;
  transition: 0.1s ease;
}

.use-case-item:hover {
  background: #EAECF7;
  border-color: #2b7be4;
}

.use-case-item i {
  font-size: 2rem;
  color: #1e4f8f;
  width: 2.6rem;
  text-align: center;
}

.use-case-item .case-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1d3d66;
}

/* fine details */
.fa-arrow-right-long,
.fa-arrow-right {
  font-size: 2rem;
  color: #2b7be4;
}

/* extra micro-interactions */
.arrow-svg:hover {
  stroke: #0a2a44;
  transform: scale(1.1);
  transition: 0.2s;
}

/* container spacing */
.bottom-row {
  margin-top: 3rem;
}

/* small screens fine tuning */
@media (max-width: 600px) {
  .glass-panel {
    padding: 2rem 1rem;
  }

  .step-card {
    min-width: 160px;
  }

  .benefits-box h2,
  .usecases-box h2 {
    font-size: 1.8rem;
  }
}


.Images-1{
  height: 100px;
}

.Images-2{
  height: 130px;
}

.arrow{
  z-index: 10;
}


.page-wrap1 {
  position: relative;
  z-index: 5;
}

.page-wrap1::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;

  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.7) 0px, rgba(255,255,255,0.5) 2px, transparent 4px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.6) 0px, rgba(255,255,255,0.4) 1.5px, transparent 3px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.5) 0px, rgba(255,255,255,0.3) 2.5px, transparent 5px),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.7) 0px, rgba(255,255,255,0.4) 2px, transparent 4px),
    radial-gradient(circle at 25% 55%, rgba(255,255,255,0.4) 0px, rgba(255,255,255,0.2) 1.5px, transparent 3px),
    radial-gradient(circle at 60% 35%, rgba(255,255,255,0.6) 0px, rgba(255,255,255,0.3) 2px, transparent 4px);

  background-repeat: no-repeat;
}


.check3d {
  font-size: 60px;
  background: linear-gradient(145deg, #18a0ff, #0066cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(4px 6px 6px rgba(0,0,0,0.3));
  transform: perspective(500px) rotateX(15deg);
}

.caluclator-area{
             background: linear-gradient(145deg, #d0e6ff 0%, #b0d2ff 100%);
  padding-top: 20px;
  padding-bottom: 20px;



}    /* NO * selector, NO body tag used — everything inside .app container */
    .app {
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', sans-serif;
      min-height: 100vh;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(145deg, #d0e6ff 0%, #b0d2ff 100%);
      position: relative;
      overflow-x: hidden;
      overflow-y: hidden;
      padding: 1rem;
    }

    /* ensure all children don't break box-sizing by forcing inherit (no universal) – set manually on block elements */
    .app, .app > * {
      box-sizing: border-box;  /* only direct children get border-box, deeper will rely on inheritance but most are block, we'll set explicitly on card */
    }

    /* particles – same glowing effect, no asterisk used */
    .particles {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
    }

    .particle {
      position: absolute;
      background: rgba(255, 255, 255, 0.6);
      border-radius: 50%;
      filter: blur(40px);
      opacity: 0.25;
      animation: floatParticle 20s infinite alternate ease-in-out;
    }

    @keyframes floatParticle {
      0% { transform: translate(0, 0) scale(1); }
      100% { transform: translate(30px, -30px) scale(1.2); }
    }

    /* individual particle shapes (no changes) */
    .p1 { width: 300px; height: 300px; top: -50px; left: -50px; background: #c1e0ff; filter: blur(70px); opacity: 0.3; animation-duration: 25s;  }
    .p2 { width: 400px; height: 400px; bottom: -100px; right: -50px; background: #9bc5ff; filter: blur(90px); opacity: 0.25; animation-duration: 18s; }
    .p3 { width: 200px; height: 200px; top: 30%; right: 15%; background: #d9efff; filter: blur(50px); opacity: 0.4; animation-duration: 22s; }
    .p4 { width: 350px; height: 350px; bottom: 10%; left: 10%; background: #adcfff; filter: blur(80px); opacity: 0.2; animation-duration: 30s; }
    .p5 { width: 180px; height: 180px; top: 70%; left: 30%; background: #e0f0ff; filter: blur(40px); opacity: 0.35; animation-duration: 15s; }

    /* main glass card — no body or * used */
    .calculator-card {
      position: relative;
      z-index: 10;
      width: min(1000px, 90vw);
      max-width: 1100px;
      background: rgba(255, 255, 255, 0.35);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border-radius: 48px;
      padding: 2.8rem 3rem;
      box-shadow: 0 30px 60px -20px rgba(0, 40, 80, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 20px 40px -10px rgba(0, 30, 70, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.4);
      transition: box-shadow 0.2s;
      aspect-ratio: 16 / 9;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-sizing: border-box; /* enforce border-box */
    }

    /* title with extra gradient line (the "lines in gradient" enhancement) */
    .card-title {
      font-size: 2rem;
      font-weight: 600;
      letter-spacing: -0.02em;
      color: #0f2b4f;
      margin: 0 0 1.2rem 0;          /* reset h2 default */
      text-shadow: 0 2px 5px rgba(255, 255, 255, 0.5);
      position: relative;
      padding-bottom: 0.75rem;
      margin: 0 auto;
    }
    /* slider sections */
    .sliders-container {
      display: flex;
      flex-direction: column;
      gap: 1.8rem;
      margin: 1rem 0 1.5rem 0;
    }

    .slider-group {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .slider-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .slider-label {
      font-size: 1rem;
      font-weight: 500;
      color: #1e3b5c;
      letter-spacing: -0.01em;
      text-transform: uppercase;
      opacity: 0.9;
    }

    .slider-value {
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(4px);
      padding: 0.25rem 1rem;
      border-radius: 40px;
      font-size: 1.1rem;
      font-weight: 600;
      color: #0b2b4a;
      box-shadow: 0 4px 8px rgba(0, 20, 40, 0.1), inset 0 1px 2px white;
      border: 1px solid rgba(255, 255, 255, 0.7);
    }

    .slider-input-wrapper {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

    .slider-min-max {
      font-size: 0.85rem;
      font-weight: 500;
      color: #2e4a70;
      opacity: 0.8;
      min-width: 2.2rem;
    }

    /* gradient slider track – this is the main "line" that now has gradient */
    input[type=range] {
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
      height: 8px;
      background: linear-gradient(90deg, #6ea8fe, #2b6ef0);
      border-radius: 30px;
      box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 110, 255, 0.3);
      outline: none;
    }

    /* webkit thumb */
    input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 22px;
      height: 22px;
      background: white;
      border-radius: 50%;
      box-shadow: 0 0 15px #3b82f6, 0 0 30px #a0c8ff, 0 4px 10px rgba(0, 30, 80, 0.2);
      border: 2px solid rgba(255, 255, 255, 0.9);
      cursor: pointer;
      transition: 0.1s;
      margin-top: -0px;
    }

    input[type=range]::-webkit-slider-thumb:hover {
      transform: scale(1.15);
      box-shadow: 0 0 25px #3b82f6, 0 0 45px #ffffff;
    }

    /* firefox thumb & track */
    input[type=range]::-moz-range-thumb {
      width: 22px;
      height: 22px;
      background: white;
      border-radius: 50%;
      box-shadow: 0 0 15px #3b82f6, 0 0 30px #a0c8ff, 0 4px 10px rgba(0, 30, 80, 0.2);
      border: 2px solid rgba(255, 255, 255, 0.9);
      cursor: pointer;
      transition: 0.1s;
    }

    input[type=range]::-moz-range-thumb:hover {
      transform: scale(1.15);
      box-shadow: 0 0 25px #3b82f6, 0 0 45px #ffffff;
    }

    input[type=range]::-moz-range-track {
      width: 100%;
      height: 8px;
      background: linear-gradient(90deg, #6ea8fe, #2b6ef0);
      border-radius: 30px;
      box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 110, 255, 0.3);
    }

    /* result area */
    .result-area {
      background: rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-radius: 36px;
      padding: 1.5rem 2rem;
      margin: 1.2rem 0 1.8rem 0;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.5);
      box-shadow: 0 15px 25px -10px rgba(0, 30, 70, 0.15), inset 0 1px 3px white;
    }

    .result-label {
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      color: #1f3a5f;
      text-transform: uppercase;
      margin-bottom: 0.5rem;
    }

    .result-number {
      font-size: 4.2rem;
      font-weight: 700;
      line-height: 1;
      color: #0a2540;
      text-shadow: 0 4px 12px rgba(255, 255, 255, 0.6);
      letter-spacing: -0.02em;
      margin: 0.2rem 0 0.4rem;
    }

    .result-footnote {
      font-size: 0.95rem;
      color: #2d4b74;
      font-weight: 400;
    }

    /* CTA button */
    .cta-button {
      background: linear-gradient(115deg, #2b6ef0, #5695f8);
      border: none;
      border-radius: 80px;
      padding: 1.2rem 2.5rem;
      width: fit-content;
      margin: 0 auto 0.2rem auto;
      font-size: 1.25rem;
      font-weight: 600;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      cursor: pointer;
      box-shadow: 0 20px 30px -8px #2b6ef0, 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
      transition: all 0.2s;
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255, 255, 255, 0.5);
      letter-spacing: -0.01em;
      box-sizing: border-box;
    }

    .cta-button:hover {
      transform: scale(1.02);
      box-shadow: 0 30px 40px -8px #3b7eff, 0 0 0 2px rgba(255, 255, 255, 0.7) inset;
      background: linear-gradient(115deg, #3a78f2, #66a0ff);
    }

    .cta-button:active {
      transform: scale(0.99);
    }

    /* responsive fine‑tuning */
    @media (max-width: 800px) {
      .calculator-card {
        aspect-ratio: auto;
        padding: 2rem;
      }
      .result-number {
        font-size: 3.2rem;
      }
      .card-title {
        font-size: 1.8rem;
      }
    }

    @media (max-width: 480px) {
      .calculator-card {
        padding: 1.5rem;
        border-radius: 36px;
      }
      .slider-value {
        font-size: 0.95rem;
        padding: 0.2rem 0.8rem;
      }
      .result-number {
        font-size: 2.6rem;
      }
      .cta-button {
        padding: 1rem 1.8rem;
        font-size: 0.7rem;
      }
    }

    /* keep everything inside .app nice */
    .app {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }



    /* ===============================
   SCROLL ANIMATION SYSTEM
================================ */

/* Base hidden state */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* When visible */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero headline animation */
.hero h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* Subheadline delayed fade */
.hero p {
  opacity: 0;
  transform: translateY(20px);
  animation: subFade 1s ease forwards;
  animation-delay: 0.4s;
}

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

/* CTA buttons scale-in */
.hero .buttons {
  opacity: 0;
  transform: scale(0.95);
  animation: ctaScale 0.8s ease forwards;
  animation-delay: 0.7s;
}

@keyframes ctaScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stagger utility (for lists/cards) */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: 
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* When parent becomes active */
.stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* Auto stagger delays */
.stagger.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.active > *:nth-child(6) { transition-delay: 0.6s; }




    .faq-root {
      position: relative;
      min-height: 100vh;        /* fills at least full viewport */
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(145deg, #d0e6ff 0%, #b0d2ff 100%);
      background-attachment: fixed;
      overflow-x: hidden;
      overflow-y: hidden;
      /* cosmic vignette + grain will be added via pseudo-elements */
    }

    /* ---------- vignette (like body::before) ---------- */
    .faq-root::before {
      content: '';
      position: fixed;
      inset: 0;
      background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(25, 20, 40, 0.15) 90%);
      pointer-events: none;
      z-index: 1;
    }

    /* ---------- grain texture (like body::after) ---------- */
    .faq-root::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc0IiBudW1PY3RhdmVzPSIzIiAvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNmKSIgb3BhY2l0eT0iMC4wMjUiIC8+PC9zdmc+');
      opacity: 0.1;
      pointer-events: none;
      z-index: 2;
      mix-blend-mode: overlay;
    }

    /* ---------- floating dust particles – now inside .faq-root ---------- */
    .particle {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      filter: blur(30px);
      z-index: 0;
      animation: float 20s infinite alternate ease-in-out;
    }
    .particle1 {
      width: 260px; height: 260px;
      top: 5%; left: 3%;
      background: rgba(200, 220, 255, 0.35);
      animation-duration: 28s;
    }
    .particle2 {
      width: 340px; height: 340px;
      bottom: 0; right: 0;
      background: rgba(230, 210, 255, 0.3);
      animation-duration: 32s;
      animation-delay: -5s;
    }
    .particle3 {
      width: 180px; height: 180px;
      top: 60%; left: 75%;
      background: rgba(245, 240, 255, 0.4);
      animation-duration: 22s;
      filter: blur(40px);
    }
    @keyframes float {
      0% { transform: translate(0, 0) scale(1); }
      100% { transform: translate(-30px, 30px) scale(1.15); }
    }

    /* ---------- main glass panel (wrapper) – unchanged but nested inside .faq-root ---------- */
    .faq-wrapper {
      position: relative;
      z-index: 20;
      width: 90%;
      max-width: 820px;
      margin: 2.5rem auto;
      background: rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      border-radius: 48px;
      padding: 3rem 2.2rem;
      border: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    }

    .faq-wrapper::after {
      content: '';
      position: absolute;
      top: -15px; left: -15px; right: -15px; bottom: -15px;
      background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
      z-index: -1;
      border-radius: 64px;
      filter: blur(40px);
      opacity: 0.7;
    }

    h1 {
      font-size: 3.2rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #1d2b4b;
      text-align: center;
      margin-bottom: 2.8rem;
      text-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
    }

    /* ---------- accordion cards ---------- */
    .accordion-item {
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-radius: 32px;
      margin-bottom: 1.3rem;
      border: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
      transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease;
      overflow: hidden;
    }
    .accordion-item:hover {
      transform: scale(1.01) translateY(-2px);
      box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.2), 0 0 0 1.5px rgba(255, 255, 255, 0.4) inset, 0 0 30px rgba(255, 255, 255, 0.3);
    }

    .accordion-question {
      background: none;
      border: none;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.6rem 2rem;
      cursor: pointer;
      font-family: inherit;
      text-align: left;
      transition: background 0.2s;
      border-radius: 32px 32px 0 0;
    }
    .accordion-question:focus-visible {
      outline: 2px solid rgba(255, 255, 255, 0.6);
      outline-offset: 2px;
    }

    .question-text {
      font-size: 1.3rem;
      font-weight: 500;
      color: #2b3d60;
    }

    .expand-icon {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: linear-gradient(145deg, #9bbaff, #b8a6ff);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 2.2rem;
      font-weight: 300;
      box-shadow: 0 6px 16px rgba(130, 150, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      line-height: 1;
    }
    .expand-icon span {
      display: inline-block;
      transition: transform 0.2s ease;
    }
    .accordion-question:hover .expand-icon {
      transform: scale(1.06);
      box-shadow: 0 10px 24px rgba(150, 170, 255, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.6) inset;
    }

    .accordion-answer {
      max-height: 0;
      padding: 0 2rem;
      overflow: hidden;
      transition: max-height 0.35s ease-out, padding 0.3s ease, border-color 0.2s;
      background: rgba(255, 255, 255, 0.03);
      border-top: 1px solid transparent;
    }

    .accordion-item.open .accordion-answer {
      max-height: 180px;
      padding: 0 2rem 1.8rem 2rem;
      border-top-color: rgba(255, 255, 255, 0.2);
    }

    .answer-content {
      font-size: 1.05rem;
      color: #365073;
      line-height: 1.6;
      font-weight: 400;
    }

    @media (max-width: 550px) {
      .faq-wrapper { padding: 2rem 1.2rem; }
      h1 { font-size: 2.4rem; }
      .question-text { font-size: 1.15rem; }
      .accordion-question { padding: 1.2rem 1.3rem; }
      .expand-icon { width: 40px; height: 40px; font-size: 2rem; }
      .accordion-item.open .accordion-answer { padding: 0 1.3rem 1.5rem 1.3rem; }
    }








    /* ===============================
   LIGHT BLUE FADED BACKGROUND
================================= */

.faded-bg {
  --dot: rgba(255, 255, 255, 0.65);
  --dot-size: 1.4px;
  --spacing: 22px;

  position: relative;
  overflow: hidden;
  border-radius: 12px;

  background:
    radial-gradient(
      circle,
      var(--dot) var(--dot-size),
      transparent calc(var(--dot-size) + 0.6px)
    ),
    linear-gradient(145deg, #d0e6ff 0%, #b0d2ff 100%);

  background-size:
    var(--spacing) var(--spacing),
    100% 100%;
}

/* Soft light fade edges */
.faded-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0) 40%,
    rgba(208, 230, 255, 0.4) 70%,
    rgba(176, 210, 255, 0.8) 90%,
    rgba(176, 210, 255, 1) 100%
  );
}

/* Ensure content stays above overlay */
.faded-bg > * {
  position: relative;
  z-index: 1;
}


/* ===============================
   CONTAINER
================================= */

.container-footer {
  width: 100%;
  max-width: 1400px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
background: linear-gradient(
  to right,
  #AFC4E1 0%,
  #AEC6E9 50%,
  #A5BFE4 100%
);
}


/* ===============================
   FOOTER
================================= */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.footer-text {
  font-size: 14px;
  font-weight: 400;
  color: #4a6fa5;
  letter-spacing: 0.5px;
}


/* ===============================
   HERO TEXT
================================= */

.hero-text {
  text-align: center;
  opacity: 0;
  animation: fadeInScale 1.2s ease-out 0.5s forwards;
  margin-top: auto;
}


/* ===============================
   METALLIC TEXT (Light Version)
================================= */

.metallic-text {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(60px, 9vw, 200px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;

background: linear-gradient(
  180deg,
  #0f172a 0%,
  #1e293b 30%,
  #334155 55%,
  #7aa7e9 80%,
  #aac2e4 100%
);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.25));
}

/* Soft highlight overlay */
.metallic-text::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6) 0%,
    transparent 50%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  pointer-events: none;
}


/* ===============================
   ANIMATIONS
================================= */

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ===============================
   FLOATING PARTICLES (SOFT)
================================= */

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  filter: blur(1px);
  animation: float linear infinite;
  opacity: 0;
}

@keyframes float {
  0% {
    opacity: 0;
    transform: translateY(100vh) translateX(0);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-120px) translateX(60px);
  }
}