/*
Theme Name: DroneStream Cinematic
Theme URI: https://example.com/dronestream
Author: DroneStream
Description: Tema promosi produk DroneStream dengan desain cinematic hitam-merah, katalog produk, dan pemesanan WhatsApp.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: dronestream
*/
:root{--ds-bg:#08090c;--ds-panel:#111319;--ds-panel2:#171a22;--ds-line:#292d38;--ds-text:#f7f7fa;--ds-muted:#a2a7b3;--ds-red:#ef233c;--ds-red2:#b80f29;--ds-max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ds-bg);color:var(--ds-text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.container{width:min(var(--ds-max),calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(8,9,12,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.08)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;min-width:150px}.brand img{width:auto;max-width:210px;max-height:58px;object-fit:contain}.brand-text{font-weight:900;letter-spacing:.08em;font-size:21px}.brand-text span{color:var(--ds-red)}.main-nav{display:flex;align-items:center;gap:25px}.main-nav a{font-size:13px;color:#d1d3da;font-weight:650;transition:.2s}.main-nav a:hover,.main-nav a:focus{color:#ff5368}.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:999px;padding:12px 20px;background:linear-gradient(135deg,#ff334d,#bd102b);color:#fff;font-size:13px;font-weight:800;box-shadow:0 8px 28px rgba(239,35,60,.2);transition:transform .2s,filter .2s}.nav-cta:hover,.button:hover{filter:brightness(1.1);transform:translateY(-2px)}.button.secondary{background:rgba(255,255,255,.04);border-color:#454955;box-shadow:none}.menu-toggle{display:none;background:none;border:1px solid var(--ds-line);color:#fff;border-radius:10px;padding:9px 12px}.hero{position:relative;overflow:hidden;padding:90px 0 76px;background:radial-gradient(ellipse at 78% 35%,rgba(178,13,39,.24),transparent 42%),linear-gradient(115deg,#090a0e 5%,#101117 58%,#190b11)}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.025) 50%,transparent 60%);pointer-events:none}.hero-grid{position:relative;display:grid;grid-template-columns:.92fr 1.08fr;gap:44px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:#ff697a;text-transform:uppercase;letter-spacing:.19em;font-size:10px;font-weight:900}.eyebrow:before{content:"";width:25px;height:2px;background:var(--ds-red)}h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(42px,6vw,76px);line-height:1.02;letter-spacing:-.055em;margin:18px 0 22px;font-weight:950}.hero h1 span,.accent{color:var(--ds-red)}.hero-copy{max-width:530px;color:#b8bbc5;font-size:16px;margin-bottom:28px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}.hero-media{position:relative}.hero-media:after{content:"";position:absolute;inset:10% 4% 0;background:rgba(239,35,60,.2);filter:blur(65px);z-index:0}.hero-media img{position:relative;z-index:1;width:100%;border-radius:20px;object-fit:cover;box-shadow:0 25px 90px #0009;border:1px solid #ffffff22}.hero-tag{position:absolute;z-index:2;bottom:18px;left:18px;background:rgba(8,9,12,.8);border:1px solid #ffffff24;border-radius:12px;padding:10px 14px;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.section{padding:82px 0}.section.alt{background:#0d0f14;border-top:1px solid #ffffff09;border-bottom:1px solid #ffffff09}.section-heading{max-width:700px;margin:0 auto 38px;text-align:center}.section-heading h2{font-size:clamp(30px,4vw,48px);line-height:1.1;letter-spacing:-.04em;margin:12px 0}.section-heading p{color:var(--ds-muted);font-size:14px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card,.feature-card,.story-card{background:linear-gradient(145deg,#171a22,#101218);border:1px solid var(--ds-line);border-radius:18px;overflow:hidden;transition:transform .25s,border-color .25s}.product-card:hover,.feature-card:hover,.story-card:hover{transform:translateY(-5px);border-color:#8d2638}.product-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#fff}.product-body{padding:22px}.product-body h3{font-size:19px;margin:0 0 8px}.product-body p{font-size:13px;color:var(--ds-muted);margin-bottom:18px}.product-meta{font-size:11px;color:#ff7888;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.text-link{color:#ff6578;font-size:13px;font-weight:800}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature-card{padding:23px}.feature-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#ef233c1b;color:#ff5268;font-size:19px;margin-bottom:17px}.feature-card h3{font-size:16px;margin:0 0 7px}.feature-card p{font-size:12px;color:var(--ds-muted);margin:0}.story-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center}.story-grid img{width:100%;border-radius:18px;border:1px solid #ffffff1c}.story-copy h2{font-size:clamp(30px,4vw,45px);line-height:1.1;letter-spacing:-.04em}.story-copy p{color:var(--ds-muted);font-size:14px}.cta-band{padding:42px;border:1px solid #702033;border-radius:22px;background:radial-gradient(ellipse at 100% 0,rgba(239,35,60,.25),transparent 45%),linear-gradient(120deg,#171016,#111319)}.cta-band h2{font-size:clamp(28px,4vw,42px);margin:0 0 8px}.cta-band p{color:#b8bbc5;margin-bottom:20px}.site-footer{padding:42px 0 25px;border-top:1px solid #252832;background:#07080b}.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.footer-brand{max-width:390px}.footer-brand p,.footer-note{font-size:12px;color:var(--ds-muted)}.footer-links{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#c5c7cf}.copyright{border-top:1px solid #252832;margin-top:28px;padding-top:18px;color:#737985;font-size:11px}.page-hero{padding:65px 0 45px;background:radial-gradient(ellipse at 80% 0,rgba(239,35,60,.18),transparent 45%),#0c0e13}.page-hero h1{font-size:clamp(36px,5vw,58px);margin:10px 0}.page-hero p{color:var(--ds-muted);max-width:700px}.single-product-layout{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:start}.single-product-layout .product-image{border-radius:18px;overflow:hidden;border:1px solid var(--ds-line);background:#fff}.single-product-layout .product-image img{width:100%}.product-detail h1{font-size:clamp(32px,4vw,48px);line-height:1.1}.product-detail p{color:var(--ds-muted)}.spec-list{padding:0;list-style:none;margin:22px 0}.spec-list li{padding:10px 0;border-bottom:1px solid var(--ds-line);font-size:13px;color:#d4d6dc}.spec-list li:before{content:"✓";color:#ff5368;font-weight:900;margin-right:10px}.content-area{padding:55px 0}.content-area article{max-width:850px;margin:auto}.content-area h2,.content-area h3{line-height:1.2}.content-area p,.content-area li{color:#c2c5ce}.empty-state{padding:30px;border:1px dashed #454955;border-radius:15px;color:var(--ds-muted);text-align:center}.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:40;background:#20bd67;color:#06130b;border-radius:999px;padding:13px 18px;font-size:12px;font-weight:900;box-shadow:0 8px 28px #0008}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:850px){.hero-grid,.story-grid,.single-product-layout{grid-template-columns:1fr}.hero{padding:62px 0}.hero-media{max-width:680px;margin:auto}.product-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:repeat(2,1fr)}.main-nav{gap:14px}.nav-cta{display:none}}
@media(max-width:620px){.container{width:calc(100% - 28px)}.header-inner{min-height:68px}.brand img{max-width:170px;max-height:48px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:68px;left:0;right:0;background:#0c0e13;padding:16px 22px 22px;border-bottom:1px solid var(--ds-line);flex-direction:column;align-items:flex-start}.main-nav.is-open{display:flex}.hero{padding:48px 0 52px}.hero h1{font-size:44px}.hero-copy{font-size:14px}.section{padding:58px 0}.product-grid,.feature-grid{grid-template-columns:1fr}.cta-band{padding:27px 22px}.footer-top{flex-direction:column}.whatsapp-float{right:12px;bottom:12px}.page-hero{padding:48px 0 32px}}




/* v1.0.2 — hard-constrained custom logo sizing */
header.site-header .header-inner > a.brand{
  flex:0 0 130px !important;
  width:130px !important;
  min-width:130px !important;
  max-width:130px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:hidden !important;
}
header.site-header .header-inner > a.brand .custom-logo-link{
  display:block !important;
  width:120px !important;
  max-width:120px !important;
  line-height:0 !important;
}
header.site-header .header-inner > a.brand img,
header.site-header .header-inner > a.brand img.custom-logo{
  display:block !important;
  width:120px !important;
  height:auto !important;
  max-width:120px !important;
  max-height:70px !important;
  object-fit:contain !important;
}
header.site-header .header-inner{min-height:82px !important}
@media(max-width:850px){
  header.site-header .header-inner > a.brand{
    flex-basis:115px !important;width:115px !important;min-width:115px !important;max-width:115px !important;
  }
  header.site-header .header-inner > a.brand .custom-logo-link,
  header.site-header .header-inner > a.brand img,
  header.site-header .header-inner > a.brand img.custom-logo{
    width:105px !important;max-width:105px !important;max-height:62px !important;
  }
}
@media(max-width:620px){
  header.site-header .header-inner{
    position:relative !important;
    min-height:72px !important;
    justify-content:center !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
  header.site-header .header-inner > a.brand{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    transform:translate(-50%,-50%) !important;
    width:92px !important;
    min-width:92px !important;
    max-width:92px !important;
    flex:none !important;
    margin:0 !important;
    justify-content:center !important;
  }
  header.site-header .header-inner > a.brand .custom-logo-link,
  header.site-header .header-inner > a.brand img,
  header.site-header .header-inner > a.brand img.custom-logo{
    width:88px !important;
    max-width:88px !important;
    max-height:54px !important;
  }
  header.site-header .header-inner > .menu-toggle{
    display:block !important;
    position:absolute !important;
    right:12px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    z-index:5 !important;
    margin:0 !important;
  }
  header.site-header .main-nav{top:72px !important}
}


/* v1.1.0 — FPV Live / DigiView integration page */
.fpv-live-hero{background:radial-gradient(ellipse at 85% 20%,rgba(239,35,60,.2),transparent 42%),#0c0e13}
.fpv-live-shell{background:linear-gradient(145deg,#171a22,#0d0f14);border:1px solid #303541;border-radius:20px;padding:24px;box-shadow:0 25px 80px #0007}
.fpv-live-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.fpv-live-kicker{font-size:10px;letter-spacing:.2em;font-weight:900;color:#ff6478}
.fpv-live-topbar h2{font-size:25px;margin:5px 0 0}
.fpv-live-status{display:inline-flex;align-items:center;gap:8px;color:#c7cbd3;font-size:10px;font-weight:800;letter-spacing:.1em}
.fpv-live-status i{width:8px;height:8px;border-radius:50%;background:#e8a33b;box-shadow:0 0 12px #e8a33b}
.fpv-live-frame-wrap{background:#050609;border:1px solid #343946;border-radius:14px;overflow:hidden}
.fpv-live-frame{display:block;width:100%;height:min(72vh,760px);min-height:520px;border:0;background:#050609}
.fpv-live-frame-note{padding:11px 14px;background:#11141b;color:#aeb4c0;font-size:11px;border-top:1px solid #303541}
.fpv-live-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 25px}
.fpv-live-actions button{cursor:pointer}
.fpv-live-help{border-top:1px solid #303541;padding-top:20px}
.fpv-live-help h3{font-size:18px;margin-bottom:10px}
.fpv-live-help ol{padding-left:21px;color:#c2c6d0;font-size:13px}
.fpv-live-help li{padding:4px 0}
.fpv-live-warning{background:#251a11;border:1px solid #6b4b24;border-radius:12px;padding:13px;color:#e7d2ae;font-size:12px;margin:18px 0 0}
@media(max-width:620px){.fpv-live-shell{padding:14px}.fpv-live-topbar{align-items:flex-start;flex-direction:column}.fpv-live-frame{min-height:420px;height:65vh}.fpv-live-actions .button{width:100%}}
