/* ==========================================
   DRONDRIFT — v5  |  Montserrat + Inter
   ========================================== */

:root {
  --bg:     #070c18;
  --bg2:    #09101f;
  --bg3:    #0d1630;
  --accent: #7C5CFC;
  --teal:   #00d4e8;
  --white:  #EFEFEF;
  --muted:  #556;
  --border: rgba(124,92,252,0.12);
  --fh: 'Montserrat', sans-serif;
  --fb: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--fb);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ==========================================
   NAV
   ========================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  display: flex; align-items: center;
  padding: 0 44px;
  transition: background .35s, border-color .35s;
}
.nav.scrolled {
  background: rgba(7,12,24,.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%; max-width: 1180px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 28px; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  letter-spacing: .02em; color: #6a7a9a;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 20px; border-radius: 4px;
  font-family: var(--fh) !important;
  font-weight: 700 !important; font-size: 11px !important;
  letter-spacing: .08em !important; text-transform: uppercase;
  transition: opacity .2s, transform .2s, box-shadow .2s !important;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,92,252,.35); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(7,12,24,.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 24px 44px; gap: 18px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: #6a7a9a; transition: color .2s; }
.mobile-menu a:hover { color: var(--white); }

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 45%, rgba(0,200,232,.07) 0%, transparent 55%),
              radial-gradient(ellipse at 25% 75%, rgba(124,92,252,.09) 0%, transparent 50%),
              #070c18;
}

/* ---- Light orbs ---- */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(100px);
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-blue {
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(20,60,220,.25) 0%, transparent 70%);
  top: -180px; right: -120px;
  animation-duration: 22s;
}
.orb-yellow {
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,92,252,.18) 0%, transparent 70%);
  bottom: 60px; left: 8%;
  animation-duration: 18s; animation-delay: -6s;
}
.orb-cyan {
  width: 420px; height: 420px;
  background: radial-gradient(ellipse, rgba(0,212,232,.12) 0%, transparent 70%);
  top: 40%; left: -80px;
  animation-duration: 25s; animation-delay: -12s;
}
.orb-purple {
  width: 380px; height: 380px;
  background: radial-gradient(ellipse, rgba(100,60,240,.13) 0%, transparent 70%);
  bottom: 20%; right: 15%;
  animation-duration: 19s; animation-delay: -4s;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-30px, 25px) scale(1.06); }
  66%      { transform: translate(20px,-20px) scale(.96); }
}

/* ---- Horizon glow ---- */
.hero-horizon {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 220px; pointer-events: none;
  background: linear-gradient(to top,
    rgba(0,212,232,.06) 0%,
    rgba(124,92,252,.05) 40%,
    transparent 100%);
}

/* ---- Canvas ---- */
#canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

/* ---- Hero body ---- */
.hero-body {
  position: relative; z-index: 10;
  max-width: 1000px; margin: 0 auto;
  padding: 140px 40px 60px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--fb); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 24px;
  opacity: 0; animation: fadeUp .6s ease .1s forwards;
}
.eyebrow-line {
  display: block; width: 24px; height: 1px;
  background: var(--teal); opacity: .5;
}

.hero-heading {
  font-family: var(--fh);
  font-weight: 900;
  font-size: clamp(3rem, 8.5vw, 9rem);
  line-height: .92;
  letter-spacing: -.03em;
  display: flex; flex-direction: column; gap: .04em;
  opacity: 0; animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .25s forwards;
}
.h-white { color: var(--white); }
.h-yellow { color: var(--accent); }

.hero-desc {
  margin: 28px auto 0;
  font-family: var(--fb); font-size: clamp(.9rem,1.5vw,1.05rem);
  font-weight: 300; color: #5a6a8a; max-width: 440px;
  opacity: 0; animation: fadeUp .6s ease .75s forwards;
}

.hero-btns {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 40px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .6s ease 1s forwards;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #5a3ccc);
  color: #fff;
  font-family: var(--fh); font-weight: 700;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 38px; border-radius: 4px;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  opacity: .9; transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124,92,252,.38);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-size: 13px; font-weight: 500; color: #6a7a9a;
  padding: 14px 26px; border: 1px solid rgba(124,92,252,.18); border-radius: 4px;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--white); border-color: rgba(124,92,252,.45); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10;
  opacity: 0; animation: fadeIn .8s ease 1.8s forwards;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(124,92,252,.75));
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll span {
  font-family: var(--fb); font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase; color: #3a4a6a;
  writing-mode: vertical-rl;
}
@keyframes scrollPulse { 0%,100%{opacity:.5} 50%{opacity:1} }

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

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.stats-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: stretch;
}
.stat-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 28px 16px; text-align: center; gap: 5px;
}
.stat-item strong {
  font-family: var(--fh); font-weight: 800;
  font-size: clamp(1.5rem,2.5vw,2rem); color: var(--white);
  letter-spacing: -.02em; line-height: 1;
}
.stat-item strong sup {
  font-size: .55em; color: var(--accent);
  font-weight: 500; vertical-align: super;
}
.stat-item > span {
  font-family: var(--fb); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.stat-sep { width: 1px; background: var(--border); flex-shrink: 0; margin: 16px 0; }

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section { padding: 110px 0; }

.sec-head { margin-bottom: 64px; }
.sec-head h2 {
  font-family: var(--fh); font-weight: 800;
  font-size: clamp(1.9rem,3.5vw,3rem);
  letter-spacing: -.025em; line-height: 1.1;
  margin-top: 12px;
}

.label {
  font-family: var(--fb); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
  display: block;
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--d, 0s);
}
.reveal.on { opacity:1; transform: translateY(0); }

