/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'TT Interphases', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html, body {
  background-color: #fdfbf5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'JUST Sans', sans-serif;
}

h2 {
  font-family: 'JUST Sans', serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: #f2864f;
  line-height: 1.2;
  margin-bottom: 30px;
  text-align: center;
}

.subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  background-color: #f2864f;
  color: white;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #e57441;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  /* Sections */
  section {
    padding: 30px 0;
  }
  
  /* Buttons */
  .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  /* Cards and grids */
  .card:not(.pricing-feature-card), .value-card {
    padding: 20px 15px;
  }
  
  /* Grid layouts - with exceptions for specific components */
  [class*="-grid"]:not(.card-container) {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  
  /* Containers with flex layout - with exceptions for specific components */
  [class*="-container"]:not(.fun-container):not(.card-container):not(.pricing-cta-container) {
    flex-direction: column;
    gap: 20px;
  }
  
  /* Preserve specific layouts that should not be affected */
  .card-container {
    justify-content: center;
  }
  
  /* Don't override pricing button */
  .pricing-cta-btn {
    width: auto !important;
  }
  
  /* Images in containers */
  [class*="-image"] {
    max-width: 100%;
    margin-bottom: 15px;
  }
  
  /* Hero sections */
  [id*="hero"], [class*="hero"] {
    padding: 40px 0 30px;
  }
  
  /* Hero section headlines - specific override */
  .hero h1 {
    font-size: 3.5rem;
  }
}
