/* Main CSS - Base Styles and Layout */

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-text-dark);
  background-color: #000000; /* Black background */
  overflow-x: hidden;
  /* Apple-style: No scroll-snap, using GSAP ScrollTrigger pin instead */
}

html {
  /* Apple-style: Smooth scroll handled by GSAP scrub */
}

/* === Typography Styles === */

.hero-title {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.section-title {
  font-family: var(--font-primary);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.subtitle {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: var(--leading-normal);
}

.body-text {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  color: var(--color-text-gray);
}

.label {
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* === Section Base Styles === */

section {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.section-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* === Scroll Indicator === */

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: var(--z-normal);
  opacity: 0; /* Start hidden for GSAP animation */
}

.scroll-indicator__text {
  font-size: var(--text-xs);
  color: var(--color-text-dark);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.scroll-indicator__arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid var(--color-text-dark);
  border-bottom: 2px solid var(--color-text-dark);
  transform: rotate(-45deg);
  opacity: 0.7;
}

/* === Buttons === */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
  transition: all var(--duration-normal) var(--ease-in-out);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: var(--color-text-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  border: 1px solid #333333;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.btn-outline {
  border: 2px solid #000000;
  color: #000000;
  background: transparent;
}

.btn-outline:hover {
  background: #000000;
  color: var(--color-text-white);
}

/* === Responsive === */

@media (max-width: 1024px) {
  :root {
    --container-padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  section {
    min-height: auto;
    padding: var(--space-xl) 0;
  }
}
