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

:root {
  --primary: #0A1628;
  --primary-light: #101e33;
  --secondary: #1A3A5C;
  --accent: #C9A84C;
  --accent-hover: #d4b85e;
  --text: #FFFFFF;
  --text-secondary: #B0BEC5;
  --card: #0f2035;
  --card-hover: #142a42;
  --border: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--primary); }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; }

/* ===== Utility ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media(min-width:640px) { .container { padding: 0 1.5rem; } }
@media(min-width:1024px) { .container { padding: 0 2rem; } }

/* ===== Grid Background ===== */
.bg-grid {
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ===== Animated Divider ===== */
.animated-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), rgba(201,168,76,0.6), rgba(201,168,76,0.3), transparent);
  background-size: 200% 100%;
  animation: gradient-slide 4s ease infinite;
}
@keyframes gradient-slide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Text Shimmer ===== */
.text-shimmer {
  background: linear-gradient(90deg, #C9A84C 0%, #f0d78c 25%, #C9A84C 50%, #f0d78c 75%, #C9A84C 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ===== Glow Card ===== */
.glow-card { position: relative; overflow: hidden; }
.glow-card::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.03), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}
.glow-card:hover::after { left: 100%; }
.glow-card:hover {
  border-color: rgba(201,168,76,0.3) !important;
  box-shadow: 0 10px 25px rgba(201,168,76,0.05);
  transform: translateY(-4px);
}

/* ===== Floating Orbs ===== */
@keyframes float-slow {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-40px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(0.95); }
}
@keyframes float-slower {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-40px,30px) scale(0.95); }
  66% { transform: translate(20px,-30px) scale(1.05); }
}

/* ===== Pulse Ring ===== */
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.2; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* ===== Scan Line ===== */
@keyframes scan {
  0% { top: -10%; }
  100% { top: 110%; }
}
.scan-line { position: relative; }
.scan-line::before {
  content: "";
  position: absolute; left: 0;
  width: 100%; height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.015), transparent);
  animation: scan 8s linear infinite;
  pointer-events: none; z-index: 1;
}

/* ===== Fade Animations ===== */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-fade-in-up { animation: fade-in-up 0.8s ease-out forwards; }
.animate-fade-in { animation: fade-in 0.6s ease-out forwards; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo:hover .logo-svg { transform: scale(1.05); }
.logo-svg { transition: transform 0.3s; }
.nav-logo span { font-size: 1.125rem; font-weight: 600; color: var(--text); }

.nav-links { display: none; align-items: center; gap: 4px; }
@media(min-width:1024px) { .nav-links { display: flex; } }
.nav-links a {
  padding: 8px 12px; font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary); border-radius: 6px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links .has-dropdown { position: relative; }
.nav-links .dropdown-arrow { display: inline-block; margin-left: 4px; width: 10px; height: 10px; vertical-align: middle; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 4px;
  width: 260px; background: var(--primary-light);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: none; animation: fade-in 0.2s ease;
}
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 8px 16px; font-size: 0.875rem;
  color: var(--text-secondary); transition: color 0.2s, background 0.2s;
}
.dropdown-menu a:hover { color: var(--accent); background: rgba(255,255,255,0.05); }

.hamburger { display: block; padding: 8px; color: var(--text-secondary); }
@media(min-width:1024px) { .hamburger { display: none; } }
.hamburger svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none; background: var(--primary-light);
  border-top: 1px solid var(--border);
  padding: 16px; max-height: 80vh; overflow-y: auto;
}
@media(min-width:1024px) { .mobile-menu { display: none !important; } }
.mobile-menu.open { display: block; animation: fade-in 0.2s ease; }
.mobile-menu a {
  display: block; padding: 12px 16px; font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary); border-radius: 6px; transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); background: rgba(255,255,255,0.05); }
.mobile-sub { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--border); }
.mobile-sub a { padding: 8px 16px; font-size: 0.75rem; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero canvas { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, var(--primary), rgba(10,22,40,0.9), rgba(26,58,92,0.3));
}
.hero-grid { position: absolute; inset: 0; z-index: 2; opacity: 0.6; }
.hero-orb {
  position: absolute; border-radius: 50%; z-index: 1; pointer-events: none;
}
.hero-orb-1 {
  top: 25%; left: 25%; width: 500px; height: 500px;
  background: rgba(201,168,76,0.03); filter: blur(120px);
  animation: float-slow 12s ease-in-out infinite;
}
.hero-orb-2 {
  bottom: 25%; right: 25%; width: 400px; height: 400px;
  background: rgba(26,58,92,0.2); filter: blur(100px);
  animation: float-slower 16s ease-in-out infinite;
}
.hero-content {
  position: relative; z-index: 10;
  max-width: 960px; margin: 0 auto;
  padding: 0 1rem; text-align: center;
}
.hero-tag {
  color: var(--accent); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fade-in-up 0.8s ease-out 0.1s forwards;
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem;
  opacity: 0; animation: fade-in-up 0.8s ease-out 0.3s forwards;
}
.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary); font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0; animation: fade-in-up 0.8s ease-out 0.5s forwards;
}
.hero-desc {
  max-width: 720px; margin: 0 auto 3rem;
  color: rgba(176,190,197,0.8); font-size: 1rem; line-height: 1.7;
  opacity: 0; animation: fade-in-up 0.8s ease-out 0.7s forwards;
}
.hero-btns {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem;
  opacity: 0; animation: fade-in-up 0.8s ease-out 0.7s forwards;
}
.btn-primary {
  padding: 14px 32px; background: var(--accent); color: var(--primary);
  font-weight: 600; border-radius: 8px;
  transition: background 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 25px rgba(201,168,76,0.25); }
