/* ================================================================
   ELITE WEALTH MANAGEMENT — ADVANCED DESIGN SYSTEM
   ================================================================ */

/* ===== RESET & ROOT ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --text-primary: #f0f0f5;
  --text-secondary: #9a9ab0;
  --text-muted: #6a6a80;
  --gold: #d4a843;
  --gold-light: #f0d878;
  --gold-dark: #a67c00;
  --accent: #4f7df5;
  --accent-dark: #3a5cc4;
  --border: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.04);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 8px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.45);
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner { text-align: center; }
.preloader-crown svg {
  width: 60px;
  height: 45px;
  animation: preloaderFloat 2s ease-in-out infinite;
}
@keyframes preloaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.preloader-bar {
  width: 180px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin: 24px auto 16px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  animation: preloaderFill 1.8s ease-in-out forwards;
}
@keyframes preloaderFill {
  to { width: 100%; }
}
.preloader-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 6px;
  color: var(--gold);
  opacity: 0;
  animation: fadeIn 0.5s 0.3s ease forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(22,22,31,0.9);
  backdrop-filter: blur(12px);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.3);
}

/* ===== PARTICLE CANVAS ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== GOLD TEXT ===== */
.gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(212,168,67,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,168,67,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(212,168,67,0.08);
}

.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* Button magnetic effect placeholder (JS driven) */
.btn-magnetic { transition: transform 0.3s ease; }

/* ===== NAV PROGRESS BAR ===== */
.nav-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}
.nav-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
  transition: none;
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
header.scrolled {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-crown svg { width: 36px; height: 28px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-primary);
}
.logo-divider {
  width: 100%;
  height: 1px;
  margin: 3px 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}
.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.52rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: 0 4px 20px rgba(212,168,67,0.35); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(79,125,245,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212,168,67,0.06) 0%, transparent 50%),
    var(--bg-primary);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=60') center/cover no-repeat;
  opacity: 0.06;
}

/* Floating geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.shape {
  position: absolute;
  border: 1px solid rgba(212,168,67,0.1);
  border-radius: 50%;
}
.shape-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: -100px;
  animation: shapeFloat 20s ease-in-out infinite;
}
.shape-2 {
  width: 250px;
  height: 250px;
  top: 60%;
  right: -50px;
  animation: shapeFloat 15s ease-in-out infinite reverse;
}
.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 30%;
  border-radius: 30%;
  animation: shapeFloat 25s ease-in-out infinite;
}
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(15px) rotate(240deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

/* Hero badge with pulse */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--gold);
  background: var(--glass);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
  letter-spacing: 1px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  position: relative;
}
.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(52,211,153,0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ===== MARQUEE TICKER ===== */
.ticker-wrap {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
  will-change: transform;
}
.ticker-item {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  padding: 0 16px;
  letter-spacing: 1px;
}
.ticker-sep {
  color: var(--gold);
  opacity: 0.4;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
.section-dark { background: var(--bg-secondary); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 50px;
}
.section-header h2,
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: none;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212,168,67,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212,168,67,0.15);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }

.service-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(212,168,67,0.06);
  line-height: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(212,168,67,0.08);
  color: var(--gold);
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(212,168,67,0.15);
  transform: scale(1.1);
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}
.service-link span {
  transition: transform 0.3s;
}
.service-link:hover span { transform: translateX(4px); }
.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ABOUT ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.about-metric-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity var(--transition);
}
.about-metric-card:hover {
  border-color: rgba(212,168,67,0.2);
  transform: translateX(8px);
}
.about-metric-card:hover::before { opacity: 1; }

