/* =============================================
   FLYZONE DRONE CLEANING — MAIN STYLESHEET
   ============================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0A1628;
  --navy2:    #0D1F3C;
  --blue:     #00AAFF;
  --blue2:    #0077CC;
  --teal:     #00D4AA;
  --white:    #FFFFFF;
  --gray1:    #F5F7FA;
  --gray2:    #E8ECF0;
  --gray3:    #AAB4BE;
  --dark:     #06101E;
  --radius:   16px;
  --radius-sm:8px;
  --shadow:   0 8px 40px rgba(0,0,0,0.18);
  --shadow-sm:0 4px 20px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0,170,255,0.12);
  border: 1px solid rgba(0,170,255,0.35);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray3);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Noto Sans KR', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
  box-shadow: 0 8px 24px rgba(0,170,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,170,255,0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

.btn-service {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 10px 24px;
  font-size: 0.92rem;
}
.btn-service:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
}

/* =============================================
   HEADER / NAV
   ============================================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 0;
}

#header.scrolled {
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,170,255,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
}

.logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px var(--blue));
}

.logo-text {
  font-size: 1.3rem;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.75rem;
  color: var(--gray3);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue2)) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,170,255,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #06101E 0%, #0A1E3A 40%, #031525 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,170,255,0.08) 0%, transparent 70%);
}

/* Solar Grid Background */
.solar-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.15;
}

.solar-row {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
  padding: 4px;
  height: 100%;
}

/* Drone Animation */
.drone-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 2;
  animation: droneFly 6s ease-in-out infinite;
}

@keyframes droneFly {
  0%, 100% { transform: translate(-50%, -60%) translateY(0); }
  25% { transform: translate(-50%, -60%) translateY(-20px) translateX(15px); }
  50% { transform: translate(-50%, -60%) translateY(-10px) translateX(-15px); }
  75% { transform: translate(-50%, -60%) translateY(-25px) translateX(8px); }
}

.drone-body {
  position: relative;
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 0 30px rgba(0,170,255,0.6));
}

.drone-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1a3a6e, #0d1f3c);
  border-radius: 12px;
  border: 2px solid rgba(0,170,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.drone-arm {
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1a3a6e, #2a5298);
  border-radius: 2px;
}
.arm-tl { top: 30%; left: 8%; transform: rotate(-45deg); }
.arm-tr { top: 30%; right: 8%; transform: rotate(45deg); }
.arm-bl { bottom: 30%; left: 8%; transform: rotate(45deg); }
.arm-br { bottom: 30%; right: 8%; transform: rotate(-45deg); }

.rotor {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid rgba(0,170,255,0.7);
  animation: rotorSpin 0.15s linear infinite;
}
.r1 { top: 8px; left: 10px; }
.r2 { top: 8px; right: 10px; }
.r3 { bottom: 8px; left: 10px; }
.r4 { bottom: 8px; right: 10px; }

@keyframes rotorSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Water Spray */
.water-spray {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}
.water-spray span {
  display: block;
  width: 3px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  border-radius: 2px;
  animation: sprayDrop 0.8s ease-in infinite;
}
.water-spray span:nth-child(1) { height: 40px; animation-delay: 0s; }
.water-spray span:nth-child(2) { height: 55px; animation-delay: 0.15s; }
.water-spray span:nth-child(3) { height: 65px; animation-delay: 0.05s; }
.water-spray span:nth-child(4) { height: 50px; animation-delay: 0.2s; }
.water-spray span:nth-child(5) { height: 38px; animation-delay: 0.1s; }

@keyframes sprayDrop {
  0% { opacity: 0; transform: scaleY(0) translateY(0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1) translateY(10px); }
}

/* Particles */
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--blue);
  animation: particleFloat linear infinite;
  opacity: 0;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-20px) translateX(50px); opacity: 0; }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0,170,255,0.12);
  border: 1px solid rgba(0,170,255,0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,170,255,0.7); }
  50% { box-shadow: 0 0 0 6px rgba(0,170,255,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--gray3);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray3);
  font-size: 0.8rem;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 10;
}
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--gray3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--gray3);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

/* =============================================
   WHY FLYZONE
   ============================================= */
