/* ============================================================
   LANDING — hero, slides, marquee, stats, domains, editorial,
   solutions, process, enterprise cards
   ============================================================ */

/* Landing has a transparent nav that becomes opaque on scroll */
nav{
  background:transparent;
  border-bottom:1px solid transparent;
  backdrop-filter:none;
  transition:background 0.3s,border-color 0.3s,backdrop-filter 0.3s;
}
nav.scrolled{
  background:rgba(6,9,14,0.44);
  backdrop-filter:blur(16px);
  border-bottom-color:var(--rule);
}

/* ── HERO ── */
.hero{
  min-height:100vh;
  display:flex;flex-direction:column;justify-content:space-between;
  border-bottom:1px solid var(--rule);
  position:relative;overflow:hidden;
}
.hero-video,.hero-bg{
  position:absolute;inset:0;z-index:0;
  width:100%;height:100%;object-fit:cover;
  opacity:0.9;
  filter:grayscale(25%) contrast(1.1);
}
.hero-bg::-webkit-media-controls,
.hero-bg::-webkit-media-controls-panel,
.hero-bg::-webkit-media-controls-start-playback-button,
.hero-bg::-webkit-media-controls-overlay-play-button{display:none!important;-webkit-appearance:none!important}
.hero-video-overlay{
  position:absolute;inset:0;z-index:0;
  background:
    linear-gradient(to bottom,rgba(6,9,14,0.55) 0%,rgba(6,9,14,0.28) 50%,rgba(6,9,14,0.94) 100%),
    linear-gradient(to right,rgba(6,9,14,0.7) 0%,transparent 65%);
}
.hero-scan{
  position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;
}
@keyframes hscan{0%{top:-1px;opacity:0}8%{opacity:1}92%{opacity:1}100%{top:100%;opacity:0}}
.hero-top{position:relative;z-index:2;padding:160px 52px 80px;}
.hero-eyebrow{
  font-family:var(--mono);font-size:11px;letter-spacing:0.2em;
  text-transform:uppercase;color:var(--accent);
  display:flex;align-items:center;gap:14px;margin-bottom:40px;
}
.hero-eyebrow::before{content:'';width:32px;height:1px;background:var(--accent)}
.hero h1{
  font-family:var(--sans);
  font-size:clamp(52px,7vw,98px);font-weight:800;
  line-height:1.1;letter-spacing:-0.03em;
  max-width:820px;margin-bottom:40px;
}
.hero h1 em{font-style:italic;color:var(--accent)}
.hero-sub{
  font-size:16px;color:var(--text-mid);font-weight:400;
  max-width:480px;line-height:1.75;margin-bottom:48px;
}
.hero-actions{display:flex;gap:16px;align-items:center}

/* hero bottom content */
.hero-bottom{
  position:relative;z-index:2;
  padding:0 52px 56px;
  display:block;justify-content:space-between;align-items:flex-end;text-align:right;
}
.hero-slide{max-width:100%}
.hero-slide-label{
  font-family:var(--mono);font-size:10px;letter-spacing:0.18em;
  text-transform:uppercase;color:var(--accent);margin-bottom:16px;
}
.hero-slide-title{
  font-family:var(--sans);font-size:clamp(28px,3vw,42px);font-weight:700;
  line-height:1.1;letter-spacing:-0.02em;margin-bottom:14px;
}
.hero-slide-desc{
  font-size:14px;color:var(--text-mid);line-height:1.7;margin-bottom:20px;
}
.hero-slide-cta{
  font-family:var(--mono);font-size:11px;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--text);
  text-decoration:none;display:inline-flex;align-items:center;gap:8px;
  border-bottom:1px solid var(--rule);padding-bottom:4px;
  transition:color 0.2s,border-color 0.2s;
}
.hero-slide-cta:hover{color:var(--accent);border-color:var(--accent)}

