/* 
  Astrocat Landing Page Styles
  - Modern, responsive, conversion-focused design
  - Incorporates brand colors & fonts
  - Solid backgrounds, no gradients
  - Accessible, maintainable structure
*/

/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #000;
  background-color: #fff;
  line-height: 1.6;
}

/* HEADINGS (Using Poppins Extra Bold) */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* BUTTON STYLES */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #fff;
  background-color: #812DFF; /* Secondary brand color */
}

.btn:hover {
  background-color: #661ddb; /* Slightly darker purple on hover */
}

/* HEADER */
.site-header {
  padding: 1rem;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  width: 40px;
  margin-right: 0.5rem;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
  background-color: #FF2DB6; /* Primary brand color (Pink) */
  color: #fff;
  text-align: center;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-btn {
  background-color: #812DFF; /* Secondary brand color */
}

/* OVERVIEW SECTION */
.overview {
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.overview h2 {
  margin-bottom: 1.5rem;
}

.overview p {
  margin-bottom: 1rem;
}

/* FEATURES SECTION */
.features {
  padding: 4rem 1rem;
  background-color: #f9f9f9; /* Light neutral background */
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 2rem;
  border-radius: 8px;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

/* TESTIMONIALS SECTION */
.testimonials {
  padding: 4rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2rem;
  background-color: #fff;
}

.quote {
  font-style: italic;
  margin-bottom: 1rem;
}

.author {
  font-weight: 700;
}

/* CTA SECTION */
.cta {
  background-color: #812DFF; /* Secondary brand color */
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
}

.cta-btn {
  background-color: #FF2DB6; /* Primary brand color */
}

.cta-btn:hover {
  background-color: #d8259d; /* Darker pink on hover */
}

/* FOOTER */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.25rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* FADE-IN ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .overview, .features, .testimonials, .cta {
    padding: 2rem 1rem;
  }
}