/* ==========================================
   SERVICES
   ========================================== */
.services-list { border-top: 1px solid var(--border); }

.svc-row {
  display: grid; grid-template-columns: 64px 1fr 40px;
  align-items: center; gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background .25s;
  cursor: default;
}
.svc-row:hover { background: rgba(124,92,252,.04); }

.svc-num {
  font-family: var(--fh); font-weight: 700;
  font-size: .75rem; letter-spacing: .1em; color: var(--muted);
  transition: color .25s;
}
.svc-row:hover .svc-num { color: var(--accent); }

.svc-content h3 {
  font-family: var(--fh); font-weight: 700;
  font-size: clamp(1rem,2vw,1.3rem); letter-spacing: -.01em;
  margin-bottom: 8px; transition: color .25s;
}
.svc-row:hover .svc-content h3 { color: var(--accent); }

.svc-content p {
  font-family: var(--fb); font-size: .88rem;
  color: var(--muted); line-height: 1.7; max-width: 560px;
}

.svc-arrow {
  font-size: 1.2rem; color: var(--muted);
  transition: color .25s, transform .25s;
  text-align: right;
}
.svc-row:hover .svc-arrow { color: var(--accent); transform: translate(4px,-4px); }

/* ==========================================
   WORKS
   ========================================== */
