/* 
 * GPMORG - Global Performance Management 
 * Premium Liquid Redesign 2026
 */

:root {
  /* GPMORG Brand Variables */
  --gpm-dark: #0b0f19;
  --gpm-navy: #001A70;
  --gpm-fuchsia: #C5299B;
  --gpm-aqua: #2DCCD3;
  --gpm-white: #ffffff;
  --gpm-glass: rgba(15, 23, 42, 0.6);
  --gpm-glass-border: rgba(255, 255, 255, 0.1);
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body.site-gpm {
  margin: 0;
  padding: 0;
  background-color: var(--gpm-dark);
  color: var(--gpm-white);
  font-family: var(--font-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  /* Glowing background effect */
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(197, 41, 155, 0.15), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(45, 204, 211, 0.15), transparent 40%);
  background-attachment: fixed;
}

.gpm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gpm-white) 0%, var(--gpm-aqua) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent {
  color: var(--gpm-fuchsia);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.gpm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gpm-glass-border);
  padding: 1rem 0;
}

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

.brand-logo a {
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-gpm { color: var(--gpm-white); }
.logo-org { color: var(--gpm-aqua); }

.gpm-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.gpm-nav ul.mod-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.gpm-nav ul.mod-menu li a {
  color: var(--gpm-white);
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.gpm-nav ul.mod-menu li a:hover {
  color: var(--gpm-aqua);
}

.gpm-nav .mod-languages {
  margin: 0;
}

.gpm-nav .mod-languages ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.gpm-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gpm-fuchsia) 0%, #ff52cb 100%);
  color: var(--gpm-white);
  box-shadow: 0 4px 15px rgba(197, 41, 155, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 41, 155, 0.6);
  color: var(--gpm-white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.hero-section p.lead {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Glassmorphic Cards
   ========================================================================== */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.glass-card {
  background: var(--gpm-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gpm-glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(45, 204, 211, 0.5);
  box-shadow: 0 15px 40px rgba(45, 204, 211, 0.15);
}

.glass-card h3 {
  color: var(--gpm-aqua);
  font-size: 1.5rem;
}

/* ==========================================================================
   Scroll-Driven Animations (Native CSS)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes slide-up-fade {
      from {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .animate-on-scroll {
      animation: slide-up-fade auto linear forwards;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }
  }
}

/* Fallback JS Classes */
.js-reveal-hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.gpm-footer {
  border-top: 1px solid var(--gpm-glass-border);
  padding: 3rem 0;
  margin-top: 5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}
