/* ==========================================================
   1. BASIC / RESET
   ========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1b1b1f;
  background: #f6f4ef;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3 {
  line-height: 1.15;
}

h2 {
  font-size: 34px;
  font-weight: 400;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.7;
}

/* Shared horizontal padding keeps content centered up to 1200px */
.hero,
.problem,
.solution,
.features,
.sound,
.reviews,
.offer,
.faq,
.final-cta,
.site-header {
  padding-left: max(24px, calc((100% - 1200px) / 2));
  padding-right: max(24px, calc((100% - 1200px) / 2));
}

/* ==========================================================
   2. HEADER / NAVBAR
   ========================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  color: #fff;
}

.problem-card img{
    border-radius: 10px;
    height: 200px;
  }

.logo {
  font-size: 22px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
}

.main-nav a {
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 0.7;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   3. HERO
   ========================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  min-height: 390px;
  padding-top: 90px;
  padding-bottom: 30px;
  color: #fff;
  background: radial-gradient(circle at 75% 40%, #1d2a3c 0%, #0a121d 55%, #05090f 100%);
  overflow: hidden;
}

.hero-content {
  animation: slideUp 0.9s ease both;
}

.hero h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  max-width: 340px;
  margin-bottom: 16px;
}

.hero-text {
  font-size: 14px;
  max-width: 280px;
  margin-bottom: 22px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 28px;
  margin-top: 28px;
  font-size: 11px;
  line-height: 1.3;
}

.hero-features li {
  max-width: 85px;
}

.hero-features .icon {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeIn 1.2s ease 0.2s both;
}

/* ==========================================================
   4. MAIN SECTIONS
   ========================================================== */

/* Problem */
.problem {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
  background: #f6f4ef;
}

.problem h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.problem-content p:last-child {
  font-size: 13px;
  color: #666;
  max-width: 260px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}

.problem-card {
  text-align: center;
  font-size: 11px;
  color: #555;
}

