/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-bg:        #0a0a14;
  --clr-bg2:       #0f0f1e;
  --clr-card:      #13132a;
  --clr-card2:     #1a1a35;
  --clr-purple:    #7b2fff;
  --clr-purple-lt: #9d5fff;
  --clr-yellow:    #f5c518;
  --clr-orange:    #ff7b2f;
  --clr-teal:      #00d4c8;
  --clr-white:     #ffffff;
  --clr-muted:     #8888aa;
  --clr-border:    rgba(123,47,255,0.25);
  --radius:        14px;
  --transition:    0.3s ease;
  --font:          'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--clr-bg);
  color: var(--clr-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* =============================================
   STAR BACKGROUND CANVAS
============================================= */
#star-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* =============================================
   UTILITY
============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--clr-yellow);
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 30px;
  padding: 5px 16px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span { color: var(--clr-yellow); }

.section-sub {
  font-size: 16px;
  color: var(--clr-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.8;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-orange));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(123,47,255,0.4);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(123,47,255,0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--clr-white);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--clr-purple-lt);
  color: var(--clr-purple-lt);
  transform: translateY(-3px);
}

/* =============================================
   NAVIGATION
============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(10,10,20,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: transparent;
}
.nav-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.nav-logo-text span { color: var(--clr-yellow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--clr-yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(10,10,20,0.98);
  backdrop-filter: blur(16px);
  padding: 20px 24px 28px;
  border-top: 1px solid var(--clr-border);
  position: fixed;
  top: 80px; left: 0; right: 0;
  z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--clr-yellow); }
.mobile-nav .btn-primary { margin-top: 18px; justify-content: center; }

/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--clr-bg2);
  border-top: 1px solid var(--clr-border);
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand-desc {
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 300px;
}
.footer-address {
  font-size: 13px;
  color: var(--clr-muted);
  line-height: 1.8;
}
.footer-address strong {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a {
  font-size: 14px;
  color: var(--clr-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--clr-yellow); }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 13px;
  color: var(--clr-muted);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--clr-muted);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--clr-white); }

/* =============================================
   SCROLL TO TOP
============================================= */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  border: none;
  box-shadow: 0 6px 20px rgba(123,47,255,0.5);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top svg { width: 24px; height: 24px; fill: #fff; }

/* =============================================
   BRAND ENDORSEMENT SECTION
============================================= */
.brand-endorsement {
  padding: 60px 0;
  background: rgba(245,197,24,0.03);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  text-align: center;
}
.endorsement-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  border: 1px dashed rgba(245,197,24,0.3);
  border-radius: 16px;
}
.endorsement-card h3 {
  color: var(--clr-yellow);
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.endorsement-card p {
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
