/* 1. Global Layout */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #0e0e0e;
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: flex-start; 
  min-height: 100vh;
  margin: 0;
  text-align: center;
  padding: 8vh 20px; 
}

/* 2. Logo Header */
.logo-container {
  display: flex !important;
  flex-direction: row !important; 
  align-items: center !important;
  justify-content: center !important;
  gap: 15px;
  margin-bottom: 50px;
}

.logo-icon {
  width: 50px; 
  height: 50px;
}

h1 {
  font-size: 3.5rem;
  margin: 0;
  line-height: 1;
  font-weight: 700;
}

/* 3. Hero Pitch Grouping */
.hero-group {
  margin-bottom: 50px;
  max-width: 850px;
}

.hero-text {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

/* 4. RESTORED: Performance Cards (Fixes Homepage) */
.performance-card {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 30px;
  max-width: 650px;
  width: 100%;
  margin: 15px auto; 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.performance-value {
  font-size: 3rem;
  font-weight: 800;
}

/* 5. Learn More List Styles */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 750px;
  width: 100%;
  margin: 40px auto;
  text-align: left;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 10px;
}

.step-icon {
  width: 32px !important; 
  height: 32px !important;
  flex-shrink: 0;
  margin-top: 5px;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.step-description {
  font-size: 1.1rem;
  line-height: 1.5;
  opacity: 0.85;
}

/* 6. Content/Privacy Page Specific Styles */
.content-wrapper {
  max-width: 800px;
  width: 100%;
  text-align: left; /* Justifies text to the left for readability */
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.content-wrapper p {
  margin-bottom: 20px;
}

/* Added for Privacy Page headings and lists */
.content-wrapper h2 {
  margin-top: 40px;
  color: #ffffff;
  font-size: 1.5rem;
}

.content-wrapper ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-wrapper li {
  margin-bottom: 10px;
}

/* 7. Buttons and Links */
.btn {
  padding: 16px 40px;
  font-size: 1.25rem;
  background: #333; /* Dark grey for secondary button */
  border-radius: 10px;
  color: white !important;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin: 5px 0;
  border: none;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
  cursor: pointer;
}

/* Blue styling for the primary "Enough talk" button */
.btn-primary {
  background: #007bff;
}

/* Stripe Subscribe button specifically */
#subscribe-btn {
  /* Inherits styles from .btn; custom colors are handled in-line in terms.html */
}

.link-light {
  color: #f5f5f5;
  text-decoration: underline;
  opacity: 0.7;
}

/* 8. Footer */
footer {
  margin-top: auto;
  padding: 80px 0 40px;
  opacity: 0.5;
  font-size: 0.95rem;
}

.footer-email {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

/* --- Mobile Fixes: Only active on phones --- */
@media (max-width: 600px) {
  
  /* 1. Center the performance cards and internal text */
  .performance-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 15px 0 !important;
    display: flex !important; /* Keep as flex to center internal content */
    align-items: center !important;
    box-sizing: border-box !important;
  }

  /* 2. Fix the "Breakup" link wrapping and Footer */
  footer {
    line-height: 1.8; 
    padding: 40px 10px;
    opacity: 0.7; /* Making it slightly more readable on mobile */
  }

  #manage-sub-link {
    display: block; 
    margin-top: 5px;
    font-size: 0.85rem;
  }

  .footer-email {
    margin-right: 0 !important;
    display: block; /* Stack it so the breakup link falls underneath */
  }

  /* Bonus: Shrink the massive H1 just a bit for mobile screens */
  h1 {
    font-size: 2.8rem !important;
  }
}
