/* Base styles and resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #FF4757;
  --primary-dark: #E03444;
  --secondary: #9D27B0;
  --accent: #FF9FF3;
  --text: #2D3436;
  --text-light: #636E72;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F7;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

body {
  font-family: 'Arial', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

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

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Header styles */
header {
  background-color: var(--bg);
  box-shadow: var(--shadow);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--text);
  font-weight: bold;
  font-size: 1.2rem;
}

.logo svg {
  margin-right: 10px;
}

nav ul {
  display: flex;
  gap: 25px;
}

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

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

nav a:hover {
  color: var(--primary);
}

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

/* Hero section */
.hero {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 140px 0 80px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero span {
  color: var(--accent);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Features section */
.features {
  padding: 80px 0;
  background-color: var(--bg);
}

.features h2, .about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
}

.features h2:after, .about h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature {
  background-color: var(--bg-alt);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

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

/* About section */
.about {
  padding: 80px 0;
  background-color: var(--bg-alt);
}

.about p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* CTA section */
.cta {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: #1E272E;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-brand {
  margin-left: 15px;
}

.footer-brand h3 {
  margin-bottom: 5px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

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

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .features h2, .about h2, .cta h2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    gap: 15px;
    font-size: 0.9rem;
  }
  
  .cta-button {
    padding: 12px 25px;
  }
}

@media screen and (max-width: 480px) {
  .logo span {
    display: none;
  }
}
