/* ===== CSS Variables ===== */
:root {
  --coral: #FF6B6B;
  --yellow: #FFD93D;
  --teal: #4ECDC4;
  --navy: #1A1A2E;
  --cream: #F5F5F5;
  --white: #FFFFFF;
  --gray: #6B7280;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  padding: 24px;
}

/* ===== Card Base ===== */
.card {
  min-height: calc(100vh - 48px);
  margin-bottom: 24px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  transition: transform 0.4s var(--ease);
}

.card:last-of-type {
  margin-bottom: 0;
}

.card:hover {
  transform: scale(1.005);
}

.card__inner {
  max-width: 640px;
  width: 100%;
}

/* ===== Card Variants ===== */
.card--hero {
  background: var(--white);
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}

.card--coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 40px rgba(255,107,107,0.3);
}

.card--teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 40px rgba(78,205,196,0.3);
}

.card--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 40px rgba(26,26,46,0.3);
}

/* ===== Card Header ===== */
.card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.card__number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.card__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ===== Card Title ===== */
.card__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

/* ===== Card Body ===== */
.card__body {
  font-size: 1.125rem;
  line-height: 1.8;
  opacity: 0.9;
}

.card__body p {
  margin-bottom: 20px;
}

.card__body p:last-child {
  margin-bottom: 0;
}

/* ===== Hero Specific ===== */
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__title .accent {
  color: var(--coral);
}

.hero__desc {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 400px;
}

.scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-hint__line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--coral), transparent);
  animation: pulse-line 1.5s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 1; height: 48px; }
  50% { opacity: 0.5; height: 32px; }
}

/* ===== Tags ===== */
.tags {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Values ===== */
.values {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.value {
  display: flex;
  align-items: center;
  gap: 12px;
}

.value svg {
  width: 24px;
  height: 24px;
  opacity: 0.9;
}

.value span {
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 64px 24px;
}

.footer__brand {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--gray);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body {
    padding: 16px;
  }

  .card {
    min-height: calc(100vh - 32px);
    margin-bottom: 16px;
    border-radius: 24px;
    padding: 32px 24px;
  }

  .card:hover {
    transform: none;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero__desc {
    font-size: 1.125rem;
  }

  .scroll-hint {
    bottom: 32px;
  }

  .values {
    flex-direction: column;
    gap: 16px;
  }

  .tags {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .card__title {
    font-size: 1.75rem;
  }

  .card__body {
    font-size: 1rem;
  }
}
