/* Base Styles and Variables */
:root {
  --primary-color: #ff3366;
  --secondary-color: #4d61ff;
  --accent-color: #32d4a4;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --text-color: #333;
  --light-text: #f8f9fa;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --container-max-width: 1200px;
  --section-spacing: 5rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 4.8rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 3.6rem;
  margin-bottom: 3rem;
  text-align: center;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.primary-btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.secondary-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background: var(--primary-color);
  color: white;
}

.large {
  font-size: 1.8rem;
  padding: 1.5rem 3rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 1.5rem 0;
}

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

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

.logo-svg {
  width: 200px;
  height: 50px;
}

nav ul {
  display: flex;
  gap: 3rem;
  align-items: center;
}

nav a {
  color: var(--dark-color);
  font-weight: 500;
}

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

.cta-button a {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
}

.cta-button a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

/* Hero Section */
.hero {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8)), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="M40,40 L160,40 L160,160 L40,160 Z" stroke="%23ff3366" stroke-width="2" fill="none" opacity="0.2"/></svg>');
  text-align: center;
}

.subtitle {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.hero .cta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.hero-graphic {
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  background-color: #fff;
  padding: var(--section-spacing) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  margin-bottom: 2rem;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

/* About Section */
.about {
  background-color: #f9f9f9;
  padding: var(--section-spacing) 0;
}

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

.about-text {
  padding-right: 2rem;
}

.about-graphic {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* FAQ Section */
.faq {
  padding: var(--section-spacing) 0;
  background-color: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.faq-item {
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--light-color);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.faq-item p {
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  background: var(--gradient-primary);
  color: white;
}

.cta-section h2 {
  color: white;
}

.cta-section .btn {
  margin-top: 2rem;
  background: white;
  color: var(--primary-color);
}

.cta-section .btn:hover {
  background: var(--dark-color);
  color: white;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 5rem 0 2rem;
}

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

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

.footer-tagline {
  font-size: 1.4rem;
}

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

.footer-column h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

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

.footer-column a {
  color: var(--light-text);
  opacity: 0.8;
}

.footer-column a:hover {
  color: var(--primary-color);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  html {
    font-size: 60%;
  }
  
  .feature-grid, .faq-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-text {
    padding-right: 0;
  }
  
  .about .btn {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 58%;
  }
  
  header .container {
    flex-direction: column;
    gap: 2rem;
  }
  
  nav ul {
    gap: 2rem;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .hero .cta {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
