/* ====== Drone Silencer — styles.css ====== */
:root{
  --bg: #070c15;
  --panel: #0b1220;
  --text: #e6f0ff;
  --muted: #b6c6e3;
  --primary: #22d3ee;
  --primary-2: #60a5fa;
  --accent: #a78bfa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial,sans-serif;
  background: radial-gradient(1200px 700px at 65% -10%, rgba(96,165,250,.15), transparent 60%),
              radial-gradient(900px 600px at -10% 30%, rgba(34,211,238,.12), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
}

.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{position:static;width:auto;height:auto;padding:.5rem 1rem;background:#000;color:#fff;z-index:9999}

.container{max-width:1120px;margin:0 auto;padding:0 20px}

.site-header{
  position:sticky;top:0;z-index:1000;
  background: rgba(11,18,32,.7); backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none}
.brand img{height:36px;width:auto}
.brand span{font-weight:700;letter-spacing:.6px;color:var(--text)}

.nav{display:flex;align-items:center;gap:1.25rem}
.nav a{color:var(--muted);text-decoration:none;font-weight:600}
.nav a:hover{color:var(--text)}
.nav-toggle{display:none;background:transparent;border:1px solid rgba(255,255,255,.2);color:var(--text);padding:.5rem .75rem;border-radius:10px}

@media (max-width: 900px){
  .nav{display:none;position:absolute;top:62px;right:20px;flex-direction:column;background:var(--panel);border:1px solid rgba(255,255,255,.08);padding:1rem;border-radius:12px;box-shadow:var(--shadow)}
  .nav.open{display:flex}
  .nav-toggle{display:inline-flex}
}

.hero{
  position:relative;overflow:hidden;
  padding:clamp(60px, 10vw, 120px) 0 72px;
}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.hero h1{font-size: clamp(32px, 5vw, 54px); line-height:1.1;margin:0 0 12px}
.hero p.lead{font-size: clamp(18px, 2.6vw, 22px);color:var(--muted);margin:0 0 24px}
.actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:12px 18px;border-radius:12px;border:1px solid transparent;
  text-decoration:none;font-weight:700;letter-spacing:.2px
}
.btn.primary{background:linear-gradient(90deg, var(--primary-2), var(--primary));color:#06202b;box-shadow:0 8px 20px rgba(34,211,238,.3)}
.btn.secondary{border-color:rgba(255,255,255,.2);color:var(--text);background:rgba(255,255,255,.05)}

.hero-visual{
  position:relative;height:360px;border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;box-shadow:var(--shadow)
}
.wave{
  position:absolute;inset:0;opacity:.9;
}
.wave path{stroke-width:2;fill:none}
.wave .w1{stroke:var(--primary);}
.wave .w2{stroke:var(--primary-2);opacity:.8}
.wave .w3{stroke:var(--accent);opacity:.6}
@keyframes drift{from{transform:translateX(0)}to{transform:translateX(-200px)}}
.wave g{animation: drift 8s linear infinite}

.section{padding:44px 0;border-top:1px solid rgba(255,255,255,.06)}
.section h2{font-size: clamp(26px, 4vw, 36px);margin:0 0 10px}
.section p{color:var(--muted)}

.grid-3{display:grid;grid-template-columns: repeat(3,1fr);gap:20px}
.grid-2{display:grid;grid-template-columns: repeat(2,1fr);gap:20px}
@media (max-width:900px){.hero-grid, .grid-3, .grid-2{grid-template-columns:1fr}}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  padding:20px;border-radius:14px;box-shadow:var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover{transform: translateY(-4px);border-color: rgba(255,255,255,.18)}
.card .icon{width:32px;height:32px;margin-bottom:8px;opacity:.9}

.kpis{display:flex;gap:24px;flex-wrap:wrap;margin-top:18px}
.kpis .k{opacity:.85;border:1px solid rgba(255,255,255,.08);padding:10px 14px;border-radius:999px;font-weight:700}

.list{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px
}
.list li{list-style:none;padding:12px 14px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.02)}
.list li::before{content:"• ";color:var(--primary)}

.timeline{position:relative;margin-top:32px}
.timeline::before{
  content:"";position:absolute;left:12px;top:0;bottom:0;width:2px;background:linear-gradient(var(--primary), var(--accent));opacity:.6
}
.step{position:relative;margin-left:36px;margin-bottom:18px}
.step::before{
  content:"";position:absolute;left:-23px;top:4px;width:12px;height:12px;border-radius:50%;
  background:var(--primary-2);box-shadow:0 0 0 4px rgba(96,165,250,.15)
}

.programs{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px}
.program{min-width:160px;padding:16px;border-radius:12px;border:1px dashed rgba(255,255,255,.18);background:rgba(255,255,255,.03);text-align:center}
.program small{display:block;color:var(--muted)}

.faq details{border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:14px 16px;background:rgba(255,255,255,.02)}
.faq details+details{margin-top:10px}
.faq summary{cursor:pointer;font-weight:700}
.faq p{margin-top:10px}

footer{padding:32px 0;border-top:1px solid rgba(255,255,255,.06);color:var(--muted);font-size:14px}
footer a{color:var(--text)}

.reveal{opacity:0;transform: translateY(12px);transition:opacity .6s ease, transform .6s ease}
.reveal.show{opacity:1;transform:none}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important}
}

.visualizer-container {
            position: relative;
            width: 100%;
            max-width: 600px; /* Adjust based on your layout */
            height: 360px;
            background: linear-gradient(180deg, #131b2e 0%, #0b1220 100%);
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
            overflow: hidden;
        }

canvas {
            display: block;
            width: 100%;
            height: 100%;
        }

.overlay-ui {
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            display: flex;
            justify-content: space-between;
            pointer-events: none; /* Let clicks pass through to canvas if needed */
        }

.status-badge {
            background: rgba(0, 0, 0, 0.5);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

.status-badge.active {
            background: rgba(0, 255, 170, 0.15);
            border-color: #00ffaa;
            color: #00ffaa;
            box-shadow: 0 0 15px rgba(0, 255, 170, 0.2);
        }

.status-badge.inactive {
            background: rgba(255, 80, 80, 0.15);
            border-color: #ff5050;
            color: #ff5050;
        }

.legend {
            position: absolute;
            bottom: 20px;
            left: 20px;
            display: flex;
            gap: 15px;
            font-size: 0.7rem;
            opacity: 0.8;
        }

.legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

.dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        /* Button to toggle interaction manually */
.toggle-btn {
            position: absolute;
            bottom: 20px;
            right: 20px;
            pointer-events: auto;
            background: white;
            color: #0b1220;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            font-weight: bold;
            cursor: pointer;
            font-size: 0.8rem;
            transition: transform 0.2s;
        }
        
.toggle-btn:hover {
            transform: scale(1.05);
        }