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

:root {
  --bg-dark-900: #040C1A;
  --bg-dark-800: #07152B;
  --bg-dark-700: #0D1F3C;
  --bg-card: rgba(13, 31, 60, 0.65);
  --bg-card-hover: rgba(18, 41, 77, 0.85);

  --gold-primary: #D4AF37;
  --gold-bright: #FFD700;
  --gold-light: #F7E49A;
  --gold-dark: #996515;
  --gold-gradient: linear-gradient(135deg, #FFF0C2 0%, #D4AF37 45%, #996515 100%);
  --gold-gradient-glow: linear-gradient(135deg, rgba(255, 215, 0, 0.4) 0%, rgba(212, 175, 55, 0.2) 100%);
  --gold-border: rgba(212, 175, 55, 0.3);
  --gold-border-active: rgba(255, 215, 0, 0.8);

  --text-main: #FFFFFF;
  --text-muted: #A0B2CE;
  --text-gold: #F3E5AB;

  --accent-blue: #1E4F8A;
  --accent-cyan: #00D2FF;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --backdrop-blur: blur(16px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-900);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-dark-700);
  border-radius: 4px;
  border: 1px solid var(--gold-border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

#vectorCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.app-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #FFF;
}

.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-tag i {
  color: var(--gold-bright);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #040C1A;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  font-weight: 700;
}

.auth-page {
  min-height: 100vh;
  padding: 5rem 1rem 3rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.auth-container-centered {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.auth-card-hero {
  background: linear-gradient(135deg, rgba(13, 31, 60, 0.94) 0%, rgba(4, 12, 26, 0.98) 100%);
  border: 1px solid var(--gold-border-active);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.2);
  position: relative;
  overflow: hidden;
}

.auth-card-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.auth-header-brand {
  text-align: center;
  margin-bottom: 1.8rem;
}

.auth-header-brand .auth-logo-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 230, 195, 0.94) 100%);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.35);
  margin-bottom: 1rem;
}

.auth-header-brand .auth-logo-badge img {
  height: 38px;
  width: auto;
  display: block;
}

.auth-header-brand h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.auth-header-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-tabs {
  display: flex;
  background: rgba(4, 12, 26, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-full);
  padding: 0.3rem;
  margin-bottom: 1.8rem;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 0.7rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.auth-tab.active {
  background: var(--gold-gradient);
  color: #040C1A;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.account-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.account-type-pill {
  background: rgba(4, 12, 26, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.account-type-pill:hover, .account-type-pill.active {
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.15);
}

.account-type-pill.active {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.25);
}

.account-type-pill i {
  font-size: 1.2rem;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 0.3rem;
}

.account-type-pill h5 {
  font-size: 0.82rem;
}

.input-icon-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-group i.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--gold-bright);
  font-size: 1.1rem;
}

.input-icon-group .form-input {
  padding-left: 2.8rem;
  width: 100%;
}

.password-toggle-btn {
  position: absolute;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.password-toggle-btn:hover {
  color: var(--gold-bright);
}

.password-strength-box {
  margin-top: 0.4rem;
}

.strength-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.strength-bar-fill {
  height: 100%;
  width: 0%;
  background: #FF4D4D;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  display: block;
}

@media (max-width: 576px) {
  .auth-card-hero {
    padding: 1.8rem 1.2rem;
  }

  .auth-header-brand h2 {
    font-size: 1.35rem;
  }

  .account-type-pill {
    padding: 0.6rem 0.3rem;
  }

  .account-type-pill h5 {
    font-size: 0.75rem;
  }
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.8s ease;
}

.btn-primary:hover::before {
  transform: rotate(30deg) translateY(100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
  background: rgba(13, 31, 60, 0.7);
  color: var(--text-main);
  border: 1px solid var(--gold-border);
  backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-bright);
  color: #FFF;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(4, 12, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 230, 195, 0.94) 100%);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.35);
  transition: var(--transition-smooth);
}

.nav-logo:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

.nav-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

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

.mobile-only-actions {
  display: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
  color: var(--gold-bright);
}

.nav-item-has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-item-has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(7, 21, 43, 0.96);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 0.7rem;
  min-width: 250px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(7, 21, 43, 0.96);
  border-left: 1px solid var(--gold-border);
  border-top: 1px solid var(--gold-border);
}

.nav-item-has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(6px);
  pointer-events: auto;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-link i {
  color: var(--gold-bright);
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.dropdown-link:hover {
  color: #FFFFFF;
  background: rgba(212, 175, 55, 0.15);
  transform: translateX(3px);
}

.dropdown-link:hover i {
  transform: scale(1.15);
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  padding: 7.5rem 0 3.5rem 0;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFF;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-card-3d {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow-card), 0 0 40px rgba(212, 175, 55, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}

.hero-card-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.card-logo-center {
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 230, 195, 0.92) 100%);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.25);
  display: inline-block;
  width: 100%;
}

.card-logo-center img {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.pulse-node-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pulse-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(7, 21, 43, 0.7);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition-fast);
}

.pulse-node:hover {
  border-color: var(--gold-bright);
  background: rgba(13, 31, 60, 0.9);
  transform: translateX(5px);
}