.why-section {
  padding: 100px 0;
  background: var(--dark);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.why-card:hover {
  border-color: rgba(0,170,255,0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--gray3);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* =============================================
   SERVICES
   ============================================= */
.services-section {
  padding: 100px 0;
  background: var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  display: grid;
  grid-template-rows: auto 1fr;
}

.service-card:hover {
  border-color: rgba(0,170,255,0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.service-img { height: 200px; overflow: hidden; }

.service-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.solar-visual { background: linear-gradient(135deg, #0a2a4a 0%, #0d3b6e 100%); }
.building-visual { background: linear-gradient(135deg, #1a0a4a 0%, #2d1b6e 100%); }
.industrial-visual { background: linear-gradient(135deg, #1a2a0a 0%, #2d4a1b 100%); }
.inspection-visual { background: linear-gradient(135deg, #4a2a0a 0%, #6e3d1b 100%); }

.solar-panel-icon { position: relative; }
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 50px);
  grid-template-rows: repeat(3, 35px);
  gap: 3px;
}
.panel-grid div {
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  border-radius: 4px;
  border: 1px solid rgba(100,181,246,0.4);
  position: relative;
}
.panel-grid div::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, rgba(100,181,246,0.1), rgba(100,181,246,0.3));
  border-radius: 2px;
}

.drone-mini {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  animation: droneFly 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px var(--blue));
}

.spray-mini {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-40%);
  font-size: 1rem;
  animation: sprayAnim 1s ease-in-out infinite;
}

@keyframes sprayAnim {
  0%, 100% { opacity: 0.6; transform: translateX(-40%) scale(0.8); }
  50% { opacity: 1; transform: translateX(-40%) scale(1.2); }
}

.building-icon, .industrial-icon, .inspection-icon {
  position: relative;
  width: 120px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.building-body {
  width: 80px;
  height: 120px;
  background: linear-gradient(180deg, #2d1b6e, #1a0a4a);
  border: 1px solid rgba(150,100,255,0.4);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.window-grid {
  display: grid;
  grid-template-columns: repeat(3, 14px);
  gap: 5px;
}
.window-grid div {
  width: 14px;
  height: 16px;
  background: rgba(150,200,255,0.5);
  border-radius: 2px;
}

.chimney {
  width: 30px;
  height: 80px;
  background: linear-gradient(180deg, #3a5a2a, #1a2a0a);
  border-radius: 4px;
  border: 1px solid rgba(100,200,100,0.3);
}
.tank {
  width: 60px;
  height: 50px;
  background: linear-gradient(135deg, #3a5a2a, #1a2a0a);
  border-radius: 50%;
  border: 1px solid rgba(100,200,100,0.3);
  margin-left: 10px;
}
.scan-effect {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255,170,50,0.5);
  border-radius: 8px;
  position: relative;
  animation: scanAnim 2s ease-in-out infinite;
}
.scan-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,170,50,0.8);
  animation: scanLine 2s linear infinite;
}
@keyframes scanLine {
  0% { top: 0; }
  100% { top: 100%; }
}
@keyframes scanAnim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,170,50,0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(255,170,50,0.2); }
}
.thermal-icon { position: absolute; top: 10px; right: 10px; font-size: 1.5rem; }

.service-content { padding: 1.75rem; }

.service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0,170,255,0.12);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.service-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--gray3);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-features {
  margin-bottom: 1.5rem;
}
.service-features li {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  padding: 4px 0;
}

/* =============================================
   BEFORE & AFTER
   ============================================= */
.before-after-section {
  padding: 100px 0;
  background: var(--dark);
}

.ba-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.ba-slider {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
}

.ba-before, .ba-after {
  position: absolute;
  top: 0;
  bottom: 0;
}

.ba-before { left: 0; right: 50%; }
.ba-after { left: 50%; right: 0; }

.ba-panel {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ba-panel.dirty { background: linear-gradient(135deg, #1a1a1a, #2a2a2a); }
.ba-panel.clean { background: linear-gradient(135deg, #0a1628, #0d2040); }

.panel-cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 20px;
  width: 90%;
  position: relative;
  z-index: 1;
}

.cell {
  height: 60px;
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  border-radius: 4px;
  border: 1px solid rgba(100,181,246,0.3);
}

.clean-cells .cell {
  background: linear-gradient(135deg, #1976D2, #1565C0);
  border-color: rgba(100,181,246,0.6);
  box-shadow: 0 0 8px rgba(100,200,255,0.2);
}

.dirt-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(80,60,20,0.4),
    rgba(80,60,20,0.4) 10px,
    rgba(60,40,10,0.3) 10px,
    rgba(60,40,10,0.3) 20px
  );
  z-index: 2;
  pointer-events: none;
}

.ba-label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: rgba(0,0,0,0.5);
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 5;
}

.ba-stat {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.88rem;
  padding: 6px 16px;
  border-radius: 20px;
  z-index: 5;
  white-space: nowrap;
}
.ba-stat.red { background: rgba(220,50,50,0.2); border: 1px solid rgba(220,50,50,0.4); color: #ff7070; }
.ba-stat.green { background: rgba(0,220,120,0.2); border: 1px solid rgba(0,220,120,0.4); color: #00dc78; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  width: 50px;
}
.handle-line {
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,0.6);
}
.handle-circle {
  width: 46px;
  height: 46px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0,170,255,0.5);
  flex-shrink: 0;
}

.ba-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ba-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s;
}
.ba-stat-card:hover {
  border-color: rgba(0,170,255,0.3);
  transform: translateX(-4px);
}
.bs-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.bs-num {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bs-label { font-size: 0.8rem; color: var(--gray3); margin-top: 4px; }

/* =============================================
   TECHNOLOGY
   ============================================= */
.tech-section {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.tech-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,170,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-left { padding-right: 2rem; }
.tech-left .section-title { text-align: left; }
.tech-left .section-desc { text-align: left; margin: 0 0 2.5rem; }

.tech-specs { display: flex; flex-direction: column; gap: 1.25rem; }

.spec-bar-wrap { flex: 1; }
.spec-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.spec-val { color: var(--blue); }

.spec-bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  overflow: hidden;
}

.spec-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 50px;
  transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 0 12px rgba(0,170,255,0.5);
}

/* Drone 3D Card */
.drone-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(0,170,255,0.2);
  border-radius: var(--radius);
  padding: 3rem;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.drone-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(0,170,255,0.2), transparent, rgba(0,212,170,0.2));
  border-radius: inherit;
  z-index: -1;
}

.drone-3d { position: relative; animation: droneFly 4s ease-in-out infinite; }

.drone-3d-body {
  position: relative;
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 0 20px rgba(0,170,255,0.5));
}

.d3-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  border-radius: 10px;
  border: 2px solid rgba(0,170,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--blue);
  box-shadow: 0 0 20px rgba(0,170,255,0.3);
}

