/* ===================================================================
   FLUXPAY — MARKETING DESIGN SYSTEM (FLUXPAY v1)
   Direction: Glassmorphism / Neon Accents / FLUXPAY
   =================================================================== */

:root {
  /* Palette: FLUXPAY Dark & Emerald Neon */
  --bg-base: #050508;
  --bg-surface: #090a0f;
  --bg-elevated: #11121d;
  --bg-panel: rgba(5, 5, 8, 0.96);
  
  --fg-bright: #ffffff;
  --fg-primary: #ffffff;
  --fg-secondary: rgba(255, 255, 255, 0.95);
  --fg-muted: rgba(255, 255, 255, 0.65);
  --fg-technical: rgba(255, 255, 255, 0.45);
  
  --accent: #00ff80; 
  
  --border-dim: rgba(255, 255, 255, 0.06);
  --border-med: rgba(0, 255, 128, 0.18);
  --border-strong: rgba(0, 255, 128, 0.45);
  
  --glass-bg: rgba(9, 10, 15, 0.6);
  --glass-border: rgba(0, 255, 128, 0.2);
  
  --font-main:  'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Space Grotesk', 'Outfit', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  
  --container-max: 1280px;
  --nav-height: 80px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
}

body {
  background-color: var(--bg-base);
  background-image: radial-gradient(circle at 50% -20%, rgba(0, 255, 128, 0.08) 0%, transparent 60%);
  color: var(--fg-primary);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Layers */
.bg-system {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg-base);
}

.bg-noise { display: none; } /* Removed to clarify background */

@keyframes grid-travel {
  from {
    transform: rotateX(60deg) translateY(0);
  }
  to {
    transform: rotateX(60deg) translateY(60px);
  }
}

.bg-grid {
  display: block;
  position: absolute;
  top: -50%;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 128, 0.03) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(0, 255, 128, 0.03) 1.5px, transparent 1.5px);
  background-size: 60px 60px;
  transform-origin: 50% 50%;
  transform: rotateX(60deg);
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8) 15%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8) 15%, transparent 75%);
  opacity: 0.95;
  pointer-events: none;
  animation: grid-travel 24s linear infinite;
  height: 200vh;
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 60px;
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-dim);
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--fg-bright);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo styles removed in favor of image-based logo */

.nav-links {
  display: flex;
  gap: 48px;
}

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

.mobile-only, .flex-mobile {
  display: none !important;
}

@media (min-width: 1025px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--fg-bright);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--fg-bright);
  transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%; /* Full width for better experience */
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 20px;
    letter-spacing: 0.2em;
  }
  
  .nav-actions {
    display: none; 
  }

  .mobile-only {
    display: block !important;
  }
  
  .flex-mobile {
    display: flex !important;
  }
  
  .nav-links .btn {
    margin-top: 20px;
    display: inline-flex;
    width: 80%;
    max-width: 300px;
  }
}

.btn {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  text-decoration: none;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #050508;
  font-weight: 800;
  box-shadow: 0 0 0 0 rgba(0, 255, 128, 0);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-primary:hover::after {
  animation: shine-sweep 1.5s ease-in-out infinite;
}

@keyframes shine-sweep {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.btn-primary:hover {
  background: #00ff80;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 128, 0.4);
}

.btn-ghost {
  color: var(--fg-secondary);
  border: 1px solid var(--border-dim);
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0, 255, 128, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 255, 128, 0.1);
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
}

.btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0, 255, 128, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 255, 128, 0.1);
}

/* Typography Editorial */
h1 {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  background: linear-gradient(to bottom, #ffffff 40%, #c4c4c9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(to bottom, #ffffff 40%, #c4c4c9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-technical {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.hero .text-technical { margin-bottom: 24px; }
.features-section .text-technical,
.pricing-section .text-technical { margin-bottom: 80px; }

@media (max-width: 768px) {
  .features-section .text-technical,
  .pricing-section .text-technical { margin-bottom: 40px; }
}

.text-technical::before,
.text-technical::after {
  content: '';
  width: 12px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  padding-bottom: 80px;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.hero-content {
  max-width: 850px;
}

.hero-description {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin-bottom: 48px;
}

.hero-logo-main {
  width: 180px; /* Increased size for impact */
  height: auto;
  margin-bottom: 32px;
}

.hero-actions {
  margin-top: 48px;
}

.hero-actions .btn-ghost {
  margin-left: 16px;
}

/* Method Badges */
.methods-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .methods-grid {
    gap: 8px;
  }
  .method-tag {
    font-size: 10px;
    padding: 6px 12px;
  }
}

.method-tag {
  padding: 8px 16px;
  border: 1px solid var(--border-dim);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.method-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--fg-muted);
  border-radius: 50%;
}

/* Accordion Features */
.features-section {
  padding: 160px 0;
  border-top: 1px solid var(--border-dim);
}

.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border-bottom: 1px solid var(--border-dim);
  overflow: hidden;
}

