/* ===== GSD Unlimited — Liquid Metal Theme ===== */

:root {
  --color-bg-primary: #0F1523;
  --color-bg-secondary: #0A1128;
  --color-bg-card: rgba(255, 255, 255, 0.07);
  --color-blue-electric: #1A6FFF;
  --color-blue-steel: #3DA0FF;
  --color-blue-light: #B8D4FF;
  --color-chrome: #D0E4FF;
  --color-text-primary: #F4F7FF;
  --color-text-secondary: #A0B8D8;
  --color-accent-glow: rgba(26, 111, 255, 0.5);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --border-glass: 1px solid rgba(26, 111, 255, 0.2);
  --shadow-glow: 0 0 40px rgba(26, 111, 255, 0.25);
  --radius-card: 16px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(48px, 8vw, 120px); }
h2 { font-size: clamp(32px, 4vw, 64px); }
h3 { font-size: clamp(24px, 3vw, 36px); }

p {
  color: var(--color-text-secondary);
  max-width: 720px;
}

a {
  color: var(--color-blue-steel);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-blue-light);
}

/* ===== Layout ===== */
.container-gsdu {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-gsdu {
  padding: 100px 0;
  position: relative;
}

/* ===== Navbar ===== */
.navbar-gsdu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar-gsdu.scrolled {
  background: rgba(5, 13, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-gsdu .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-gsdu .nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.05em;
}

.navbar-gsdu .nav-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.logo-text-gsd {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--color-blue-electric);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  -webkit-text-stroke: 1px #000;
  paint-order: stroke fill;
}

.logo-dot {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  margin: 0 1px;
}

.logo-text-unlimited {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1;
}

.navbar-gsdu .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-gsdu .nav-links a {
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
}

.navbar-gsdu .nav-links a:hover,
.navbar-gsdu .nav-links a.active {
  color: var(--color-text-primary);
  border-bottom-color: var(--color-blue-electric);
}

/* ===== Nav Dropdown ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-chevron {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--color-bg-secondary);
  border: var(--border-glass);
  border-radius: 8px;
  padding: 4px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 20px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  border-bottom: none;
  white-space: nowrap;
}

.nav-dropdown-menu li a .material-icons {
  font-size: 16px;
  color: var(--color-blue-electric);
}

.nav-dropdown-menu li a:hover {
  color: var(--color-text-primary);
  background: rgba(0, 87, 255, 0.08);
  border-bottom-color: transparent;
}

.mobile-nav-child {
  font-size: 22px !important;
  color: var(--color-text-secondary) !important;
  padding-left: 24px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #ffffff;
  transition: var(--transition-smooth);
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

/* ===== Mobile Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 50, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  border-left: 2px solid rgba(26, 111, 255, 0.2);
}

.mobile-nav.open {
  display: flex;
  z-index: 1002;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 32px;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(26, 111, 255, 0.3);
}

.mobile-nav .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
}

/* ===== Footer ===== */
.footer-gsdu {
  background: var(--color-bg-secondary);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(26, 111, 255, 0.06) 0%, transparent 60%);
  padding: 60px 0 30px;
  position: relative;
}

.footer-gsdu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-blue-electric), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  margin-bottom: 16px;
}

.footer-brand .footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-brand .footer-tagline {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--color-text-secondary);
  font-size: 20px;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  color: var(--color-blue-electric);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--color-text-secondary);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--color-blue-steel);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .navbar-gsdu .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .logo-text-gsd {
    font-size: 40px;
  }
  .logo-text-unlimited {
    font-size: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .logo-text-gsd {
    font-size: 32px;
  }
  .logo-text-unlimited {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .section-gsdu {
    padding: 60px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
