/* --- Global Styles for the Storefront App --- */
html, body {
  margin: 0;
  padding: 0;
  background-color: #0D1117;
  color: #c9d1d9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  min-height: 100vh;
}

/* --- Layout Containers --- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-wrapper {
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid #30363d;
}

.content-wrapper {
  padding: 4rem 0;
}

.darker-wrapper {
  padding: 4rem 0;
  background-color: #161b22;
  border-top: 1px solid #30363d;
  border-bottom: 1px solid #30363d;
}

.final-cta-wrapper {
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid #30363d;
}

/* --- Typography --- */
h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #58a6ff;
  margin: 0 0 0.5rem 0;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #f0f6fc;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f0f6fc;
  margin: 0 0 0.5rem 0;
}

p.subtitle {
  font-size: 1.25rem;
  color: #8b949e;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

p.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f0f6fc;
  margin: 0;
}

p.term {
  font-size: 1rem;
  color: #8b949e;
  margin-bottom: 2rem;
}

p.description {
  font-size: 1rem;
  color: #8b949e;
  line-height: 1.5;
}

/* --- Buttons --- */
button, .btn {
  background: linear-gradient(180deg, #3291ff, #007bff);
  color: white;
  border: 1px solid #3079d6;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: inline-block;
  text-decoration: none;
  width: auto;
}

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

/* --- Features & Trust Badges --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: #0D1117;
  border: 1px solid #30363d;
  padding: 1.5rem;
  border-radius: 8px;
}

.trust-badge-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #8b949e;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Agreement & Checkout --- */
.agreement-container {
  max-width: 450px;
  margin: 2rem auto 0;
  text-align: left;
  font-size: 0.9rem;
  color: #8b949e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.agreement-container a {
  color: #58a6ff;
  text-decoration: none;
}

.secure-note {
  font-size: 0.9rem;
  color: #8b949e;
  text-align: center;
  margin-top: 1rem;
}

/* --- Success Page --- */
.success-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-top: 4rem;
}
