@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --gold: #D4A574;
  --purple: #8B7BA8;
  --white-5: rgba(255,255,255,0.05);
  --white-10: rgba(255,255,255,0.10);
  --white-20: rgba(255,255,255,0.20);
  --white-40: rgba(255,255,255,0.40);
  --white-60: rgba(255,255,255,0.60);
  --white-80: rgba(255,255,255,0.80);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 128px 0;
  border-top: 1px solid var(--white-5);
}

section:first-of-type {
  border-top: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h3 { font-size: 1.5rem; }

p { color: var(--white-60); }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ========== NAV ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-5);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--black);
}

.logo-text {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--white-60);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  font-family: inherit;
}

.btn-primary:hover {
  background: #e5e5e5;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-20);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.btn-secondary:hover {
  border-color: var(--white-40);
  background: var(--white-5);
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

/* ========== HERO ========== */
.hero {
  padding: 200px 0 128px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--white-10);
  border-radius: 100px;
  font-size: 13px;
  color: var(--white-60);
  margin-bottom: 40px;
  background: var(--white-5);
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .gold-dot {
  color: var(--gold);
}

.hero p {
  font-size: 1.25rem;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating cards behind hero */
.floating-cards {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
}

.floating-card {
  position: absolute;
  background: var(--white-5);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.floating-card:nth-child(1) {
  width: 200px;
  height: 120px;
  top: 20%;
  left: 5%;
  animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  width: 160px;
  height: 100px;
  top: 30%;
  right: 8%;
  animation: float 6s ease-in-out infinite 1s;
}

.floating-card:nth-child(3) {
  width: 180px;
  height: 130px;
  bottom: 15%;
  left: 10%;
  animation: float 6s ease-in-out infinite 2s;
}

.floating-card:nth-child(4) {
  width: 140px;
  height: 90px;
  bottom: 20%;
  right: 12%;
  animation: float 6s ease-in-out infinite 3s;
}

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

/* ========== STATS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.stat-number .gold {
  color: var(--gold);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--white-40);
  font-weight: 400;
}

/* ========== FEATURES ========== */
.features-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.features-header p {
  margin-top: 20px;
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 48px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--white-10);
  border-radius: 24px;
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--purple);
  border-radius: 0 3px 3px 0;
  transition: height 0.3s;
}

.feature-card:hover {
  border-color: var(--white-20);
  background: rgba(255,255,255,0.03);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white-10);
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========== HOW IT WORKS ========== */
.how-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.how-header p {
  margin-top: 20px;
  font-size: 1.125rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 24px;
}

.step h3 {
  margin-bottom: 12px;
  font-weight: 600;
}

.step p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* ========== TESTIMONIALS ========== */
.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--white-10);
  border-radius: 20px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--white-80);
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--white-60);
}

.testimonial-name {
  font-weight: 500;
  font-size: 14px;
}

.testimonial-role {
  font-size: 12px;
  color: var(--white-40);
}

/* ========== CTA ========== */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section > .container > p {
  font-size: 1.125rem;
  max-width: 480px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== FOOTER ========== */
footer {
  padding: 64px 0;
  border-top: 1px solid var(--white-5);
}

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

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  color: var(--white-40);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 13px;
  color: var(--white-20);
}

/* ========== QUESTIONNAIRE ========== */
.questionnaire-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.questionnaire-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--white-5);
}

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

.progress-bar-track {
  height: 3px;
  background: var(--white-10);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--white));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.questionnaire-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.question-container {
  max-width: 640px;
  width: 100%;
}

.question-step-label {
  font-size: 13px;
  color: var(--white-40);
  margin-bottom: 12px;
  font-weight: 500;
}

.question-container h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.question-container > p {
  color: var(--white-40);
  margin-bottom: 40px;
  font-size: 0.9375rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.option-card {
  padding: 20px 24px;
  background: var(--white-5);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: left;
}

.option-card:hover {
  border-color: var(--white-20);
  background: var(--white-10);
}

.option-card.selected {
  border-color: var(--white);
  background: var(--white-10);
}

.option-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.option-card p {
  font-size: 13px;
  color: var(--white-40);
}

.question-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 16px 20px;
  background: var(--white-5);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  color: var(--white);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}

.form-input:focus {
  border-color: var(--white-20);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

.form-input::placeholder {
  color: var(--white-20);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .features-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .hero { padding: 140px 0 80px; }

  .features-grid,
  .steps-grid,
  .testimonials-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .nav-links { display: none; }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links { justify-content: center; }

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

  .floating-card { display: none; }
}

/* ========== FADE-IN ANIMATION ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