.d3-arm {
  position: absolute;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #1565C0, #0D47A1);
  border-radius: 2px;
}
.d3-tl { top: 28%; left: 4%; transform: rotate(-45deg); }
.d3-tr { top: 28%; right: 4%; transform: rotate(45deg); }
.d3-bl { bottom: 28%; left: 4%; transform: rotate(45deg); }
.d3-br { bottom: 28%; right: 4%; transform: rotate(-45deg); }

.d3-rotor {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 2.5px solid rgba(0,170,255,0.7);
  border-radius: 50%;
  animation: rotorSpin 0.12s linear infinite;
}
.d3-rotor.r1 { top: 4px; left: 8px; }
.d3-rotor.r2 { top: 4px; right: 8px; }
.d3-rotor.r3 { bottom: 4px; left: 8px; }
.d3-rotor.r4 { bottom: 4px; right: 8px; }

.d3-camera {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
}
.d3-tank {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
}

.drone-spec-tags { position: absolute; inset: 0; }

.dtag {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0,170,255,0.1);
  border: 1px solid rgba(0,170,255,0.3);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  animation: tagPulse 3s ease-in-out infinite;
}
.dtag:nth-child(2) { animation-delay: 0.5s; }
.dtag:nth-child(3) { animation-delay: 1s; }
.dtag:nth-child(4) { animation-delay: 1.5s; }

