:root {
  color-scheme: dark;
  --bg: #151f1b;
  --surface: #1f2f2b;
  --surface-strong: #24372f;
  --surface-alt: #2c413a;
  --text: #f5f1e6;
  --muted: #b6ac9f;
  --accent: #f5a623;
  --accent-dark: #d88f1a;
  --accent-soft: rgba(245, 166, 35, 0.18);
  --accent-soft-2: rgba(245, 166, 35, 0.10);
  --border: rgba(255, 255, 255, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(60px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 40px 100px rgba(0, 0, 0, 0.3), 0 0 40px rgba(245, 166, 35, 0);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 100px rgba(0, 0, 0, 0.3), 0 0 60px rgba(245, 166, 35, 0.15);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(245, 166, 35, 0.12), transparent 28%),
    linear-gradient(180deg, #13251f 0%, #172b24 45%, #111b16 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

main {
  padding-top: 80px; /* VERY IMPORTANT */
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: fixed; /* CHANGE from sticky */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.header-inner {
  height: 64px;
}

.logo {
  height: 50px;
  width: auto;
}

.brand-logo {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
}

.brand-logo::before,
.brand-logo::after {
  content: "";
  position: absolute;
  background: #f5a623;
}

.brand-logo::before {
  width: 0.9rem;
  height: 0.9rem;
  top: 0;
  left: 0;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.brand-logo::after {
  width: 1.3rem;
  height: 0.9rem;
  bottom: 0;
  right: 0;
  border-bottom-left-radius: 1.2rem;
  border-bottom-right-radius: 1.2rem;
}

.brand span:last-child {
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero-section {
  padding: 6rem 0 4rem;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 1fr);
  align-items: center;
  gap: 3rem;
}

.hero-copy .eyebrow,
.section-header .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.95;
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.hero-copy p {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e8e6e0;
  opacity: 0.95;
}

.feature-list {
  list-style: disc inside;
  margin: 0;
  padding: 0;
  color: #e8e6e0;
}

.feature-list li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #111109;
  box-shadow: 0 18px 30px rgba(245, 166, 35, 0.18);
}

.btn-secondary {
  border: 1px solid rgba(245, 166, 35, 0.32);
  color: var(--accent);
  background: rgba(245, 166, 35, 0.08);
}

.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1600px;
}

.visual-card {
  width: 100%;
  max-width: 520px;
  padding: 1rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(28, 40, 35, 0.88));
  border: 1px solid rgba(245, 166, 35, 0.14);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.30);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.visual-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-6px);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.35);
}

.interactive-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s ease;
}

.interactive-card:hover {
  box-shadow: 0 48px 140px rgba(0, 0, 0, 0.35);
}

.badge {
  display: inline-flex;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.35);
  color: #111109;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.15);
}

.hero-image {
  height: 420px;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(20, 30, 40, 0.15), rgba(10, 18, 28, 0.35)),
    url('images/hero-drone.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 34px 100px rgba(0, 0, 0, 0.45);
}

.hero-image::before,
.hero-image::after {
  display: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-stats div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.section {
  padding: 5rem 0;
}

#models {
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

#models .container {
  width: 100%;
  padding: 4rem 2rem;
}

.section-dark {
  background: #070707;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.split p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #e8e6e0;
}

.stats-grid {
  display: grid;
  gap: 1.25rem;
}

.stats-grid article {
  padding: 1.6rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-grid h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.feature-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.feature-visual {
  min-height: 420px;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(40, 215, 255, 0.18), rgba(255, 255, 255, 0.04));
  position: relative;
  overflow: hidden;
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 45% 20%, rgba(255,255,255,0.2) 0%, transparent 36%),
    radial-gradient(circle at 80% 70%, rgba(40,215,255,0.18) 0%, transparent 28%);
}

.feature-copy h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

.feature-copy p {
  color: #e8e6e0;
  line-height: 1.8;
}

.feature-copy ul {
  margin: 2rem 0 0;
  padding-left: 1.3rem;
  color: #e8e6e0;
  line-height: 1.9;
}

.feature-copy li {
  margin-bottom: 0.85rem;
}

.section-header {
  max-width: 920px;
  margin-bottom: 4rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#models .section-header {
  animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0s forwards;
}

#models .section-header h2 {
  font-size: clamp(3rem, 4vw, 4rem);
  margin-top: 0;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.tech-grid article {
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-grid h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.spec-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.5rem;
  min-height: 720px;
  padding: 2.5rem;
  border-radius: 2.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(28, 40, 35, 0.95));
  border: 1px solid rgba(245, 166, 35, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 40px 100px rgba(0, 0, 0, 0.3);
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.spec-card:nth-child(1) {
  animation-delay: 0.1s;
}

.spec-card:nth-child(2) {
  animation-delay: 0.3s;
}

.spec-card:nth-child(3) {
  animation-delay: 0.5s;
}

.spec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28), 0 0 50px rgba(245, 166, 35, 0.2);
}

