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

:root {
  /* FINVORA Ultra-Premium Dark Color System */
  --bg-primary: #050505;
  --bg-secondary: #080C0E;
  --bg-surface: #0C1113;
  --bg-card: #0F1518;
  --bg-card-hover: #141C20;
  --bg-elevated: #182226;

  /* Logo-Aligned Palette (Cyan, Mint, Royal Sapphire, Lime) */
  --c-cyan: #4DD2FF;
  --c-mint: #35E6C0;
  --c-teal: #3AC3C6;
  --c-green: #57C19D;
  --c-blue: #5B6EF5;
  --c-sapphire: #0378C0;
  --c-lime: #B3EB91;

  --grad-primary: linear-gradient(
    115deg,
    #0378C0 0%,
    #4DD2FF 28%,
    #35E6C0 68%,
    #5B6EF5 100%
  );

  --grad-glow: linear-gradient(135deg, rgba(53, 230, 192, 0.45) 0%, rgba(77, 210, 255, 0.25) 50%, rgba(91, 110, 245, 0.2) 100%);
  --grad-surface: linear-gradient(180deg, rgba(14, 20, 24, 0.92) 0%, rgba(7, 11, 14, 0.97) 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);

  /* Borders */
  --border: #1B2629;
  --border-subtle: #121A1C;
  --border-glow: rgba(53, 230, 192, 0.4);
  --border-focus: #35E6C0;

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-muted: #626E75;
  --text-inverse: #050505;

  /* Functional Status Tokens */
  --c-success: #35E6C0;
  --c-success-bg: rgba(53, 230, 192, 0.14);
  --c-error: #F43F5E;
  --c-error-bg: rgba(244, 63, 94, 0.12);
  --c-warning: #F59E0B;
  --c-warning-bg: rgba(245, 158, 11, 0.12);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Sizing & Shapes */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(77, 210, 255, 0.25);
  --shadow-glow-mint: 0 0 35px rgba(53, 230, 192, 0.3);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.aura-bg {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  width: 100%;
}

/* Layer 1 */
.aura-layer-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(3, 120, 192, 0.15) 0%, rgba(77, 210, 255, 0.08) 35%, transparent 70%);
  filter: blur(80px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

/* Layer 2 */
.aura-layer-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 60%, rgba(53, 230, 192, 0.12) 0%, rgba(91, 110, 245, 0.08) 40%, transparent 75%);
  filter: blur(80px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 1024px) {
  .aura-layer-1,
  .aura-layer-2 {
    filter: blur(120px);
  }
}

.aura-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm { max-width: 840px; margin: 0 auto; padding: 0 1.5rem; }
.container-fluid { width: 100%; padding: 0 2rem; }

/* Gradients & Text */
.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.mono {
  font-family: var(--font-mono);
}

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--c-success); }
.text-mint { color: var(--c-mint); }
.text-teal { color: var(--c-teal); }
.text-error { color: var(--c-error); }
.text-warning { color: var(--c-warning); }

/* Live Pulse Indicators */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  display: inline-block;
  box-shadow: 0 0 10px var(--c-green);
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0%, 100% { transform: scale(1); opacity: 0.85; box-shadow: 0 0 6px var(--c-green); }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 16px var(--c-mint), 0 0 22px var(--c-green); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--grad-primary);
  background-size: 200% 200%;
  color: #050505 !important;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(55, 165, 161, 0.35), 0 0 15px rgba(87, 193, 157, 0.2);
  animation: shimmerFlow 8s ease infinite;
}

@keyframes shimmerFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 28px rgba(87, 193, 157, 0.55), 0 0 20px rgba(179, 235, 145, 0.35);
  color: #050505 !important;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-teal);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline {
  background: rgba(13, 108, 159, 0.06);
  color: #FFFFFF;
  border: 1px solid rgba(87, 193, 157, 0.35);
  border-radius: var(--radius-full);
}