.btn-outline {
  padding: 14px 32px; border: 1px solid rgba(255,255,255,0.2);
  color: var(--text); font-weight: 600; border-radius: 8px;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 8px 25px rgba(201,168,76,0.1); }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator span { color: rgba(176,190,197,0.4); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
.scroll-wheel {
  width: 20px; height: 32px; border-radius: 10px;
  border: 1px solid rgba(176,190,197,0.3);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 6px;
}
.scroll-dot {
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--accent);
  animation: bounce-dot 2s ease-in-out infinite;
}
@keyframes bounce-dot {
  0%,100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ===== Section Common ===== */
.section { padding: 6rem 0; position: relative; overflow: hidden; }
@media(min-width:1024px) { .section { padding: 8rem 0; } }
.section-bg-light { background: var(--primary-light); }
.section-bg-dark { background: var(--primary); }
.section-grid-overlay {
  position: absolute; inset: 0; opacity: 0.3; pointer-events: none;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 0.5rem; }
.section-bar { width: 64px; height: 4px; background: var(--accent); margin: 0 auto 2rem; border-radius: 2px; }
.section-desc { max-width: 720px; margin: 0 auto; color: var(--text-secondary); font-size: 1.125rem; line-height: 1.7; }

/* ===== Cards Grid ===== */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-3 { grid-template-columns: 1fr; }
@media(min-width:768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-2x3 { grid-template-columns: 1fr; }
@media(min-width:640px) { .cards-2x3 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .cards-2x3 { grid-template-columns: repeat(3, 1fr); } }
.cards-4 { grid-template-columns: 1fr; }
@media(min-width:640px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem;
  transition: all 0.5s ease;
}
.card .card-icon {
  color: var(--accent); margin-bottom: 1.25rem;
  transition: transform 0.3s;
}
.card:hover .card-icon { transform: scale(1.1); }
.card .card-icon svg { width: 32px; height: 32px; }
.card .card-icon-lg svg { width: 40px; height: 40px; }
.card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.card p, .card li { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; }
.card ul { display: flex; flex-direction: column; gap: 10px; }
.card li { display: flex; align-items: flex-start; gap: 8px; }
.card li .bullet { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.card-center { text-align: center; }
.card-center .card-icon { display: flex; justify-content: center; }

/* ===== Stats ===== */
.stats-section { padding: 5rem 0; background: var(--primary); position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media(min-width:1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.stat-item { text-align: center; }
.stat-number-wrap { position: relative; display: inline-block; margin-bottom: 0.75rem; }
.stat-glow {
  position: absolute; inset: -16px; border-radius: 50%;
  background: rgba(201,168,76,0.05); filter: blur(15px);
  animation: pulse-ring 3s ease-in-out infinite;
}
.stat-number {
  position: relative; font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--text-secondary); font-size: 0.875rem; letter-spacing: 0.05em; }
.stat-line {
  margin: 0.75rem auto 0; height: 1px; width: 48px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media(min-width:1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item .ci-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-item .ci-icon svg { width: 24px; height: 24px; }
.contact-item .ci-label { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 4px; }
.contact-item .ci-value { font-weight: 500; }
.contact-item a.ci-value { transition: color 0.2s; }
.contact-item a.ci-value:hover { color: var(--accent); }

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-input::placeholder { color: rgba(176,190,197,0.4); }
.form-input:focus { border-color: rgba(201,168,76,0.5); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
textarea.form-input { resize: none; }

/* ===== Footer ===== */
.footer { background: #060e1a; border-top: 1px solid var(--border); }
.footer-main { padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media(min-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.footer-brand .footer-logo span { font-size: 1.125rem; font-weight: 600; }
.footer-brand p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; }
.footer-links h4 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 2rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

.legal-notice { padding: 2.5rem 0; border-top: 1px solid var(--border); }
.legal-notice h4 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.legal-notice p, .legal-notice .legal-item { color: rgba(176,190,197,0.7); font-size: 0.75rem; line-height: 1.8; margin-bottom: 1.25rem; }
.legal-item { display: flex; align-items: flex-start; gap: 12px; }
.legal-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.legal-item .accent-label { color: var(--accent); font-weight: 600; }
.legal-item .white-label { color: var(--text-secondary); font-weight: 600; }

.copyright { padding: 1.5rem 0; border-top: 1px solid var(--border); text-align: center; }
.copyright p { font-size: 0.75rem; color: rgba(176,190,197,0.5); }

/* ===== Responsive Nav Logo Text ===== */
@media(max-width:639px) { .nav-logo span { display: none; } }
