/* ============================================================
   cxsmic — Fortnite-clean landing theme
   Blue + Orange on Space Black, crisp + airy, not heavy
   ============================================================ */

:root{
  --bg:#070A10;
  --bg2:#0B1220;             /* slightly brighter space */
  --panel: rgba(14, 20, 34, 0.72);
  --panel2: rgba(17, 26, 46, 0.62);

  --text:#EAF1FF;
  --muted:#A9B9DA;

  --blue:#1E7CFF;
  --blue2:#0B5BFF;
  --orange:#FF7A18;
  --orange2:#FF9A2E;

  --line: rgba(234,241,255,0.10);
  --line2: rgba(30,124,255,0.22);

  --radius:16px;
  --radius-sm:12px;

  --shadow: 0 10px 28px rgba(0,0,0,0.35);
  --shadow2: 0 8px 20px rgba(0,0,0,0.25);

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{ box-sizing:border-box; }
html{ height:100%; }
body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 18% 6%, rgba(30,124,255,0.14), transparent 62%),
    radial-gradient(900px 650px at 88% 18%, rgba(255,122,24,0.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

@media (max-width:1280px){
  body{
    background: #070A10;
  }
}

/* Layout */
.container{
  width:min(1120px, calc(100% - 44px));
  margin:0 auto;
}
.section{ padding:68px 0; }
@media (max-width: 900px){ .section{ padding:54px 0; } }

.panel{
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}

/* Header / Nav (clean sticky glass) */
.header{
  position:sticky; top:0; z-index:20;
  background: rgba(7,10,16,0.72);
  border-bottom: 1px solid rgba(234,241,255,0.08);
  backdrop-filter: blur(12px);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:10px 0;
}

/* Desktop nav links */
.nav-links{
  display:flex; gap:61px; align-items:center;
}

.brand{
  display:inline-flex; align-items:center; gap:12px;
  text-decoration:none; color:var(--text);
  letter-spacing:0.08em; font-weight:900; text-transform:uppercase;
}

/* Real logo image in nav */
.brand-logo{
  width:36px; height:36px;
  border-radius:14px;
  object-fit:cover;
  border:1px solid rgba(234,241,255,0.14);
  display:block;
}

.nav a{
  color: rgba(234,241,255,0.78);
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.02em;
}
.nav a:hover{ color: var(--text); }

/* Active nav link */
.nav-active{
  color: var(--text) !important;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}

/* Hero */
.hero{ padding:31px 0 9px; }
@media (max-width:1024px){ .hero{ padding:15px 0 7px; } }

/* Hero two-column split */
.hero-split{
  display:flex;
  align-items:center;
  gap:40px;
}

.hero-text{
  flex:1 1 0;
  min-width:0;
}

.hero-image-wrap{
  flex:0 0 auto;
  width:clamp(280px, 38%, 480px);
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.hero-image{
  width:100%;
  height:auto;
  display:block;
  border-radius:20px;
  filter: drop-shadow(0 0 32px rgba(30,124,255,0.22)) drop-shadow(0 0 14px rgba(255,122,24,0.14));
}

/* Mobile: hide image, stack text full width */
@media (max-width:1024px){
  .hero-split{
    flex-direction:column;
    gap:0;
  }
  .hero-image-wrap{
    display:none;
  }
  .hero-text{
    width:100%;
    display:block;
  }
}

/* Mobile hero image block — hidden on desktop, shown below text on mobile */
.hero-image-mobile{
  display:none;
}
@media (max-width:1024px){
  .hero-image-mobile{
    display:flex;
    justify-content:center;
    margin-top:24px;
    margin-bottom:-60px;
  }
  .hero-image-mobile img,
  .hero-image-mobile .hero-image{
    width:100%;
    max-width:400px;
    height:auto;
    border-radius:0;
    filter: none;
  }
}

.h-title{
  font-size: clamp(2.1rem, 4.0vw, 3.2rem);
  line-height:1.02;
  margin: 14px 0 12px;
  text-transform:uppercase;
  letter-spacing:0.08em;
}
.h-sub{
  margin:0 0 22px;
  color: var(--muted);
  max-width: 64ch;
  font-size: 1.05rem;
  line-height:1.6;
}

.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(234,241,255,0.10);
  background: rgba(14,20,34,0.55);
  color: rgba(234,241,255,0.80);
  font-weight:700;
}
.badge-dot{
  width:10px; height:10px;
  border-radius:4px;
  background: var(--orange);
}

/* Buttons (clean, less heavy) */
.btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration:none;
  font-weight:900;
  letter-spacing:0.05em;
  text-transform:uppercase;
  cursor:pointer;
  user-select:none;
}

.btn-primary{
  color:#000000 !important;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  border-color: rgba(255,154,46,0.28);
  box-shadow: 0 10px 20px rgba(255,122,24,0.16);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(255,122,24,0.20);
}

.btn-secondary{
  color: var(--text);
  background: rgba(30,124,255,0.12);
  border-color: rgba(30,124,255,0.35);
}
.btn-secondary:hover{
  background: rgba(30,124,255,0.16);
  transform: translateY(-1px);
}

.btn-ghost{
  color: rgba(234,241,255,0.90);
  background: transparent;
  border-color: rgba(234,241,255,0.14);
}
.btn-ghost:hover{
  border-color: rgba(234,241,255,0.26);
  transform: translateY(-1px);
}

/* Grid / Cards (airy) */
.grid{ display:grid; gap:16px; }
.grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 900px){
  .grid-3,.grid-2{ grid-template-columns: 1fr; }
}

