/* ═══════════════════════════════════════════════════════════════════
   ARKA AI — Premium Design Layer v1.0
   Custom SVG icons, scroll animations, display typeface, micro-interactions
   ═══════════════════════════════════════════════════════════════════ */

/* --- TYPOGRAPHY UPGRADE --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --font-display: 'Outfit', 'Inter', sans-serif;
}

/* Apply display font to all headings */
h1, h2, h3, .hero-title, .section-title {
  font-family: var(--font-display) !important;
}

/* --- CUSTOM SVG ICON SYSTEM --- */
/* Replace emoji with crisp SVG icons at any resolution */

.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.icon-svg svg {
  width: 24px;
  height: 24px;
}

.icon-svg--sm { width: 32px; height: 32px; border-radius: 8px; }
.icon-svg--sm svg { width: 16px; height: 16px; }

.icon-svg--lg { width: 56px; height: 56px; border-radius: 14px; }
.icon-svg--lg svg { width: 28px; height: 28px; }

/* Icon theme variants */
.icon-svg--gold {
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.25);
}
.icon-svg--gold svg { stroke: var(--arka-gold, #C7A35A); }

.icon-svg--blue {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.icon-svg--blue svg { stroke: #3B82F6; }

.icon-svg--emerald {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.icon-svg--emerald svg { stroke: #10B981; }

.icon-svg--amber {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.icon-svg--amber svg { stroke: #F59E0B; }

.icon-svg--red {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.icon-svg--red svg { stroke: #EF4444; }

.icon-svg--purple {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.icon-svg--purple svg { stroke: #8B5CF6; }

/* --- SCROLL-DRIVEN ANIMATIONS --- */

/* Fade-up on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade-in from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- MICRO-INTERACTIONS --- */

/* Card hover lift */
.card-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(197, 160, 89, 0.15);
}

/* Gold glow hover */
.glow-hover {
  transition: box-shadow 0.4s ease;
}
.glow-hover:hover {
  box-shadow: 0 0 40px rgba(197, 160, 89, 0.12),
              0 0 80px rgba(197, 160, 89, 0.06);
}

/* Button shine effect */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-shine:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* --- TRUST BAR ANIMATION --- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate-500, #64748b);
  transition: color 0.3s ease;
}
.trust-item:hover {
  color: var(--slate-300, #cbd5e1);
}
.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--arka-gold, #C7A35A);
  opacity: 0.6;
}

/* --- GRADIENT TEXT --- */
.text-gradient-gold {
  background: linear-gradient(135deg, #C7A35A 0%, #E8D5A0 50%, #C7A35A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- SECTION DIVIDERS --- */
.section-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(197, 160, 89, 0.2) 50%,
    transparent 100%
  );
  margin: 0 auto;
  max-width: 800px;
}

/* --- AMBIENT BACKGROUND EFFECTS --- */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.04;
  pointer-events: none;
}
.ambient-orb--gold {
  background: radial-gradient(circle, #C7A35A, transparent);
}
.ambient-orb--blue {
  background: radial-gradient(circle, #3B82F6, transparent);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .icon-svg { width: 40px; height: 40px; }
  .icon-svg svg { width: 20px; height: 20px; }
  .trust-bar { gap: 16px; }
  .trust-item { font-size: 9px; letter-spacing: 1px; }
}
