/* =========================================================
   IMEI-HUB.COM — Main Design System
   ========================================================= */

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

/* --- CSS Variables --- */
:root {
  --bg-primary:       #000000;
  --bg-secondary:     #080D16;
  --bg-card:          #0D1420;
  --bg-card-hover:    #111B2E;
  --blue-primary:     #008CFF;
  --blue-hover:       #0070CC;
  --cyan-neon:        #00E5FF;
  --silver:           #DCE3EA;
  --text-primary:     #FFFFFF;
  --text-secondary:   #A8B3C7;
  --text-muted:       #6B7A99;
  --border-color:     rgba(0, 140, 255, 0.15);
  --border-subtle:    rgba(255, 255, 255, 0.06);
  --glow-blue:        0 0 20px rgba(0, 140, 255, 0.25);
  --glow-cyan:        0 0 20px rgba(0, 229, 255, 0.2);
  --glow-card:        0 4px 40px rgba(0, 140, 255, 0.08);
  --radius-sm:        6px;
  --radius-md:        12px;
  --radius-lg:        18px;
  --radius-xl:        24px;
  --transition:       all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary:     'Space Grotesk', 'Inter', sans-serif;
  --nav-height:       72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--blue-primary); border-radius: 3px; }

/* --- Selection --- */
::selection { background: rgba(0, 140, 255, 0.3); color: #fff; }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

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

/* --- Flex --- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.heading-xl {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.heading-lg {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.heading-md {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3;
}
.heading-sm {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}
.text-lg { font-size: 1.125rem; }
.text-md { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-blue      { color: var(--blue-primary); }
.text-cyan      { color: var(--cyan-neon); }
.text-silver    { color: var(--silver); }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.font-bold   { font-weight: 700; }
.font-medium { font-weight: 500; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #008CFF 0%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.silver-text {
  background: linear-gradient(135deg, #DCE3EA 0%, #A8B3C7 50%, #DCE3EA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-neon);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-neon);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(255,255,255,0.06);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--blue-primary);
  color: #fff;
  box-shadow: 0 0 0 rgba(0,140,255,0);
}
.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 20px rgba(0, 140, 255, 0.4);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  box-shadow: var(--glow-blue);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}

.btn-cyan {
  background: linear-gradient(135deg, #008CFF, #00E5FF);
  color: #000;
  font-weight: 700;
}
.btn-cyan:hover {
  box-shadow: 0 4px 24px rgba(0,229,255,0.35);
  transform: translateY(-1px);
}

.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-icon { padding: 10px; border-radius: var(--radius-sm); }

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,140,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
  box-shadow: var(--glow-card);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

/* =========================================================
   BADGES & TAGS
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-blue    { background: rgba(0,140,255,0.15); color: #59BAFF; border: 1px solid rgba(0,140,255,0.25); }
.badge-cyan    { background: rgba(0,229,255,0.1);  color: #00E5FF; border: 1px solid rgba(0,229,255,0.2); }
.badge-green   { background: rgba(0,200,100,0.1);  color: #00C864; border: 1px solid rgba(0,200,100,0.2); }
.badge-amber   { background: rgba(255,170,0,0.1);  color: #FFAA00; border: 1px solid rgba(255,170,0,0.2); }
.badge-gray    { background: rgba(168,179,199,0.08); color: var(--text-muted); border: 1px solid var(--border-subtle); }

/* =========================================================
   DIVIDERS
   ========================================================= */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  border: none;
  margin: 0;
}

/* =========================================================
   FORM ELEMENTS
   ========================================================= */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
}
.form-control:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0,140,255,0.12);
  background: rgba(0,140,255,0.04);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { appearance: none; cursor: pointer; }

/* Search field */
.search-wrapper { position: relative; }
.search-wrapper .search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-wrapper .form-control { padding-left: 42px; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8, 13, 22, 0.95);
  border-bottom-color: var(--border-color);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.navbar .container { height: 100%; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--blue-primary);
  border-radius: 1px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(8, 13, 22, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px 28px;
  transform: translateY(-110%);
  opacity: 0;
  transition: var(--transition-slow);
  z-index: 999;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu .nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu .nav-actions {
  margin-top: 20px;
  flex-direction: column;
  align-items: stretch;
}
.mobile-menu .nav-actions .btn {
  justify-content: center;
  width: 100%;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--bg-primary);
}

/* Particle canvas */
#particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Hero radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center top, rgba(0,140,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 20px 0 36px;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

