/* Premium Dark Theme – Stocks, Oil, Gold */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --bg-primary: #0b0f19;
  --bg-card: rgba(26, 31, 46, 0.7);
  --gold: #d4af37;
  --gold-light: #f5d061;
  --text-primary: #ececec;
  --text-secondary: #b0b3bf;
  --green: #2e8b57;
  --border-subtle: rgba(212, 175, 55, 0.2);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(ellipse at 20% 50%, #1a1f2e 0%, #0b0f19 70%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow-x: hidden;
}

/* Subtle gold dust and chart effect */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 10% 30%, rgba(212, 175, 55, 0.06) 0%, transparent 25%),
                    radial-gradient(circle at 80% 70%, rgba(46, 139, 87, 0.04) 0%, transparent 25%),
                    url("data:image/svg+xml,%3Csvg width='60' height='40' viewBox='0 0 60 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 L15 25 L30 30 L45 10 L60 15' fill='none' stroke='rgba(212, 175, 55, 0.08)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 200px 100px, 200px 100px, 300px 150px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 560px;  /* slightly wider for better readability */
  z-index: 1;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 25px 50px -8px rgba(0,0,0,0.6), 0 0 20px rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease;
}

.card h1, .card h2 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.btn-start {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  border: none;
  color: #0b0f19;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn-start:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
}

.btn-start:active {
  transform: translateY(0) scale(0.98);
}

/* Range buttons */
.range-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.range-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
  backdrop-filter: blur(5px);
}

.range-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  transform: translateX(5px);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

/* Form inputs */
input, select, textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  margin: 0.5rem 0 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

select option {
  background: #1a1f2e;
  color: #ececec;
}

/* Submit button inside form */
button[type="submit"] {
  background: var(--gold);
  color: #0b0f19;
  border: none;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

button[type="submit"]:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* Progress bar */
#progress {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#stepNum {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}

/* Other input visibility */
.other-input {
  display: none;
  margin-top: 0.5rem;
}

.other-input.visible {
  display: block;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  body { padding: 1rem; }
  .card { padding: 1.8rem 1.2rem; }
  .btn-start { width: 100%; text-align: center; }
}