* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #030b18;
  overflow-x: hidden;
}

/* --- Hero gradient background --- */
.hero-bg {
  background: linear-gradient(
    to bottom,
    #030b18 0%,
    #050d1a 15%,
    #091d3a 35%,
    #0d2d55 52%,
    #1a5a8a 68%,
    #3a94c0 82%,
    #6cc8e8 95%,
    #88d8f0 100%
  );
}

/* --- Fade mask canvas layer --- */
/* --- Radial fade mask (center is clear, edges are full) --- */
.fade-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 55% at 50% 48%,
    rgba(3, 11, 24, 0.92) 0%,
    rgba(3, 11, 24, 0.65) 40%,
    rgba(3, 11, 24, 0.0) 100%
  );
  pointer-events: none;
}

/* --- Animated staggered reveals --- */
.reveal { opacity: 0; }
.reveal.show { animation: fadeUp 0.75s ease forwards; }

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

/* --- Hero CONTENT --- */
.hero-sphere-canvas {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  filter: drop-shadow(0 0 15px rgba(108, 200, 232, 0.3));
}

.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: twinkle var(--duration) ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: var(--opacity); transform: scale(1); }
}

.shooting-star {
  position: absolute;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: 999px;
  transform-origin: right center;
}

/* Brighter head for the shooting star */
.shooting-star::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.8), 0 0 5px 0px #ffffff;
}

@keyframes shootingStarAnim {
  0% {
    transform: translateX(0) translateY(0) rotate(var(--angle));
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(var(--distance)) translateY(var(--distance-y)) rotate(var(--angle));
    opacity: 0;
  }
}

/* --- Badge pill --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 15, 35, 0.72);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 4px;
  padding: 5px 14px;
  backdrop-filter: blur(6px);
}
.badge-dot {
  width: 6px; height: 6px;
  background: #4aa8d8;
  border-radius: 1px;
  flex-shrink: 0;
}
.badge-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
}

/* --- Headline typography --- */
.headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.12;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.02em;
}
.headline em {
  font-style: italic;
  color: #a8d8f0;
}

/* --- Buttons --- */
.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: #ffffff;
  color: #0a1628;
  border: none;
  padding: 11px 22px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: #e8f4fc;
  transform: translateY(-1px);
}

.btn-secondary {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: #0d1b2e;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 11px 22px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  background: #122440;
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

/* --- Nav --- */
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: #ffffff; }

.logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #ffffff;
}
.logo-icon {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, #4aa8d8, #6cc8e8);
  border-radius: 2px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(255,255,255,0.8);
  margin: 4px 0;
  border-radius: 1px;
}

/* --- Bento Grid Styles --- */
.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(74, 168, 216, 0.4), transparent 40%, transparent 60%, rgba(74, 168, 216, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float 6s ease-in-out 3s infinite; }

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
.animate-pulse-glow { animation: pulse-glow 4s ease-in-out infinite; }

@keyframes bar-grow {
  0% { height: 10%; }
  50% { height: 90%; }
  100% { height: 10%; }
}
.bar-1 { animation: bar-grow 3s ease-in-out infinite; }
.bar-2 { animation: bar-grow 4s ease-in-out 1s infinite; }
.bar-3 { animation: bar-grow 3.5s ease-in-out 2s infinite; }

