/* ============================================================
   BASE RESET & UTILITIES
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-800);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   SHARED SECTION HEADERS
   ============================================================ */
.s-header { text-align: center; margin-bottom: 56px; }

.s-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 100px; margin-bottom: 16px;
  background: var(--primary-50); border: 1px solid var(--primary-100);
  font-size: 11px; font-weight: 700; color: var(--primary-700);
  letter-spacing: 0.1em; text-transform: uppercase;
}

.s-title {
  font-size: clamp(26px, 3.6vw, 40px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.18;
  color: var(--text-900); margin-bottom: 14px;
}

.s-desc {
  font-size: 15.5px; font-weight: 400; color: var(--text-500);
  max-width: 520px; margin: 0 auto; line-height: 1.75;
}

/* ============================================================
   SHARED BUTTON STYLES
   ============================================================ */
.btn-lg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  text-decoration: none; border: none;
  transition: all 0.3s ease; font-family: var(--font);
}

.btn-primary-lg {
  background: var(--primary-600); color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary-lg:hover {
  background: var(--primary-700); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.28);
}
.btn-primary-lg svg { width: 16px; height: 16px; }

.btn-outline-lg {
  background: var(--white); color: var(--text-700);
  border: 1.5px solid var(--border-200); box-shadow: var(--shadow-xs);
}
.btn-outline-lg:hover {
  border-color: var(--primary-400); color: var(--primary-700);
  background: var(--primary-50);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: all 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Arrow button for platform cards */
.p-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; 
  border: 1.5px solid #d1d5db;
  color: #9ca3af; font-size: 13px;
  position: absolute; bottom: 24px; right: 24px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.p-arrow:hover {
  background: var(--primary-600); color: #fff;
  border-color: var(--primary-600);
  transform: translateX(3px);
}