@keyframes tagPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* =============================================
   PROCESS
   ============================================= */
.process-section {
  padding: 100px 0;
  background: var(--dark);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  gap: 1.5rem;
}

.process-line {
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0.3;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
}

.step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-family: 'Orbitron', sans-serif;
}

.step-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(0,170,255,0.12), rgba(0,212,170,0.08));
  border: 1.5px solid rgba(0,170,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: all 0.4s;
}

.step-item:hover .step-icon {
  background: linear-gradient(135deg, rgba(0,170,255,0.2), rgba(0,212,170,0.15));
  border-color: rgba(0,170,255,0.6);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0,170,255,0.3);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-content p {
  color: var(--gray3);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-section {
  padding: 100px 0;
  background: var(--navy);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--gray3);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Noto Sans KR', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(0,170,255,0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.5s ease;
}

.portfolio-item.hidden { display: none; }

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  border-color: rgba(0,170,255,0.3);
}

.portfolio-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.pv1 { background: linear-gradient(135deg, #0a2a4a, #0d4a1a); }
.pv2 { background: linear-gradient(135deg, #1a0a4a, #2a1a6a); }
.pv3 { background: linear-gradient(135deg, #0a3a1a, #0d5a2a); }
.pv4 { background: linear-gradient(135deg, #3a1a0a, #5a2a1a); }
.pv5 { background: linear-gradient(135deg, #0a1a4a, #1a0a5a); }
.pv6 { background: linear-gradient(135deg, #1a1a1a, #2a2a3a); }

.pv-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.1);
}
.pv-icon { font-size: 3.5rem; opacity: 0.6; }
.pv-grid-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(0,170,255,0.05) 0, rgba(0,170,255,0.05) 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(90deg, rgba(0,170,255,0.05) 0, rgba(0,170,255,0.05) 1px, transparent 1px, transparent 30px);
}

.portfolio-info {
  background: rgba(255,255,255,0.03);
  padding: 1.25rem;
}
.pi-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.solar-tag { background: rgba(255,200,0,0.12); color: #ffd700; border: 1px solid rgba(255,200,0,0.3); }
.building-tag { background: rgba(150,100,255,0.12); color: #c89fff; border: 1px solid rgba(150,100,255,0.3); }
.industrial-tag { background: rgba(100,200,100,0.12); color: #90ee90; border: 1px solid rgba(100,200,100,0.3); }

.portfolio-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.pi-stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.pi-stats span {
  font-size: 0.75rem;
  color: var(--gray3);
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section {
  padding: 100px 0;
  background: var(--dark);
  overflow: hidden;
}

.reviews-track-wrap {
  overflow: hidden;
  position: relative;
}
.reviews-track-wrap::before,
.reviews-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.reviews-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark), transparent);
}
.reviews-track-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--dark), transparent);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0.5rem 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  min-width: 340px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.4s;
  flex-shrink: 0;
}
.review-card:hover {
  border-color: rgba(0,170,255,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.review-stars {
  color: #FFD700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.review-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.review-card p::before { content: '"'; color: var(--blue); font-size: 1.2rem; }
.review-card p::after { content: '"'; color: var(--blue); font-size: 1.2rem; }

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}
.reviewer strong { font-size: 0.92rem; }
.reviewer small { color: var(--gray3); font-size: 0.8rem; }

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}
.rdot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.rdot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
   CALCULATOR
   ============================================= */
.calc-section {
  padding: 100px 0;
  background: var(--navy);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.calc-left .section-title { text-align: left; }
.calc-left .section-desc { text-align: left; margin: 0; }

.calc-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.calc-field {
  margin-bottom: 1.5rem;
}
.calc-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.85);
}

input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,170,255,0.5);
}
.range-val {
  text-align: right;
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 700;
  margin-top: 6px;
}

input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 1rem;
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
  transition: border-color 0.3s;
}
input[type="number"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,170,255,0.15);
}

.calc-result {
  background: rgba(0,170,255,0.06);
  border: 1px solid rgba(0,170,255,0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 0.5rem;
}
.calc-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.calc-result-item:last-child { border: none; }
.calc-result-item.highlight { padding: 12px 0; }
.cr-label { font-size: 0.88rem; color: var(--gray3); }
.cr-val { font-weight: 900; font-size: 1.1rem; color: var(--blue); }
.highlight .cr-val {
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
}

.contact-form {
  position: relative;
}

.form-row { margin-bottom: 1.25rem; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.85);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.95rem;
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
  transition: all 0.3s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(0,170,255,0.06);
  box-shadow: 0 0 0 3px rgba(0,170,255,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

.service-select {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ss-item {
  flex: 1;
  min-width: 110px;
  cursor: pointer;
}
.ss-item input { display: none; }
.ss-item span {
  display: block;
  text-align: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s;
}
.ss-item input:checked + span {
  background: rgba(0,170,255,0.15);
  border-color: var(--blue);
  color: var(--blue);
}
.ss-item:hover span {
  border-color: rgba(0,170,255,0.5);
}

.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--dark);
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  border: 1px solid rgba(0,220,120,0.3);
}
.form-success.show { display: flex; }
.success-icon { font-size: 3rem; }
.form-success h3 { font-size: 1.4rem; font-weight: 700; }
.form-success p { color: var(--gray3); }

.contact-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.contact-info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ci-item:last-child { border: none; }
.ci-icon {
  font-size: 1.3rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}
.ci-item strong { font-size: 0.88rem; }
.ci-item small { color: var(--gray3); font-size: 0.85rem; }

.contact-cert {
  background: rgba(0,170,255,0.05);
  border: 1px solid rgba(0,170,255,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-cert h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-cert ul { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-cert li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #04080F;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--gray3);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.social-links { display: flex; gap: 0.5rem; }
.social-btn {
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray3);
  transition: all 0.3s;
}
.social-btn:hover { background: rgba(0,170,255,0.12); color: var(--blue); border-color: rgba(0,170,255,0.3); }

.footer-links h4, .footer-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  color: var(--gray3);
  font-size: 0.88rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--blue); }

.footer-contact p {
  color: var(--gray3);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

/* =============================================
   FLOATING CTA
   ============================================= */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: all 0.3s;
}
.call-btn { background: linear-gradient(135deg, #00C851, #007E33); }
.quote-btn { background: linear-gradient(135deg, var(--blue), var(--blue2)); }
.float-btn:hover { transform: scale(1.15); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .tech-left { padding-right: 0; }
  .calc-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .ba-container { grid-template-columns: 1fr; }
  .ba-stats { flex-direction: row; flex-wrap: wrap; }
  .ba-stat-card { flex: 1; min-width: 120px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: rgba(10,22,40,0.97); backdrop-filter: blur(20px); padding: 80px 24px 24px; gap: 0; border-left: 1px solid rgba(0,170,255,0.2); transition: transform 0.4s; transform: translateX(100%); z-index: 1001; }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hamburger { display: flex; z-index: 1002; }

  .hero-content { padding: 100px 20px 60px; }
  .hero-stats { gap: 0.5rem; padding: 1rem; }
  .stat-divider { display: none; }
  .stat-item { min-width: 80px; }

  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-direction: column; }
  .process-line { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ba-container { grid-template-columns: 1fr; }
  .ba-slider { height: 300px; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .drone-animation { display: none; }
}

/* =============================================
   VIDEO UPLOAD PANEL
   ============================================= */
.video-upload-panel {
  background: linear-gradient(135deg, rgba(0,170,255,0.06), rgba(0,212,170,0.04));
  border: 1.5px dashed rgba(0,170,255,0.4);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  transition: border-color 0.3s;
}
.video-upload-panel:hover { border-color: rgba(0,170,255,0.7); }

.vup-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.vup-icon { font-size: 2rem; flex-shrink: 0; }
.vup-header h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.vup-header p { font-size: 0.85rem; color: var(--gray3); }
.vup-toggle-btn {
  margin-left: auto;
  padding: 10px 22px;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.vup-form {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeUp 0.4s ease;
}
.vup-form.open { display: block; }

.vup-dropzone {
  border: 2px dashed rgba(0,170,255,0.35);
  border-radius: var(--radius-sm);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(0,170,255,0.03);
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}
.vup-dropzone:hover, .vup-dropzone.drag-over {
  border-color: var(--blue);
  background: rgba(0,170,255,0.08);
}
.vup-drop-inner { text-align: center; padding: 2rem; }
.vup-drop-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.vup-drop-inner p { font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.vup-hint { font-size: 0.8rem !important; color: var(--gray3) !important; margin-top: 6px; }

.vup-preview-video {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #000;
  border-radius: var(--radius-sm);
}

.vup-fields { display: flex; flex-direction: column; gap: 1rem; }
.vup-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vup-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.vup-field input,
.vup-field select {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.92rem;
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
  transition: all 0.3s;
}
.vup-field input:focus, .vup-field select:focus {
  border-color: var(--blue);
  background: rgba(0,170,255,0.07);
}
.vup-field select option { background: #0d1f3c; }

.vup-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Video Portfolio Cards */
.portfolio-item.video-item .portfolio-visual {
  position: relative;
  height: 200px;
  background: #000;
  overflow: hidden;
}
.portfolio-item.video-item .portfolio-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-item.video-item .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  cursor: pointer;
}
.portfolio-item.video-item:hover .play-overlay { background: rgba(0,0,0,0.1); }
.play-circle {
  width: 56px;
  height: 56px;
  background: rgba(0,170,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0,170,255,0.5);
  transition: transform 0.3s;
}
.portfolio-item.video-item:hover .play-circle { transform: scale(1.15); }

.video-delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(220,50,50,0.8);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 5;
}
.video-delete-btn:hover { background: rgba(220,50,50,1); }

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}
.video-modal video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,170,255,0.2);
}
.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.video-modal-close:hover { background: rgba(220,50,50,0.7); }

/* Form note */
.form-note {
  font-size: 0.82rem;
  color: var(--gray3);
  text-align: center;
  margin-top: 0.75rem;
  padding: 10px;
  background: rgba(0,170,255,0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,170,255,0.15);
}

@media (max-width: 768px) {
  .vup-header { flex-wrap: wrap; }
  .vup-toggle-btn { margin-left: 0; width: 100%; justify-content: center; }
  .vup-field-row { grid-template-columns: 1fr; }
  .vup-actions { flex-direction: column-reverse; }
  .vup-actions .btn { justify-content: center; }
}

/* =============================================
   HERO VIDEO BACKGROUND
   ============================================= */

/* 기본 배경 (영상 없을 때) */
.hero-default-bg {
  position: absolute;
  inset: 0;
  transition: opacity 0.8s ease;
}
.hero-default-bg.hidden {
  opacity: 0;
  pointer-events: none;
}

/* 영상 래퍼 */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}

/* 영상 자체 */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 영상 위 다크 오버레이 (텍스트 가독성) */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 16, 30, 0.55) 0%,
    rgba(6, 16, 30, 0.35) 40%,
    rgba(6, 16, 30, 0.60) 100%
  );
  pointer-events: none;
}

/* ── 컨트롤 버튼 묶음 ── */
.hero-video-ctrl {
  position: absolute;
  top: 90px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 50;
  align-items: flex-end;
}

/* 업로드 레이블(버튼처럼) */
.hvc-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: rgba(0,170,255,0.18);
  border: 1.5px solid rgba(0,170,255,0.55);
  border-radius: 50px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  white-space: nowrap;
  user-select: none;
}
.hvc-upload-btn:hover {
  background: rgba(0,170,255,0.35);
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,170,255,0.3);
  transform: translateY(-2px);
}

