:root {
  --text-color: #1a1a2e;
  --text-secondary: #4a4a68;
  --button-color: #059669;
  --button-hover: #047857;
  --accent-color: #059669;
  --accent-secondary: #10b981;
  --accent-light: #ecfdf5;
  --background-light: #f8fafc;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  color: var(--text-color);
  background: #ffffff;
}

section {
  text-align: center;
  margin: 0 auto;
}

/* Header Navigation */
.header {
  position: sticky;
  top: 12px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-size: 15px;
  border-radius: 100px;
  display: flex;
  padding: 8px 8px 8px 20px;
  justify-content: space-between;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
}

.header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.header nav a:hover {
  color: var(--accent-color);
}

.install {
  background: var(--button-color);
  border: none;
  border-radius: 100px;
  padding: 10px 20px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.install:hover {
  background: var(--button-hover);
  transform: translateY(-1px);
}

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

.logo img {
  height: 32px;
  border-radius: 8px;
}

/* Hero Section */
main {
  position: relative;
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  border-radius: 24px;
  margin: 24px 16px;
  padding: 0;
  color: #ffffff;
  overflow: hidden;
}

main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

header {
  display: flex;
  margin: 0 auto;
  flex-direction: row;
  align-items: center;
  padding: 80px 48px 60px;
  gap: 48px;
  position: relative;
  z-index: 1;
}

header h1 {
  margin: 0 0 16px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  text-align: left;
  max-width: 100%;
}

header > div {
  text-align: left;
  flex: 1;
}

header > img {
  flex: 1;
  max-width: 45%;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

header p {
  text-align: left;
  font-size: 1.25rem;
  margin: 0 0 32px;
  max-width: 480px;
  opacity: 0.95;
  line-height: 1.6;
  color: #ffffff;
}

/* CTA Buttons */
.buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.cta-button {
  background: #ffffff;
  color: var(--accent-color);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

a.install img,
a img {
  width: 18px;
  height: 18px;
}

/* Trust Badge */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.trust-item svg {
  width: 18px;
  height: 18px;
}

/* Features Section */
.benefits {
  padding: 80px 24px;
  background: var(--background-light);
}

.section-header {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-color);
}

.section-subheader {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.benefits-list li {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.benefits-list li:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.benefits-list li:first-child {
  background: linear-gradient(135deg, var(--accent-color) 0%, #0d9488 100%);
  color: white;
}

.benefits-list li:first-child h4,
.benefits-list li:first-child p {
  color: white;
}

.benefits-list li:first-child img {
  filter: brightness(0) invert(1);
}

.benefits-list li:nth-child(2) {
  background: #ffffff;
}

.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.benefits-list h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-color);
}

.benefits-list p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 24px;
  background: #ffffff;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text-color);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  background: var(--background-light);
  padding: 32px 24px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

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

.step-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #0d9488 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: white;
  font-weight: 700;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-color);
}

.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Section */
.video-section {
  background: linear-gradient(135deg, var(--accent-color) 0%, #0d9488 100%);
  color: white;
  padding: 80px 48px;
  text-align: left;
}

.video-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.video-section > p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 1.125rem;
}

.section-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.video-section video {
  flex: 1;
  max-width: 45%;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.faq {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq details[open] {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-color);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-color);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  padding: 80px 24px;
  background: var(--background-light);
  text-align: center;
}

.testimonials h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text-color);
}

.testimonial-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 16px 24px 32px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 340px;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  scroll-snap-align: start;
  text-align: left;
  transition: all 0.3s ease;
}

.testimonial:hover {
  box-shadow: var(--card-shadow-hover);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-header .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  background: linear-gradient(135deg, var(--accent-color) 0%, #0d9488 100%);
}

.testimonial-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.feedback {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: normal;
  margin: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background: #d1d5db;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: #9ca3af;
}

.carousel-dot.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

/* Final CTA */
.cta {
  text-align: center;
  padding: 80px 24px;
  background: #ffffff;
}

.cta h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-color);
}

.cta p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .cta-button {
  background: var(--accent-color);
  color: white;
  padding: 16px 32px;
  font-size: 1.125rem;
}

.cta .cta-button:hover {
  background: var(--button-hover);
}

.cta a {
  display: inline-flex;
  margin: 0 auto;
}

/* Footer */
footer {
  text-align: center;
  padding: 32px 24px;
  background: var(--background-light);
  border-top: 1px solid #e5e7eb;
}

footer p {
  margin: 4px 0;
  color: var(--text-secondary);
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media screen and (max-width: 1024px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 720px) {
  .header {
    margin: 0 16px;
    padding: 6px 6px 6px 16px;
    gap: 8px;
  }

  .header nav {
    gap: 12px;
  }

  .header nav a {
    font-size: 14px;
  }

  main {
    margin: 18px 12px;
    border-radius: 20px;
  }

  header {
    flex-direction: column;
    padding: 48px 24px 40px;
    gap: 32px;
  }

  header h1 {
    font-size: 2rem;
    text-align: center;
  }

  header > div {
    text-align: center;
  }

  header p {
    text-align: center;
    font-size: 1.1rem;
  }

  header > img {
    max-width: 100%;
    order: -1;
  }

  .buttons {
    justify-content: center;
  }

  .benefits {
    padding: 60px 16px;
  }

  .benefits-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-it-works {
    padding: 60px 16px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-section {
    padding: 60px 16px;
  }

  .section-content {
    flex-direction: column;
    gap: 24px;
  }

  .video-section video {
    max-width: 100%;
    width: 100%;
  }

  .testimonials {
    padding: 60px 16px;
  }

  .testimonial {
    flex: 0 0 280px;
  }

  .cta {
    padding: 60px 16px;
  }

  .cta h3 {
    font-size: 1.5rem;
  }
}
