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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-tertiary: #1a1a1a;
  --text-primary: #ffffff;
  --text-muted: #a3a3a3;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F3E5AB;
  --accent-gold-dark: #AA8C2C;
  --accent-gold-glow: rgba(212, 175, 55, 0.15);
  
  --glass-border: rgba(212, 175, 55, 0.2);
  --glass-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  
  --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.3;
}

.gold-text {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold), var(--accent-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-glow-text {
  color: var(--accent-gold);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.section-subtitle {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

/* Layout */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

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

/* Panels and Cards - VERY PREMIUM NOW */
.luxury-panel {
  background: linear-gradient(145deg, #161616 0%, #0d0d0d 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 3rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.5);
}
.luxury-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--accent-gold-light), var(--accent-gold));
  transition: var(--transition);
}
.luxury-panel:hover::before {
  height: 100%;
}
.luxury-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 20px rgba(212, 175, 55, 0.1);
}

.image-card {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
}
.image-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 1.5s ease;
}
.image-card:hover img {
  transform: scale(1.05);
}
.image-card .card-content {
  background: linear-gradient(0deg, #111 0%, #1a1a1a 100%);
  padding: 2.5rem;
  border-top: 2px solid var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.5rem;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #000;
}
.btn-gold::after {
  content: ''; position: absolute; top:0; left:-100%; width:100%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}
.btn-gold:hover::after { left: 100%; }
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--accent-gold-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.05);
}

/* Navigation - With Submenus */
header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(0,0,0,0.92), rgba(0,0,0,0.7));
}
header.scrolled {
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.header-topbar {
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  background: linear-gradient(90deg, rgba(212,175,55,0.18), rgba(212,175,55,0.06));
  color: #f3e5ab;
  text-align: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 124px;
  padding-top: 1.1rem;
  padding-bottom: 1rem;
}
.logo {
  display: inline-flex;
  align-items: flex-end;
  padding-top: 0.4rem;
}
.logo img {
  height: 6rem;
  width: auto;
  max-width: min(42vw, 340px);
  object-fit: contain;
  transition: var(--transition);
}
.footer-brand {
  display: inline-block;
  height: 6rem;
  width: auto;
  max-width: min(80vw, 360px);
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex; gap: 1.5rem; list-style: none; align-items: center;
  margin: 0; padding: 0;
}
.nav-links li { position: relative; }
.nav-links a {
  color: #dfdfdf; text-decoration: none;
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
  transition: var(--transition); position: relative;
  padding: 1.5rem 0; display: inline-block;
}
.nav-links > li > a::after {
  content: ''; position: absolute; width: 0; height: 1px; bottom: 15px; left: 50%;
  background: var(--accent-gold); transition: var(--transition); transform: translateX(-50%);
}
.nav-links > li > a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent-gold); }

/* Dropdowns */
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  min-width: 220px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-top: 2px solid var(--accent-gold);
  border-radius: 0 0 4px 4px;
  opacity: 0; visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  list-style: none;
  box-shadow: 0 15px 30px rgba(0,0,0,0.8);
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  padding: 0.8rem 1.5rem; display: block;
  font-size: 0.7rem; border-bottom: 1px solid rgba(255,255,255,0.03);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover {
  background: rgba(212, 175, 55, 0.08); padding-left: 2rem;
}

/* Auth Nav Buttons */
.nav-auth { display: flex; gap: 1rem; align-items: center; }
.btn-nav-outline {
  padding: 0.5rem 1.2rem; font-size: 0.7rem; border: 1px solid var(--accent-gold);
  color: var(--accent-gold); border-radius: 2px; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
}
.btn-nav-outline:hover { background: var(--accent-gold); color: #000; }
.btn-nav-fill {
  padding: 0.5rem 1.2rem; font-size: 0.7rem; background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #000; border-radius: 2px; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; transition: 0.3s; box-shadow: 0 4px 15px rgba(212,175,55,0.2);
}
.btn-nav-fill:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,0.4); }

