/* --- Basic Setup & Typography --- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --background-color: #000000;
  --text-color: #f5f5f7;
  --secondary-text-color: #a1a1a6;
  --container-width: 1080px;
}

/* --- Layout Containers --- */
.section {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 120px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden; /* Hide elements animating from outside */
}

.hero-section {
  min-height: 100vh;
}

.split-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
  width: 100%;
}

.split-section > div {
  flex: 1;
}

/* Reverse layout for alternating sections */
.split-section.reverse {
  flex-direction: row-reverse;
}

/* --- Grid Layout for Features --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  margin-top: 4rem;
  text-align: left;
}

.feature-item {
  background-color: #111;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid #222;
}

/* --- Text Styling & Gradients --- */
.label {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--secondary-text-color);
  margin-bottom: 1rem;
}

.headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

.sub-headline {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.paragraph {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: var(--secondary-text-color);
  max-width: 680px;
  line-height: 1.6;
  margin-top: 1.5rem;
}

.split-section .paragraph,
.feature-item .paragraph {
  max-width: 100%;
  margin-top: 1rem;
}

/* --- Placeholder for Graphics --- */
.graphic-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(45deg, #111, #222);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #555;
  border: 1px solid #333;
}

/* --- Gradient Text Utility --- */
.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% auto;
  animation: gradientShine 10s linear infinite;
}

.gradient-1 {
  background-image: linear-gradient(
    90deg,
    #00cfff,
    #a600ff,
    #ff006e,
    #ff8800,
    #00cfff
  );
}
.gradient-2 {
  background-image: linear-gradient(90deg, #7928ca, #ff0080, #7928ca);
}
.gradient-3 {
  background-image: linear-gradient(90deg, #12c2e9, #c471ed, #f64f59, #12c2e9);
}
.gradient-4 {
  background-image: linear-gradient(90deg, #43e97b, #38f9d7, #43e97b);
}
.gradient-5 {
  background-image: linear-gradient(90deg, #ff9a9e, #fad0c4, #fad0c4, #ff9a9e);
}

/* --- Animations --- */
@keyframes gradientShine {
  to {
    background-position: 300% center;
  }
}
@keyframes scroll-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: scroll-bob 2s ease-in-out infinite;
}
.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--secondary-text-color);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .split-section,
  .split-section.reverse {
    flex-direction: column;
    text-align: center;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
