/* ============================================
   TeCantei - Custom Styles
   Design System v1.0
   ============================================ */

/* ============================================
   Design Tokens
   ============================================ */
:root {
  /* Colors */
  --color-primary: #E85D75;
  --color-primary-hover: #D94B65;
  --color-primary-soft: #FCE7EC;
  --color-secondary: #6C63FF;
  --color-bg: #FFFFFF;
  --color-bg-soft: #FAFAFB;
  --color-text: #191919;
  --color-text-secondary: #333333;
  --color-text-muted: #666666;
  --color-border: #E8E8E8;
  --color-success: #22C55E;
  --color-error: #EF4444;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --space-9: 96px;
  --space-10: 128px;

  /* Border Radius */
  --radius-button: 16px;
  --radius-input: 16px;
  --radius-card: 24px;
  --radius-modal: 28px;
  --radius-badge: 999px;

  /* Shadows */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);

  /* Container */
  --container-max: 1280px;
  --content-max: 720px;
}

/* ============================================
   Base
   ============================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

h1 {
  font-weight: 800;
}

textarea {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* ============================================
   Custom Components
   ============================================ */

/* Button Primary */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  background-color: var(--color-primary);
  border: none;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 93, 117, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Button Secondary */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-primary);
  background-color: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--color-primary-soft);
  transform: translateY(-2px);
}

/* Input */
.input-primary {
  height: 56px;
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-input);
  outline: none;
  transition: border-color 0.3s ease;
}

.input-primary::placeholder {
  color: var(--color-text-muted);
}

.input-primary:focus {
  border-color: var(--color-primary);
}

/* Card */
.card {
  background-color: var(--color-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius-badge);
}

.badge-primary {
  color: var(--color-primary);
  background-color: var(--color-primary-soft);
}

/* ============================================
   Navigation
   ============================================ */
.nav-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-gradient {
  background: linear-gradient(135deg,
      var(--color-primary-soft) 0%,
      rgba(108, 99, 255, 0.08) 50%,
      var(--color-bg) 100%);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

/* ============================================
   Sections
   ============================================ */
.section-padding {
  padding: 96px 0;
}

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

/* ============================================
   How It Works - Steps
   ============================================ */
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.step-connector {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 2px;
  height: calc(100% - 32px);
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-soft));
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-icon.active {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer-content {
  padding-bottom: 24px;
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   Testimonial Card
   ============================================ */
.testimonial-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: all 0.4s ease;
  border: 1px solid var(--color-border);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #FBBF24;
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg);
  z-index: 50;
  transition: right 0.4s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   Occasion Tags
   ============================================ */
.occasion-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text-secondary);
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-badge);
  cursor: default;
  transition: all 0.3s ease;
}

.occasion-tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ============================================
   CTA Buttons
   ============================================ */
.cta-btn-white {
  background-color: #fff;
  color: var(--color-primary);
}

.cta-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.cta-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta-btn-outline:hover {
  border-color: #fff;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #D94B65 50%, #C23A52 100%);
}

/* ============================================
   Footer
   ============================================ */
.footer-link {
  color: var(--color-border);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-primary);
}

/* ============================================
   Pricing Card (Oferta)
   ============================================ */
.pricing-card {
  background-color: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 40px rgba(232, 93, 117, 0.1);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.pricing-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 20px 60px rgba(232, 93, 117, 0.2);
  transform: translateY(-6px);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, #c23a52 100%);
  border-radius: var(--radius-badge);
  margin-bottom: 28px;
}

.pricing-price {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text);
}

.pricing-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  color: var(--color-primary);
}

.pricing-cents {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text);
}

.pricing-items {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.pricing-item-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-value {
    font-size: 56px;
  }
}

/* ============================================
   Audio Player (Example Cards)
   ============================================ */
#exemplos .card.playing .absolute.inset-0 {
  background-color: rgba(0, 0, 0, 0.5);
}

#exemplos .card.playing .cursor-pointer {
  animation: audio-pulse 1.5s ease-in-out infinite;
}

@keyframes audio-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(232, 93, 117, 0.5);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 16px rgba(232, 93, 117, 0);
  }
}

