/* ===============================
   TRIBEXO MAIN STYLESHEET
   Clean dark theme — refined typography & layout
   =============================== */

/* ---------- Font ---------- */
/* Libre Franklin – Medium (500) + Bold (700) */
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700&display=swap');


:root {
  --bg-dark: #000000;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --button-bg: #c5a94d;       /* soft gold-green tone */
  --button-bg-hover: #d4b95b;
  --button-text: #0a0a0a;
  --border-soft: rgba(255,255,255,0.08);
  --radius: 14px;
  --max-width: 880px;
}

/* ---------- Base Layout ---------- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: radial-gradient(1500px 900px at 50% -10%, #0e0e0e 0%, #000 70%);
  color: var(--text-main);
font-family: 'Libre Franklin', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
/* ===============================
   Tribexo Header — Responsive
   =============================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

/* ✅ Mobile Sticky Upgrade */
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }

  body {
    padding-top: 70px; /* prevent content from hiding under fixed header */
  }
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 14px 24px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  height: 32px;
}
.brand span {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}

/* Desktop Nav (visible only on large screens) */
.nav-desktop {
  display: flex;
  gap: 30px;
}
.nav-desktop a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-desktop a:hover {
  color: #cdbb5a;
}

/* Hamburger (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Fullscreen Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, #0b0b0c 0%, #111 100%);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 90px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

/* Close button */
.menu-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transition: color 0.25s;
}
.menu-close:hover { color: #cdbb5a; }

/* Menu items */
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu li a {
  display: block;
  padding: 18px 24px;
  color: #f5f5f5;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.mobile-menu li a:hover {
  background: #cdbb5a;
  color: #000;
}
.mobile-menu-footer {
  margin-top: auto;
  padding: 18px 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}


/* ---------- FOOTER ---------- */


/* ---------- Hero Section ---------- */
.hero {
  text-align: center;
  padding: 80px 20px 40px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-main);
}
.hero p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 26px;
}

.hero input[type="email"] {
  background: #0e0e0e;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  padding: 14px 16px;
  font-size: 16px;
  border-radius: var(--radius);
  min-width: 260px;
  outline: none;
  transition: 0.25s ease;
}
.hero input[type="email"]:focus {
  border-color: var(--button-bg);
}
.hero .btn {
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  padding: 14px 22px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}
.hero .btn:hover {
  background: var(--button-bg-hover);
  transform: translateY(-2px);
}
.section {
  background: radial-gradient(1200px 600px at 50% 0%, #0b0b0c 0%, #000 80%);
}

.container {
  max-width: 720px;
  width: 90%;
  margin: 40px auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 20, 22, 0.95) 0%, rgba(15, 15, 17, 0.9) 100%);
  padding: 45px 32px;
  border-radius: 14px;
  border: 1px solid rgba(200, 185, 90, 0.12);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.container:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.container h2 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 700;
}

.container p {
  color: #bcbcbc;
  font-size: 16px;
  line-height: 1.75;
}


/* ---------- 3D Pyramid Image ---------- */
.pyramids {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px auto;
}
.pyramids img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(245, 206, 88, 0.15));
  transition: transform 0.3s ease;
}
.pyramids img:hover {
  transform: translateY(-6px);
}

