/* Modern design with unique warm color scheme */
:root {
  --primary-color: #FF5E62;
  --secondary-color: #FF9966;
  --accent-color: #5D26C1;
  --dark-color: #2E2A39;
  --light-color: #FFF5F5;
  --text-color: #333;
  --background-gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  --box-shadow: 0 15px 30px rgba(255, 94, 98, 0.1);
  --transition: all 0.4s ease;
  --border-radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header - Curved design with centered content */
.hero {
  background: var(--background-gradient);
  color: white;
  padding: 5rem 1rem 10rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -5rem;
  left: 0;
  width: 100%;
  height: 10rem;
  background: var(--light-color);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 15px rgba(93, 38, 193, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(93, 38, 193, 0.4);
}

.hero-decoration {
  position: relative;
  margin: 0 auto;
  max-width: 500px;
  height: 250px;
}

/* Main features section - Unique cards with float effect */
.features {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-desc {
  color: #777;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--background-gradient);
  z-index: 2;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(255, 94, 98, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  fill: var(--primary-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--dark-color);
}

.feature-desc {
  color: #666;
  line-height: 1.6;
}

/* About section - Unique diagonal layout */
.about {
  padding: 8rem 0;
  background-color: #FFEFEF;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,158,102,0.1) 0%, rgba(255,94,98,0.1) 100%);
  z-index: 0;
}

.about::after {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--light-color);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.about .container {
  position: relative;
  z-index: 1;
}

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

.about-image {
  position: relative;
  height: 350px;
}

.about-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: var(--dark-color);
}

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

.highlight {
  color: var(--primary-color);
  font-weight: 700;
}

/* CTA Section - Clean design with pattern background */
.cta {
  background: var(--dark-color);
  padding: 6rem 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 94, 98, 0.3) 0%, transparent 25%), 
               radial-gradient(circle at 80% 80%, rgba(255, 153, 102, 0.3) 0%, transparent 25%);
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.cta-desc {
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  opacity: 0.9;
}

.btn-cta {
  background: var(--background-gradient);
  box-shadow: 0 10px 20px rgba(255, 94, 98, 0.3);
}

.btn-cta:hover {
  box-shadow: 0 15px 25px rgba(255, 94, 98, 0.4);
}

/* Footer - Clean design with subtle gradient */
footer {
  background: var(--dark-color);
  padding: 5rem 0 2rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
}

.footer-brand-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.footer-about {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.footer-section h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-links a:hover::after {
  width: 100%;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-section:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title, .about-info h2, .cta-title {
    font-size: 2.2rem;
  }
  
  .hero {
    padding: 3rem 1rem 8rem;
  }
  
  .hero::after {
    bottom: -3rem;
    height: 6rem;
  }
  
  .features-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
}