.card{
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(234,241,255,0.10);
  background: rgba(14,20,34,0.60);
  box-shadow: var(--shadow2);
}
.card-title{
  margin:0 0 8px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.98rem;
}
.card p{ margin:0; color: var(--muted); line-height:1.65; }

.stripe-blue{ border-left: 4px solid var(--blue); padding-left: 14px; }
.stripe-orange{ border-left: 4px solid var(--orange); padding-left: 14px; }

/* Center hero buttons on mobile */
@media (max-width:1024px){
  .hero-btns{
    justify-content: center;
  }
}
.tiles-section{
  margin-top:38px;
}
@media (max-width:900px){
  .tiles-section{
    margin-top:83px;
  }
}

/* Feature tile header with flag image */
.tile-header{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.tile-flag{
  width:32px;
  height:auto;
  display:block;
  flex-shrink:0;
}

.tile-title{
  margin:0;
  font-size:1.65rem;
  font-weight:950;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--text);
  text-shadow:
    0 0 12px rgba(30,124,255,0.55),
    0 2px 4px rgba(0,0,0,0.80);
  -webkit-text-stroke: 0.5px rgba(234,241,255,0.35);
}

/* Videos placeholders (clean frames) */
.video-frame{
  border-radius: 14px;
  border: 1px solid rgba(234,241,255,0.10);
  background:#000;
  overflow:hidden;
}
.video-frame-inner{
  aspect-ratio: 16 / 9;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(234,241,255,0.70);
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

/* Forms (clean) */
.label{
  display:block;
  margin:0 0 8px;
  color: rgba(234,241,255,0.78);
  font-weight:800;
  letter-spacing:0.06em;
  text-transform:uppercase;
  font-size: 0.82rem;
}
.input,.select,.textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234,241,255,0.12);
  background: rgba(7,10,16,0.40);
  color: var(--text);
  outline:none;
}
.input:focus,.select:focus,.textarea:focus{
  border-color: rgba(30,124,255,0.55);
  box-shadow: 0 0 0 3px rgba(30,124,255,0.18);
}

