:root{
  --bg:#0b111b;
  --bg-2:#0f1726;
  --panel:#121c2e;
  --panel-2:#0e1626;
  --text:#ffffff;
  --muted:rgba(255,255,255,.76);
  --muted-2:rgba(255,255,255,.62);
  --line:rgba(255,255,255,.12);
  --gold:#f3c84b;
  --gold-2:#f7d66a;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(243,200,75,.12), transparent 55%),
    radial-gradient(900px 600px at 85% 10%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  line-height: 1.5;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section{
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

h1,h2{
  margin:0 0 14px 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1{ font-size: clamp(40px, 4.8vw, 60px); font-weight: 850; }
h2{ font-size: clamp(28px, 3.0vw, 40px); font-weight: 850; }
p{ margin:0 0 14px 0; color: var(--muted); }
.lead{ font-size:18px; color: var(--muted); max-width: 62ch; margin-bottom: 24px; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
.eyebrow:before{
  content:"";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
}

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,17,27,.74);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  overflow: visible;
}



.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 0;
  gap: 16px;
}
.brand{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 20px;
  text-transform: lowercase;
}
.nav{
  display:flex;
  gap: 14px;
  align-items:center;
}
.nav a{
  color: var(--muted);
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

/* 1. Hide mobile-specific elements by default on PC */
/* Adding !important to ensure it overrides the standard .btn display */
.nav-toggle, 
.nav-toggle-label, 
.mobile-only-btn {
  display: none !important; 
}

/* 2. Style for the button INSIDE the mobile menu */
@media (max-width: 980px) {
  #nav-toggle:checked ~ .nav .mobile-only-btn {
    display: inline-flex !important; /* Show it only when menu is open */
    background: var(--gold);
    color: #0b111b !important; /* This is your navy/dark blue background color */
    font-weight: 800;
  }
}

/* Ensure the header bar itself doesn't hide the menu */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,17,27,.9);
  backdrop-filter: blur(10px);
  overflow: visible !important; /* Critical: allows menu to drop down */
}

/* --- 2. Mobile Logic (980px and down) --- */
@media (max-width: 980px) {
  /* Hide the long desktop button */
  .nav-desktop-btn {
    display: none !important;
  }

  /* Show the Hamburger lines */
  .nav-toggle-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
  }

  /* Hamburger Icon Drawing */
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--gold);
    height: 2px;
    width: 24px;
    border-radius: 2px;
    position: relative;
    transition: all .2s ease;
  }
  .nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; }
  .nav-toggle-label span::before { bottom: 8px; }
  .nav-toggle-label span::after { top: 8px; }

  /* THE DROPDOWN MENU */
  .nav {
    display: none !important; /* Hidden until clicked */
    flex-direction: column !important;
    position: absolute;
    top: 100%; /* Sits right at the bottom of the header */
    left: 0;
    width: 100%;
    background: #0b111b; /* Matches your dark theme */
    padding: 20px;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 1050;
    gap: 0;
  }

  /* --- THE TRIGGER --- */
  /* When checkbox is checked, show the nav sibling */
  #nav-toggle:checked ~ .nav {
    display: flex !important;
  }

  /* Show the mobile button only inside the dropdown */
  .mobile-only-btn {
    display: inline-flex !important;
    margin-top: 20px;
    width: 100%;
  }

  /* Hamburger to X animation */
  #nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
  #nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); bottom: 0; }
  #nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); top: 0; }
  
  /* Mobile Link Spacing */
  .nav a {
    width: 100%;
    padding: 15px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); }
.btn:active{ transform: translateY(0px); }
.btn-primary{
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #1c2433;
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 14px 30px rgba(243,200,75,.18);
}
.btn-primary:hover{ background: linear-gradient(180deg, var(--gold-2), var(--gold)); }

.hero{
  padding: 76px 0 56px 0;
  border-top: 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:start;
}
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
  margin-top: 12px;
}
.hero-bullets{
  margin-top: 18px;
  display:grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.bullet{ display:flex; align-items:center; gap:10px; }
.dot{
  width:8px; height:8px; border-radius:999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(243,200,75,.16);
}

.hero-card{
  background:
    radial-gradient(900px 320px at 20% 10%, rgba(243,200,75,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card-title{ font-weight:900; margin-bottom: 12px; }
.mini-grid{
  display:grid;
  gap: 10px;
}
.mini{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(14,22,38,.40);
  border-radius: 14px;
  padding: 12px;
}
.mini-h{ font-weight: 900; font-size: 14px; margin-bottom: 2px; }
.mini-p{ color: var(--muted-2); font-size: 13px; }

.divider{ height: 1px; background: var(--line); margin: 16px 0; }
.badge-row{ display:flex; gap: 10px; flex-wrap:wrap; }
.badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(243,200,75,.26);
  background: rgba(243,200,75,.12);
  color: rgba(255,255,255,.90);
  font-weight: 800;
  font-size: 12px;
}

.cards-3{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.card .top{ display:flex; justify-content:space-between; align-items:center; }
.card-line{ margin-top: 10px; color: var(--muted); }

.list{
  margin: 14px 0 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.tick{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(243,200,75,.9);
  display:inline-block;
  margin-right: 10px;
}

.tiles{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tile{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height: 70px;
}
.tile-link:hover{
  border-color: rgba(243,200,75,.22);
  background: rgba(255,255,255,.08);
}
.arrow{ color: rgba(255,255,255,.75); font-weight: 900; }

.two-col{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items:center;
}
.illustration{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.final-cta{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 76px 0;
}
.cta-box{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.cta-box.centered{
  text-align:center;
  display:grid;
  gap: 10px;
  justify-items:center;
}

footer{
  padding: 26px 0 34px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size: 14px;
}
.footer-row{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links{ display:flex; gap: 14px; flex-wrap:wrap; }
.footer-links a{ color: var(--muted); }
.footer-links a:hover{ color: var(--text); }
.footer-small{ margin-top: 10px; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards-3{ grid-template-columns: 1fr; }
  .tiles{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .container{ width: min(var(--max), calc(100% - 32px)); }
  .hero{ padding: 56px 0 40px 0; }
  .section{ padding: 72px 0; }
  .brand{ font-size: 18px; }
}
:focus-visible{
  outline: 3px solid rgba(243,200,75,.55);
  outline-offset: 3px;
  border-radius: 10px;
}

.video-section{
  padding:80px 0;
  text-align:center;
}

.video-title{
  font-size:32px;
  margin-bottom:30px;
}

.video-wrapper{
  position:relative;
  padding-bottom:56.25%;
  height:0;
  overflow:hidden;
  border-radius:10px;
  box-shadow:0 20px 40px rgba(0,0,0,0.25);
}

.video-wrapper iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.video-cta{
  margin-top:30px;
}

/* ABSOLUTE FINAL OVERRIDE */
@media (max-width: 980px) {
  /* Targeting the button by class and property to force the navy color */
  header .nav a.btn.btn-primary.mobile-only-btn {
    color: #0b111b !important; 
    background: var(--gold) !important;
    -webkit-text-fill-color: #0b111b !important; /* Forces color on some mobile browsers */
    opacity: 1 !important;
  }
}

/* Fix for Anchor Links landing under the sticky header */
#industries {
  scroll-margin-top: 100px; /* Adjust this number to match your header height */
}
