/* ===== Base reset ===== */
:root{
  --line: rgba(255,255,255,.10);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

/* ===== Fullscreen Video Background ===== */
.video-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* 👇 zoom effect */
  
  transform-origin: center;

  z-index: -2;
  background: black;
}

/* ===== Header (ONLY) ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 20px;

  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.62);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.brandMark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6300;
  box-shadow: 0 0 0 5px rgba(255,99,0,.10);
}

.brandNameLogo {
  height: 28px;
  width: auto;
  display: block;
}

.brandTag {
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.6);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav a {
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* ✅ Dropdown: first item in orange */
.header--mobileOnly .mobileMenu a:first-child{
  color: var(--accent);
  background: rgba(255,99,0,.10);
  border-color: rgba(255,99,0,.45);
  font-weight: 700;
}

/* Optional: keep it orange on hover too */
.header--mobileOnly .mobileMenu a:first-child:hover{
  color: var(--accent);
  background: rgba(255,99,0,.16);
  box-shadow: 0 0 0 6px rgba(255,99,0,.14);
}

/* =========================================================
   MOBILE-ONLY HEADER + DROPDOWN (matches your theme)
   ========================================================= */

/* Hidden by default (desktop/tablet) */
.header--mobileOnly{ display:none; }

/* Show ONLY on mobile */
@media (max-width: 480px){
  /* Hide your desktop header */
  .header:not(.header--mobileOnly){ display:none !important; }

  /* Show mobile header */
  .header--mobileOnly{
    display:flex !important;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;

    height: var(--header-h, 64px);
    padding: 12px 16px;

    align-items:center;
    justify-content: space-between;

    backdrop-filter: blur(12px);
    background: rgba(5,5,5,.78);
    border-bottom: 1px solid var(--line);
  }

  /* Keep body content below fixed header */
  body{ padding-top: var(--header-h, 64px); }

  /* Brand sizing (same vibe as desktop) */
  .header--mobileOnly .brand{
    display:flex;
    align-items:center;
    gap: 10px;
    min-width: 0;
  }

  .header--mobileOnly .brandTag{
    display:none; /* optional: saves space on mobile */
  }

  .header--mobileOnly .brandNameLogo{
    height: 22px;
    width: auto;
    display:block;
  }

  /* Right side: CTA + burger */
  .header--mobileOnly .mobileHeaderRight{
    display:flex;
    align-items:center;
    gap: 10px;
  }

  /* Make CTA compact on mobile */
  .header--mobileOnly .headerCta{
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space: nowrap;
  }

  /* Burger button matches your iconBtn */
  .header--mobileOnly .navToggle{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
    color:#fff;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    transition: background .2s var(--ease), transform .15s var(--ease);
  }

  .header--mobileOnly .navToggle:hover{
    background: rgba(255,255,255,.07);
    transform: translateY(-1px);
  }

  .header--mobileOnly .navToggle:active{
    transform: translateY(0);
  }

  .header--mobileOnly .navToggle:focus-visible{
    outline:none;
    box-shadow: 0 0 0 6px rgba(255,99,0,.18);
    border-color: rgba(255,99,0,.45);
  }

  /* =========================
     DROPDOWN MENU PANEL
     ========================= */

  .header--mobileOnly{
    position: fixed; /* ensures dropdown anchors to header */
  }

  .header--mobileOnly .mobileMenu{
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);

    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);

    background: rgba(6,6,6,.96);
    backdrop-filter: blur(14px);

    box-shadow:
      0 18px 50px rgba(0,0,0,.55),
      0 0 0 1px rgba(255,255,255,.04) inset;

    display:flex;
    flex-direction: column;
    gap: 8px;

    /* hidden state */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    pointer-events: none;

    transition:
      max-height .35s var(--ease),
      opacity .22s var(--ease),
      transform .22s var(--ease);
  }

  /* orange glow behind panel (subtle) */
  .header--mobileOnly .mobileMenu::before{
    content:"";
    position:absolute;
    inset:-18px -18px auto -18px;
    height: 110px;
    background: radial-gradient(
      closest-side,
      rgba(255,99,0,.22),
      rgba(255,99,0,0) 70%
    );
    filter: blur(18px);
    pointer-events:none;
    z-index:0;
  }

  /* links as pill buttons */
  .header--mobileOnly .mobileMenu a{
    position: relative;
    z-index: 1;

    display:flex;
    align-items:center;

    padding: 12px 12px;
    border-radius: 14px;

    color: #fff;
    font-size: 14px;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);

    transition:
      transform .15s var(--ease),
      background .2s var(--ease),
      border-color .2s var(--ease),
      box-shadow .2s var(--ease);

    text-decoration: none;
  }

  .header--mobileOnly .mobileMenu a:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.08);
    border-color: rgba(255,99,0,.35);
    box-shadow: 0 0 0 6px rgba(255,99,0,.10);
  }

  .header--mobileOnly .mobileMenu a:active{
    transform: translateY(0);
    background: rgba(255,99,0,.14);
    border-color: rgba(255,99,0,.45);
  }

  .header--mobileOnly .mobileMenu a:focus-visible{
    outline:none;
    box-shadow: 0 0 0 6px rgba(255,99,0,.18);
    border-color: rgba(255,99,0,.45);
  }

  /* OPEN state
     You have two choices:
     A) Toggle a class on the header: .header--menuOpen
     B) Toggle aria-hidden="false" on .mobileMenu
  */

  /* A) class-based open */
  .header--mobileOnly.header--menuOpen .mobileMenu{
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* B) aria-based open */
  .header--mobileOnly .mobileMenu[aria-hidden="false"]{
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}


