
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Poppins', sans-serif;
  --bg-main: #050505;
  --bg-deep: #020202;
  --bg-section: #0a0a0c;
  --bg-card: #111116;
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  
  --brand-cyan: #00E5FF;
  --brand-blue: #2563EB;
  --brand-violet: #7C3AED;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dark: #0f172a;
  
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.15);
  
  --glow-cyan: rgba(0, 229, 255, 0.35);
  --glow-blue: rgba(37, 99, 235, 0.35);
  --glow-violet: rgba(124, 58, 237, 0.35);
  
  --gradient-primary: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue) 50%, var(--brand-violet));
  --gradient-glow: linear-gradient(135deg, var(--glow-cyan), var(--glow-violet));
  
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  --container-width: 1280px;
  --header-height: 90px;
  --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Typography Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.text-cyan { color: var(--brand-cyan); }
.text-blue { color: var(--brand-blue); }
.text-violet { color: var(--brand-violet); }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-blue) 50%, var(--brand-cyan));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  transform: translateY(-3px);
}

/* Background Graphics - Clean Grid instead of heavy blue orbs */
.bg-graphics {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -2;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
}

.bg-graphics::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 80%);
}

/* Image Utilities */
.img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  transform: translateZ(0);
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,3,3,0.9) 0%, rgba(3,3,3,0.3) 100%);
  pointer-events: none;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

.clip-reveal {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.clip-reveal.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Sections */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 50px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.section-tag.accent {
  border-color: var(--border-glow);
  color: var(--brand-cyan);
  background: rgba(0, 229, 255, 0.05);
}

/* Navbar */
.site-header {
  position: fixed;
  top: 0; width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(3, 3, 3, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  height: 80px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand img {
  height: 45px;
  width: auto;
  transition: var(--transition-fast);
}

.brand:hover img {
  transform: scale(1.05);
}

.desktop-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.desktop-nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.desktop-nav a:not(.btn):hover, .desktop-nav a.active {
  color: var(--text-main);
}

.desktop-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.desktop-nav a:not(.btn):hover::after, .desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(3, 3, 3, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.05);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-up.active { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-scale.active { opacity: 1; transform: scale(1); }

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Grid */
.grid { display: grid; gap: 2.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; z-index: 1001; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; height: 1px;
  background: var(--gradient-glow);
  opacity: 0.2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img {
  height: 45px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 350px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col ul a {
  color: var(--text-muted);
}

.footer-col ul a:hover {
  color: var(--brand-cyan);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}