/* Trust highlights */
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.trust-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-neon);
  flex-shrink: 0;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0,140,255,0.1);
  border: 1px solid rgba(0,140,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 22px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.card:hover .service-icon {
  background: rgba(0,140,255,0.18);
  border-color: var(--blue-primary);
  box-shadow: var(--glow-blue);
  transform: scale(1.05);
}
.service-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* =========================================================
   TOOLS SECTION
   ========================================================= */
.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.tool-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--transition);
}
.card:hover .tool-icon {
  background: rgba(0,229,255,0.15);
  box-shadow: var(--glow-cyan);
}
.tool-info { flex: 1; min-width: 0; }
.tool-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.tool-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 10px; }
.tool-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(16.67% + 36px); right: calc(16.67% + 36px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-neon), var(--blue-primary));
  opacity: 0.3;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
}
.step-number {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0,140,255,0.15);
  transition: var(--transition);
}
.step-item:hover .step-number {
  background: rgba(0,140,255,0.12);
  box-shadow: 0 0 30px rgba(0,140,255,0.3);
}
.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0,140,255,0.08);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  flex-shrink: 0;
  font-size: 16px;
}
.why-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.why-desc  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.55; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-color); }
.faq-item.open { border-color: rgba(0,140,255,0.25); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
  user-select: none;
}
.faq-question:hover { color: #fff; background: rgba(255,255,255,0.02); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--blue-primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: 4px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover {
  background: rgba(0,140,255,0.12);
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-link:hover { color: var(--blue-primary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--blue-primary); }
.footer-bottom a:hover { text-decoration: underline; }

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,140,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(0,229,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 16px 0 36px;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   FILTER TABS
   ========================================================= */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.filter-tab:hover { border-color: var(--border-color); color: var(--text-primary); }
.filter-tab.active {
  background: rgba(0,140,255,0.15);
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,140,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; color: var(--text-secondary); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--blue-primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

/* =========================================================
   AUTH PAGES
   ========================================================= */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-height) 24px 24px;
  background: var(--bg-primary);
  position: relative;
}
.auth-wrapper::before {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,140,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-primary), var(--cyan-neon), transparent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { height: 52px; width: auto; margin: 0 auto; }
.auth-title { text-align: center; margin-bottom: 6px; font-size: 1.5rem; }
.auth-sub { text-align: center; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 28px; }

.password-field { position: relative; }
.password-toggle {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--text-muted);
  padding: 4px;
  transition: var(--transition);
}
.password-toggle:hover { color: var(--text-primary); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}
.auth-divider span { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.875rem; color: var(--text-secondary); }
.auth-footer a { color: var(--blue-primary); }
.auth-footer a:hover { text-decoration: underline; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0,140,255,0.1);
  border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-primary);
  font-size: 16px;
  flex-shrink: 0;
}
.contact-info-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.contact-info-val { font-size: 0.875rem; color: var(--text-secondary); }
.contact-info-val a { color: var(--blue-primary); }

/* Alert messages */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: rgba(0,200,100,0.1); border: 1px solid rgba(0,200,100,0.2); color: #00C864; }
.alert-error   { background: rgba(255,60,60,0.1);  border: 1px solid rgba(255,60,60,0.2);  color: #FF3C3C; }
.alert-info    { background: rgba(0,140,255,0.1);  border: 1px solid rgba(0,140,255,0.2);  color: #59BAFF; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-stat {
  text-align: center;
  padding: 32px 20px;
}
.about-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* =========================================================
   LOADING & EMPTY STATES
   ========================================================= */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}
.empty-state svg { opacity: 0.3; margin-bottom: 16px; }
.empty-state p { font-size: 0.95rem; }

/* =========================================================
   NOTIFICATION TOAST
   ========================================================= */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 9999;
  max-width: 340px;
}
.toast.show { transform: translateX(0); }
.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast-success { border-color: rgba(0,200,100,0.3); }
.toast-success .toast-icon { color: #00C864; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,140,255,0.35);
  z-index: 500;
  font-size: 18px;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue-hover);
  box-shadow: 0 6px 24px rgba(0,140,255,0.5);
  transform: translateY(-2px);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(0,229,255,0.4); }
  50%       { box-shadow: 0 0 20px rgba(0,229,255,0.8); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes scanline {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.animate-fade-up  { animation: fadeInUp 0.6s ease both; }
.animate-fade     { animation: fadeIn   0.5s ease both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 64px 0; }
  .nav-links, .nav-actions .btn:not(.btn-primary), .nav-actions .btn-outline { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-trust { gap: 16px; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .auth-card { padding: 28px 20px; }
  .card { padding: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