/* vertical progress dots */
.hero-progress{
  position:absolute;right:52px;top:50%;transform:translateY(-50%);
  z-index:10;
  display:flex;flex-direction:column;align-items:center;gap:24px;
}
.hp-step{
  cursor:pointer;position:relative;
  display:flex;align-items:center;justify-content:center;
}
.hp-dot{
  width:8px;height:8px;border-radius:50%;
  background:rgba(255,255,255,0.35);
  transition:opacity 0.3s;
}
.hp-step.active .hp-dot{opacity:0}
.hp-ring-wrap{
  position:absolute;
  width:30px;height:30px;
  display:flex;align-items:center;justify-content:center;
  opacity:0;transform:scale(0.5);
  transition:opacity 0.3s,transform 0.3s;
}
.hp-step.active .hp-ring-wrap{opacity:1;transform:scale(1)}
.hp-ring-wrap svg{
  position:absolute;inset:0;width:100%;height:100%;
  transform:rotate(-90deg);
}
.hp-ring-bg{fill:none;stroke:rgba(255,255,255,0.15);stroke-width:2}
.hp-ring-fill{
  fill:none;stroke:#fff;stroke-width:2;
  stroke-dasharray:113.1;
  stroke-dashoffset:113.1;
  stroke-linecap:round;
  transition:stroke-dashoffset 0.1s linear;
}
.hp-num{
  position:relative;z-index:2;
  font-family:var(--sans);font-size:13px;font-weight:600;
  color:#fff;
}

/* slide cross-fade — staggered per element for smoothness */
.hero-slide{transition:none}
.hero-slide .hero-eyebrow,
.hero-slide h1,
.hero-slide .hero-sub{
  transition:opacity 0.45s ease, transform 0.45s ease;
}
.hero-slide.fade-out .hero-eyebrow{opacity:0;transform:translateY(-8px);transition-delay:0s}
.hero-slide.fade-out h1{opacity:0;transform:translateY(-12px);transition-delay:0.05s}
.hero-slide.fade-out .hero-sub{opacity:0;transform:translateY(-12px);transition-delay:0.1s}
.hero-slide .hero-eyebrow{transition-delay:0.1s}
.hero-slide h1{transition-delay:0.18s}
.hero-slide .hero-sub{transition-delay:0.26s}
.hero-actions{animation:fadeUp 0.9s ease 0.55s both}

/* ── TRUSTED MARQUEE ── */
.trusted{
  padding:60px 0;
  border-bottom:1px solid var(--rule);
  border-top:1px solid var(--rule);
  background:var(--bg2);
  overflow:hidden;
  position:relative;
}
.trusted::before,.trusted::after{
  content:'';position:absolute;top:0;bottom:0;width:120px;z-index:2;pointer-events:none;
}
.trusted::before{left:0;background:linear-gradient(90deg,var(--bg2) 0%,transparent 100%)}
.trusted::after{right:0;background:linear-gradient(90deg,transparent 0%,var(--bg2) 100%)}
.trusted-label{
  font-family:var(--mono);font-size:10px;letter-spacing:0.2em;
  text-transform:uppercase;color:var(--text-dim);
  text-align:center;padding:0 0 18px;
}
.marquee-track{
  margin-top:20px;
  display:flex;align-items:center;gap:0;
  width:max-content;
  animation:marquee 32s linear infinite;
}
.marquee-track:hover{animation-play-state:paused}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.marquee-item{
  display:flex;align-items:center;justify-content:center;
  padding:0 52px;opacity:0.45;transition:opacity 0.3s;flex-shrink:0;
}
.marquee-item:hover{opacity:0.85}
.marquee-item img{height:56px;width:auto;fill:var(--text)}

/* ── STATS ── */
.stats{
  display:grid;grid-template-columns:repeat(4,1fr);
  border-bottom:1px solid var(--rule);
}
.stat-item{padding:64px 52px;border-right:1px solid var(--rule)}
.stat-item:last-child{border-right:none}
.stat-num{
  font-family:var(--sans);font-size:clamp(52px,5vw,80px);font-weight:800;
  color:var(--text);line-height:1;margin-bottom:12px;letter-spacing:-0.03em;
}
.stat-label{
  font-family:var(--mono);font-size:10px;letter-spacing:0.18em;
  text-transform:uppercase;color:var(--text-dim);
}

/* ── DOMAINS ── */
.section-wrap{max-width:1440px;margin:0 auto}
.domains{border-bottom:1px solid var(--rule)}
.domains-header{
  padding:80px 52px 48px;
  display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:end;
  border-bottom:1px solid var(--rule);
}
.domain-item{
  display:flex;align-items:baseline;gap:24px;
  padding:22px 52px;
  border-bottom:1px solid var(--rule);
  cursor:pointer;transition:background 0.2s;
  text-decoration:none;color:var(--text);
}
.domain-item:hover{background:rgba(255,255,255,0.02)}
.domain-item:first-child{border-top:1px solid var(--rule)}
.d-num{
  font-family:var(--mono);font-size:11px;letter-spacing:0.1em;
  color:var(--text-dim);min-width:28px;
}
.d-name{
  font-family:var(--sans);font-size:clamp(20px,2.2vw,30px);
  font-weight:600;flex:1;letter-spacing:-0.01em;
}
.d-arrow{
  font-size:18px;color:var(--text-dim);
  transition:transform 0.2s,color 0.2s;
}
.domain-item:hover .d-arrow{transform:translateX(4px);color:var(--accent)}

