/* Base Styles */
:root {
  --primary-color: #4361EE;
  --primary-dark: #3A56D4;
  --secondary-color: #7209B7;
  --accent-color: #4CC9F0;
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #FFFFFF;
  --background-alt: #F8F9FA;
  --success-color: #38B000;
  --warning-color: #FFAA00;
  --error-color: #E63946;
  --border-color: #E5E7EB;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.6rem;
  color: var(--text-color);
}

h1 {
  font-size: 4.8rem;
}

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

h3 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

p {
  margin-bottom: 1.6rem;
}

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

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

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

.container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2.4rem;
}

section {
  padding: 8rem 0;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 12rem 0;
  text-align: center;
}

.hero h1, .hero h2 {
  color: white;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.logo {
  width: 8rem;
  height: 8rem;
  margin-right: 2rem;
}

.brand-name {
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(120deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.tagline {
  font-size: 2.8rem;
  margin-bottom: 1.6rem;
}

.hero-text {
  font-size: 1.8rem;
  max-width: 60rem;
  margin: 0 auto 3.2rem;
}

/* Introduction Section */
.intro {
  background-color: var(--background-color);
}

.intro-content {
  display: flex;
  gap: 4.8rem;
  align-items: center;
}

.intro-text, .intro-image {
  flex: 1;
}

.intro-image img {
  border-radius: var(--border-radius);
  height: 36rem;
  width: 100%;
  object-fit: cover;
}

/* Features Section */
.features {
  background-color: var(--background-alt);
}

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

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

.feature-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 6.4rem;
  height: 6.4rem;
  margin: 0 auto 2.4rem;
}

/* Benefits Section */
.benefits-content {
  display: flex;
  gap: 4.8rem;
  align-items: center;
}

.benefits-image, .benefits-list {
  flex: 1;
}

.benefits-image img {
  border-radius: var(--border-radius);
  height: 40rem;
  width: 100%;
  object-fit: cover;
}

.benefit-item {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

.benefit-icon {
  width: 4.8rem;
  height: 4.8rem;
  flex-shrink: 0;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--background-alt);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 2.4rem;
}

.step {
  text-align: center;
  padding: 2.4rem;
}

.step-number {
  width: 4.8rem;
  height: 4.8rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 auto 1.6rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--background-color);
}

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

.testimonial-card {
  background-color: var(--background-alt);
  padding: 3.2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2.4rem;
}

.testimonial-author h4 {
  margin-bottom: 0.4rem;
}

.testimonial-author p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Products Section */
.products {
  background-color: var(--background-alt);
}

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

.product-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 20rem;
  width: 100%;
  object-fit: cover;
}

.product-card h3, .product-card p, .product-card ul, .product-card a {
  padding: 0 2.4rem;
}

.product-card h3 {
  margin-top: 2.4rem;
}

.product-features {
  list-style-position: inside;
  margin-bottom: 2.4rem;
}

.product-features li {
  margin-bottom: 0.8rem;
}

.product-card .btn-secondary {
  margin: 0 2.4rem 2.4rem;
}

/* Contact Section */
.contact {
  background-color: var(--background-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.8rem;
}

.contact-item {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

.contact-icon {
  width: 3.2rem;
  height: 3.2rem;
}

.contact-form-container {
  background-color: var(--background-alt);
  padding: 3.2rem;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1.6rem;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: #222222;
  color: white;
  padding: 4.8rem 0 2.4rem;
}

.footer h3, .footer a {
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4.8rem;
}

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

.logo-small {
  width: 3.2rem;
  height: 3.2rem;
  margin-right: 0.8rem;
}

.footer-brand {
  font-size: 2.4rem;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
  html {
    font-size: 56.25%; /* 9px */
  }

  .logo {
    width: 6rem;
    height: 6rem;
    margin-right: 1.6rem;
  }

  .brand-name {
    font-size: 4.8rem;
  }

  .intro-content, .benefits-content, .contact-content {
    flex-direction: column;
    gap: 3.2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
  }

  .footer-links ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 50%; /* 8px */
  }

  .hero {
    padding: 8rem 0;
  }

  .logo {
    width: 5rem;
    height: 5rem;
    margin-right: 1.2rem;
  }

  .brand-name {
    font-size: 4rem;
  }

  .features-grid, .testimonials-grid, .products-grid, .steps {
    grid-template-columns: 1fr;
  }

  section {
    padding: 6.4rem 0;
  }
}