/* Premium floating buttons (black glass) */
.bottomCtas{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 56px;
  z-index: 30;

  display: flex;
  gap: 30px;

  /* no container look */
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  box-shadow: none;

  transition: bottom 4s cubic-bezier(.22, 1, .36, 1);

  justify-content: center;   /* center the group */
  flex-wrap: wrap;           /* optional: wrap on tiny screens */
}

/* Safe-area for iPhone */
@supports (padding: max(0px)){
  .bottomCtas{
    bottom: max(16px, env(safe-area-inset-bottom));
    transition: bottom 4s cubic-bezier(.22, 1, .36, 1);
  }
}

.ctaBtn{
  flex: 0 0 auto;            /* <-- stops full-width */
  padding: 0 35px;           /* controls button width */
  min-width: 160px;          /* optional: consistent size */
  max-width: 240px;          /* optional: cap size */
  height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px; /* pill */
  text-decoration: none;

  font-weight: 450;
  font-size: 13px;
  letter-spacing: .2px;

  /* premium black */
  background: rgba(8,8,8,.78);
  backdrop-filter: blur(14px);

  /* crisp edge + subtle highlight */
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 18px 40px rgba(0,0,0,.60),
    0 1px 0 rgba(255,255,255,.08) inset;

  color: rgba(255,255,255,.92);

  transition:
    transform .16s var(--ease),
    background .2s var(--ease),
    border-color .2s var(--ease),
    box-shadow .2s var(--ease),
    filter .2s var(--ease);
}

.ctaBtn:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.20);
  box-shadow:
    0 24px 55px rgba(0,0,0,.70),
    0 1px 0 rgba(255,255,255,.10) inset,
    0 0 0 6px rgba(255,99,0,.08); /* soft halo */
}

.ctaBtn:active{
  transform: translateY(0);
  filter: brightness(.98);
}

/* Primary: slightly more “accented” but still black */
.ctaBtn--primary{
  background: rgba(8,8,8,.78);
  border-color: rgba(255, 98, 0, 0.502);
  box-shadow:
    0 18px 40px rgba(0,0,0,.60),
    0 1px 0 rgba(255,255,255,.08) inset,
    0 0 28px rgba(255,99,0,.10);
}

.ctaBtn--primary:hover{
  border-color: rgba(255, 98, 0, 0.711);
  box-shadow:
    0 24px 55px rgba(0,0,0,.70),
    0 1px 0 rgba(255,255,255,.10) inset,
    0 0 36px rgba(255,99,0,.16),
    0 0 0 6px rgba(255,99,0,.10);
}

/* Optional: make them "float" away from edges on desktop */
@media (min-width: 900px){
  .bottomCtas{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(680px, calc(100% - 32px));
    transition: bottom 4s cubic-bezier(.22, 1, .36, 1);
  }
}


/* After 15s: push CTAs upward */
.bottomCtas.isRaised{
  bottom: 120px; /* adjust to taste */
}

/* Keep iPhone safe-area AND raise */
@supports (padding: max(0px)){
  .bottomCtas.isRaised{
    bottom: max(120px, calc(env(safe-area-inset-bottom) + 104px));
  }
}


@media (max-width: 500px){
  .bottomCtas{
    gap: 12px;          /* smaller spacing */
  }

  .ctaBtn{
    padding: 0 18px;    /* narrower buttons */
    min-width: 120px;   /* smaller minimum */
    max-width: 200px;   /* optional cap */
    height: 44px;       /* slightly shorter */
    font-size: 14px;    /* optional */
  }
}

@media (max-width: 350px){
  .bottomCtas{
    gap: 9px;          /* smaller spacing */
  }

  .ctaBtn{
    padding: 0 16px;    /* narrower buttons */
    min-width: 10px;   /* smaller minimum */
    max-width: 180px;   /* optional cap */
    height: 40px;       /* slightly shorter */
    font-size: 12px;    /* optional */
  }
}