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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #212529;
  background: #fff;
}

.page {
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 0;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-inner {
  width: min(600px, 90vw);
  height: 100%;
  border-radius: 9999px;
  padding: 0 24px;
  background: hsla(0, 0%, 100%, 0);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.nav-inner a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.nav-inner a:hover {
  opacity: 0.85;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #495057 url('https://campaign02.antidetect.io/images/still-life-wireless-cyberpunk-headphones.png') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(73, 80, 87, 0.95) 0%, rgba(73, 80, 87, 0.4) 60%, rgba(73, 80, 87, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 12px 15vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero-content p {
  color: #fff;
  font-size: 1rem;
  max-width: 560px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-outline-white {
  border: 2px solid #fff;
  color: #fff;
  padding: 16px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-block;
}

.btn-outline-white:hover {
  background: #fff;
  color: #000;
}

/* Section */
.section {
  width: 100%;
  max-width: 1024px;
  margin: 48px auto;
  padding: 0 16px;
}

.section-row {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.section-row img.product-hero {
  width: 100%;
  max-width: 488px;
  height: auto;
  object-fit: contain;
}

.section-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.section-text h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #682599;
}

.section-text p {
  color: #6c757d;
  line-height: 1.6;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #495057;
}

.btn-purple {
  border: 1px solid #682599;
  background: #682599;
  color: #fff;
  padding: 12px 16px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-block;
}

.btn-purple:hover {
  opacity: 0.9;
}

/* Features grid */
.features {
  width: 100%;
  background: #495057;
  margin: 48px 0;
  padding: 48px 24px;
}

.features-grid {
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #dee2e6;
}

.feature-card p {
  font-size: 18px;
  color: #ced4da;
  max-width: 280px;
}

/* Products */
.products-title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  color: #682599;
  margin-bottom: 16px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #495057;
  text-align: center;
}

/* Newsletter */
.newsletter {
  width: 100%;
  background: #21005d;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  margin: 48px 0;
}

.newsletter h4 {
  color: #fff;
  font-size: 1.5rem;
}

.newsletter > span {
  color: #e9ecef;
  font-size: 1.25rem;
  text-align: center;
}

.newsletter input {
  outline: none;
  width: min(300px, 90vw);
  padding: 8px;
  border: none;
  border-radius: 4px;
}

.newsletter button {
  border: 2px solid #af52de;
  background: transparent;
  border-radius: 9999px;
  padding: 8px 20px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.newsletter button:hover {
  background: #af52de;
}

/* Footer */
.footer {
  background: #f3f5f9;
  padding: 48px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer span {
  text-align: center;
  color: #495057;
  font-size: 18px;
}

@media (min-width: 768px) {
  .section-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .section-row img.product-hero {
    flex: 0 0 488px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
