/* ==========================================================================
   Solfa Composer - Landing Page & Marketplace Design System (landing.css)
   A estética visual segue padrões modernos: Dark Mode, Glassmorphism e Cores Harmoniosas
   ========================================================================== */

:root {
  --bg-body: #070a13;
  --bg-surface: #0f172a;
  --bg-card: rgba(18, 26, 44, 0.72);
  --bg-card-hover: rgba(24, 35, 60, 0.88);
  --bg-glass: rgba(15, 23, 42, 0.82);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.45);
  --border-accent: rgba(245, 158, 11, 0.35);

  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.28);
  --primary-hover: #4f46e5;

  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --accent-gold: #fde047;

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);

  --accent-cyan: #06b6d4;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-music: 'Crimson Pro', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 12px 36px -8px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 25px -4px var(--primary-glow);
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.landing-page {
  font-family: var(--font-ui);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(245, 158, 11, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.08) 0%, transparent 55%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.landing-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.landing-navbar {
  position: sticky;
  top: 16px;
  z-index: 999;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-music);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
}

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

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--accent-amber-glow);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  color: #000;
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--accent-emerald-glow);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 28px;
  animation: pulsePill 3s infinite alternate;
}

@keyframes pulsePill {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.2); }
  100% { box-shadow: 0 0 16px 2px rgba(99, 102, 241, 0.35); }
}

.hero-pill-sparkle {
  color: var(--accent-gold);
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #ffffff;
  max-width: 980px;
  margin: 0 auto 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-meta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13.5px;
  margin-bottom: 40px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  color: var(--accent-emerald);
}

/* ==========================================================================
   HERO INTERACTIVE PREVIEW CARD
   ========================================================================== */
.editor-mockup-wrapper {
  max-width: 1080px;
  margin: 0 auto 80px;
  position: relative;
}

.editor-mockup {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px -5px var(--primary-glow);
}

.mockup-header {
  background: #090e1a;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #334155;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-title {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-content {
  padding: 28px 24px;
  background: #0d1322;
  position: relative;
}

/* Partitura Demo Estilizada */
.score-demo {
  background: #ffffff;
  color: #0f172a;
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  font-family: var(--font-music);
  text-align: left;
}

.score-demo-header {
  border-bottom: 2px solid #0f172a;
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.score-demo-hymn-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.score-demo-meta-left {
  font-size: 14px;
  font-weight: 600;
}

.score-demo-meta-right {
  font-size: 14px;
  text-align: right;
  font-style: italic;
}

.score-demo-grid {
  display: grid;
  grid-template-columns: 50px repeat(4, 1fr);
  gap: 6px 12px;
  align-items: center;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.voice-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  color: #475569;
}

.score-demo-grid .solfa-measure {
  letter-spacing: 2px;
  border-right: 1.5px solid #0f172a;
  padding-right: 8px;
}

.score-demo-grid .solfa-measure:last-child {
  border-right: 3px double #0f172a;
}

.solfa-lyrics {
  font-family: var(--font-ui);
  font-size: 12px;
  font-style: italic;
  color: #334155;
  grid-column: 2 / -1;
  padding-bottom: 6px;
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-amber);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURES GRID (O Que Encontra Aqui)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature-icon-wrapper.amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.25);
}

.feature-icon-wrapper.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.25);
}

.feature-card-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-card-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   VITRINE DE MÚSICAS PÚBLICAS & MARKETPLACE
   ========================================================================== */
.music-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.music-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}

.music-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.7);
}

.music-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.music-badge-status {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.music-badge-status.publica {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.music-badge-status.venda {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.music-tonality {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
}

.music-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.music-author {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.music-card-details {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-bottom: 18px;
}

.music-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.music-price-tag {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-gold);
}

.music-price-tag.free {
  color: var(--accent-emerald);
  font-size: 15px;
}

/* ==========================================================================
   DESKTOP DOWNLOAD SHOWCASE
   ========================================================================== */
.desktop-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.7), 0 0 30px -10px var(--primary-glow);
}

.desktop-info-title {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.desktop-features-list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.desktop-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #cbd5e1;
}

.desktop-features-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.desktop-actions-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.desktop-version-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
}

.desktop-actions-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.desktop-meta-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ==========================================================================
   TABELA DE PLANOS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: rgba(99, 102, 241, 0.5);
  background: linear-gradient(180deg, rgba(30, 41, 75, 0.7) 0%, rgba(18, 26, 44, 0.8) 100%);
  box-shadow: 0 16px 40px -10px var(--primary-glow);
}

.pricing-tag-ribbon {
  position: absolute;
  top: -12px;
  right: 28px;
  background: linear-gradient(135deg, var(--accent-amber), #ea580c);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pricing-card-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-price span {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 500;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 36px;
  font-size: 14.5px;
  color: #cbd5e1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.landing-footer {
  background: #040710;
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
  color: var(--text-dim);
}

.footer-col-title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.footer-links-list a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVIDADE (Mobile & Tablets)
   ========================================================================== */
@media (max-width: 992px) {
  .desktop-banner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .score-demo-grid {
    font-size: 15px;
    gap: 4px 8px;
  }
}

@media (max-width: 768px) {
  .landing-navbar {
    padding: 10px 16px;
  }
  .nav-links {
    display: none; /* Em telas móveis foca em botões de ação */
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .score-demo {
    padding: 18px 14px;
  }
  .hero-section {
    padding: 40px 0 40px;
  }
}

/* Status Privada e Badges */
.music-badge-status.privada {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.music-badge-status i,
.btn i {
  display: inline-block;
  margin-right: 6px;
}

/* Botão de Contorno */
.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Alertas de Notificação */
.alert-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.alert-banner.alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.alert-banner.alert-info {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
}

.alert-banner.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