/* Links / separators */
a{ color: #6AA6FF; }
a:hover{ color: var(--text); }

.hr{
  height:1px;
  border:0;
  background: rgba(234,241,255,0.10);
  margin: 22px 0;
}

/* Footer */
.footer{
  margin-top:auto;
  padding: 26px 0;
  color: rgba(234,241,255,0.70);
  border-top: 1px solid rgba(234,241,255,0.08);
  background: rgba(7,10,16,0.45);
  font-size: clamp(0.7rem, 1.2vw, 0.95rem);
}

/* Small utilities */
.text-cxsmic{
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 950;
}
.accent-blue{ color: var(--blue); }
.accent-orange{ color: var(--orange); }

/* ============================================================
   Responsive hamburger + mobile menu
   ============================================================ */

.nav-cta { display:inline-flex; }

.hamburger{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border: 1px solid rgba(234,241,255,0.14);
  background: rgba(14,20,34,0.55);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  padding:0;
}

.hamburger:hover{
  border-color: rgba(234,241,255,0.22);
}

.hamburger-lines{
  position: relative;
  width: 18px; height: 2px;
  background: rgba(234,241,255,0.86);
  border-radius: 2px;
  display:block;
}
.hamburger-lines::before,
.hamburger-lines::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px; height: 2px;
  background: rgba(234,241,255,0.86);
  border-radius: 2px;
  transition: transform 180ms ease, top 180ms ease, opacity 180ms ease;
}
.hamburger-lines::before{ top:-6px; }
.hamburger-lines::after{ top: 6px; }

/* Animate to X when open */
.hamburger[aria-expanded="true"] .hamburger-lines{
  background: transparent;
}
.hamburger[aria-expanded="true"] .hamburger-lines::before{
  top:0;
  transform: rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-lines::after{
  top:0;
  transform: rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu{
  border-top: 1px solid rgba(234,241,255,0.08);
  background: rgba(7,10,16,0.97);
  backdrop-filter: blur(18px);
}

.mobile-menu-inner{
  padding: 16px 0 22px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(234,241,255,0.10);
  background: rgba(14,20,34,0.60);
  color: rgba(234,241,255,0.88);
  text-decoration:none;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing:0.05em;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease;
}

.mobile-link:hover{
  border-color: rgba(30,124,255,0.40);
  background: rgba(30,124,255,0.08);
  color: var(--text);
}

.mobile-link-arrow{
  font-size: 1.4rem;
  line-height:1;
  color: var(--orange);
  font-weight: 400;
}

/* Active state for mobile nav */
.mobile-link-active{
  border-color: rgba(255,122,24,0.45);
  background: rgba(255,122,24,0.08);
  color: var(--text);
}

.mobile-link-active .mobile-link-arrow{
  color: var(--orange);
}

/* Large contact button at bottom of mobile menu */
.mobile-contact-btn{
  margin-top: 6px;
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  border-radius: 14px;
  justify-content: center;
}

/* Breakpoint behavior */
@media (max-width: 820px){
  .nav-links{ display:none; }
  .nav-cta{ display:none; }
  .hamburger{ display:inline-flex; }
}

/* Optional: prevent background scroll when menu open */
body.menu-open{
  overflow:hidden;
}

/* ============================================================
   Remove all background effects on <1280px
   ============================================================ */
@media (max-width:1280px){
  .header{
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero{
    background: transparent;
  }
  .footer{
    margin-top: 20px;
  }
  .card{
    background: rgba(14,20,34,0.80);
    box-shadow: none;
    border-color: rgba(234,241,255,0.06);
  }
  .btn-primary{
    box-shadow: none;
  }
  .btn-primary:hover{
    box-shadow: none;
  }
  .mobile-menu{
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mobile-link{
    background: var(--bg2);
  }
  .badge{
    background: transparent;
  }
  .panel{
    background: var(--bg2);
    box-shadow: none;
  }
  .hero-image-mobile img,
  .hero-image-mobile .hero-image{
    filter: none;
    box-shadow: none;
  }
}
