@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
@import './tokens.css';

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-bg-white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===================== CONTAINER ===================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ===================== SECTION ===================== */
.section { padding-block: var(--section-pad-y); }
.section-label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.section-header { margin-bottom: var(--space-12); }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-dark-deep);
  line-height: 1.15;
}
.section-header p {
  margin-top: var(--space-4);
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.7;
}
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }

/* ===================== GRID ===================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-btn-blue);
  color: #fff;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover {
  background: var(--color-btn-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.4);
}
.btn-lg { padding: 1rem 2.25rem; font-size: var(--font-size-md); }
.btn-outline-white {
  border: 2px solid rgba(0,0,0,0.22);
  color: var(--color-dark-deep);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.82);
  border-color: rgba(0,0,0,0.35);
  transform: translateY(-2px);
}
.btn-outline-dark {
  border: 2px solid rgba(0,0,0,0.25);
  color: #1a1a1a;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-outline-dark:hover {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--color-btn-blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}
.btn-dark:hover {
  background: var(--color-btn-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.3);
}
.btn-outline {
  border: 2px solid var(--color-border);
  color: var(--color-dark);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}
.btn-yellow {
  background: var(--color-primary);
  color: #1a1a1a;
  box-shadow: 0 8px 24px rgba(255, 204, 1, 0.25);
}
.btn-yellow:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 204, 1, 0.35);
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes orbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -40px) scale(1.1); }
  66%  { transform: translate(-30px, 60px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-80px, 50px) scale(0.9); }
  66%  { transform: translate(40px, -60px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orbFloat3 {
  0%   { transform: translate(0, 0) scale(1.05); }
  50%  { transform: translate(50px, 40px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1.05); }
}
.animate-fade-up  { animation: fadeInUp 500ms both; }
.animate-fade     { animation: fadeIn 500ms both; }
.animate-scale-in { animation: scaleIn 500ms both; }

/* ===================== MESH ORBS ===================== */
.mesh-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.mesh-orbs__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.mesh-orbs__orb:nth-child(1) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #ffcc01 0%, transparent 70%);
  top: -15%; left: -10%;
  animation: orbFloat1 18s ease-in-out infinite;
}
.mesh-orbs__orb:nth-child(2) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #1a1a1a 0%, transparent 70%);
  top: 20%; right: -8%;
  animation: orbFloat2 22s ease-in-out infinite;
}
.mesh-orbs__orb:nth-child(3) {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #ffcc01 0%, transparent 70%);
  bottom: -10%; left: 30%;
  animation: orbFloat3 26s ease-in-out infinite;
}
.mesh-orbs__orb:nth-child(4) {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #ffcc00 0%, transparent 70%);
  top: 40%; left: 15%;
  opacity: 0.15;
  animation: orbFloat2 20s ease-in-out infinite 4s;
}

/* ===================== UTILITY ===================== */
.text-center { text-align: center; }
.text-white  { color: #fff; }
.relative    { position: relative; }

/* ===================== SCROLL ANIMATION ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==================== LUCIDE ICONS ==================== */
i[data-lucide] {
  width: 1.25em;
  height: 1.25em;
  stroke-width: 2;
  vertical-align: middle;
  display: inline-block;
}
