/* ========== HARPYIA GROUP - Futuristic Corporate CSS ========== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --deep-navy: #050a1a;
  --navy: #0a1628;
  --navy-mid: #0e1f3d;
  --navy-light: #162847;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dim: #8a6e1a;
  --white: #f0f4ff;
  --white-dim: #a8b8d8;
  --text-muted: #6a7a9a;
  --accent: #1e90ff;
  --accent-dim: #0a3a6e;
  --border: rgba(201,162,39,0.2);
  --border-light: rgba(201,162,39,0.08);
  --glow: rgba(201,162,39,0.15);
  --shadow: 0 20px 60px rgba(0,0,0,0.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--deep-navy);
  color: var(--white);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.display-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--white);
  margin-top: 0.4em;
}

/* ---- Grid & Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 100px 0; }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(5,10,26,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 2.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
}
.nav-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1;
}
.nav-logo-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 400;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-menu a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { width: 100%; }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  list-style: none;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: block;
  padding: 0.6rem 1.4rem;
  font-size: 0.78rem;
  color: var(--white-dim);
  text-transform: none;
  letter-spacing: 0.05em;
}
.nav-dropdown li a:hover { color: var(--gold); background: rgba(201,162,39,0.06); }
.nav-dropdown li a::after { display: none; }

.btn-nav {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--deep-navy) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: all 0.3s !important;
}
.btn-nav:hover { 
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201,162,39,0.4);
}
.btn-nav::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--deep-navy);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,162,39,0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(240,244,255,0.3);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---- Cards ---- */
.card {
  background: var(--navy);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,162,39,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,162,39,0.1);
}
.card:hover::before { opacity: 1; }

/* ---- Grid utilities ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---- Gold line divider ---- */
.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.2rem 0;
}

/* ---- Icon box ---- */
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  transition: all 0.3s;
}
.card:hover .icon-box {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  border-color: var(--gold);
  transform: scale(1.05);
}

/* ---- Stats ---- */
.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--white-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ---- Hero Background particles effect ---- */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80vmin;
  height: 80vmin;
  background: radial-gradient(circle, rgba(201,162,39,0.07) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 8s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60vmin;
  height: 60vmin;
  background: radial-gradient(circle, rgba(30,144,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 10s ease-in-out infinite 3s;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Grid lines bg */
.grid-bg {
  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;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* ---- Section backgrounds ---- */
.bg-navy { background: var(--navy); }
.bg-navy-mid { background: var(--navy-mid); }
.bg-dark { background: var(--deep-navy); }

/* ---- Footer ---- */
.footer {
  background: #020710;
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.12em;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1rem 0 1.4rem;
  line-height: 1.8;
}
.footer-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-contact-item span:first-child { color: var(--gold); margin-top: 2px; font-size: 1rem; }

.social-links { display: flex; gap: 10px; margin-top: 1rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,162,39,0.1);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal span {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.footer-legal strong { color: var(--white-dim); }

/* ---- Page Hero ---- */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--white);
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: var(--border); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 70px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Mobile menu ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: rgba(5,10,26,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white-dim);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  z-index: 9999;
  transition: width 0.1s;
}

/* ---- Real Logo in Nav ---- */
.nav-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
}
.nav-phone {
  font-size: 0.78rem !important;
  color: var(--gold) !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--gold-light) !important; }
.nav-phone::after { display: none !important; }
