/* ===== PRAXISREPORT CSS SYSTEM ===== */
/* CSS Variables */
:root {
  --color-primary-dark: #1a2f4c;
  --color-primary-darker: #142540;
  --color-accent: #00a88e;
  --color-accent-hover: #00c9a7;
  --color-white: #ffffff;
  --color-text-light: #b0bec5;
  --color-bg-light: #f5f7fa;
  --color-text-dark: #1a2f4c;
  --color-text-secondary: #5a6a7a;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --spacing-section: 100px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

.stat-number {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.overtitle {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

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

.section {
  padding: var(--spacing-section) 0;
  position: relative;
  overflow: hidden;
}

.section-dark {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.section-darker {
  background-color: var(--color-primary-darker);
  color: var(--color-white);
}

.section-light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 142, 0.35);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.section-light .btn-outline {
  border-color: var(--color-primary-dark);
  color: var(--color-primary-dark);
}

.section-light .btn-outline:hover {
  background-color: rgba(26, 47, 76, 0.05);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  background: transparent;
  z-index: 100;
  transition: all 0.35s ease;
}

header.scrolled {
  background: rgba(26, 47, 76, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

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

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-white);
}

.header-inner .logo {
  flex-shrink: 0;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-main span {
  color: var(--color-accent);
}

.logo-claim {
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
  position: relative;
  transition: opacity 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle svg {
  stroke: var(--color-white);
}

/* Generic Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Animations Trigger Classes */
.fade-up, .fade-in, .slide-in-left, .slide-in-right, .scale-in {
  opacity: 0;
  will-change: transform, opacity;
  transition: all 0.8s var(--transition-smooth);
}

.fade-up { transform: translateY(40px); }
.slide-in-left { transform: translateX(-60px); }
.slide-in-right { transform: translateX(60px); }
.scale-in { transform: scale(0.9); }

.in-view {
  opacity: 1;
  transform: none;
}

/* Parallax Elements */
.parallax-element {
  will-change: transform;
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.parallax-circle {
  border-radius: 50%;
  border: 2px solid rgba(0, 168, 142, 0.15);
}

/* Custom Divider */
.section-divider {
  width: 100%;
  line-height: 0;
  position: relative;
  margin-top: -1px;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Footer */
footer {
  background-color: #0f1d2f;
  color: var(--color-text-light);
  padding: 60px 0 30px;
}

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

.footer-logo {
  margin-bottom: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* Media Queries */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 47, 76, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s ease;
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallax-element, .fade-up, .slide-in-left, .slide-in-right, .scale-in {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
