/* CSS Variables */
:root {
  --background: hsl(0, 0%, 5%);
  --foreground: hsl(0, 0%, 93%);
  --card: hsl(0, 0%, 8%);
  --muted: hsl(0, 0%, 14%);
  --muted-foreground: hsl(0, 0%, 55%);
  --secondary: hsl(0, 0%, 12%);
  --border: hsl(0, 0%, 18%);
  --radius: 0.75rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: hsla(0, 0%, 5%, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--foreground) !important;
}

.nav-cta:hover {
  background: var(--muted);
}

/* Ambient Effects */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, hsla(0, 0%, 100%, 0.015) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsla(0, 0%, 100%, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  text-align: center;
}

.hero-label {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.text-muted {
  color: var(--muted-foreground);
}

.hero-description {
  margin-top: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 9999px;
  transition: background 0.3s ease;
}

.hero-cta:hover {
  background: var(--muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted-foreground), transparent);
}

/* Divider */
.divider {
  max-width: 28rem;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Sections */
.section {
  position: relative;
  padding: 6rem 1.5rem;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 1.5rem;
  }
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}

.section-title {
  font-size: clamp(1.875rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-description {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

/* About */
.about-text {
  max-width: 42rem;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

/* Grids */
.business-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .business-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

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

.values-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

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

/* Glass Card */
.glass-card {
  background: hsla(0, 0%, 100%, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.7s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: scale(1.02);
  border-color: hsla(0, 0%, 100%, 0.15);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  background: var(--secondary);
  border-radius: 0.75rem;
  color: var(--foreground);
}

.card-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Team Card */
.team-card {
  padding: 1.5rem;
  text-align: center;
}

.team-card:hover {
  transform: scale(1.03);
}

.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: hsla(0, 0%, 100%, 0.06);
  border-radius: 50%;
  transition: background 0.5s ease;
}

.team-card:hover .team-avatar {
  background: var(--muted);
}

.team-avatar span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted-foreground);
  transition: color 0.5s ease;
}

.team-card:hover .team-avatar span {
  color: var(--foreground);
}

.team-name {
  font-size: 1rem;
  font-weight: 600;
}

.team-role {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Value Card */
.value-card {
  padding: 1.5rem;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  background: var(--secondary);
  border-radius: 0.5rem;
  color: var(--foreground);
}

.value-title {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.value-description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays via CSS custom property */
.fade-up[style*="--delay"] {
  transition-delay: var(--delay);
}

/* Mobile nav */
@media (max-width: 640px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}