@keyframes dash {
  to { stroke-dashoffset: 0; }
}
.path-draw {
   stroke-dasharray: 1000;
   stroke-dashoffset: 1000;
   animation: dash 4s linear infinite;
 }

 /* --- Scroll Transition Section --- */
 .scroll-char {
   opacity: 0.1;
   transition: opacity 0.1s ease;
   display: inline-block;
 }
 
 .scroll-title-container {
    transition: background-color 0.1s ease;
  }

  /* --- Marquee Section --- */
  .marquee-container {
    display: flex;
    gap: 2rem;
    width: max-content;
    will-change: transform;
  }

  .marquee-item {
     width: 600px;
     height: 400px;
     border-radius: 1.5rem;
     overflow: hidden;
     flex-shrink: 0;
     border: 1px solid rgba(255,255,255,0.1);
     background: #050d1a;
   }

  .marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .marquee-item:hover img {
     transform: scale(1.05);
   }

   /* --- Pricing Section --- */
   .pricing-card {
     background: rgba(255, 255, 255, 0.03);
     border: 1px solid rgba(255, 255, 255, 0.08);
     backdrop-filter: blur(12px);
     transition: all 0.3s ease;
   }

   .pricing-card:hover {
     border-color: rgba(108, 200, 232, 0.3);
     transform: translateY(-8px);
     background: rgba(255, 255, 255, 0.05);
   }

   .pricing-card.featured {
     border-color: rgba(108, 200, 232, 0.5);
     background: rgba(108, 200, 232, 0.05);
   }

   .price-bg-transition {
      transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* --- FAQ Section --- */
    .faq-item {
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .faq-question {
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 2rem 0;
      transition: color 0.3s ease;
    }

    .faq-question:hover {
      color: #6cc8e8;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
      color: rgba(255, 255, 255, 0.5);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .faq-item.active .faq-answer {
      max-height: 200px; /* Arbitrary large enough value */
      padding-bottom: 2rem;
    }

    .faq-icon {
      transition: transform 0.4s ease;
      color: rgba(255, 255, 255, 0.3);
    }

    .faq-item.active .faq-icon {
      transform: rotate(180deg);
      color: #6cc8e8;
    }

    /* --- CTA Section --- */
    .cta-bg {
      background: linear-gradient(
        to bottom,
        #050d1a 0%,
        #0d2d55 30%,
        #1a5a8a 55%,
        #3a94c0 80%,
        #88d8f0 100%
      );
    }

    /* --- Footer Styles --- */
    .footer-link {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem;
      color: rgba(3, 11, 24, 0.5);
      transition: color 0.2s;
      text-decoration: none;
    }
    .footer-link:hover {
      color: #030b18;
    }

    /* --- AI Feature Section Styles --- */
    .fade-bottom {
      -webkit-mask-image: linear-gradient(to bottom, black 52%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 52%, transparent 100%);
    }
    .icon-circle {
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .check-circle {
      width: 20px; height: 20px;
      border-radius: 50%;
      background: rgba(108, 200, 232, 0.1);
      border: 1px solid rgba(108, 200, 232, 0.2);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

    .cards-area {
      position: relative;
      height: 320px;
      margin-bottom: 0;
    }
    .card-left  { position: absolute; left: 0;   top: 30px; width: 250px; z-index: 10; }
    .card-mid   { position: absolute; left: 50%; transform: translateX(-50%); top: 42px; width: 280px; z-index: 20; }
    .card-right { position: absolute; right: 0;  top: 0;    width: 260px; z-index: 10; }

    @media (max-width: 680px) {
      .cards-area { height: auto; display: flex; flex-direction: column; gap: 20px; }
      .card-left, .card-mid, .card-right { position: static; transform: none; width: 100%; }
    }

    .todo-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 10px;
      transition: all 0.3s ease;
    }
    .todo-item.active {
      background: rgba(255, 255, 255, 0.03);
      transform: translateX(4px);
    }

    .todo-checkbox {
      width: 18px; height: 18px;
      border-radius: 5px;
      border: 1.5px solid rgba(255, 255, 255, 0.1);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }
    .todo-checkbox.checked {
      background: #6cc8e8;
      border-color: #6cc8e8;
      box-shadow: 0 0 15px rgba(108, 200, 232, 0.4);
    }
    .todo-checkbox svg {
      opacity: 0;
      transform: scale(0.5);
      transition: opacity 0.2s ease 0.05s, transform 0.2s ease 0.05s;
    }
    .todo-checkbox.checked svg {
      opacity: 1;
      transform: scale(1);
    }

    .todo-label {
      font-size: 11px;
      color: #ccc;
      transition: color 0.3s, text-decoration 0.3s;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .todo-label.done {
      color: #555;
      text-decoration: line-through;
    }

    .todo-tag {
      margin-left: auto;
      font-size: 9px;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 4px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.7); }
    }
    .pulse-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #6cc8e8;
      animation: pulse-dot 1.2s ease-in-out infinite;
      flex-shrink: 0;
    }

    .progress-track {
      height: 3px;
      background: #333;
      border-radius: 99px;
      overflow: hidden;
      margin-top: 8px;
    }
    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #4aa8d8, #6cc8e8);
      border-radius: 99px;
      transition: width 0.7s cubic-bezier(0.4,0,0.2,1);
    }

    @keyframes count-up {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .count-anim { animation: count-up 0.4s ease forwards; }

    @keyframes slide-in {
      from { opacity: 0; transform: translateX(10px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    .action-item {
      display: flex; align-items: center; gap: 7px;
      animation: slide-in 0.35s ease forwards;
    }

    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
    .cursor { animation: blink 1s step-end infinite; color: #6cc8e8; }

    @keyframes glow-pulse {
      0%,100% { box-shadow: 0 6px 24px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.045), 0 0 0 0 rgba(108,200,232,0); }
      50%      { box-shadow: 0 6px 24px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.045), 0 0 16px 2px rgba(108,200,232,0.1); }
    }
    .glow-active { animation: glow-pulse 2.5s ease-in-out infinite; }
  
    .footer-heading {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #030b18;
      margin-bottom: 1.25rem;
    }