/* 업로드 중 상태 */
.hvc-upload-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* 제거 버튼 */
.hvc-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(220,50,50,0.15);
  border: 1.5px solid rgba(220,80,80,0.45);
  border-radius: 50px;
  color: #ff8080;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  white-space: nowrap;
}
.hvc-remove-btn:hover {
  background: rgba(220,50,50,0.3);
  border-color: #ff5555;
  color: #fff;
  transform: translateY(-2px);
}

/* 영상 로딩 스피너 */
.hero-video-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(6,16,30,0.8);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.hero-video-loading.show {
  opacity: 1;
  pointer-events: auto;
}
.hvl-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(0,170,255,0.2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spinnerRot 0.9s linear infinite;
}
@keyframes spinnerRot {
  to { transform: rotate(360deg); }
}
.hvl-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* 재생/일시정지 토글 버튼 */
.hvc-play-btn {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  white-space: nowrap;
}
.hvc-play-btn.show { display: inline-flex; }
.hvc-play-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* 반응형 */
@media (max-width: 768px) {
  .hero-video-ctrl {
    top: 72px;
    right: 14px;
  }
  .hvc-upload-btn,
  .hvc-remove-btn,
  .hvc-play-btn {
    padding: 7px 13px;
    font-size: 0.76rem;
  }
}