.btn-outline:hover {
  border-color: var(--c-green);
  color: var(--c-mint);
  background: rgba(87, 193, 157, 0.12);
  box-shadow: 0 0 20px rgba(87, 193, 157, 0.25);
  transform: translateY(-2px);
}

.btn-danger-outline {
  background: rgba(244, 63, 94, 0.06);
  color: #F43F5E;
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: var(--radius-full);
}

.btn-danger-outline:hover {
  background: rgba(244, 63, 94, 0.14);
  border-color: #F43F5E;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.3);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.42rem 1.1rem; font-size: 0.82rem; border-radius: var(--radius-full); }
.btn-xs { padding: 0.25rem 0.75rem; font-size: 0.74rem; border-radius: var(--radius-full); }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1.02rem; border-radius: var(--radius-full); }
.btn-block { width: 100%; }

/* Ultra-Premium Glassmorphic Cards (Matching Dashboard & Landing) */
.card, .stat-card, .kpi-card, .feature-box, .calc-card {
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.75), 0 0 20px rgba(55, 165, 161, 0.06);
  overflow: hidden;
}

.card:hover, .stat-card:hover, .kpi-card:hover, .feature-box:hover {
  border-color: rgba(87, 193, 157, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -12px rgba(13, 108, 159, 0.35), 0 0 25px rgba(87, 193, 157, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #FFFFFF;
}

/* Ultra-Premium Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 12px rgba(87, 193, 157, 0.08);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.badge-success {
  background: rgba(87, 193, 157, 0.14);
  color: var(--c-mint);
  border: 1px solid rgba(87, 193, 157, 0.38);
  box-shadow: 0 0 14px rgba(87, 193, 157, 0.2);
}

.badge-working {
  background: rgba(13, 108, 159, 0.22);
  color: #00F0FF;
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
}

.badge-investor {
  background: rgba(179, 235, 145, 0.14);
  color: var(--c-lime);
  border: 1px solid rgba(179, 235, 145, 0.38);
  box-shadow: 0 0 14px rgba(179, 235, 145, 0.2);
}

.badge-active {
  background: rgba(56, 189, 248, 0.14);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.38);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.badge-suspended {
  background: rgba(244, 63, 94, 0.14);
  color: #F43F5E;
  border: 1px solid rgba(244, 63, 94, 0.38);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.14);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.38);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

.badge-error {
  background: rgba(244, 63, 94, 0.14);
  color: #F43F5E;
  border: 1px solid rgba(244, 63, 94, 0.38);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.2);
}

.badge-info {
  background: rgba(13, 108, 159, 0.18);
  color: var(--c-mint);
  border: 1px solid rgba(55, 165, 161, 0.38);
  box-shadow: 0 0 14px rgba(55, 165, 161, 0.18);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #080C0D;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-teal);
  background: #0B1113;
  box-shadow: 0 0 0 3px rgba(55, 165, 161, 0.2), 0 0 15px rgba(55, 165, 161, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Password Input with Show/Hide Eye Toggle */
.password-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-group .form-input {
  padding-right: 3.25rem !important;
}

.password-toggle-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.45rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, transform 0.15s ease, background 0.2s ease;
  z-index: 5;
  user-select: none;
  line-height: 1;
}

.password-toggle-btn:hover {
  color: var(--c-mint);
  background: rgba(55, 165, 161, 0.14);
}

.password-toggle-btn.active {
  color: var(--c-mint);
  background: rgba(55, 165, 161, 0.18);
}

.password-toggle-btn:focus-visible {
  outline: 2px solid var(--c-teal);
  color: var(--c-mint);
}

.password-toggle-btn:active {
  transform: translateY(-50%) scale(0.9);
}

.password-toggle-btn svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
  stroke: currentColor;
  display: block;
}

