/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === GLASS EFFECT REUSABLE === */
.glass {
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 20px;
}

.glass-header,
.glass-footer {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.glass-footer {
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  margin-top: 4rem;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #f5f0e6;
}

.gold-text {
  color: #c9a96e;
  background: linear-gradient(135deg, #c9a96e, #e6c27c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === HEADER === */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #c9a96e;
  text-decoration: none;
  letter-spacing: 2px;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 400;
  transition: color 0.3s;
}

nav a:hover {
  color: #c9a96e;
}

/* === HERO === */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(201, 169, 110, 0.1), transparent 60%);
  animation: rotateGlow 20s linear infinite;
  z-index: -1;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #c9a96e, #b8955a);
  color: #0a0a0a;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.2);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201, 169, 110, 0.4);
}

/* === FEATURES === */
.features {
  display: flex;
  gap: 2rem;
  margin-top: -60px; /* overlap hero slightly */
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-card {
  flex: 1 1 280px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(201, 169, 110, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.8rem;
  color: #f5f0e6;
}

.feature-card p {
  color: #aaa;
}

/* === SIMULATOR PAGE SPECIFIC (also in same CSS) === */
.simulator-container {
  padding-top: 4rem;
  min-height: 100vh;
}

.simulator-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
}

.simulator-card h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #ccc;
}

input, select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus, select:focus {
  outline: none;
  border-color: #c9a96e;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.2);
}

.result-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(201, 169, 110, 0.1);
  border-radius: 16px;
  text-align: center;
}

.result-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.result-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #c9a96e;
  margin: 0.5rem 0;
}

.affiliation-note {
  font-size: 0.8rem;
  color: #777;
  margin-top: 1rem;
}

.affiliation-note a {
  color: #c9a96e;
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .features {
    margin-top: 0;
    flex-direction: column;
    align-items: center;
  }
  nav a {
    margin-left: 1rem;
  }
}