/* ── EDITORIAL (landing technology section) ── */
.editorial{
  display:grid;grid-template-columns:1fr 1fr;min-height:600px;
  border-bottom:1px solid var(--rule);
}
.editorial-visual{background:var(--bg2);position:relative;overflow:hidden}
.ed-vis-inner{
  width:100%;height:100%;min-height:600px;
  display:flex;align-items:center;justify-content:center;
  position:relative;
}
.drone-grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(58,170,210,0.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(58,170,210,0.06) 1px,transparent 1px);
  background-size:40px 40px;
}
.drone-hud-panel{
  position:absolute;bottom:24px;right:24px;z-index:2;
  border:1px solid rgba(58,170,210,0.22);
  padding:24px 28px;width:320px;
  background:rgba(7,8,10,0.75);
  backdrop-filter:blur(8px);
}
.dhp-title{
  font-family:var(--mono);font-size:9px;letter-spacing:0.2em;
  color:var(--accent);margin-bottom:16px;
  display:flex;align-items:center;gap:8px;
}
.dhp-title::before{
  content:'';width:6px;height:6px;border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 8px var(--accent-bright);
  animation:blink 1.5s infinite;
}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0.3}}
.dhp-row{
  display:flex;justify-content:space-between;
  font-family:var(--mono);font-size:11px;
  padding:8px 0;border-bottom:1px solid rgba(255,255,255,0.06);
  color:var(--text-mid);
}
.dhp-row:last-child{border-bottom:none}
.dhp-val{color:var(--text)}
.det-boxes{position:absolute;inset:0;z-index:1;pointer-events:none}
.det-box{
  position:absolute;
  border:1px solid rgba(58,170,210,0.6);
  animation:pulse-box 3s ease-in-out infinite;
}
.det-box::before{
  content:attr(data-label);
  position:absolute;top:-20px;left:0;
  font-family:var(--mono);font-size:8px;letter-spacing:0.1em;
  color:var(--accent);white-space:nowrap;
}
@keyframes pulse-box{0%,100%{opacity:0.6}50%{opacity:1}}
.db1{width:36px;height:56px;top:28%;left:22%;animation-delay:0s}
.db2{width:28px;height:44px;top:45%;left:55%;animation-delay:0.6s}
.db3{width:32px;height:50px;top:60%;left:35%;animation-delay:1.2s}
.db4{width:24px;height:38px;top:32%;left:72%;animation-delay:0.3s}
.db5{width:30px;height:48px;top:55%;left:14%;animation-delay:0.9s}

.editorial-content{
  padding:80px 64px;display:flex;flex-direction:column;justify-content:center;
}
.ed-quote{
  font-family:var(--sans);font-style:italic;font-weight:400;
  font-size:clamp(15px,1.3vw,18px);color:var(--text-mid);
  line-height:1.85;border-left:2px solid var(--accent);
  padding-left:24px;margin-bottom:48px;
}
.ed-metrics{display:flex;flex-direction:column;gap:0}
.ed-metric{
  display:flex;align-items:baseline;gap:20px;
  padding:20px 0;border-bottom:1px solid var(--rule);
}
.ed-metric:first-child{border-top:1px solid var(--rule)}
.em-val{
  font-family:var(--sans);font-size:40px;font-weight:800;
  color:var(--text);min-width:100px;letter-spacing:-0.02em;
}
.em-label{
  font-family:var(--mono);font-size:10px;letter-spacing:0.14em;
  text-transform:uppercase;color:var(--text-dim);line-height:1.6;
}