/* Alerts */
.alert {
  padding: 1rem 1.35rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.alert-success {
  background: var(--c-success-bg);
  border: 1px solid rgba(87, 193, 157, 0.35);
  color: var(--c-mint);
}

.alert-danger {
  background: var(--c-error-bg);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: var(--c-error);
}

.alert-info {
  background: rgba(13, 108, 159, 0.2);
  border: 1px solid rgba(55, 165, 161, 0.4);
  color: var(--c-mint);
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.table th {
  padding: 0.95rem 1.2rem;
  background: #080D0F;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
}

.table tbody tr {
  transition: background 0.15s ease;
}

.table tbody tr:hover {
  background: rgba(55, 165, 161, 0.05);
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 75px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 38px;
  max-height: 100%;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Navigation Button & Sliding Drawer */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(55, 165, 161, 0.12);
  border-color: var(--c-teal);
  color: var(--c-mint);
}

@media (max-width: 900px) {
  .site-header .nav-links {
    display: none;
  }
  .site-header .header-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* Public Mobile Navigation Drawer */
.public-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 998;
}

.public-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.public-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: rgba(8, 12, 14, 0.98);
  border-left: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.public-mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.drawer-close-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(244, 63, 94, 0.12);
  border-color: var(--c-error);
  color: var(--c-error);
}

.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow-y: auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.drawer-link:hover, .drawer-link.active {
  color: var(--text-primary);
  background: rgba(55, 165, 161, 0.1);
  border: 1px solid rgba(55, 165, 161, 0.25);
}

.drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Protocol Telemetry Banner */
.telemetry-bar {
  background: #070B0D;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.4rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.telemetry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  white-space: nowrap;
  gap: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.telemetry-inner::-webkit-scrollbar {
  display: none;
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2.5rem;
  margin-top: 6rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 850px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: var(--c-mint);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   ULTRA-PREMIUM PACKAGE CARD DESIGN SYSTEM
   ============================================================ */
.package-card {
  background: linear-gradient(180deg, rgba(15, 21, 24, 0.95) 0%, rgba(8, 12, 14, 0.98) 100%);
  border: 1px solid rgba(55, 165, 161, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.85rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(13, 108, 159, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0.7;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: rgba(87, 193, 157, 0.5);
  box-shadow: 0 24px 50px -15px rgba(13, 108, 159, 0.35), 0 0 35px rgba(87, 193, 157, 0.2);
}

.package-card:hover::before {
  opacity: 1;
  height: 4px;
}

.package-card.highlight {
  border-color: rgba(87, 193, 157, 0.55);
  background: linear-gradient(180deg, rgba(13, 108, 159, 0.15) 0%, rgba(8, 12, 14, 0.98) 100%);
  box-shadow: 0 16px 45px -12px rgba(13, 108, 159, 0.4), 0 0 30px rgba(87, 193, 157, 0.2);
}

.package-card.highlight::before {
  height: 4px;
  opacity: 1;
}

.package-badge-top {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--grad-primary);
  color: #050505;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 18px rgba(87, 193, 157, 0.5);
  z-index: 2;
}

.package-tier-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(55, 165, 161, 0.12);
  border: 1px solid rgba(55, 165, 161, 0.25);
  color: var(--c-mint);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  width: fit-content;
}

.package-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.package-price {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.package-price span {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.package-yield-banner {
  background: rgba(87, 193, 157, 0.08);
  border: 1px solid rgba(87, 193, 157, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.package-yield-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-lime);
}

.package-yield-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.package-return-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  background: rgba(5, 5, 5, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 1.4rem;
}

.return-item-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.return-item-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.15rem;
}

.package-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.package-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--c-mint);
  margin-top: 2px;
}

.package-features li strong {
  color: var(--text-primary);
}

/* Package Store Filter Buttons */
.package-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  background: rgba(12, 17, 19, 0.8);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(55, 165, 161, 0.1);
  border-color: var(--c-teal);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--grad-primary);
  color: #050505;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(87, 193, 157, 0.3);
}