.problem-card .photo {
  height: 118px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.photo-commute {
  background: linear-gradient(160deg, #6d5a4d, #2b2420);
}

.photo-workspace {
  background: linear-gradient(160deg, #5a6b7f, #262d36);
}

.photo-calls {
  background: linear-gradient(160deg, #7a6355, #2d2520);
}

/* Solution */
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 240px;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #fff;
  background: linear-gradient(90deg, #060b12 40%, #121a26 100%);
  overflow: hidden;
  background-image: url("imgs/mid.png");
  background-size: cover;
}


.solution h2 {
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 8px;
}

.solution h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.solution-content p:not(.eyebrow) {
  font-size: 13px;
  max-width: 330px;
  margin-bottom: 20px;
}

.solution-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #c58b6b 0%, #5a3626 45%, #1a0f0b 75%);
  box-shadow: 0 0 80px rgba(197, 139, 107, 0.25);
}

.script-text {
  position: absolute;
  right: 0;
  top: 10%;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 30px;
  line-height: 1.1;
  max-width: 90px;
  transform: rotate(-8deg);
}

/* Features */
.features {
  padding-top: 36px;
  padding-bottom: 36px;
  background: #f6f4ef;
}

.features h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.feature-card {
  padding: 8px 20px;
  border-right: 1px solid #e2dfd8;
  transition: transform 0.3s;
}

.feature-card:last-child {
  border-right: none;
}

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

.feature-card h3 {
  font-size: 13px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 12px;
  color: #777;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  font-size: 24px;
  color: #1677ff;
  background: #dbe9ff;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}

.feature-card:hover .feature-icon {
  background: #1677ff;
  color: #fff;
}

/* Sound experience */
.sound {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #fff;
  background: linear-gradient(90deg, #070d16, #0b1624);
  overflow: hidden;
}

.sound h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.sound-content p:not(.eyebrow) {
  font-size: 13px;
  max-width: 330px;
  margin-bottom: 18px;
}

.sound-tags,
.design-tags {
  display: flex;
  gap: 14px;
  font-size: 11px;
  text-align: center;
}

.thumb {
  width: 86px;
  height: 46px;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: transform 0.3s;
}

.sound-tags li:hover .thumb,
.design-tags li:hover .thumb {
  transform: scale(1.06);
}

.thumb-drums {
  background: url("imgs/sk1.png");
}

.thumb-vocals {
  background: url("imgs/sk2.png");
}

.thumb-guitar {
  background: url("imgs/sk3.png");
}

.sound-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.waves {
  position: absolute;
  inset: 20px 0;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 65%);
  animation: pulse 3s ease-in-out infinite;
}

/* Design */
.design {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f6f4ef;
}

.design-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.design-imagke {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("imgs/gard.png");
  background-size: cover;
}

.design-content {
  padding: 40px max(24px, calc((100vw - 1200px) / 2)) 40px 40px;
}

.design h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.design-content p:not(.eyebrow) {
  font-size: 13px;
  color: #666;
  max-width: 340px;
  margin-bottom: 16px;
}

.design-tags li {
  color: #555;
}

.thumb-finish {
  width: 90px;
  height: 66px;
  background: url("imgs/sm1.png");
}

.thumb-case {
  width: 90px;
  height: 66px;
  background: url("imgs/sm2.png");
}

.thumb-fit {
  width: 90px;
  height: 66px;
  background: url("imgs/sm3.png");
}

/* Reviews */
.reviews {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #f6f4ef;
  text-align: center;
}

.reviews h2 {
  font-size: 24px;
  margin-bottom: 18px;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.review-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  font-size: 11px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.avatar-1 {
  background: url("imgs/rev1.png");
}

.avatar-2 {
  background: url("imgs/rev2.png");
}

.avatar-3 {
  background: url("imgs/rv3.png");
}

.stars {
  color: #f5b301;
  letter-spacing: 2px;
}

.reviewer {
  margin-top: 4px;
  color: #777;
}

/* Offer */
.offer {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: #fff;
  background: linear-gradient(90deg, #070d16, #121b28);
  overflow: hidden;
}

.offer h2 {
  font-size: 32px;
}

.price {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
}

.price del {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.6;
}

.offer-tagline {
  font-size: 13px;
  margin-bottom: 14px;
}

.perks {
  display: grid;
  gap: 12px;
  font-size: 11px;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.perks .icon {
  font-size: 20px;
}

/* FAQ */
.faq {
  padding-top: 24px;
  padding-bottom: 30px;
  background: #f6f4ef;
}

.faq h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  align-items: start;
}

.faq-question {
  position: relative;
  width: 100%;
  padding: 10px 28px 10px 10px;
  font-size: 12px;
  text-align: left;
  color: #333;
  background: none;
  border: none;
  border-bottom: 1px solid #e0ddd6;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  font-size: 16px;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
  color: #1677ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 12px;
  color: #666;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 10px;
}

/* ==========================================================
   5. CARDS / COMPONENTS (shared visuals)
   ========================================================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 26px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #1677ff;
  border-radius: 30px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.cta-button span {
  transition: transform 0.3s;
}

.cta-button:hover {
  background: #2f86ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.45);
}

.cta-button:hover span {
  transform: translateX(4px);
}

.nav-cta {
  min-height: 38px;
  padding: 8px 22px;
  font-size: 12px;
}

/* Product drawn with CSS: charging case + earbud */
.product-shot {
  position: relative;
  width: 100%;
  max-width: 330px;
  height: 230px;
}

.case {
  position: absolute;
  top: -30px;
  left: 10%;
  width: 120%;
}


.case-logo {
  position: absolute;
  bottom: 12%;
  width: 200%;
  text-align: center;
  font-size: 13px;
  color: #777;
}

.pod {
  position: absolute;
  right: 8%;
  bottom: 0;

  height: 78px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.pod::after {
  content: "";
  position: absolute;
  bottom: -26px;
  right: 10px;
  width: 14px;
  height: 40px;
  background: #e6e8eb;
  border-radius: 8px;
}

.pod-large {
  position: relative;
  right: auto;
  bottom: auto;
  width: 150px;
  height: 190px;
  margin-bottom: 20px;
  box-shadow: 0 0 60px rgba(22, 119, 255, 0.5);
}

.pod-large::after {
  width: 30px;
  height: 90px;
  right: 30px;
  bottom: -60px;
}

/* ==========================================================
   6. FINAL CTA
   ========================================================== */
.final-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 140px;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #fff;
  background: linear-gradient(90deg, #3a2a20 0%, #120d0a 35%, #060a10 100%);
}

.final-cta-content {
  width: 50%;
}

.final-cta h2 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.final-cta-content p:not(.eyebrow) {
  font-size: 12px;
  margin-bottom: 12px;
}

/* ==========================================================
   7. FOOTER
   ========================================================== */
.site-footer {
  padding: 18px 24px;
  font-size: 12px;
  text-align: center;
  color: #aaa;
  background: #05080d;
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.floating {
  animation: float 5s ease-in-out infinite;
}

/* Scroll reveal (only active when JavaScript is running) */
.js .problem,
.js .solution,
.js .features,
.js .sound,
.js .design,
.js .reviews,
.js .offer,
.js .faq,
.js .final-cta {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyboard focus */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #1677ff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .js .problem,
  .js .solution,
  .js .features,
  .js .sound,
  .js .design,
  .js .reviews,
  .js .offer,
  .js .faq,
  .js .final-cta {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================
   8. RESPONSIVE / MOBILE
   ========================================================== */

/* Laptop / small desktop */
@media (max-width: 1100px) {
  .hero-features {
    gap: 18px;
  }

  .offer {
    grid-template-columns: 1fr 1fr;
  }

  .perks {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 24px;
    font-size: 15px;
    background: rgba(5, 9, 15, 0.97);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .main-nav.open {
    max-height: 400px;
    padding: 10px 24px 24px;
  }

  .main-nav a:not(.cta-button) {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    justify-content: center;
    margin-top: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero h1,
  .hero-text {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features {
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
  }

  .hero-features li {
    max-width: none;
  }

  .problem,
  .solution,
  .sound,
  .design {
    grid-template-columns: 1fr;
  }

  .problem {
    gap: 24px;
  }

  .problem-content p:last-child,
  .solution-content p:not(.eyebrow),
  .sound-content p:not(.eyebrow),
  .design-content p:not(.eyebrow) {
    max-width: 520px;
  }

  .solution-image {
    margin-top: 30px;
  }

  .portrait {
    width: 240px;
    height: 240px;
  }

  .script-text {
    right: 10%;
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .feature-card:nth-child(2) {
    border-right: none;
  }

  .design-image {
    min-height: 280px;
  }

  .design-content {
    padding: 36px 24px;
  }

  .review-list {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .final-cta-content {
    width: 60%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  h2,
  .features h2,
  .problem h2,
  .design h2,
  .sound h2 {
    font-size: 26px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
  }

  .problem-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  

  .problem-card .photo {
    height: 150px;
  }

  .solution {
    text-align: center;
  }

  .solution h2 {
    font-size: 34px;
  }

  .solution-content p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 16px 10px;
    border-right: none;
    border-bottom: 1px solid #e2dfd8;
  }

  .feature-card:last-child {
    border-bottom: none;
  }

  .sound-tags,
  .design-tags {
    justify-content: space-between;
    gap: 8px;
  }

  .sound-tags .thumb,
  .design-tags .thumb {
    width: 100%;
    max-width: 96px;
  }

  .offer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .offer-image {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .perks {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .faq-question {
    padding: 14px 32px 14px 8px;
    font-size: 14px;
  }

  .faq-answer {
    font-size: 13px;
  }

  .final-cta {
    justify-content: center;
    text-align: center;
    min-height: 260px;
    background: linear-gradient(180deg, #3a2a20 0%, #120d0a 40%, #060a10 100%);
  }

  .final-cta-content {
    width: 100%;
  }

  .final-cta h2 {
    font-size: 24px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .logo {
    font-size: 19px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .perks {
    grid-template-columns: 1fr;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .price {
    font-size: 26px;
  }

  .review-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
