/* CSS Variables - Color System */
:root {
  --background: oklch(0.99 0.005 106);
  --foreground: oklch(0.25 0.01 264);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.25 0.01 264);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.25 0.01 264);
  --primary: oklch(0.52 0.23 29);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.72 0.15 51);
  --secondary-foreground: oklch(0.15 0.01 264);
  --muted: oklch(0.96 0.005 106);
  --muted-foreground: oklch(0.55 0.015 264);
  --accent: oklch(0.78 0.12 215);
  --accent-foreground: oklch(0.15 0.01 264);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.93 0.005 106);
  --input: oklch(0.95 0.005 106);
  --ring: oklch(0.52 0.23 29);
  --radius: 1rem;
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
}

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

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;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, #E60012, #FF7A00, #FFD95A);
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 5rem 0;
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  background: white;
  border-radius: 50%;
  filter: blur(3rem);
}

.hero-background::after {
  content: '';
  position: absolute;
  bottom: 5rem;
  right: 5rem;
  width: 12rem;
  height: 12rem;
  background: white;
  border-radius: 50%;
  filter: blur(3rem);
}

.hero-container {
  position: relative;
  z-index: 10;
}

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

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

.hero-text {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  width: fit-content;
}

.hero-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  letter-spacing: -0.02em;
}

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

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

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

.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  max-width: 36rem;
}

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

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 1;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-image-container {
    max-width: 22rem;
  }
}

@media (min-width: 768px) {
  .hero-image-container {
    max-width: 24rem;
  }
}

@media (min-width: 1024px) {
  .hero-image-container {
    margin: 0;
    max-width: 24rem;
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px -12px rgba(0, 0, 0, 0.25));
  animation: bounce-in 1s ease-out;
}

@keyframes bounce-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-purchase {
  position: sticky;
  top: 2rem;
}

/* Purchase Card */
.purchase-card {
  width: 100%;
  max-width: 36rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: none;
  background: #ffffff;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.125rem;
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

.card-description {
  font-size: 0.8125rem;
  color: #6b7280;
}

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

/* Form Elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #111827;
}

.form-input,
.form-select {
  height: 2.25rem;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 0 0.625rem;
  font-size: 0.8125rem;
  color: #111827;
  transition: all 0.2s;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #E60012;
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}

.form-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

/* Alert */
.alert {
  display: grid;
  grid-template-columns: 0.875rem 1fr;
  gap: 0.4375rem;
  align-items: start;
  padding: 0.5rem 0.625rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--secondary);
  background: rgba(255, 122, 0, 0.1);
}

.alert-icon {
  width: 1rem;
  height: 1rem;
  color: var(--secondary);
}

.alert-text {
  font-size: 0.8125rem;
  color: #6b7280;
}

/* Currency Buttons */
.currency-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem;
}

.currency-btn {
  min-width: 4.5rem;
  height: 2.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0 0.625rem;
}

.currency-btn:hover {
  transform: scale(1.05);
}

.currency-btn.active {
  background: #E60012;
  color: #ffffff;
  border-color: #E60012;
}

/* Radio Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-item input[type="radio"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.radio-item label {
  font-size: 0.8125rem;
  cursor: pointer;
  color: #111827;
}

/* Denominations Grid */
.denominations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4375rem;
}

.denomination-btn {
  height: 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s;
}

.denomination-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.denomination-btn.active {
  background: #E60012;
  color: #ffffff;
  border-color: #E60012;
}

/* Subscription Grid */
.subscription-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4375rem;
}

.subscription-btn {
  height: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s;
  gap: 0.25rem;
}

.subscription-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.subscription-btn.active {
  background: #E60012;
  color: #ffffff;
  border-color: #E60012;
}

.subscription-title {
  font-size: 0.9375rem;
  font-weight: 700;
}

.subscription-price {
  font-size: 0.75rem;
}

/* Price Summary */
.price-summary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem;
  background: #f9fafb;
  border-radius: calc(var(--radius) - 2px);
}

.price-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #111827;
}

.price-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
}

.price-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem;
  background: #fef2f2;
  border-radius: calc(var(--radius) - 2px);
  border: 2px solid #E60012;
}

.total-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
}

.total-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #E60012;
}

/* Purchase Button */
.purchase-btn {
  width: 100%;
  height: 2.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: calc(var(--radius) - 2px);
  border: none;
  background: #E60012;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.purchase-btn:hover:not(:disabled) {
  background: #cc0010;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

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

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
  background: var(--background);
}

@media (min-width: 768px) {
  .benefits-section {
    padding: 6rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.3125rem;
  }
}

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

.benefit-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5625rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.25rem);
  border-color: rgba(230, 0, 18, 0.5);
}

.benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(230, 0, 18, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background-color 0.3s;
}

@media (max-width: 767px) {
  .benefit-icon {
    width: 4rem;
    height: 4rem;
  }
  
  .benefit-icon svg {
    width: 2rem;
    height: 2rem;
  }
  
  .benefit-card {
    padding: 2.25rem 0.5rem;
  }
}

.benefit-card:hover .benefit-icon {
  background: rgba(230, 0, 18, 0.2);
}

.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--card-foreground);
}

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

/* How It Works Section */
.how-it-works-section {
  padding: 4rem 0;
  background: rgba(245, 245, 245, 0.5);
}

@media (min-width: 768px) {
  .how-it-works-section {
    padding: 6rem 0;
  }
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 50rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.5rem;
    column-gap: 0;
  }
  
  .step-item {
    margin: 0 -1rem;
  }
}

.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2rem;
  left: 55%;
  width: 70%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  display: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .step-item:not(:last-child)::after {
    display: block;
  }
}

.step-icon-wrapper {
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.step-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--secondary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--card-foreground);
}

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

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: var(--background);
}

@media (min-width: 768px) {
  .faq-section {
    padding: 6rem 0;
  }
}

.faq-container {
  max-width: 38rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

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

.faq-item:hover {
  border-color: rgba(230, 0, 18, 0.5);
}

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

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

.faq-icon {
  width: 0.875rem;
  height: 0.875rem;
  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: 1rem;
}

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

/* Support Section */
.support-section {
  padding: 2.5rem 0;
  background: linear-gradient(to bottom right, rgba(199, 230, 220, 0.4), rgba(255, 200, 150, 0.4));
}

@media (min-width: 768px) {
  .support-section {
    padding: 3rem 0;
  }
}

.support-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(230, 0, 18, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto;
}

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

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

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

.support-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.support-btn {
  height: auto;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: calc(var(--radius) - 2px);
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  display: inline-block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.support-btn:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

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

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

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

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

.footer-brand-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

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

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

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.footer-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
}
