:root {
  --obsidian: #1b1f23;
  --cyan: #00e5ff;
  --grey: #010203;
  --amber: #ffc107;
  --white: #f8f9fa;
  --neon-glow: 0 0 15px rgba(0, 229, 255, 0.5);
}

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

body {
  background-color: var(--obsidian);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.nav-logo,
.step-num,
.cta-btn {
  font-family: "Audiowide", cursive;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- PARALLAX HERO CONFIG --- */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  padding: 0 5%;
}

.parallax-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  z-index: -1;
  background: linear-gradient(rgba(27, 31, 35, 0.5), rgba(27, 31, 35, 0.9)),
    url("images/image_10.jpg");
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* --- ANIMATED MAPPING GRID --- */

.grid-overlay {
  position: absolute;
  inset: 0; /* cleaner than top/left/width/height */
  display: grid;
  pointer-events: none;
  z-index: 1;

  /* ensures rows size based on content instead of stretching */
  align-content: start;
}

.grid-square {
  aspect-ratio: 1 / 1;
  border: 0.5px solid rgba(0, 229, 255, 0.05);
  background: rgba(0, 229, 255, 0.05);
  opacity: 0;
}

@keyframes scanSquare {
  0% {
    opacity: 0;
    background: rgba(0, 229, 255, 0);
  }
  50% {
    opacity: 1;
    background: rgba(0, 229, 255, 0.15);
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.2);
  }
  100% {
    opacity: 0.3;
    background: transparent;
    border: 0.5px solid rgba(0, 229, 255, 0.1);
  }
}

.grid-square.active {
  animation: scanSquare 1.2s forwards ease-in-out;
}

/* --- HERO DRONES --- */
@keyframes droneHover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-drone {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  animation: droneHover 4s ease-in-out infinite;
}

.hero-drone--xlarge {
  width: 300px;
  top: 40px;
  left: 6%;
  animation-delay: 0.2s;
}

.hero-drone--medium {
  width: 190px;
  top: 100px;
  right: 8%;
  animation-delay: 1.2s;
}

@media (max-width: 768px) {
  .hero-drone--xlarge {
    width: 130px;
    top: 90px;
    left: 6%;
  }
  .hero-drone--medium {
    width: 110px;
    top: 100px;
    right: 8%;
  }
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 5%;
  background: rgba(27, 31, 35, 0.95);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.nav-logo {
  color: var(--cyan);
  font-size: 1.2rem;
  text-decoration: none;
  text-shadow: var(--neon-glow);
}

/* --- MOBILE RESPONSIVE TYPOGRAPHY --- */
h1 {
  font-size: clamp(2.2rem, 8vw, 6rem);
  margin-bottom: 15px;
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.8rem, 6vw, 3.5rem);
  text-align: center;
}
.cyan-text {
  color: var(--cyan);
  text-shadow: var(--neon-glow);
}
.tagline {
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: var(--white);
  max-width: 850px;
  margin: 0 auto 40px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

/* --- BUTTONS --- */
.cta-btn {
  background: var(--cyan);
  color: var(--obsidian);
  padding: 18px 35px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  box-shadow: var(--neon-glow);
  transition: 0.4s;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-3px);
  background: var(--white);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.8);
}

/* --- CONTENT LAYOUT --- */
.content-container {
  position: relative;
  z-index: 10;
  background-color: var(--obsidian);
  box-shadow: 0 -30px 50px rgba(0, 0, 0, 0.8);
}

.full-window-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 7%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* --- FEATURES GRID --- */
#features {
  max-width: 1380px !important;
  margin: 0px auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  border-radius: 4px;
  border-left: 4px solid var(--cyan);
}

/* --- WORKFLOW STEPS --- */
.step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.step-num {
  font-size: clamp(3rem, 10vw, 5rem);
  color: rgba(0, 229, 255, 0.15);
  line-height: 1;
  min-width: 130px;
}

