/* ===== Apple-Style Features Section ===== */
.atlas-features-apple {
  background: var(--bg-dark);
  padding: var(--space-5xl) 0 0 0;
}

.atlas-features-apple .section-title-center {
  color: var(--text-dark);
}

.apple-feature-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  padding: 0 var(--space-2xl);
  max-width: 1400px;
  margin: 0 auto;
}

.apple-feature-sticky {
  position: sticky;
  top: 120px;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-feature-visual {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(var(--shadow-tint), 0.10),
              0 8px 24px rgba(var(--shadow-tint), 0.07);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apple-feature-content-scroll {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: var(--space-6xl) 0;
}

.apple-feature-content {
  max-width: 500px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-feature-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.apple-feature-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: var(--space-xl);
}

.apple-feature-description {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-muted-dark);
}

/* Visual hover effect */
.apple-feature-section:hover .apple-feature-visual {
  transform: scale(1.02);
  box-shadow: 0 30px 80px rgba(var(--shadow-tint), 0.14),
              0 12px 32px rgba(var(--shadow-tint), 0.09);
}

/* Placeholder styling */
.atlas-ui-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(38, 87, 151, 0.15) 0%, rgba(46, 91, 91, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-dark);
  font-size: var(--text-sm);
}

/* Responsive */
@media (max-width: 1024px) {
  .apple-feature-section {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    min-height: auto;
    padding: var(--space-4xl) var(--space-xl);
  }

  .apple-feature-sticky {
    position: relative;
    top: 0;
  }

  .apple-feature-content-scroll {
    min-height: auto;
    padding: 0;
  }

  .apple-feature-content {
    opacity: 1;
    transform: translateY(0);
  }

  .apple-feature-visual {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .atlas-features-apple {
    padding: var(--space-4xl) 0 0 0;
  }

  .apple-feature-section {
    padding: var(--space-3xl) var(--space-lg);
  }

  .apple-feature-title {
    font-size: var(--text-2xl);
  }

  .apple-feature-description {
    font-size: var(--text-base);
  }
}