.pulse-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.pulse-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.pulse-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(7, 21, 43, 0.95);
  border: 1px solid var(--gold-bright);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  backdrop-filter: blur(10px);
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.floating-badge i {
  color: var(--gold-bright);
  font-size: 1.4rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: var(--backdrop-blur);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gold-gradient);
  transition: width 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border-active);
  box-shadow: var(--shadow-card), 0 0 30px rgba(212, 175, 55, 0.2);
  background: var(--bg-card-hover);
}

.service-card:hover::after {
  width: 100%;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(7, 21, 43, 0.8) 100%);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--gold-gradient);
  color: #040C1A;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.8rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-features li i {
  color: var(--gold-bright);
  font-size: 0.8rem;
}

.service-link {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.service-link:hover {
  color: var(--gold-bright);
  gap: 0.8rem;
}

.calc-wrapper {
  background: linear-gradient(135deg, rgba(13, 31, 60, 0.8) 0%, rgba(4, 12, 26, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
}

.calc-value-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.calc-range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-dark-800);
  outline: none;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold-bright);
  transition: transform 0.2s ease;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.calc-results-box {
  background: rgba(4, 12, 26, 0.8);
  border: 1px solid var(--gold-border-active);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.calc-results-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.result-main {
  margin-bottom: 2rem;
}

.result-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.result-amount {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.result-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-box h5 {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

.stat-box p {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFF;
}

.roadmap-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}

.roadmap-step {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  position: relative;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.roadmap-step.active, .roadmap-step:hover {
  border-color: var(--gold-bright);
  background: rgba(18, 41, 77, 0.9);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.25);
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  transition: var(--transition-fast);
}

.roadmap-step.active .step-number, .roadmap-step:hover .step-number {
  color: var(--gold-bright);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.roadmap-detail-box {
  margin-top: 2rem;
  background: rgba(7, 21, 43, 0.9);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: var(--backdrop-blur);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.detail-content h4 {
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.detail-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.quiz-box {
  background: linear-gradient(135deg, rgba(13, 31, 60, 0.9) 0%, rgba(4, 12, 26, 0.95) 100%);
  border: 1px solid var(--gold-border-active);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-card), 0 0 50px rgba(212, 175, 55, 0.15);
  position: relative;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-dark-800);
  border-radius: 3px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--gold-gradient);
  transition: width 0.4s ease;
}

.quiz-question-title {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 2rem;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.quiz-option-btn {
  background: rgba(7, 21, 43, 0.8);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.quiz-option-btn i {
  color: var(--gold-bright);
  font-size: 1.2rem;
}

.quiz-option-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.quiz-result-view {
  display: none;
  text-align: center;
}

.quiz-result-icon {
  font-size: 3.5rem;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.quiz-result-title {
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: var(--backdrop-blur);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.case-card:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 25px rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.case-tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.case-metric {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.case-quote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.case-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #040C1A;
  font-weight: 800;
}

.author-info h5 {
  font-size: 0.95rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--backdrop-blur);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--backdrop-blur);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-gold);
}

.form-input, .form-select, .form-textarea {
  background: rgba(4, 12, 26, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.footer {
  background: rgba(3, 10, 22, 0.95);
  border-top: 1px solid var(--gold-border);
  padding: 4rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 230, 195, 0.92) 100%);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  margin-bottom: 1.2rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-bright);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 12, 26, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: var(--bg-dark-800);
  border: 1px solid var(--gold-border-active);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px rgba(212, 175, 55, 0.2);
  position: relative;
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--gold-bright);
}

@media (max-width: 992px) {
  .hero-grid, .calc-wrapper, .contact-grid, .auth-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .roadmap-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 6rem 0 2.5rem 0;
    min-height: auto;
  }

  .nav-logo img {
    height: 32px;
  }

  .nav-logo {
    padding: 0.3rem 0.8rem;
  }

  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    background: rgba(4, 12, 26, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-160%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid var(--gold-border);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .nav-item-has-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    justify-content: center;
    width: 100%;
    font-size: 1.05rem;
    padding: 0.7rem 0;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(7, 21, 43, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    margin-top: 0.5rem;
    width: 100%;
  }

  .dropdown-menu::before {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 1rem auto;
    display: flex;
    justify-content: center;
  }

  .hero-description {
    text-align: center;
    margin: 0 auto 1.5rem auto;
    font-size: 0.98rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .calc-wrapper {
    padding: 1.5rem 1.2rem;
  }

  .calc-results-box {
    padding: 1.5rem 1rem;
  }

  .result-amount {
    font-size: 2.2rem;
  }

  .quiz-box, .auth-card {
    padding: 1.5rem 1.2rem;
  }

  .quiz-options-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mobile-only-actions {
    display: flex !important;
    width: 100%;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-actions .btn-secondary {
    display: none !important;
  }

  .nav-actions .btn-primary {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav-actions .btn-primary {
    display: none !important;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-logo {
    padding: 0.25rem 0.7rem;
  }

  .navbar {
    padding: 0.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .account-type-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .auth-tabs {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .auth-tab {
    border-radius: var(--radius-md);
  }
}