/* ---------- Video Section ---------- */
.video-box {
  margin: 30px auto 0;
  background: #111;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 10px;
  max-width: 680px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.video-box video {
  width: 100%;
  border-radius: 10px;
}


.section.video {
  background: radial-gradient(1200px 600px at 50% 0%, #0f0f11 0%, #000 80%);
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.section.video h2 {
  margin-bottom: 24px;
}
.video-box {
  background: #101114;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  padding: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero {
    padding-top: 60px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .pyramids {
    flex-direction: column;
    gap: 20px;
  }
}
/* ---------- Register Button ---------- */
.register-link {
  display: inline-block;
  margin-top: 18px;
  background: linear-gradient(90deg, #c5a94d, #b0d47e);
  color: #0b0b0b;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(197,169,77,0.3);
  transition: all 0.25s ease;
}
.register-link:hover {
  background: linear-gradient(90deg, #d8b958, #c3e68b);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(211,193,100,0.4);
}
/* ===== Unified Button Style (for all CTAs) ===== */
.btn,
.register-link {
  background: linear-gradient(90deg, #cdbb5a, #b8d07a);
  color: #0b0b0b;
  font-weight: 600;
  padding: 14px 26px;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 14px rgba(200,185,90,0.25);
}
.btn:hover,
.register-link:hover {
  background: linear-gradient(90deg, #e0cc6a, #c5e286);
  box-shadow: 0 8px 22px rgba(210,193,100,0.35);
  transform: translateY(-2px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px; /* space between images */
}

.brand-icon {
  height: 32px; /* adjust as needed */
}

.brand-wordmark {
  height: 22px; /* adjust to match the design */
}

/* make buttons identical size and spacing */
.hero .btn,
.container .register-link {
  min-width: 150px;
}

/* ===== Typography Refinement ===== */
body {
font-family: 'Libre Franklin', system-ui, sans-serif;
  color: #f5f5f5;
  font-size: 17px;
  line-height: 1.7;
}
h1, h2 {
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
h1 {
  font-size: clamp(36px, 5.5vw, 54px);
}
h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin-top: 50px;
}
p {
  color: #bcbcbc;
}
.hero p {
  color: #b8b8b8;
}
/* ===== Hero Section (Full-width gradient, not boxed) ===== */
.hero {
  text-align: center;
  padding: 100px 20px 80px;
  background: radial-gradient(circle at center top, #141414 0%, #000000 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero .logo {
  width: 120px;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  line-height: 1.2;
}

.hero p.lead {
  color: #c5c5c5;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero .form-row {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center horizontally */
  gap: 12px; /* Space between input and button */
  margin-top: 25px;
}.hero input[type="email"] {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 10px;
  min-width: 280px;
  text-align: center;
  outline: none;
  transition: 0.25s ease;
}

.hero input[type="email"]:focus {
  border-color: #cdbb5a;
  background: rgba(255, 255, 255, 0.08);
}

.hero input[type="email"] {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 10px;
  min-width: 260px;
  outline: none;
  transition: 0.25s ease;
}

.hero input[type="email"]:focus {
  border-color: #cdbb5a;
  background: rgba(255, 255, 255, 0.08);
}

.hero .btn {
  background: linear-gradient(90deg, #cdbb5a, #b8d07a);
  color: #0b0b0b;
  font-weight: 600;
  padding: 14px 26px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 14px rgba(200,185,90,0.25);
}

.hero .btn:hover {
  background: linear-gradient(90deg, #e0cc6a, #c5e286);
  box-shadow: 0 8px 22px rgba(210,193,100,0.35);
  transform: translateY(-2px);
}


/* ===== Footer Polish ===== */
footer {
  text-align: center;
  font-size: 10px;
  color: #cdbb5a;
  background: linear-gradient(180deg, #0b0b0b 0%, #101318 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 5px 10px;
  box-shadow: 0 -2px 20px rgba(200,185,90,0.08) inset;
}
footer p{
	color:#cdbb5a;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(200,185,90,0.6), rgba(184,208,122,0.5));
}

/* ===== Section Spacing Harmonization ===== */
.container {
  padding: 0 24px;
}
.video-box {
  background: #101114;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ===== Improved Vertical Flow ===== */
.container.section {
  text-align: center;
  max-width: 880px;
}

/* subtle luminous divider between sections */
.container.section + .container.section {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 60px;
}

/* ===== Optional: smooth button font rendering ===== */
button, .btn, .register-link {
  font-family: inherit;
  letter-spacing: 0.2px;
}
/* ---------- Signup Page Redesign ---------- */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 160px);
  background: radial-gradient(1000px 700px at 50% -10%, #0c0c0d 0%, #000 80%);
}

.auth-container {
  border-radius: 18px;
  padding: 5px 45px 6px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0,0,0,0.5),
              0 0 25px rgba(200,185,90,0.05);
}

.auth-container .logo {
  width: 90px;
  margin-bottom: 16px;
}

.auth-container h1 {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}

/* Inputs */
.auth-container input[type="text"],
.auth-container input[type="email"],
.auth-container input[type="password"] {
  width: 90%;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0e0e0e;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.2px;
  transition: 0.3s ease;
}
.auth-container input::placeholder {
  color: #888;
}
.auth-container input:focus {
  border-color: #cdbb5a;
  box-shadow: 0 0 10px rgba(197,169,77,0.35);
  outline: none;
}

/* Checkboxes */
.auth-container label {
  display: block;
  text-align: left;
  font-size: 15px;
  color: #ccc;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Button */
.auth-container .btn {
  display: inline-block;
  background: linear-gradient(90deg, #cdbb5a, #b8d07a);
  color: #0b0b0b;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 14px 30px;
  font-size: 16px;
  margin-top: 25px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(200,185,90,0.25);
  transition: all 0.3s ease;
}
.auth-container .btn:hover {
  background: linear-gradient(90deg, #e0cc6a, #c5e286);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(210,193,100,0.35);
}

/* "Already have an account" */
.auth-container .link {
  display: block;
  margin-top: 18px;
  font-size: 15px;
  color: #aaa;
  text-decoration: none;
}
.auth-container .link:hover {
  color: #cdbb5a;
}

/* Error message */
#signup-error {
  color: #ff6666;
  font-size: 14px;
  margin-top: 8px;
}
/* ===============================
   TRIBEXO FULL-WIDTH MOBILE MENU
   =============================== */
@media (max-width: 768px) {

  /* Hide default nav on mobile */
  .nav {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  /* Fullscreen mobile menu overlay */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #0b0b0c 0%, #111 100%);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: 80px;
    z-index: 1000;
    animation: fadeInMenu 0.3s ease forwards;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background-color: #141414;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .mobile-menu li a {
    display: block;
    color: #f5f5f5;
    text-decoration: none;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 500;
  }

  .mobile-menu li:hover {
    background-color: #cdbb5a;
  }

  .mobile-menu li:hover a {
    color: #000;
  }

  .mobile-menu-footer {
    margin-top: auto;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  @keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
/* ========== Mobile Menu Close Button ========== */
.menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.25s ease;
  z-index: 1001;
}

.menu-close:hover {
  color: #cdbb5a;
}
/* ===== Desktop Font Scaling ===== */
@media (min-width: 1024px) {
  h1 {
    font-size: 58px; /* or any size that looks balanced */
  }

  h2 {
    font-size: 34px;
  }

  p {
    font-size: 18px;
    line-height: 1.9;
  }

  .hero p.lead {
    font-size: 20px;
  }
  footer p{
	  font-size:10px;
  }
}