.mobile-menu-btn { 
  display: none; background: none; border: none; color: var(--accent-gold); font-size: 2rem; cursor: pointer; transition: 0.3s;
}
.mobile-menu-btn:hover { color: #fff; }

/* Sections */
section { padding: 8rem 0; position: relative; }
.section-title { text-align: center; margin-bottom: 5rem; }
.section-title h2 { font-size: 3rem; margin-bottom: 1rem; color: var(--text-primary); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 15rem;
  background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2075&q=80') center/cover no-repeat fixed;
}
.hero::after {
  content: '';
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: linear-gradient(135deg, rgba(5,5,5,0.9) 0%, rgba(15,15,15,0.7) 100%);
}
.hero h1 { font-size: 4.8rem; margin-bottom: 1.5rem; line-height: 1.1; }
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 0 3rem 0; }
.hero .hero-content { position: relative; z-index: 2; max-width: 800px; }

/* Income & Tables - NEW ATTRCTIVE DESIGN */
.income-card {
  padding: 3rem 2.5rem;
  background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
  border-top: 3px solid var(--accent-gold);
  border-radius: 6px;
}
.income-card h3 { 
  font-size: 1.6rem; 
  margin-bottom: 1.5rem; 
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Custom Table/Level List */
.level-list {
  display: flex; flex-direction: column; gap: 0.8rem; width: 100%;
}
.level-row {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 4px;
  transition: 0.3s;
}
.level-row:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(5px);
}
.level-name { font-size: 0.9rem; font-weight: 500; color: #fff; width: 70px; }
.level-line { flex: 1; height: 1px; border-bottom: 1px dashed rgba(255,255,255,0.1); margin: 0 1rem; }
.level-pct { font-size: 1.1rem; font-weight: 600; font-family: 'Playfair Display', serif; }
.level-req { font-size: 0.75rem; color: var(--text-muted); width: 80px; text-align: right; text-transform: uppercase; }

/* Premium Tier Boxes */
.tier-box {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}
.tier-box:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(20,20,20,0.8);
}
.tier-box strong { color: #fff; font-size: 1.1rem; font-family: 'Playfair Display', serif; display: block; margin-bottom: 1rem; letter-spacing: 1px; }
.tier-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.tier-item:last-child { border: none; padding-bottom: 0; }
.tier-label { color: var(--text-muted); font-size: 0.9rem; }
.tier-return { font-weight: 600; font-size: 1rem; }

/* EV Cards Premium */
.ev-card {
  padding: 2.5rem 2rem;
}
.ev-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; font-family: 'Playfair Display', serif; }
.ev-price { font-size: 2.5rem; font-weight: 300; margin-bottom: 2rem; color: #fff; border-bottom: 1px solid rgba(212, 175, 55, 0.2); padding-bottom: 1rem; }
.ev-features { list-style: none; margin-bottom: 2rem; font-size: 0.9rem;}
.ev-features li { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); display: flex; justify-content: space-between; }
.ev-features li strong { color: #fff; font-weight: 400;}


/* Values Elements */
.val-card {
  text-align: center; padding: 2.5rem; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05); border-radius: 4px;
  transition: 0.4s;
}
.val-card:hover {
  background: rgba(212,175,55,0.05); border-color: var(--accent-gold); transform: translateY(-5px);
}
.val-card h3 { color: var(--accent-gold); margin-bottom: 1rem; font-family: 'Playfair Display', serif; }

/* How It Works Steps */
.step-card {
  text-align: left; padding: 2rem; position: relative; border-left: 2px solid var(--accent-gold);
  background: linear-gradient(90deg, rgba(212,175,55,0.05) 0%, transparent 100%);
  margin-bottom: 1.5rem;
}
.step-number {
  position: absolute; top: -15px; left: -25px; width: 50px; height: 50px; background: var(--bg-primary); border: 2px solid var(--accent-gold);
  color: var(--accent-gold); font-size: 1.5rem; font-family: 'Playfair Display', serif; display: flex; align-items: center; justify-content: center; border-radius: 50%;
}


