/* ═══════════════════════════════════════════════════════════
   IAMA Design System — Modern UI/UX
   Navy + Gold | Glassmorphism | 3D Effects | Animations
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy-950: #040d1a;
  --navy-900: #071330;
  --navy-800: #0d2044;
  --navy-700: #1a3a6b;
  --navy-600: #1e4480;
  --gold-400: #f5cc5c;
  --gold-500: #e8b84b;
  --gold-600: #c9a227;
  --gold-700: #a8841f;
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --glass-bg-light: rgba(255,255,255,0.8);
  --shadow-gold: 0 0 40px rgba(201,162,39,0.15);
  --shadow-navy: 0 20px 60px rgba(4,13,26,0.4);
}

/* ── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #f8f9fc;
  color: #1a2744;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.font-display { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--gold-600); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-400); }

/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.navbar.scrolled {
  background: rgba(7,19,48,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201,162,39,0.2);
  box-shadow: 0 8px 32px rgba(4,13,26,0.4);
}
.navbar.transparent { background: transparent; }
.navbar.solid {
  background: rgba(7,19,48,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,162,39,0.15);
  box-shadow: 0 4px 20px rgba(4,13,26,0.3);
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s ease;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link:hover::after { width: 60%; }
.nav-link.active { color: var(--gold-400); background: rgba(201,162,39,0.12); }
.nav-link.active::after { width: 60%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: rgba(7,19,48,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(4,13,26,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  opacity: 0; visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.open {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: rgba(255,255,255,0.75); font-size: 0.875rem;
  text-decoration: none; transition: all 0.2s ease;
}
.nav-dropdown-item:hover { background: rgba(201,162,39,0.12); color: var(--gold-400); }
.nav-dropdown-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s ease;
}
.nav-dropdown-item:hover .nav-dropdown-icon { background: rgba(201,162,39,0.2); }

/* ══════════════════════════════════════════════════════════════
   GLASSMORPHISM
   ══════════════════════════════════════════════════════════════ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
}
.glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(4,13,26,0.08), 0 1px 0 rgba(255,255,255,0.8) inset;
}
.glass-dark {
  background: rgba(13,32,68,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}

/* ══════════════════════════════════════════════════════════════
   3D CARD EFFECTS
   ══════════════════════════════════════════════════════════════ */
.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s ease;
}
.card-3d:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(1deg);
  box-shadow: 0 30px 60px rgba(4,13,26,0.15), 0 0 0 1px rgba(201,162,39,0.1);
}
.card-3d-dark:hover {
  box-shadow: 0 30px 60px rgba(4,13,26,0.5), 0 0 30px rgba(201,162,39,0.1);
}

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-950);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,58,107,0.8) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(201,162,39,0.06) 0%, transparent 60%),
              linear-gradient(135deg, var(--navy-950) 0%, #091828 50%, #05111f 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(26,58,107,0.5) 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 60%;
  background: radial-gradient(circle, rgba(30,68,128,0.3) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite 2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ── Floating Particles ─────────────────────────────────────── */
.particle {
  position: absolute; border-radius: 50%;
  background: var(--gold-600);
  opacity: 0.15;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ── Hero Badge ─────────────────────────────────────────────── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 100px;
  color: var(--gold-400);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  backdrop-filter: blur(10px);
  animation: badgePulse 3s ease-in-out infinite;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--gold-400); border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); }
  50% { box-shadow: 0 0 0 6px rgba(201,162,39,0); }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ── Gradient Text ──────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--gold-400) 0%, #fff5cc 40%, var(--gold-500) 70%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #a5f3fc 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CTA Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--navy-900);
  font-weight: 700; font-size: 0.9rem;
  border-radius: 14px; border: none; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 8px 24px rgba(201,162,39,0.3), 0 1px 0 rgba(255,255,255,0.3) inset;
  text-decoration: none;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  opacity: 0; transition: opacity 0.3s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201,162,39,0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-weight: 600; font-size: 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer; text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Scroll indicator ───────────────────────────────────────── */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════════════════════════════ */
