/* CSS Variables - Spotify Dark Theme */
:root {
  /* Spotify-themed dark color palette with green accent */
  --background: oklch(0.08 0 0); /* Deep black */
  --foreground: oklch(0.98 0 0); /* Pure white */
  --card: oklch(0.14 0 0); /* Dark gray card */
  --card-foreground: oklch(0.98 0 0);
  --primary: oklch(0.68 0.2 145); /* Spotify green #1DB954 */
  --primary-foreground: oklch(0.08 0 0); /* Black text on green */
  --secondary: oklch(0.18 0 0); /* Dark gray */
  --muted-foreground: oklch(0.75 0 0); /* Lighter gray for better readability */
  --border: oklch(0.2 0 0); /* Subtle border */
  --radius: 0.75rem; /* More rounded for Spotify style */
}

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

html {
  background-color: var(--background);
  min-height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.min-h-screen {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero-container {
  padding: 2rem 1rem;
}

@media (min-width: 1024px) {
  .hero-container {
    padding: 3rem 1rem;
  }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 380px;
  }
}

.hero-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .hero-logo-text {
    font-size: 1.25rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-title-accent {
  color: var(--primary);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.1rem;
  }
}

.hero-button {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

@media (min-width: 768px) {
  .hero-button {
    font-size: 0.95rem;
  }
}

.hero-button:hover {
  background: color-mix(in oklch, var(--primary) 90%, black);
}

.hero-waves {
  position: relative;
  height: 8rem;
  overflow: hidden;
  border-radius: 0.75rem;
  opacity: 0.3;
}

@media (min-width: 768px) {
  .hero-waves {
    height: 10rem;
  }
}

.wave-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  width: 100%;
}

.wave-bar {
  width: 0.5rem;
  min-width: 0.5rem;
  background: var(--primary);
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  animation: wave 3s ease-in-out infinite;
  flex-shrink: 0;
}

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

/* Purchase Card */
.purchase-card-wrapper {
  position: sticky;
  top: 1rem;
}

.purchase-card {
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  background: oklch(0.14 0 0); /* Dark gray background - subtle difference from black */
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .purchase-card {
    padding: 1.25rem;
  }
}

.purchase-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .purchase-title {
    font-size: 1.25rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .form-label {
    font-size: 0.875rem;
  }
}

.form-input {
  height: 2.75rem;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: var(--secondary);
  padding: 0 0.625rem;
  font-size: 1rem;
  color: var(--foreground);
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .form-input {
    font-size: 0.875rem;
  }
}

.form-input::placeholder {
  color: var(--muted-foreground);
  opacity: 0.7;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 20%, transparent);
}

.form-hint {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .form-hint {
    font-size: 0.75rem;
  }
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.375rem;
}

@media (min-width: 640px) {
  .regions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.region-btn {
  position: relative;
  padding: 0.625rem;
  border-radius: calc(var(--radius) - 2px);
  border: 2px solid var(--border);
  background: var(--secondary);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--foreground);
}

.region-btn:hover {
  border-color: color-mix(in oklch, var(--primary) 50%, transparent);
  transform: scale(1.05);
}

.region-btn.active {
  border-color: var(--primary);
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  box-shadow: 0 10px 15px -3px color-mix(in oklch, var(--primary) 20%, transparent);
}

.region-flag {
  font-size: 1.5rem;
}

.region-name {
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .region-name {
    font-size: 0.75rem;
  }
}

.region-check {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.subscriptions-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.subscription-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: calc(var(--radius) - 2px);
  border: 2px solid var(--border);
  background: var(--secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  color: var(--foreground);
}

.subscription-btn:hover {
  border-color: color-mix(in oklch, var(--primary) 50%, transparent);
  transform: scale(1.02);
}

.subscription-btn.active {
  border-color: var(--primary);
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  box-shadow: 0 10px 15px -3px color-mix(in oklch, var(--primary) 20%, transparent);
}

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

.subscription-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.subscription-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .subscription-name {
    font-size: 0.95rem;
  }
}

.subscription-description {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .subscription-description {
    font-size: 0.75rem;
  }
}

.subscription-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.price-display {
  padding: 0.875rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--secondary);
  border: 1px solid var(--border);
}

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

.price-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .price-label {
    font-size: 0.95rem;
  }
}

.price-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 768px) {
  .price-value {
    font-size: 1.5rem;
  }
}

.purchase-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.purchase-button {
  width: 100%;
  height: 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  cursor: pointer;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .purchase-button {
    font-size: 0.95rem;
  }
}

.purchase-button:hover:not(:disabled) {
  background: color-mix(in oklch, var(--primary) 90%, black);
}

.purchase-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.purchase-hint {
  font-size: 0.8rem;
  text-align: center;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .purchase-hint {
    font-size: 0.65rem;
  }
}

/* Benefits Section */
.benefits-section {
  padding: 3rem 0;
  background: color-mix(in oklch, var(--secondary) 30%, transparent);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.125rem;
  }
}

.benefits-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.benefit-card:hover {
  border-color: color-mix(in oklch, var(--primary) 50%, transparent);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.25rem);
}

.benefit-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.75rem;
  transition: background-color 0.3s;
}

.benefit-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.benefit-card:hover .benefit-icon {
  background: color-mix(in oklch, var(--primary) 20%, transparent);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

@media (min-width: 768px) {
  .benefit-title {
    font-size: 1.05rem;
  }
}

.benefit-description {
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* How It Works Section */
.how-it-works-section {
  padding: 3rem 0;
}

.steps-container {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.step-item:hover {
  border-color: color-mix(in oklch, var(--primary) 50%, transparent);
}

.step-number {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .step-title {
    font-size: 1.05rem;
  }
}

.step-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .step-description {
    font-size: 0.875rem;
  }
}

.step-final {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 50%, transparent);
}

.step-final-icon {
  color: var(--primary);
  width: 1.75rem;
  height: 1.75rem;
}

.step-final-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.step-final-text {
  font-size: 0.9rem;
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: 3rem 0;
  background: color-mix(in oklch, var(--secondary) 30%, transparent);
}

.faq-container {
  max-width: calc(42rem - 70px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 0 1rem;
  background: var(--card);
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: color-mix(in oklch, var(--primary) 50%, transparent);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .faq-trigger {
    font-size: 0.875rem;
  }
}

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

.faq-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-bottom: 0;
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-content p {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .faq-content p {
    font-size: 0.8rem;
  }
}

/* Support Section */
.support-section {
  padding: 3rem 0;
}

.support-card {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}

.support-icon {
  color: var(--primary);
  margin: 0 auto 0.75rem;
  width: 3rem;
  height: 3rem;
}

.support-icon svg {
  width: 3rem;
  height: 3rem;
}

.support-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.support-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.support-button {
  height: 2.75rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  cursor: pointer;
  transition: all 0.2s;
}

.support-button:hover {
  background: color-mix(in oklch, var(--primary) 90%, black);
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: color-mix(in oklch, var(--secondary) 20%, transparent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-text {
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.7rem;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted-foreground);
}