/* ===== VUP FTP GUIDE & URL INPUT ===== */
.vup-ftp-guide {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0,170,255,0.08);
  border: 1px solid rgba(0,170,255,0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.vup-ftp-icon { font-size: 2rem; line-height: 1; }
.vup-ftp-text strong { color: #00aaff; font-size: 0.97rem; }
.vup-ftp-text p { color: #aac4d8; font-size: 0.85rem; margin: 4px 0 0; line-height: 1.6; }
.vup-ftp-text code {
  background: rgba(0,170,255,0.15);
  color: #00d4aa;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
}
.vup-ftp-example { margin-top: 6px !important; }

.vup-url-wrap { margin-bottom: 18px; }
.vup-url-label { display: block; font-size: 0.88rem; color: #aac4d8; margin-bottom: 8px; font-weight: 600; }
.vup-url-row { display: flex; gap: 10px; }
.vup-url-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.9rem;
  transition: border 0.2s;
}
.vup-url-input:focus {
  outline: none;
  border-color: #00aaff;
  background: rgba(0,170,255,0.07);
}
.vup-preview-btn {
  white-space: nowrap;
  padding: 10px 18px !important;
  font-size: 0.88rem !important;
}
.vup-url-error { color: #ff6b6b; font-size: 0.83rem; margin-top: 6px; }

/* ===== 아파트창문 카테고리 태그 ===== */
.apartment-tag {
  background: linear-gradient(135deg, rgba(0,212,170,0.2), rgba(0,212,170,0.1));
  color: #00d4aa;
  border: 1px solid rgba(0,212,170,0.3);
}

/* ===== 소셜 링크 아이콘 버튼 ===== */
.social-links { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
}
.social-btn:hover { transform: translateY(-2px); }

/* YouTube 버튼 */
.social-youtube {
  background: #ff0000;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,0,0,0.35);
}
.social-youtube:hover {
  background: #cc0000;
  box-shadow: 0 6px 20px rgba(255,0,0,0.5);
  color: #fff;
}

/* Instagram 버튼 */
.social-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 4px 15px rgba(188,24,136,0.35);
}
.social-instagram:hover {
  box-shadow: 0 6px 20px rgba(188,24,136,0.55);
  color: #fff;
  filter: brightness(1.1);
}

/* 포트폴리오 영상 카드 */
.portfolio-item.video-item .portfolio-visual {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #0d1f35;
  aspect-ratio: 16/9;
}
.portfolio-item.video-item .portfolio-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-item.video-item .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,22,40,0.45);
  transition: background 0.2s;
  cursor: pointer;
}
.portfolio-item.video-item:hover .play-overlay {
  background: rgba(0,170,255,0.15);
}
.play-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0,170,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,170,255,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-item.video-item:hover .play-circle {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0,170,255,0.7);
}

/* 영상 모달 */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  position: relative;
  width: min(90vw, 960px);
  background: #0a1628;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.video-modal-inner video {
  width: 100%;
  display: block;
  max-height: 80vh;
}
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  line-height: 34px;
  text-align: center;
  transition: background 0.2s;
}
.video-modal-close:hover { background: rgba(255,60,60,0.8); }

/* ===== JS 오류 폴백 - 섹션이 항상 보이도록 ===== */
/* IntersectionObserver가 실패해도 1초 후 자동으로 보이게 */
.why-card,
.step-item,
.portfolio-item {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
/* 섹션 헤더 기본 보임 */
.section-header,
.services-grid,
.why-grid,
.tech-content,
.contact-section,
.reviews-section,
.portfolio-section {
  opacity: 1 !important;
}