/* Auth Pages Premium */
.auth-wrapper {
  display: flex; justify-content: center; align-items: center; min-height: 100vh;
  padding: 6rem 2rem 2rem 2rem;
  background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
  position: relative;
}
.auth-wrapper::before {
  content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(5px);
}
.auth-panel {
  position: relative; z-index: 2; width: 100%; max-width: 450px;
  background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 4rem 3rem; border-radius: 4px; border-top: 3px solid var(--accent-gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
}
.auth-header { text-align: center; margin-bottom: 3rem; }
.auth-header img { height: 50px; margin-bottom: 2rem; }
.auth-header h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.form-control { width: 100%; padding: 1rem; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-family: inherit; transition: 0.3s; }
.form-control:focus { outline: none; border-color: var(--accent-gold); background: rgba(212, 175, 55, 0.05); }
.btn-block { width: 100%; margin-top: 1.5rem; }

/* Responsive Mobile Navigation */
html, body { overflow-x: hidden; width: 100vw; }

@media (max-width: 1250px) {
  .header-topbar {
    padding: 0.65rem 1rem;
    font-size: 0.64rem;
    letter-spacing: 0.15em;
  }
  .logo img { height: 5rem; max-width: min(50vw, 300px); }
  .footer-brand { height: 5rem; max-width: min(82vw, 320px); }
  .nav-container { min-height: 106px; padding-top: 0.95rem; padding-bottom: 0.85rem; }
  
  .nav-right { 
    flex-direction: column; width: 100%; position: fixed; top: 0; left: 0; height: 100vh; 
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.98), rgba(0, 0, 0, 1)); 
    backdrop-filter: blur(20px); justify-content: flex-start; transition: 0.5s ease-in-out; 
    padding: 6rem 2rem 3rem 2rem; overflow-y: auto; overflow-x: hidden; z-index: 999;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateX(-100%);
  }
  .nav-right.active { transform: translateX(0); box-shadow: -10px 0 50px rgba(0,0,0,0.8); }
  
  .nav-links { flex-direction: column; gap: 0.5rem; width: 100%; align-items: flex-start;}
  .nav-links li { width: 100%; }
  .nav-links a { 
    font-size: 1.1rem; font-family: 'Playfair Display', serif; letter-spacing: 2px; 
    padding: 1rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); display: block;
  }
  .nav-links a::after { left: 0; transform: none; width: 0; }
  .nav-links a:hover::after { width: 50px; }
  
  /* Dropdown accordion on mobile */
  .dropdown-menu { 
    position: relative; top: 0; min-width: 100%; background: rgba(255,255,255,0.02); 
    box-shadow: none; border: none; display: none; opacity: 1; visibility: visible; 
    transform: none; padding: 0.5rem 0 0.5rem 1rem; border-left: 2px solid var(--accent-gold); border-radius: 0;
  }
  .has-dropdown.active .dropdown-menu { display: block; animation: slideDown 0.3s ease; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  
  .nav-auth { margin-top: 2rem; flex-direction: column; width: 100%; gap: 1rem;}
  .btn-nav-outline, .btn-nav-fill { text-align: center; width: 100%; padding: 1.2rem; font-size: 0.85rem;}
  
  .mobile-menu-btn { display: block; z-index: 1001; position: relative; font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .hero { padding-top: 11.5rem; }
  .hero { background-attachment: scroll; }
  #income { background-attachment: scroll !important; }
  .container { padding: 0 1.5rem; }
  .luxury-panel { padding: 2rem 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-title { margin-bottom: 3rem; }
  .section-title h2 { font-size: 2.2rem; }
  .level-row { padding: 0.8rem; }
  .level-name { width: 50px; font-size: 0.8rem; }
  .level-req { width: 65px; font-size: 0.7rem; }
  .ev-price { font-size: 2rem; }
  .header-topbar { font-size: 0.58rem; letter-spacing: 0.12em; }
  .nav-container { min-height: 92px; padding-top: 0.85rem; padding-bottom: 0.75rem; }
  .logo img { height: 4.5rem; max-width: min(68vw, 280px); }
  .footer-brand { height: 4.75rem; max-width: min(78vw, 290px); }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding-top: 10.75rem; }
  .logo img { height: 4rem; max-width: min(72vw, 250px); }
  .footer-brand { height: 4.25rem; max-width: min(82vw, 260px); }
  .header-topbar {
    padding: 0.55rem 0.85rem;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
  }
}