/* ── SOLUTIONS ── */
.solutions{border-bottom:1px solid var(--rule)}
.solutions-header{padding:80px 52px 56px;border-bottom:1px solid var(--rule)}
.sol-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.sol-card{
  padding:52px;border-right:1px solid var(--rule);
  transition:background 0.3s;
}
.sol-card:last-child{border-right:none}
.sol-card:hover{background:rgba(255,255,255,0.02)}
.sol-num{
  font-family:var(--mono);font-size:10px;letter-spacing:0.15em;
  color:var(--text-dim);margin-bottom:32px;
  padding-bottom:20px;border-bottom:1px solid var(--rule);
  display:flex;justify-content:space-between;align-items:center;
}
.sol-vis{
  height:218px;background:var(--bg2);border:1px solid var(--rule);
  margin-bottom:32px;display:flex;align-items:center;justify-content:center;
  font-size:48px;position:relative;overflow:hidden;
}
.sol-vis img{width:380px}
.sol-vis-label{
  position:absolute;bottom:10px;right:12px;
  font-family:var(--mono);font-size:8px;letter-spacing:0.15em;
  color:var(--text-dim);text-transform:uppercase;
}
.sol-card h3{
  font-family:var(--sans);
  font-size:22px;font-weight:700;margin-bottom:12px;letter-spacing:-0.01em;
}
.sol-card p{font-size:14px;color:var(--text-dim);line-height:1.7;font-weight:400}
.sol-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:20px}
.sol-tag{
  font-family:var(--mono);font-size:9px;letter-spacing:0.1em;
  text-transform:uppercase;color:var(--text-dim);
  border:1px solid var(--rule);padding:4px 10px;border-radius:1px;
}

/* ── PROCESS ── */
.process{border-bottom:1px solid var(--rule)}
.process-header{padding:80px 52px 56px;border-bottom:1px solid var(--rule)}
.process-steps{display:grid;grid-template-columns:repeat(4,1fr)}
.proc-step{padding:52px 48px;border-right:1px solid var(--rule)}
.proc-step:last-child{border-right:none}
.proc-step-num{
  font-family:var(--sans);
  font-size:72px;font-weight:900;
  color:rgba(238,236,234,0.05);line-height:1;
  margin-bottom:8px;letter-spacing:-0.04em;
}
.proc-step-label{
  font-family:var(--mono);font-size:10px;letter-spacing:0.15em;
  text-transform:uppercase;color:var(--accent);margin-bottom:16px;
}
.proc-step h4{
  font-family:var(--sans);
  font-size:18px;font-weight:700;margin-bottom:12px;letter-spacing:-0.01em;
}
.proc-step p{font-size:13px;color:var(--text-dim);line-height:1.7}
.proc-vis{
  height:160px;background:var(--bg2);border:1px solid var(--rule);
  margin-bottom:28px;display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
}
.proc-vis img{width:100%;height:100%;object-fit:cover;opacity:0.7}
.proc-vis-label{
  position:absolute;bottom:8px;right:10px;
  font-family:var(--mono);font-size:8px;letter-spacing:0.15em;
  color:var(--text-dim);text-transform:uppercase;
}

