:root {
  --primary: #0077FF;
  --secondary: #4A5568;
  --bg: #F7F9FC;
  --bg-dark: #FFFFFF;
  --bg-light: #EDF2F7;
  --accent: #111827;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
  --blue-glow: 0 5px 15px rgba(0, 119, 255, 0.2);
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F8FAFC;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.95) 100%),
    linear-gradient(rgba(0, 119, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 119, 255, 0.02) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 119, 255, 0.02) 2px, transparent 2px);
  background-size: 100% 100%, 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  background-attachment: fixed;
  background-position: center top, center center, center center, center center, center center;
  color: var(--secondary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--accent);
  font-weight: 500;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

/* Layout Utility */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 40px 0;
  scroll-margin-top: 90px;
}

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

.section-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 91, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: var(--blue-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(15, 19, 26, 0.4) 0%, rgba(15, 19, 26, 0.1) 100%);
  z-index: 1;
}

/* Cinematic Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.loader-img {
  height: 400px;
  max-width: 90vw;
  width: auto;
  opacity: 0;
  margin-bottom: 20px;
  filter: invert(1) hue-rotate(180deg);
  transform-origin: center center;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* News Modal */
.news-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.news-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.news-modal-card {
  width: 95%;
  max-width: 1100px;
  height: 85vh;
  max-height: 90vh;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.news-modal-header {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