/* --- FAQ / MISSION INTEL --- */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  cursor: pointer;
}
.faq-question {
  font-family: "Audiowide";
  color: var(--cyan);
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.faq-question span {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out, margin-top 0.3s ease;
  color: var(--white);
  font-size: 0.95rem;
}
.faq-item.active .faq-answer {
  max-height: 1500px;
  margin-top: 20px;
}
.faq-item.active .faq-question span {
  transform: rotate(45deg);
  color: var(--amber);
}

/* --- FOOTER --- */
footer {
  padding: 60px 7%;
  text-align: center;
  background: #0f1113;
  color: var(--white);
  border-top: 2px solid var(--cyan);
}
footer a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-links {
  max-width: 600px;
  margin: 0 auto 25px;
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.6;
}
.footer-links p {
  margin-bottom: 8px;
}
.footer-links a {
  font-weight: 700;
  font-size: 0.85rem;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 {
  transition-delay: 150ms;
}
.stagger-2 {
  transition-delay: 300ms;
}

/* --- MOBILE SPECIFIC OVERRIDES --- */
@media (max-width: 768px) {
  .full-window-section {
    padding: 80px 5%;
  }
  .step {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .step-num {
    margin-bottom: 5px;
  }
  nav {
    padding: 10px 5%;
  }
  .cta-btn {
    width: 160px;
    text-align: center;
  }
  .cta-btn.download-btn {
    width: 200px;
    text-align: center;
  }
  h2 {
    font-size: 20px !important;
  }
  nav .cta-btn {
    display: none;
  }
}

/* --- APPLICATIONS SECTION STYLES --- */
.app-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.app-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: left;
}

.app-card:hover {
  transform: translateY(-10px);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: var(--neon-glow);
}

.app-icon {
  font-size: 2.5rem;
  color: var(--cyan);
  margin-bottom: 20px;
  display: block;
}

.app-card h3 {
  margin-bottom: 15px;
  color: var(--white);
}

.app-card p {
  font-size: 0.95rem;
  color: var(--white);
}

@media (max-width: 768px) {
  .app-card {
    padding: 30px;
  }
}

/* --- VALUE PROPOSITION STYLES --- */
.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.value-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 229, 255, 0.02)
  );
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  text-align: center;
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-card:hover {
  transform: scale(1.02);
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
  background: rgba(0, 229, 255, 0.04);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3));
}

.value-card h3 {
  color: var(--cyan);
  margin-bottom: 18px;
  font-size: 1.5rem;
  text-shadow: var(--neon-glow);
}

.value-card p {
  color: var(--white);
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* --- TABLET --- */
@media (max-width: 900px) {
  .value-prop-grid {
    gap: 28px;
  }

  .value-card {
    padding: 32px;
  }
}

/* --- MOBILE --- */
@media (max-width: 1000px) {
  .value-prop-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .value-card {
    padding: 28px 22px;
  }

  .value-icon {
    font-size: 2.6rem;
  }

  .value-card h3 {
    font-size: 1.35rem;
  }

  .value-card p {
    font-size: 0.95rem;
  }
  #download-link {
    padding: 10px !important;
    font-size: 14px !important;
  }
}

.nav-logo-img {
  width: 210px;
  height: auto;
  max-width: 100%;
  position: relative;
  top: 4px;
}

.landing-page-logo {
  width: 800px;
  height: auto;
  max-width: 100%;
}

.screenshots-section {
  overflow: hidden;
}

.screenshots-slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.screenshot-slide {
  padding: 0 20px;
  text-align: center;
  transform: scale(0.85);
  transition: all 0.4s ease;
}

.screenshot-slide img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 20px;
  border-radius: 18px;
}

.screenshot-slide h3 {
  font-family: "Audiowide";
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.screenshot-slide p {
  font-size: 0.9rem;
}

/* Center slide emphasis */
.slick-center .screenshot-slide {
  opacity: 1;
  transform: scale(1);
}

/* Remove default arrows */
.slick-prev,
.slick-next {
  display: none !important;
}

.slick-center {
  /* Example: Increase size by 25% */
  -webkit-transform: scale(1.25);
  -moz-transform: scale(1.25);
  -o-transform: scale(1.25);
  -ms-transform: scale(1.25);
  transform: scale(1.25);
  /* Optional: Increase font size, change color, etc. */
  color: #e67e22;
  opacity: 1;
}

/* Optional: style for non-center slides to ensure visual difference */
.slick-slide {
  opacity: 1; /* Make non-center items slightly transparent */
  transition: transform 0.3s ease, opacity 0.3s ease; /* Add smooth transitions */
}

.download-instructions {
  text-align: left;
  max-width: 800px;
  margin-top: 100px;
}

.download-instructions-section {
  padding: 40px 10px;
}

/* --- STORE BADGES --- */
.store-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.store-badge {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
}

@media (max-width: 768px) {
  .store-badge {
    height: 48px;
  }
}

.slick-slide[aria-hidden="true"] {
  opacity: 0.1 !important;
}

@media (min-width: 1281px) {
  .screenshot-slide {
    flex-direction: row !important;
    display: flex !important;
  }
  .screenshot-slide-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 300px;
  }
  .screenshot-slide-text p {
    color: var(--white);
    text-align: left;
  }
  .slick-list {
    padding: 10% 25% !important;
  }
}

@media (max-width: 1280px) {
  .screenshot-slide-text h3 {
    font-size: 11px !important;
  }
  .screenshot-slide-text p {
    font-size: 9px !important;
  }
  .slick-list {
    padding: 20% 10% !important;
  }
}