.accordion-item:first-child {
  border-top: 1px solid var(--border-dim);
}

.accordion-header {
  padding: 48px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header:hover .accordion-title {
  color: var(--fg-bright);
}

.accordion-title-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.accordion-number {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-muted);
}

.accordion-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--fg-secondary);
  transition: color 0.3s ease;
  letter-spacing: -0.02em;
}

.accordion-item.active .accordion-title {
  color: var(--fg-bright);
}

.accordion-item.active .accordion-number {
  color: var(--accent);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.accordion-icon::before, .accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--fg-bright);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease;
}

.accordion-icon::before { width: 14px; height: 1.5px; }
.accordion-icon::after { width: 1.5px; height: 14px; transition: transform 0.4s, background 0.3s ease; }

.accordion-item.active .accordion-icon { transform: rotate(135deg); }
.accordion-item.active .accordion-icon::before,
.accordion-item.active .accordion-icon::after {
  background: var(--accent);
}
.accordion-item.active .accordion-icon::after { opacity: 0; }

.accordion-content {
  max-height: 0;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 60px;
}

.accordion-desc {
  padding-left: 58px;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* Pricing Section */
.pricing-section {
  padding: 160px 0;
  border-top: 1px solid var(--border-dim);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.pricing-card {
  background: rgba(18, 19, 26, 0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(0, 255, 128, 0.15);
  padding: 50px 36px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-action {
  margin-top: auto;
  padding-top: 40px;
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 15px 45px -10px rgba(0, 255, 128, 0.18);
}

@keyframes card-pulse {
  0% { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 255, 128, 0.05); }
  50% { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 255, 128, 0.18); }
  100% { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 255, 128, 0.05); }
}

/* Feature card highlight (middle card) */
.pricing-card.scale-highlight {
  background: linear-gradient(135deg, rgba(0, 255, 128, 0.08) 0%, rgba(18, 19, 26, 0.65) 100%);
  border: 1.5px solid rgba(0, 255, 128, 0.35);
  animation: card-pulse 8s ease-in-out infinite;
}

.pricing-card.scale-highlight:hover {
  border-color: #00ff80;
  box-shadow: 0 20px 50px -10px rgba(0, 255, 128, 0.25);
}

.pricing-name {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  display: block;
  color: var(--fg-muted);
}

.pricing-price {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 16px;
  display: block;
  letter-spacing: -0.04em;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.6;
}

.pricing-desc {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 40px;
  min-height: 48px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: '→';
  font-family: var(--font-mono);
}

/* Institutional Banner */
.institutional-banner {
  padding: 80px 0;
  border-top: 1px solid var(--border-dim);
  text-align: center;
}

.banner-text {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--fg-muted);
}

.institutional-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.6;
  padding: 40px 60px;
}

@media (max-width: 768px) {
  .institutional-banner .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 40px 24px;
  }
  .banner-text {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
}

/* Footer */
footer {
  padding: 100px 0 60px;
  background: var(--bg-base);
  border-top: 1px solid var(--border-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }
}

.footer-logo {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--fg-bright);
  text-decoration: none;
  margin-bottom: 24px;
  display: block;
}

.footer-column h4 {
  font-size: 11px;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 24px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-dim);
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--fg-technical);
  letter-spacing: 0.05em;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Animations */
[data-reveal] {
  opacity: 1; /* Fallback: Visible by default */
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform, filter;
}

/* If JS is active and IntersectionObserver is about to run */
.js-active [data-reveal]:not(.visible) {
  opacity: 0;
  transform: translateY(10px);
}

[data-reveal].visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Mobile */
@media (max-width: 1200px) {
  .container { padding: 0 40px; }
  .footer-grid { gap: 60px; }
}

