:root {
  --bg-dark: #050505;
  --bg-card: rgba(255, 255, 255, 0.03);
  --primary: #6366f1;
  --secondary: #a855f7;
  --accent: #22d3ee;
  --text-main: #f8fafc;
  --text-dim: #94a3b8;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glow: rgba(99, 102, 241, 0.5);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Glass Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('/hero-bg.png');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.15), var(--bg-dark) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Buttons */
.btn-primary {
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  background: var(--primary);
  color: white !important;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-glow {
  padding: 1rem 2rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-glow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--glow);
}

/* Section Styling */
.section {
  padding: 8rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

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

/* Philosophy Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stat-grid {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-plus {
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-dim);
}

/* Cards */
.glow-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

/* Footer */
footer {
  padding: 6rem 0 2rem;
  background: linear-gradient(to bottom, var(--bg-dark), #0a0a0a);
  border-top: 1px solid var(--glass-border);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 768px) {
  .grid-2, .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  h1 {
    font-size: 3rem;
  }
}