/* ── ENTERPRISE / CASE STUDY CARDS ── */
.enterprise{border-bottom:1px solid var(--rule)}
.enterprise-header{
  padding:80px 52px 56px;
  display:flex;justify-content:space-between;align-items:flex-start;
  border-bottom:1px solid var(--rule);
}
.enterprise-header-left{max-width:700px}
.enterprise-header-left .sec-label{margin-bottom:20px}
.enterprise-header h2{
  font-family:var(--sans);
  font-size:clamp(36px,4vw,56px);font-weight:700;
  line-height:1.08;letter-spacing:-0.02em;
}
.enterprise-cards{display:grid;grid-template-columns:repeat(3,1fr)}
.ent-card{
  padding:48px 44px;
  border-right:1px solid var(--rule);
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;
  min-height:380px;
  transition:background 0.4s;
  cursor:pointer;
}
.ent-card:last-child{border-right:none}
.ent-card-bg{position:absolute;inset:0;z-index:0;opacity:0;transition:opacity 0.5s}
.ent-card-bg img{
  width:100%;height:100%;object-fit:cover;
  transform:scale(1);transition:transform 0.8s ease,opacity 0.5s;
}
.ent-card:hover .ent-card-bg img{transform:scale(1.08)}
.ent-card-overlay{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(to top,rgba(6,9,14,0.85) 0%,rgba(6,9,14,0.3) 100%);
  opacity:0;transition:opacity 0.5s;
}
.ent-card:hover .ent-card-bg,
.ent-card:hover .ent-card-overlay{opacity:1}
.ent-card-content{
  position:relative;z-index:2;
  display:flex;flex-direction:column;height:100%;
  transform:translateY(0);transition:transform 0.5s ease,opacity 0.5s ease;
}
.ent-card:hover .ent-card-content{transform:translateY(20px);opacity:0}
.ent-card-logo{
  height:auto;
  max-width:160px;
  margin-bottom:auto;
  filter:brightness(0) invert(0.5);
}
.ent-card-body{margin-top:auto}
.ent-card-body p{
  font-size:13px;color:var(--text-dim);line-height:1.7;
  margin-bottom:24px;
}
.ent-card-link{
  font-family:var(--mono);font-size:10px;letter-spacing:0.14em;
  text-transform:uppercase;color:var(--text-dim);
  text-decoration:none;display:inline-flex;align-items:center;gap:6px;
  padding-bottom:2px;border-bottom:1px solid var(--rule);
}
.ent-card-link .arrow{transition:transform 0.2s}
.ent-card:hover .ent-card-link .arrow{transform:translateX(3px)}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .stats{grid-template-columns:repeat(2,1fr)}
  .stat-item{padding:48px 32px}
  .editorial{grid-template-columns:1fr}
  .ed-vis-inner{min-height:420px}
  .editorial-content{padding:60px 40px}
  .sol-grid{grid-template-columns:repeat(2,1fr)}
  .sol-card:nth-child(2n){border-right:none}
  .sol-card{border-bottom:1px solid var(--rule)}
  .process-steps{grid-template-columns:repeat(2,1fr)}
  .proc-step:nth-child(2n){border-right:none}
  .proc-step{border-bottom:1px solid var(--rule);padding:40px 36px}
  .enterprise-cards{grid-template-columns:1fr}
  .ent-card{border-right:none;border-bottom:1px solid var(--rule);min-height:300px}
  .domains-header{grid-template-columns:1fr;gap:24px}
  .drone-hud-panel{width:280px;padding:20px 22px}
  .marquee-item{padding:0 36px}
  .marquee-item img{height:48px}
}
@media(max-width:768px){
  .hero-top{padding:140px 24px 60px}
  .hero h1{font-size:48px;margin-bottom:28px}
  .hero-sub{font-size:15px;margin-bottom:32px}
  .hero-actions{flex-wrap:wrap;gap:12px}
  .hero-actions .btn-solid,.hero-actions .btn-ghost{padding:14px 24px;font-size:11px}
  /* Move progress dots to bottom-center on mobile */
  .hero-progress{
    position:absolute;left:50%;right:auto;bottom:16px;top:auto;
    transform:translateX(-50%);
    flex-direction:row;gap:18px;
    background:rgba(6,9,14,0.4);
    padding:8px 14px;border-radius:999px;
    backdrop-filter:blur(8px);
  }
  .hero-bottom{padding:0 24px 80px}
  .hero-slide-title{font-size:22px}
  .stat-item,.sol-card,.proc-step,.editorial-content,.enterprise-header,.ent-card,
  .solutions-header,.process-header,.domains-header,.trusted{padding-left:24px;padding-right:24px}
  .stats{grid-template-columns:1fr 1fr}
  .stat-item{padding:32px 24px}
  .sol-grid{grid-template-columns:1fr}
  .sol-card{border-right:none}
  .sol-card{padding:36px 24px}
  .process-steps{grid-template-columns:1fr}
  .proc-step{padding:32px 24px}
  .ent-card{padding:36px 28px;min-height:240px}
  .enterprise-header{flex-direction:column;gap:24px;align-items:flex-start}
  .domain-item{padding-left:24px;padding-right:24px;gap:16px}
  .ed-vis-inner{min-height:320px}
  .editorial-content{padding:48px 24px}
  .drone-hud-panel{width:auto;left:16px;right:16px;bottom:16px;padding:16px 18px}
  .ed-quote{padding-left:16px;font-size:14px;margin-bottom:32px}
  .em-val{font-size:28px;min-width:80px}
  .marquee-item{padding:0 28px}
  .marquee-item img{height:40px}
}
@media(max-width:480px){
  .hero-top{padding:120px 20px 48px}
  .hero h1{font-size:38px;line-height:1.05}
  .hero-sub{font-size:14px}
  .hero-actions{flex-direction:column;width:100%;gap:12px}
  .hero-actions .btn-solid,.hero-actions .btn-ghost{
    width:100%;padding:16px 24px;font-size:12px;white-space:nowrap;
  }
  .stats{grid-template-columns:1fr 1fr;gap:0}
  .stat-item{padding:24px 16px}
  .stat-item:nth-child(2n){border-right:none}
  .stat-item:nth-child(n+3){border-top:1px solid var(--rule)}
  .stat-num{font-size:36px}
  .domains-header,.solutions-header,.process-header,.enterprise-header{padding:48px 20px 32px}
  .sol-card,.proc-step,.ent-card,.editorial-content{padding:32px 20px}
  .ent-card{padding:28px 22px}
  .sol-vis{height:160px}
  .sol-vis img{width:90%}
  .marquee-item{padding:0 22px}
  .marquee-item img{height:32px}
  .trusted-label{font-size:9px}
  .domain-item .d-name{font-size:18px}
}