/* ============================================
   Responsive Hero
   ============================================ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 40px !important;
    line-height: 1.2 !important;
  }
}

@media (min-width: 769px) {
  .hero-title {
    font-size: 50px !important;
    line-height: 1.1 !important;
  }
}

/* ============================================
   Step Flow - Create Page
   ============================================ */

.step-container {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

.step-slide {
  display: none;
  animation: stepFadeIn 0.4s ease;
  flex: 1;
}

.step-slide.active {
  display: flex;
  flex-direction: column;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Progress Bar */
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 8px;
  margin-bottom: 45px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  transition: all 0.4s ease;
  flex-shrink: 0;
  position: relative;
}

.step-dot.active {
  background-color: var(--color-primary);
  width: 32px;
  border-radius: 5px;
}

.step-dot.completed {
  background-color: var(--color-primary);
}

.step-dot-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.step-dot.active .step-dot-label {
  color: var(--color-primary);
  font-weight: 600;
}

/* Step line connector */
.step-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-border);
  flex-shrink: 0;
  transition: background-color 0.4s ease;
}

.step-line.completed {
  background-color: var(--color-primary);
}

/* Occasion Grid */
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.occasion-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.occasion-option:active {
  transform: scale(0.96);
}

.occasion-option.selected {
  border-color: var(--color-primary);
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
}

.occasion-option i {
  font-size: 22px;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
}

.occasion-option.selected i {
  color: var(--color-primary);
}

/* Genre Cards */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.genre-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.genre-card:active {
  transform: scale(0.96);
}

.genre-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.genre-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  transition: all 0.3s ease;
}

.genre-card.selected {
  box-shadow: 0 0 0 3px var(--color-primary), 0 8px 24px rgba(232, 93, 117, 0.3);
  transform: translateY(-2px);
}

.genre-card.selected .genre-card-overlay {
  background: linear-gradient(to top, rgba(232, 93, 117, 0.85) 0%, rgba(232, 93, 117, 0.2) 100%);
}

.genre-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.genre-card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.genre-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.genre-card.selected .genre-check {
  opacity: 1;
  transform: scale(1);
}

/* Generation Screen */
#step-5 .generation-equalizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 60px;
  margin: 24px 0;
}

#step-5 .gen-bar {
  width: 6px;
  border-radius: 3px;
  background: var(--color-primary);
  animation: genBarAnim 0.6s ease-in-out infinite alternate;
}

#step-5 .gen-bar:nth-child(1) {
  animation-delay: 0s;
  height: 40%;
}

#step-5 .gen-bar:nth-child(2) {
  animation-delay: 0.1s;
  height: 70%;
}

#step-5 .gen-bar:nth-child(3) {
  animation-delay: 0.2s;
  height: 90%;
}

#step-5 .gen-bar:nth-child(4) {
  animation-delay: 0.15s;
  height: 60%;
}

#step-5 .gen-bar:nth-child(5) {
  animation-delay: 0.05s;
  height: 85%;
}

#step-5 .gen-bar:nth-child(6) {
  animation-delay: 0.25s;
  height: 50%;
}

#step-5 .gen-bar:nth-child(7) {
  animation-delay: 0.1s;
  height: 75%;
}

#step-5 .gen-bar:nth-child(8) {
  animation-delay: 0.2s;
  height: 45%;
}

@keyframes genBarAnim {
  0% {
    transform: scaleY(0.6);
  }

  100% {
    transform: scaleY(1);
  }
}

#step-5 .gen-progress-ring {
  width: 160px;
  height: 160px;
  position: relative;
}

#step-5 .gen-progress-ring svg {
  transform: rotate(-90deg);
  display: block;
  width: 100%;
  height: 100%;
}

#step-5 .gen-progress-ring .bg-circle {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 6;
}

#step-5 .gen-progress-ring .progress-circle {
  fill: none;
  stroke: url(#genGradient);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 0.3s ease;
}

#step-5 .gen-time {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--color-primary);
}

#step-5 .gen-time-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.gen-message {
  font-size: 15px;
  color: var(--color-text-secondary);
  transition: opacity 0.4s ease;
  min-height: 24px;
}

