/* =============================================
   LAYOUT STYLES: Navbar, Hero, Footer
   ============================================= */

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 31, 110, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-logo-text .name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
}

.navbar-logo-text .sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.navbar-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navbar-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar-links a:hover {
  color: var(--gold);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Hamburger menu */
.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: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--blue-dark);
  z-index: 999;
  padding: 80px 32px 40px;
  flex-direction: column;
  gap: 8px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.07);
  color: var(--gold);
}

.mobile-nav .btn {
  margin-top: 16px;
  justify-content: center;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(4px);
}

.nav-overlay.show {
  display: block;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #040d36 0%, #0a1f6e 40%, #1139c4 100%);
}

/* Animated background orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(26, 94, 255, 0.35);
  top: -100px;
  left: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(245, 197, 24, 0.15);
  bottom: -80px;
  right: -80px;
  animation-delay: -3s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(17, 57, 196, 0.4);
  top: 40%;
  right: 20%;
  animation-delay: -5s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 200px;
  align-items: center;
}



.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-title .highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 4px;
  opacity: 0.5;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.78);
  margin-bottom: 12px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-trainer {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-trainer-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-trainer-text p {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
}

.hero-trainer-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-logo-display {
  width: 480px;
  height: 480px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(12px);
  animation: logo-pulse 4s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0.1), 0 0 60px rgba(26,94,255,0.2); }
  50%       { box-shadow: 0 0 0 20px rgba(245,197,24,0), 0 0 80px rgba(26,94,255,0.35); }
}

.hero-logo-display img {
  width: 480px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-ring {
  position: absolute;
  inset: -20px;
  border: 2px dashed rgba(245,197,24,0.2);
  border-radius: 50%;
  animation: spin-slow 20s linear infinite;
}

.hero-ring-2 {
  inset: -40px;
  border-color: rgba(255,255,255,0.07);
  animation-duration: 30s;
  animation-direction: reverse;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* Floating badges */
.hero-badge {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  animation: badge-float 3s ease-in-out infinite;
}

.hero-badge-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-badge-2 {
  bottom: 15%;
  left: -10%;
  animation-delay: -1.5s;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.badge-icon {
  font-size: 1.2rem;
}

/* ---- FOOTER ---- */
.footer {
  background: #040d36;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}



.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 48px;
  filter: brightness(0) invert(1);
}

.footer-logo-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.3;
}

.footer-logo-name span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.footer-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245,197,24,0.2);
}

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

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-right: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  background: rgba(245,197,24,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-contact-text strong {
  display: block;
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 2px;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ---- RESPONSIVE LAYOUT ---- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual { display: none; }

  .hero-description { max-width: 100%; }

  .hero-actions { justify-content: center; }

  .hero-stats { justify-content: center; }

  .hero-eyebrow { justify-content: center; }

  .navbar-links,
  .navbar-cta { display: none; }

  .hamburger { display: flex; }

  .mobile-nav { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section-pad { padding-block: 60px; }

  .hero-stats { gap: 20px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
