/* Main CSS for freeaipornreddit.site */
:root {
  --primary-color: #8E44AD;
  --secondary-color: #3498DB;
  --accent-color: #E74C3C;
  --text-color: #2C3E50;
  --light-color: #ECF0F1;
  --dark-color: #34495E;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f9f9f9;
  font-size: 1.6rem;
}

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

header {
  background: var(--gradient);
  color: white;
  padding: 2rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 2.4rem;
  font-weight: 700;
}

.logo svg {
  margin-right: 1rem;
}

.hero {
  padding: 6rem 0;
  background-color: var(--light-color);
  text-align: center;
}

.hero h1 {
  font-size: 4.2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 2rem;
  max-width: 80%;
  margin: 0 auto 3rem;
}

.cta-button {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 5rem;
  font-size: 1.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

.features {
  padding: 6rem 0;
  background-color: white;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--dark-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
}

.feature-card {
  padding: 3rem 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 2rem;
}

.feature-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 1.5rem;
}

footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 4rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-links h4 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--light-color);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
  display: block;
  margin-bottom: 1rem;
}

.footer-links a:hover {
  opacity: 1;
}

.copyright {
  width: 100%;
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 1.4rem;
  opacity: 0.7;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  html {
    font-size: 58%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .hero p {
    font-size: 1.8rem;
    max-width: 95%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}