.stats-section {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  border-top: 1px solid rgba(201,162,39,0.1);
  border-bottom: 1px solid rgba(201,162,39,0.1);
}
.stat-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
  transition: transform 0.3s ease;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
  transform: translateX(-50%);
}
.stat-card:hover { transform: translateY(-4px); }
.stat-number {
  font-size: 2.8rem; font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  counter-reset: none;
}
.stat-label {
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════
   CONTENT CARDS
   ══════════════════════════════════════════════════════════════ */
.card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(201,162,39,0.05), transparent);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none; z-index: 0;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,39,0.2);
  box-shadow: 0 24px 48px rgba(13,32,68,0.12), 0 0 0 1px rgba(201,162,39,0.1);
}
.card:hover::before { opacity: 1; }

.card-dark {
  background: rgba(13,32,68,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  backdrop-filter: blur(10px);
}
.card-dark:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,39,0.2);
  box-shadow: 0 24px 60px rgba(4,13,26,0.4), 0 0 30px rgba(201,162,39,0.08);
}

/* ── Card image hover zoom ──────────────────────────────────── */
.card-img-wrap { overflow: hidden; position: relative; }
.card-img-wrap img { transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.card:hover .card-img-wrap img,
.card-dark:hover .card-img-wrap img { transform: scale(1.07); }

/* ── Category badge ─────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-gold { background: var(--gold-600); color: var(--navy-900); }
.badge-navy { background: var(--navy-800); color: rgba(255,255,255,0.8); }

/* ══════════════════════════════════════════════════════════════
   PAGE HEADERS
   ══════════════════════════════════════════════════════════════ */
.page-header {
  position: relative; padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 60%, #0f2a52 100%);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.4), transparent);
}

/* ══════════════════════════════════════════════════════════════
   SECTION TITLES
   ══════════════════════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}
.section-label::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 14px; height: 2px;
  background: var(--gold-600);
  transform: translateY(-50%);
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.15;
}
.section-title-white { color: #fff; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, var(--navy-950) 0%, #020912 100%);
  border-top: 1px solid rgba(201,162,39,0.15);
  position: relative; overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-600), var(--gold-400), var(--gold-600), transparent);
}
.footer-link {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block; padding: 3px 0;
}
.footer-link:hover { color: var(--gold-400); }
.footer-social {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem; font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-social:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--navy-900);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201,162,39,0.3);
}

/* ══════════════════════════════════════════════════════════════
   AOS ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
[data-aos="fade-up"] { opacity: 0; transform: translateY(40px); }
[data-aos="fade-down"] { opacity: 0; transform: translateY(-40px); }
[data-aos="fade-left"] { opacity: 0; transform: translateX(40px); }
[data-aos="fade-right"] { opacity: 0; transform: translateX(-40px); }
[data-aos="zoom-in"] { opacity: 0; transform: scale(0.85); }
[data-aos="flip-up"] { opacity: 0; transform: perspective(600px) rotateX(-15deg); }

[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

/* ══════════════════════════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════════════════════════ */
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #fff; font-size: 0.9rem;
  transition: all 0.25s ease;
  outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.form-input-light {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--navy-800);
  transition: all 0.25s ease;
  outline: none; width: 100%;
}
.form-input-light:focus {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}

/* ══════════════════════════════════════════════════════════════
   LOADING SKELETON
   ══════════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, #f0f4f8 25%, #e8edf2 50%, #f0f4f8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ══════════════════════════════════════════════════════════════
   MOBILE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-section { min-height: 100dvh; }
  .stat-number { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .btn-primary, .btn-ghost { padding: 12px 24px; font-size: 0.85rem; }
  .card:hover { transform: none; }
  .card-3d:hover { transform: none; }
}

/* ══════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════ */
.line-clamp-1 { display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden; }
.line-clamp-2 { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.line-clamp-3 { display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.pt-navbar { padding-top: 80px; }
