/* ==========================================================================
   FABULAR LANDING PAGE - DESIGN SYSTEM & CSS
   ========================================================================== */

:root {
  --night-deep: #050A18;
  --night-surface: #0A1128;
  --night-card: rgba(18, 27, 56, 0.75);
  --fabu-gold: #FFD700;
  --fabu-orange: #FF9100;
  --fabu-blue: #3A86FF;
  --text-white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-glow: rgba(255, 145, 0, 0.25);
  --font-family: 'Nunito', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--night-deep);
  color: var(--text-white);
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #121B38 0%, #050A18 70%);
  min-height: 100vh;
}

/* Background Stars Canvas Container */
#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--night-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(255, 145, 0, 0.4);
  box-shadow: 0 12px 36px var(--glass-glow);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1180px;
  z-index: 1000;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo img {
  height: 42px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--fabu-orange), #FF6D00);
  color: var(--night-deep);
  font-weight: 900;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 20px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 145, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 145, 0, 0.5);
}

/* HERO SECTION */
.hero {
  padding-top: 150px;
  padding-bottom: 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--fabu-gold);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.18;
  max-width: 920px;
  margin: 0 auto 20px auto;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, #FFF, var(--fabu-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sub-cta-text {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}

/* AUDIO DEMO PLAYER SECTION */
.audio-section {
  padding: 60px 0 100px 0;
}

.audio-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.artwork-container {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.artwork-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-tag {
  color: var(--fabu-gold);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.player-story-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}

.player-story-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.player-controls {
  background: rgba(5, 10, 24, 0.65);
  border-radius: 24px;
  padding: 20px 24px;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.progress-bar-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.time-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 800;
  font-family: monospace;
  min-width: 36px;
}

.progress-bar {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  touch-action: none;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--fabu-orange), var(--fabu-gold));
  border-radius: 6px;
  transition: width 0.1s linear;
}

.progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: #FFF;
  border: 2px solid var(--fabu-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 145, 0, 0.8);
  pointer-events: none;
  transition: left 0.1s linear;
}

.player-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

.play-btn-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-toggle-btn {
  background: linear-gradient(135deg, var(--fabu-orange), #FF6D00);
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  max-width: 54px;
  max-height: 54px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--night-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(255, 145, 0, 0.45);
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.play-toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 145, 0, 0.6);
}

.play-toggle-btn #play-icon {
  font-size: 18px;
  display: inline-block;
  margin-left: 3px;
  line-height: 1;
}

.audio-feature-badge {
  font-size: 13px;
  color: var(--fabu-gold);
  font-weight: 800;
  line-height: 1.4;
}

/* VALUE PILLARS (O QUE O FABULAR ENSINA) */
.values-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-icon {
  font-size: 40px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--fabu-gold);
}

.value-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* HOW IT WORKS */
.steps-section {
  padding: 80px 0;
}

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

.step-card {
  position: relative;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: rgba(255, 145, 0, 0.2);
  border: 1.5px solid var(--fabu-orange);
  color: var(--fabu-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  margin: 0 auto 20px auto;
}

.step-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* PRICING SECTION */
.pricing-section {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.price-card.featured {
  border-color: var(--fabu-orange);
  box-shadow: 0 16px 40px rgba(255, 145, 0, 0.3);
  transform: scale(1.04);
}

.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fabu-orange);
  color: var(--night-deep);
  font-weight: 900;
  font-size: 11px;
  padding: 4px 14px;
  border-radius: 12px;
  text-transform: uppercase;
}

.price-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 34px;
  font-weight: 900;
  color: var(--fabu-gold);
  margin-bottom: 16px;
}

.price-amount span {
  font-size: 14px;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-features li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: "✨";
  font-size: 12px;
}

.btn-price {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.price-card.featured .btn-price {
  background: linear-gradient(135deg, var(--fabu-orange), #FF6D00);
  color: var(--night-deep);
  border: none;
}

/* FOOTER */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-title { font-size: 34px; }
  .audio-wrapper { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .nav-links { display: none; }
}