@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 80px; text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-panel { max-width: 600px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .accordion-title-row { gap: 20px; }
  .accordion-desc { padding-left: 0; margin-top: 20px; }
  h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { margin: 0 auto 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .hero { padding-top: 100px; padding-bottom: 60px; }
  .hero-actions { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
    width: 100%; 
    max-width: 300px; 
    margin: 48px auto 0;
  }
  .hero-actions .btn { margin-left: 0 !important; width: 100%; }
  .pricing-section, .features-section { padding: 80px 0; }
  .pricing-card { padding: 40px 24px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-description { font-size: 16px; }
  .accordion-title { font-size: 1.25rem; }
  .pricing-price { font-size: 40px; }
}

/* Auth Pages (Login / Register) */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  background: rgba(12, 13, 20, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 480px) {
  .auth-card {
    padding: 32px 20px;
    border-radius: 0;
    border: none;
    background: var(--bg-base);
  }
  .pricing-card.platinum .btn {
    width: 100%;
  }
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.auth-header h2 {
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth-header p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  font-weight: 700;
}

.form-control {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 13px 18px;
  color: var(--fg-bright);
  font-family: var(--font-main);
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 255, 128, 0.01);
  box-shadow: 0 0 15px rgba(0, 255, 128, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.auth-btn {
  width: 100%;
  margin-top: 12px;
}

.auth-footer {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--fg-secondary);
}

.auth-footer a {
  color: var(--fg-bright);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-alert {
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.auth-alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* Plan Grid for Register */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.plan-card {
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card input {
  position: absolute;
  opacity: 0;
}

.plan-card.active {
  border-color: var(--fg-bright);
  background: rgba(255,255,255,0.02);
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-details {
  font-size: 10px;
  color: var(--fg-muted);
}

/* ===================================================================
   ADDITIONAL PREMIUM SAAS HERO & MOCKUP STYLING
   =================================================================== */
.hero-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 128, 0.08);
  border: 1px solid rgba(0, 255, 128, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  display: inline-block;
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 255, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 128, 0); }
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Two-column hero container on desktop */
@media (min-width: 1025px) {
  .hero-layout {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    text-align: left !important;
    align-items: center !important;
    gap: 80px !important;
  }
  .hero-content {
    text-align: left !important;
  }
  .hero-description {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }
  .methods-grid {
    justify-content: flex-start !important;
  }
  .hero-badge-container {
    justify-content: flex-start !important;
  }
}

/* Hero Visual Mockup Card */
.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1000px;
}
.hero-dashboard-container {
  width: 100%;
  max-width: 540px;
  border-radius: 14px;
  background: rgba(18, 19, 26, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: float-dashboard 6s ease-in-out infinite;
}
.hero-dashboard-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 255, 128, 0.08) 0%, transparent 100%);
  pointer-events: none;
}
.hero-dashboard-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
@keyframes float-dashboard {
  0% { transform: translateY(0px) rotateX(1.5deg) rotateY(-1.5deg); }
  50% { transform: translateY(-8px) rotateX(0.5deg) rotateY(-0.5deg); }
  100% { transform: translateY(0px) rotateX(1.5deg) rotateY(-1.5deg); }
}

/* Centered Hero Section */
.hero-centered {
  padding: 160px 0 100px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero-center-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1000px;
}
.hero-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 850px;
}
.hero-desc-centered {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 650px;
  line-height: 1.6;
}
.methods-tags-centered {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.method-tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-technical);
  border: 1px solid var(--border-dim);
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.method-tag-pill:hover {
  color: var(--accent);
  border-color: var(--border-med);
  background: rgba(0, 255, 128, 0.04);
}
.hero-actions-centered {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

/* Pulsing Primary Button Glow */
.btn-glow-pulse {
  position: relative;
  box-shadow: 0 0 0 0 rgba(0, 255, 128, 0.4);
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 128, 0.4); }
  70% { box-shadow: 0 0 20px 10px rgba(0, 255, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 128, 0); }
}

/* Apex Dashboard HTML/CSS Mockup */
@keyframes border-glow-pulse {
  0% {
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9), 0 0 80px rgba(0, 255, 128, 0.03);
  }
  50% {
    border-color: rgba(0, 255, 128, 0.35);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9), 0 0 80px rgba(0, 255, 128, 0.12);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9), 0 0 80px rgba(0, 255, 128, 0.03);
  }
}

