/* Modern CSS with unique color scheme and layout */
:root {
  --primary-color: #20BF55;
  --secondary-color: #01BAEF;
  --text-color: #2D3142;
  --light-color: #ffffff;
  --background-color: #f9f9f9;
  --accent-color: #FF9B42;
  --card-bg: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --font-main: 'Nunito', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 span {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  color: #555;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--gradient);
  color: var(--light-color);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  color: var(--light-color);
  text-decoration: none;
}

/* Header */
header {
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

/* Navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: #f0f9ff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--gradient);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.1;
}

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

.hero-text {
  max-width: 90%;
}

.hero-image {
  text-align: center;
}

.hero-image svg {
  max-width: 100%;
  height: auto;
}

/* Features */
.features {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-top: 3px solid var(--primary-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.benefits-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.benefit-list {
  list-style: none;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  width: 30px;
  height: 30px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.image-generator {
  padding: 5rem 0;
  background-color: var(--light-color);
}

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

.generator-text {
  order: 2;
}

.generator-visual {
  order: 1;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: var(--gradient);
  color: var(--light-color);
  text-align: center;
}

.cta h2 {
  color: var(--light-color);
}

.cta h2::after {
  background: var(--light-color);
}

.btn-light {
  background: var(--light-color);
  color: var(--primary-color);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: #2D3142;
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-about .logo h3 {
  color: var(--light-color);
}

.footer-about p {
  color: #bbb;
}

.footer-links h4 {
  color: var(--light-color);
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #bbb;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
}

.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #bbb;
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Fix for immediate visibility on page load for hero section */
body:not(.js-loaded) .hero .animate {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .benefits-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .benefit-item {
    justify-content: center;
  }
  
  .generator-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .generator-text {
    order: 1;
  }
  
  .generator-visual {
    order: 2;
  }
  
  h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--light-color);
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
  }
  
  nav a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}
