/* ==========================================================================
   GOGO TOOLS CORE STYLESHEET
   ========================================================================== */

/* --- PREMIUM BRAND VARIABLES --- */
:root {
  --bg-base: #0b0f19;
  --bg-surface: #151b2b;
  --glass-bg: linear-gradient(145deg, rgba(26, 33, 48, 0.6) 0%, rgba(15, 20, 30, 0.4) 100%);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  
  --neon-green: #26f980;
  --neon-glow: rgba(38, 249, 128, 0.4);
  --accent-blue: #3b82f6;
  
  --text-main: #ffffff;
  --text-muted: #8899a6;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* --- VIEWPORT LOCK FOR MOBILE (PREVENTS HORIZONTAL SCROLL) --- */
/* --- VIEWPORT LOCK FOR MOBILE --- */
html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
  position: relative; /* This traps the absolute .ambient-glow! */
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
}

.brand-gogo { color: var(--neon-green); text-shadow: 0 0 12px rgba(38, 249, 128, 0.5); font-weight: 700; }
.brand-white { color: #ffffff; font-weight: 700; }

.ambient-glow {
  position: absolute; 
  width: 100%;           /* Fills the container... */
  max-width: 600px;      /* ...but stops growing at 600px on desktop */
  height: 600px;
  background: radial-gradient(circle, var(--neon-glow) 0%, rgba(0,0,0,0) 60%);
  top: -200px; 
  left: 50%; 
  transform: translateX(-50%);
  filter: blur(100px); 
  z-index: -1; 
  opacity: 0.5;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }

/* --- GLOBAL BUTTONS --- */
.btn-neon {
  background: var(--neon-green); color: #000; padding: 16px 36px;
  border-radius: 100px; font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 1px; border: none;
  cursor: pointer; box-shadow: 0 10px 30px rgba(38, 249, 128, 0.3);
  transition: all 0.3s ease; text-decoration: none; display: inline-block;
}
.btn-neon:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(38, 249, 128, 0.5); }

/* --- GLOBAL NAVIGATION --- */
.main-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px 0; position: relative; z-index: 1000;
}
.nav-logo { text-decoration: none; font-size: 1.5rem; z-index: 1001; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-item {
  color: var(--text-main); text-decoration: none; font-size: 0.95rem;
  font-weight: 500; transition: color 0.3s ease; display: flex; align-items: center; gap: 5px;
}
.nav-item:hover, .nav-item.active { color: var(--neon-green); }

.dropdown { position: relative; }
.dropdown-content {
  position: absolute; top: 100%; left: 0; background: var(--bg-surface);
  backdrop-filter: blur(20px); min-width: 200px; border: 1px solid var(--glass-border);
  border-radius: 12px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease;
  display: flex; flex-direction: column; padding: 8px 0; z-index: 1200;
}
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-content a {
  color: var(--text-main); padding: 12px 24px; text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: background 0.2s, color 0.2s;
}
.dropdown-content a:hover { background: rgba(38, 249, 128, 0.05); color: var(--neon-green); }

.mobile-toggle {
  display: none; background: none; border: none; color: var(--text-main);
  cursor: pointer; z-index: 1001; padding: 5px;
}

/* --- RESPONSIVE MOBILE NAVIGATION --- */
@media (max-width: 900px) {
  .mobile-toggle { display: block; }
  .nav-links {
    position: absolute; top: 80px; left: 0; right: 0; background: var(--bg-surface);
    backdrop-filter: blur(20px); flex-direction: column; align-items: flex-start;
    padding: 30px 24px; border-radius: 16px; border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6); gap: 20px; opacity: 0; visibility: hidden;
    transform: translateY(-10px); transition: all 0.3s ease;
  }
  .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }
  .dropdown-content {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: none; padding: 10px 0 0 15px; display: flex;
  }
  .nav-btn { width: 100%; text-align: center; margin-top: 10px; }
}

/* --- GLOBAL FOOTER --- */
footer { 
  text-align: center; 
  padding: 40px 0; 
  border-top: 1px solid var(--glass-border); 
  color: var(--text-muted); 
  font-size: 0.9rem; 
  margin-top: auto; /* Helps push footer to bottom if page content is short */
}
footer a { 
  color: var(--neon-green); 
  text-decoration: none; 
  font-weight: 600; 
  margin-left: 15px; 
  transition: var(--transition); 
}
footer a:hover { 
  text-shadow: 0 0 8px var(--neon-glow); 
}