/* Audio Player */
.audio-player-card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.audio-player-header {
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-soft), #fff);
  border-bottom: 1px solid var(--color-border);
}

.audio-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  padding: 0 16px;
}

.audio-waveform .w-bar {
  width: 4px;
  border-radius: 2px;
  background: var(--color-primary);
  animation: waveAnim 1s ease-in-out infinite alternate;
  opacity: 0.3;
}

.audio-waveform .w-bar.active {
  opacity: 1;
}

.audio-waveform .w-bar:nth-child(1) {
  height: 30%;
  animation-delay: 0s;
}

.audio-waveform .w-bar:nth-child(2) {
  height: 55%;
  animation-delay: 0.1s;
}

.audio-waveform .w-bar:nth-child(3) {
  height: 75%;
  animation-delay: 0.2s;
}

.audio-waveform .w-bar:nth-child(4) {
  height: 90%;
  animation-delay: 0.15s;
}

.audio-waveform .w-bar:nth-child(5) {
  height: 65%;
  animation-delay: 0.05s;
}

.audio-waveform .w-bar:nth-child(6) {
  height: 80%;
  animation-delay: 0.25s;
}

.audio-waveform .w-bar:nth-child(7) {
  height: 45%;
  animation-delay: 0.12s;
}

.audio-waveform .w-bar:nth-child(8) {
  height: 60%;
  animation-delay: 0.08s;
}

.audio-waveform .w-bar:nth-child(9) {
  height: 35%;
  animation-delay: 0.18s;
}

.audio-waveform .w-bar:nth-child(10) {
  height: 70%;
  animation-delay: 0.22s;
}

.audio-waveform .w-bar:nth-child(11) {
  height: 50%;
  animation-delay: 0.03s;
}

.audio-waveform .w-bar:nth-child(12) {
  height: 25%;
  animation-delay: 0.28s;
}

@keyframes waveAnim {
  0% {
    transform: scaleY(0.7);
  }

  100% {
    transform: scaleY(1);
  }
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px 24px;
}

.audio-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 24px;
}

.audio-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(232, 93, 117, 0.3);
}

.audio-play-btn:active {
  transform: scale(0.95);
}

.audio-timeline {
  flex: 1;
}

.audio-timeline input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--color-border);
  border-radius: 2px;
  outline: none;
}

.audio-timeline input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(232, 93, 117, 0.3);
}

.audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* Payment Tab */
.payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.payment-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-bg);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-secondary);
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.payment-tab:active {
  transform: scale(0.97);
}

.payment-tab.active {
  border-color: var(--color-primary);
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
}

.payment-panel {
  display: none;
}

.payment-panel.active {
  display: block;
}

/* Pix QR Code Placeholder */
.pix-qr {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pix-qr-inner {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  width: 140px;
  height: 140px;
}

.pix-dot {
  border-radius: 2px;
  background: var(--color-text);
}

.pix-dot.empty {
  background: transparent;
}

.pix-key-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-input);
  border: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-secondary);
  word-break: break-all;
}

.pix-key-box button {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pix-key-box button:active {
  transform: scale(0.95);
}

/* Credit Card Form */
.card-form .form-row {
  margin-bottom: 14px;
}

.card-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
  text-align: left;
}

.card-form .form-row-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Confetti overlay */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  top: -10px;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  to {
    top: 110vh;
    transform: rotate(720deg);
  }
}

/* Locked overlay for audio before payment */
.audio-locked .audio-waveform {
  filter: blur(4px);
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .occasion-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

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

  .genre-card img {
    aspect-ratio: 3/2;
  }

  .occasion-option {
    padding: 12px 8px;
    font-size: 12px;
  }

  #step-5 .gen-progress-ring {
    width: 140px;
    height: 140px;
  }

  #step-5 .gen-time {
    font-size: 30px;
  }

  .pix-qr {
    width: 160px;
    height: 160px;
  }

  .pix-qr-inner {
    width: 120px;
    height: 120px;
  }

  .card-form .form-row-duo {
    grid-template-columns: 1fr;
  }
}