.dashboard-mockup-outer {
  width: 100%;
  max-width: 960px;
  margin-top: 40px;
  background: rgba(10, 11, 15, 0.4);
  border-radius: 20px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  animation: border-glow-pulse 6s ease-in-out infinite;
}
.dashboard-mockup-outer::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(0, 255, 128, 0.15), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.apex-dashboard {
  background: #0d0e12;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  overflow: hidden;
  height: 520px;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Sidebar */
.apex-sidebar {
  width: 200px;
  background: #090a0d;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
}
.apex-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0 8px;
}
.apex-brand-icon {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent);
}
.apex-brand-name {
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.02em;
}
.apex-search {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--fg-technical);
  margin-bottom: 24px;
}
.apex-menu-section {
  font-size: 9px;
  font-weight: 800;
  color: var(--fg-technical);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  padding: 0 8px;
}
.apex-menu {
  list-style: none;
  margin-bottom: 24px;
}
.apex-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}
.apex-menu li:hover {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}
.apex-menu li.active {
  background: rgba(0, 255, 128, 0.06);
  border: 1px solid rgba(0, 255, 128, 0.15);
  color: var(--accent);
}
.apex-menu li.active i {
  color: var(--accent);
}
.apex-sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}
.apex-avatar {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent), #00c853);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 255, 128, 0.3);
}
.apex-user-name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.apex-user-role {
  font-size: 9px;
  color: var(--fg-technical);
}

/* Main Area */
.apex-main {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}
.apex-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.apex-page-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.apex-filters {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 8px;
  gap: 4px;
}
.apex-filters span {
  font-size: 10px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--fg-technical);
  cursor: pointer;
  transition: all 0.2s ease;
}
.apex-filters span.active {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Metrics */
.apex-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.apex-metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.apex-metric-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(0, 255, 128, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.metric-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--fg-technical);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.metric-val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.metric-trend {
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.metric-trend.positive {
  color: var(--accent);
}
.metric-progress-wrapper {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-top: 4px;
}
.metric-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--accent);
}

/* Analytics Grid */
.apex-analytics-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  flex: 1;
}
.apex-chart-card, .apex-txns-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.apex-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.apex-card-header h4 {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}
.apex-badge-live {
  background: rgba(0, 255, 128, 0.1);
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid rgba(0, 255, 128, 0.2);
  letter-spacing: 0.05em;
}
.apex-btn-viewall {
  font-size: 10px;
  font-weight: 700;
  color: var(--fg-technical);
  cursor: pointer;
}
.apex-btn-viewall:hover {
  color: var(--accent);
}

/* Chart Bars */
.chart-mockup-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 140px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.chart-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.chart-bar {
  width: 14px;
  background: linear-gradient(180deg, var(--accent), rgba(0, 255, 128, 0.15));
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 255, 128, 0.15);
  transition: all 0.5s ease;
}
.chart-bar:hover {
  background: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
}
.chart-bar-col span {
  font-size: 9px;
  color: var(--fg-technical);
  font-weight: 700;
}

/* Transactions list */
.apex-txns-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apex-txn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.txn-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
}
.txn-avatar.black-route {
  background: rgba(0, 255, 128, 0.08);
  border: 1px solid rgba(0, 255, 128, 0.2);
  color: var(--accent);
}
.txn-avatar.white-route {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.txn-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.txn-user {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.txn-time {
  font-size: 9px;
  color: var(--fg-technical);
}
.txn-status.approved {
  background: rgba(0, 255, 128, 0.08);
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.txn-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 991px) {
  .hero-title { font-size: 44px; }
  .apex-dashboard { flex-direction: column; height: auto; }
  .apex-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
  .apex-metrics-grid { grid-template-columns: 1fr; }
  .apex-analytics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-centered { padding: 130px 0 60px; }
  .hero-title { font-size: 34px; }
  .hero-desc-centered { font-size: 16px; }
  .hero-actions-centered { flex-direction: column; width: 100%; padding: 0 20px; }
  .hero-actions-centered .btn { width: 100%; justify-content: center; }
  .methods-tags-centered { gap: 8px; }
  .method-tag-pill { font-size: 9px; padding: 5px 10px; }
  .dashboard-mockup-outer { display: none; }
}

/* ── [data-reveal] Entrance Animations ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