.interactive-card:hover {
  transform: translateY(-8px) scale3d(1.01, 1.01, 1.01);
}

.spec-image {
  overflow: hidden;
  border-radius: 2rem;
  aspect-ratio: 16 / 10;
  width: 100%;
  min-height: 340px;
  position: relative;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 45%);
  animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
  opacity: 0;
}

.spec-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.spec-card:hover .spec-image img {
  transform: scale(1.05);
  filter: saturate(1.15) contrast(1.05);
}

.spec-image:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.18);
}

.spec-image.active {
  transform: perspective(900px) translateZ(2px) rotateX(0deg) rotateY(0deg) scale(1.02);
}

.spec-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(0,0,0,0.30) 100%);
}

.spec-card h3 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
}

.spec-subtitle {
  margin: 0 0 1.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1rem;
  font-weight: 600;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #e8e6e0;
  font-size: 1.05rem;
}

.spec-list li {
  margin-bottom: 1rem;
  line-height: 1.8;
  padding-left: 1.2rem;
  position: relative;
}

.spec-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.section-gallery {
  padding-top: 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  min-height: 250px;
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  background-size: cover;
  background-position: center;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 7, 7, 0.82));
}

.gallery-card > * {
  position: relative;
  z-index: 1;
}

.gallery-card-1 { background-image: linear-gradient(135deg, rgba(25, 29, 38, 0.92), rgba(16, 17, 23, 0.5)), url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1300&q=80'); }
.gallery-card-2 { background-image: linear-gradient(135deg, rgba(7, 7, 7, 0.88), rgba(14, 18, 25, 0.4)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1300&q=80'); }
.gallery-card-3 { background-image: linear-gradient(135deg, rgba(7, 7, 7, 0.88), rgba(14, 18, 25, 0.4)), url('https://images.unsplash.com/photo-1523816333845-1bdf1e1f58c3?auto=format&fit=crop&w=1300&q=80'); }
.gallery-card-4 { background-image: linear-gradient(135deg, rgba(7, 7, 7, 0.88), rgba(14, 18, 25, 0.4)), url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1300&q=80'); }

.contact-section {
  padding: 4.5rem 0;
}

.contact-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 2rem 2.5rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid h2 {
  margin: 0.4rem 0 1rem;
}

.footer {
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #b6ac9f;
  flex-wrap: wrap;
  opacity: 0.85;
}

@media (max-width: 950px) {
  .hero-grid,
  .split,
  .feature-block,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links {
    gap: 0.85rem;
  }

  .hero-section {
    padding-top: 3rem;
  }

  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= RESPONSIVE FIX (SAFE - NO DESIGN CHANGE) ================= */

/* Tablet */
@media (max-width: 1024px) {

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .tech-grid {
    grid-template-columns: 1fr !important;
  }

  .split {
    grid-template-columns: 1fr !important;
  }

  .feature-block {
    grid-template-columns: 1fr !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}


/* Mobile */
@media (max-width: 768px) {

  .container {
    width: calc(100% - 1.5rem);
  }

  .hero-copy h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-copy p {
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 3rem 0 2rem;
  }

  .spec-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .spec-card {
    min-height: auto !important;
    padding: 1.8rem;
  }

  .hero-image {
    height: 280px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .contact-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Small mobile */
@media (max-width: 480px) {

  .hero-copy h1 {
    font-size: 1.9rem;
  }

  .logo {
    height: 36px;
  }

  .header-inner {
    padding: 0.7rem 0;
  }
}

/* ===== MODELS MOBILE FIX ===== */

@media (max-width: 768px) {

  .spec-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .spec-card {
    padding: 1.5rem !important;
    min-height: auto !important;
  }

  .spec-image {
    min-height: 220px !important;
  }

  .spec-card h3 {
    font-size: 1.5rem;
  }

  .spec-list {
    font-size: 0.95rem;
  }

  .spec-list li {
    margin-bottom: 0.6rem;
    line-height: 1.5;
  }
}
/* ===== NAV MOBILE ===== */

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

/* MOBILE NAV */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #0a0a0a;

    flex-direction: column;
    align-items: flex-start;

    padding: 1.5rem;
    gap: 1rem;

    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.5rem 0;
  }
}
/* HERO TEXT FIX (mobile + tablet) */

@media (max-width: 768px) {
  .hero-copy h1 {
    font-size: 1.9rem;        /* smaller */
    line-height: 1.25;        /* more breathing space */
    font-weight: 600;         /* lighter */
    letter-spacing: -0.01em;  /* tighter = more premium */
  }

  .hero-copy {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 1.7rem;
    line-height: 1.3;
  }
}
.hero-section {
  padding-top: 5rem;  /* reduces clash with navbar */
}
.hero-copy h1 {
  font-weight: 500;
}