.metric-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(212,168,67,0.08);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}
.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.metric-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 500;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.badge {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(212,168,67,0.2);
  color: var(--gold);
  background: rgba(212,168,67,0.06);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.badge:hover {
  background: rgba(212,168,67,0.12);
  border-color: rgba(212,168,67,0.4);
}
.badge-icon { color: #34d399; font-size: 0.85rem; }

.about-cta { margin-top: 32px; }

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.testimonial-card {
  min-width: calc(33.333% - 16px);
  margin: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
}
.testimonial-card:hover {
  border-color: rgba(212,168,67,0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.testimonial-quote-icon {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--gold);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0a0a0f;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: var(--transition);
}
.slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,67,0.08);
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: none;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ===== NETWORK ===== */
.network-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: none;
  transition: var(--transition);
}
.filter-btn:hover {
  border-color: rgba(212,168,67,0.3);
  color: var(--gold);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
  border-color: transparent;
  font-weight: 600;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.network-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(.4,0,.2,1);
}
.network-card.hidden {
  display: none;
}
.network-card.filtering-out {
  opacity: 0;
  transform: scale(0.9);
}
.network-card:hover {
  border-color: rgba(212,168,67,0.15);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.network-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

/* Card overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.network-card:hover .card-overlay { opacity: 1; }
.overlay-btn {
  padding: 10px 28px;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
}
.overlay-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.region-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}
.region-europe { background: rgba(79,125,245,0.85); color: #fff; }
.region-asia { background: rgba(220,80,80,0.85); color: #fff; }
.region-me { background: rgba(212,168,67,0.9); color: #0a0a0f; }

.card-body { padding: 20px; }
.card-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.card-role {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.card-location svg { flex-shrink: 0; }

/* ===== CALCULATOR ===== */
.calculator-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.calc-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.03);
  border-radius: 50px;
  padding: 4px;
  border: 1px solid var(--border);
}
.calc-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: none;
  transition: var(--transition);
}
.calc-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
  font-weight: 600;
}
.calc-tab:not(.active):hover { color: var(--gold); }

.calc-panel { display: none; }
.calc-panel.active { display: block; }

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.input-prefix {
  position: relative;
}
.input-prefix span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  pointer-events: none;
}
.input-prefix input {
  padding-left: 40px;
}

/* Range slider */
.range-input {
  width: 100%;
  margin-top: 8px;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 8px rgba(212,168,67,0.4);
}
.range-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 8px rgba(212,168,67,0.4);
}

.btn-calc {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.calc-result {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-sm);
  background: rgba(212,168,67,0.04);
  border: 1px solid rgba(212,168,67,0.1);
}
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.result-row:last-of-type { border-bottom: none; }
.result-label { font-size: 0.9rem; color: var(--text-muted); }
.result-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.result-highlight { color: var(--gold-light); }
.result-bar-wrap {
  margin-top: 16px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}
.result-bar {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition: width 1s ease;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(212,168,67,0.05), rgba(79,125,245,0.03));
  border: 1px solid rgba(212,168,67,0.12);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,168,67,0.08), transparent 70%);
  border-radius: 50%;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}
.cta-content p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.contact-item:hover .contact-icon {
  background: rgba(212,168,67,0.15);
  transform: scale(1.05);
}
.contact-item strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.contact-item span { font-size: 0.88rem; color: var(--text-secondary); }

/* Map placeholder */
.contact-map {
  margin-top: 8px;
}
.map-placeholder {
  width: 100%;
  height: 160px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
}
.map-placeholder span { font-size: 0.82rem; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--text-primary);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Floating Labels */
.form-floating {
  position: relative;
}
.form-floating label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s ease;
  background: transparent;
}
.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating textarea:focus ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label,
.form-floating select:focus ~ label,
.form-floating select:valid ~ label {
  top: -8px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--bg-card);
  padding: 0 4px;
}

/* Forms */
.form-group { margin-bottom: 20px; }
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
}
select {
  background: black;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
  background: rgba(255,255,255,0.05);
}
input::placeholder, textarea::placeholder {
  color: transparent;
}
.calc-form input::placeholder {
  color: var(--text-muted);
}

button[type="submit"] {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
}
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,168,67,0.35);
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-logo .logo-crown svg { width: 28px; height: 22px; }

/* Social links */
.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,67,0.08);
  transform: translateY(-3px);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
  position: relative;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-col a:hover::after { width: 100%; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-secondary);
  font-weight: 500;
}
.footer-bottom a:hover { color: var(--gold); }

/* ===== ANIMATIONS (AOS) ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SMOOTH REVEAL ===== */
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    height: calc(100vh - 80px);
    transform: translateY(-100%);
    transition: transform var(--transition);
    border-top: 1px solid var(--border);
  }
  .nav-links.active { transform: translateY(0); }
  .mobile-toggle { display: flex; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; padding: 48px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-slider { max-width: 100%; }
  .testimonial-card { min-width: calc(100% - 24px); }
  .network-grid { grid-template-columns: 1fr; }
  .calc-inputs { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}