.works-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.works-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px;
}
.works-grid .video-item {
  aspect-ratio: 16/9; border-radius: 8px; overflow: hidden;
  background: var(--bg3); border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.works-grid .video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.works-grid .video-item iframe { width:100%; height:100%; border:none; display:block; }
.works-empty {
  grid-column: 1/-1; display:flex; flex-direction:column;
  align-items:center; gap:14px; padding: 80px 0;
}
.works-empty p { font-size:13px; color:#2a3a5a; }

/* ==========================================
   TOOLS SECTION
   ========================================== */
.tools-section { background: var(--bg); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.tool-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  transition: border-color .3s, transform .3s, background .3s, box-shadow .3s;
}
.tool-card:hover {
  border-color: rgba(124,92,252,.4);
  background: rgba(124,92,252,.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124,92,252,.12);
}
.tool-logo-wrap {
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.tool-logo-wrap svg { width: 44px; height: 44px; }
.tool-info h4 {
  font-family: var(--fh); font-weight: 700;
  font-size: .85rem; letter-spacing: -.01em;
  margin-bottom: 5px; color: var(--white);
}
.tool-info p { font-family: var(--fb); font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* ==========================================
   REFERENCES
   ========================================== */
.refs-section { background: var(--bg2); border-top: 1px solid var(--border); }
.refs-row {
  display: flex; gap: 48px; overflow-x: auto;
  padding: 8px 0 24px; scrollbar-width: none; align-items: center;
}
.refs-row::-webkit-scrollbar { display: none; }
.ref-item { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ref-item img {
  height: 38px; width: auto; object-fit: contain;
  filter: grayscale(1) brightness(.4);
  transition: filter .3s; opacity: .65;
}
.ref-item:hover img { filter: grayscale(0) brightness(1); opacity: 1; }
.ref-item span { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #2a3a5a; }

/* ==========================================
   WHY SECTION
   ========================================== */
.why-section { background: var(--bg); border-top: 1px solid var(--border); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.why-left h2 {
  font-family: var(--fh); font-weight: 800;
  font-size: clamp(1.8rem,3vw,2.6rem); letter-spacing: -.025em;
  line-height: 1.1; margin-top: 12px; margin-bottom: 14px;
}
.why-left > p { font-family: var(--fb); font-size: .9rem; color: var(--muted); }

.why-right { display: flex; flex-direction: column; }
.why-item {
  display: flex; gap: 20px; padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-dot {
  flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent); margin-top: 9px;
}
.why-item h4 {
  font-family: var(--fh); font-weight: 700;
  font-size: .95rem; margin-bottom: 6px; letter-spacing: -.01em;
}
.why-item p { font-family: var(--fb); font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ==========================================
   CONTACT
   ========================================== */
.contact-section {
  background: linear-gradient(135deg, var(--bg2) 0%, rgba(9,16,31,1) 100%);
  border-top: 1px solid var(--border);
}
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.contact-left h2 {
  font-family: var(--fh); font-weight: 800;
  font-size: clamp(1.9rem,3.5vw,3rem); letter-spacing: -.025em;
  line-height: 1.1; margin-top: 12px; margin-bottom: 14px;
}
.contact-left > p { font-family: var(--fb); font-size: .9rem; color: var(--muted); line-height: 1.7; }

.contact-info { margin-top: 24px; display: flex; flex-direction: column; gap: 9px; }
.contact-info-item {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--fb); font-size: 13px; color: var(--muted);
}
.contact-info-item strong { color: var(--white); font-weight: 500; }

.contact-links { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.clink {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fb); font-size: 13px; color: var(--muted);
  transition: color .2s;
}
.clink:hover { color: var(--teal); }

.contact-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 40px 36px;
  box-shadow: 0 0 40px rgba(124,92,252,.07);
}
.contact-card h4 {
  font-family: var(--fh); font-weight: 700;
  font-size: 1rem; margin-bottom: 8px;
}
.contact-card p { font-family: var(--fb); font-size: .85rem; color: var(--muted); line-height: 1.65; }
.card-hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #040810;
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; margin-bottom: 44px;
}
.footer-brand img { height: 26px; margin-bottom: 14px; }
.footer-brand p { font-family: var(--fb); font-size: 12px; color: var(--muted); line-height: 1.7; }

.footer-col { display: flex; flex-direction: column; gap: 0; }
.fcol-title {
  font-family: var(--fb); font-size: 9px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #2a3a5a;
  margin-bottom: 14px;
}
.footer-col a {
  font-family: var(--fb); font-size: 12px; color: var(--muted);
  padding: 4px 0; transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-family: var(--fb); font-size: 11px; color: #2a3a5a;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .tools-grid   { grid-template-columns: repeat(3,1fr); }
  .why-grid     { grid-template-columns: 1fr; gap: 48px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .works-grid   { grid-template-columns: repeat(2,1fr); }
  .footer-top   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container    { padding: 0 24px; }
  .nav          { padding: 0 24px; }
  .stats-inner  { padding: 0 24px; flex-wrap: wrap; }
  .section      { padding: 80px 0; }
  .hero-body    { padding: 130px 24px 50px; }

  .nav-links    { display: none; }
  .nav-hamburger{ display: flex; }

  .stat-item    { flex: 1 1 40%; padding: 20px 10px; }
  .stat-sep     { display: none; }

  .svc-row      { grid-template-columns: 46px 1fr; gap: 16px; }
  .svc-arrow    { display: none; }

  .tools-grid   { grid-template-columns: repeat(2,1fr); }
  .works-grid   { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: clamp(2.6rem,14vw,4.5rem); }
  .tools-grid   { grid-template-columns: 1fr; }
  .stat-item    { flex: 1 1 100%; }
}

/* ==========================================
   DRONE SCROLL ANIMATION
   ========================================== */
.scroll-drone {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  pointer-events: none;
  transition: opacity .4s ease;
  filter: drop-shadow(0 0 18px rgba(124,92,252,.30))
          drop-shadow(0 0 6px rgba(0,212,232,.15));
}

/* Rotor spin */
.rotor-fl { animation: spinCW  .18s linear infinite; }
.rotor-fr { animation: spinCCW .18s linear infinite; }
.rotor-bl { animation: spinCCW .18s linear infinite; }
.rotor-br { animation: spinCW  .18s linear infinite; }

@keyframes spinCW  { to { transform: rotate(360deg);  } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }

.drone-shadow {
  width: 60px; height: 10px;
  background: radial-gradient(ellipse, rgba(124,92,252,.3) 0%, transparent 70%);
  margin: 4px auto 0;
  filter: blur(5px);
  animation: shadowPulse 1s ease-in-out infinite;
}
@keyframes shadowPulse { 0%,100%{transform:scaleX(.8);opacity:.5} 50%{transform:scaleX(1.1);opacity:1} }

/* ==========================================
   CALL / WHATSAPP BUTTONS
   ========================================== */
.contact-action-btns {
  display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap;
}
.cta-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: #000;
  font-family: var(--fh); font-weight: 700;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 4px;
  transition: opacity .2s, transform .2s;
}
.cta-call:hover { opacity: .9; transform: translateY(-2px); }

.cta-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  font-family: var(--fh); font-weight: 700;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 4px;
  transition: opacity .2s, transform .2s;
}
.cta-wa:hover { opacity: .9; transform: translateY(-2px); }

@media (max-width: 768px) {
  .scroll-drone { display: none; }
  .contact-action-btns { flex-direction: column; }
  .cta-call, .cta-wa { justify-content: center; text-align: center; }
}
