/*=============== BASE ===============*/
:root {
  /* Colors */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #f59e0b;
  --accent-color: #ec4899;
  --dark-color: #1e293b;
  --darker-color: #0f172a;
  --light-color: #f8fafc;
  --gray-color: #94a3b8;
  --dark-gray: #334155;

  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), #d946ef);
  --text-gradient: linear-gradient(90deg, var(--primary-color), var(--accent-color));

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--darker-color);
  color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__subtitle {
  display: inline-block;
  color: var(--secondary-color);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section__description {
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
}

.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: var(--transition-normal);
}

.button--primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.button--outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.button--outline:hover {
  background: rgba(37, 99, 235, 0.1);
}

.button--flex {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/*=============== PRELOADER ===============*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--darker-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader__circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

.preloader__logo {
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
}

.preloader__logo img {
  width: 120px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*=============== CURSOR ===============*/
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 999;
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 998;
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-md);
}

.nav {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-weight: 600;
  font-size: 1.25rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  position: relative;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav__link.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-fast);
}

.nav__link.hover-underline:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition-fast);
  position: relative;
}

.nav__action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* Active link */
.active-link {
  color: var(--primary-color);
}

.active-link.hover-underline::after {
  width: 100%;
}

/*=============== HERO SECTION ===============*/
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-block;
  background: rgba(236, 72, 153, 0.2);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero__description {
  color: var(--gray-color);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-color);
}

.hero__image {
  position: relative;
  z-index: 1;
}

.image-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.hero-img {
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.2), rgba(236, 72, 153, 0.2));
  backdrop-filter: blur(10px);
  z-index: 1;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -50px;
  left: -50px;
  animation: pulse 8s ease-in-out infinite;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -30px;
  right: -30px;
  animation: pulse 6s ease-in-out infinite reverse;
}

.circle-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: -30px;
  animation: pulse 5s ease-in-out infinite 2s;
}

.hero__price-tag {
  position: absolute;
  top: 20%;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 4;
}

.hero__price-tag span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-color);
  margin-bottom: 0.25rem;
}

.hero__price-tag .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gray-color);
  font-size: 0.875rem;
  z-index: 2;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray-color);
  border-radius: 12px;
  margin-top: 0.5rem;
  position: relative;
}

.wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gray-color);
  border-radius: 2px;
  animation: scroll 2s ease infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }

  100% {
    opacity: 0;
    transform: translateY(16px) translateX(-50%);
  }
}

/*=============== BRANDS SECTION ===============*/
.brands {
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem 0;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: center;
}

.brand-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.brand-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.brand-logo {
  filter: grayscale(100%) brightness(2);
  opacity: 0.7;
  transition: var(--transition-normal);
  max-height: 40px;
  width: auto;
}

.brand-card:hover .brand-logo {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/*=============== FEATURES SECTION ===============*/
.features {
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.1), transparent 70%);
  z-index: -1;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.feature-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-wave {
  transform: scaleX(1);
}

/*=============== SPECS SECTION ===============*/
.specs {
  position: relative;
}

.specs__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.specs__image {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.specs-img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

.specs-highlight {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  animation: pulse 2s ease infinite;
}

.specs-highlight[data-highlight="driver"] {
  top: 30%;
  left: 20%;
}

.specs-highlight[data-highlight="battery"] {
  bottom: 25%;
  right: 25%;
}

.specs-highlight[data-highlight="mic"] {
  top: 20%;
  right: 20%;
}

.specs-highlight[data-highlight="bluetooth"] {
  bottom: 30%;
  left: 30%;
}

.highlight-tooltip {
  position: absolute;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 5;
}

.specs-highlight:hover .highlight-tooltip {
  opacity: 1;
  visibility: visible;
}

.specs-highlight[data-highlight="driver"] .highlight-tooltip {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.specs-highlight[data-highlight="battery"] .highlight-tooltip {
  bottom: -40px;
  right: 50%;
  transform: translateX(50%);
}

.specs-highlight[data-highlight="mic"] .highlight-tooltip {
  top: -40px;
  right: 50%;
  transform: translateX(50%);
}

.specs-highlight[data-highlight="bluetooth"] .highlight-tooltip {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.specs__accordion {
  max-width: 500px;
}

/*=============== ACCORDION STYLES ===============*/
.accordion-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.accordion-header i {
  transition: var(--transition-normal);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.specs-list {
  padding: 0 1.5rem 1.5rem;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.specs-list li:last-child {
  border-bottom: none;
}

.spec-name {
  color: var(--gray-color);
}

.spec-value {
  font-weight: 500;
}

/*=============== SHOWCASE SECTION ===============*/
.showcase {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9));
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/img/audio-wave-pattern.png') center/cover no-repeat;
  opacity: 0.05;
  z-index: -1;
}

.showcase__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.showcase__description {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.showcase__features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.feature-item i {
  color: var(--primary-color);
}

.showcase__visual {
  position: relative;
  height: 400px;
}

.audio-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.wave-bar {
  flex: 1;
  background: var(--primary-gradient);
  border-radius: 4px 4px 0 0;
  animation: wave 1.5s ease infinite alternate;
}

.wave-bar:nth-child(1) {
  height: 20%;
  animation-delay: 0.1s;
}

.wave-bar:nth-child(2) {
  height: 40%;
  animation-delay: 0.2s;
}

.wave-bar:nth-child(3) {
  height: 60%;
  animation-delay: 0.3s;
}

.wave-bar:nth-child(4) {
  height: 80%;
  animation-delay: 0.4s;
}

.wave-bar:nth-child(5) {
  height: 100%;
  animation-delay: 0.5s;
}

.wave-bar:nth-child(6) {
  height: 80%;
  animation-delay: 0.4s;
}

.wave-bar:nth-child(7) {
  height: 60%;
  animation-delay: 0.3s;
}

.wave-bar:nth-child(8) {
  height: 40%;
  animation-delay: 0.2s;
}

.wave-bar:nth-child(9) {
  height: 20%;
  animation-delay: 0.1s;
}

.wave-bar:nth-child(10) {
  height: 40%;
  animation-delay: 0.2s;
}

.headphone-3d {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  animation: float 6s ease-in-out infinite;
}

@keyframes wave {
  from {
    height: 10%;
  }

  to {
    height: 100%;
  }
}

/*=============== PRODUCTS SECTION ===============*/
.products__filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-color);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.product-badge.new {
  background: var(--primary-color);
  color: white;
}

.product-badge.sale {
  background: var(--accent-color);
  color: white;
}

.product-badge.best-seller {
  background: var(--secondary-color);
  color: var(--darker-color);
}

.product-image {
  position: relative;
  margin-bottom: 1.5rem;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-height: 100%;
  transition: var(--transition-normal);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.action-btn:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.product-info {
  text-align: center;
}

.product-category {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.stars {
  color: var(--secondary-color);
}

.rating-count {
  font-size: 0.75rem;
  color: var(--gray-color);
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.original-price {
  font-size: 0.875rem;
  color: var(--gray-color);
  text-decoration: line-through;
}

.products__cta {
  text-align: center;
  margin-top: 3rem;
}

/*=============== TESTIMONIALS SECTION ===============*/
.testimonials {
  background: rgba(255, 255, 255, 0.03);
}

.testimonials__slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Firefox */
}

.testimonials__slider::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.testimonial-card {
  min-width: 300px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rating {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-info span {
  font-size: 0.875rem;
  color: var(--gray-color);
}

.testimonials__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--gray-color);
}

/*=============== FAQ SECTION ===============*/
.faq__accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.faq-question i {
  transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-color);
}

.faq__cta {
  text-align: center;
  margin-top: 3rem;
}

.faq__cta p {
  margin-bottom: 1.5rem;
  color: var(--gray-color);
}

/*=============== NEWSLETTER SECTION ===============*/
.newsletter {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.newsletter__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter__description {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter__form .form-group {
  display: flex;
  margin-bottom: 1rem;
}

.newsletter__form input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border: none;
  font-family: inherit;
}

.newsletter__form button {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.form-agreement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.form-agreement input {
  width: 16px;
  height: 16px;
}

.newsletter__image {
  position: relative;
}

.newsletter-img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  animation: float 6s ease-in-out infinite;
}

.newsletter-offer {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: white;
  color: var(--primary-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.offer-text {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.offer-subtext {
  display: block;
  font-size: 0.875rem;
}

/*=============== FOOTER ===============*/
.footer {
  background: var(--darker-color);
  color: var(--gray-color);
  padding-top: 5rem;
}

.footer__container {
  display: flex;
  flex-direction: column;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 32px;
}

.footer-logo span {
  font-weight: 600;
  font-size: 1.25rem;
  color: white;
}

.footer-description {
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
}

.footer-column h3 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: white;
  padding-left: 5px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-payment {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-payment img {
  height: 24px;
  filter: grayscale(100%) brightness(2);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.footer-payment img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  color: white;
}

/*=============== MODALS & NOTIFICATIONS ===============*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: var(--darker-color);
  border-radius: var(--radius-lg);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  overflow-y: auto;
}

.modal-overlay.active+.modal-container {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary-color);
  color: white;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.modal-product-images {
  position: relative;
}

.main-image {
  margin-bottom: 1rem;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image img {
  max-height: 100%;
}

.thumbnail-images {
  display: flex;
  gap: 0.5rem;
}

.thumbnail {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-fast);
}

.thumbnail:hover {
  border-color: var(--primary-color);
}

.thumbnail.active {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.in-stock {
  color: #10b981;
  font-size: 0.875rem;
  margin-left: 1rem;
}

.product-price .current-price {
  font-size: 2rem;
  font-weight: 700;
}

.product-price .original-price {
  font-size: 1.25rem;
  margin-left: 0.5rem;
}

.product-price .discount {
  display: block;
  color: var(--secondary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.product-colors h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.color-options {
  display: flex;
  gap: 0.5rem;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.active {
  border-color: white;
  transform: scale(1.1);
}

.product-features {
  margin: 1.5rem 0;
}

.product-features h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-features ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.product-features i {
  color: var(--primary-color);
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.quantity-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.quantity-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-color);
  transition: var(--transition-fast);
}

.quantity-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.quantity-selector input {
  width: 40px;
  height: 40px;
  text-align: center;
  background: transparent;
  border: none;
  color: white;
  font-family: inherit;
  font-weight: 500;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.meta-item i {
  color: var(--primary-color);
}

.cart-notification {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: var(--transition-normal);
}

.cart-notification.active {
  bottom: 2rem;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notification-content i {
  font-size: 1.25rem;
}

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 100%;
  max-width: 600px;
  position: relative;
  padding: 0 2rem;
}

.search-input {
  width: 100%;
  padding: 1.5rem 2rem;
  font-size: 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gray-color);
  color: white;
  font-family: inherit;
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.search-close {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gray-color);
  transition: var(--transition-fast);
}

.search-close:hover {
  color: white;
}

/*=============== BACK TO TOP BUTTON ===============*/
.back-to-top {
  position: fixed;
  bottom: -60px;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 99;
  transition: var(--transition-normal);
}

.back-to-top.visible {
  bottom: 2rem;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/*=============== FLOATING PLAYER ===============*/
.floating-player {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 98;
  box-shadow: var(--shadow-md);
  transform: translateX(-150%);
  transition: var(--transition-normal);
}

.floating-player.active {
  transform: translateX(0);
}

.player-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.track-info {
  display: flex;
  flex-direction: column;
}

.track-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.artist-name {
  font-size: 0.75rem;
  color: var(--gray-color);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.control-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-fast);
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

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

/*=============== RESPONSIVE STYLES ===============*/
@media (max-width: 1200px) {
  .hero__title {
    font-size: 3rem;
  }

  .specs__container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .specs__image {
    order: 2;
  }

  .specs__content {
    order: 1;
  }
}

@media (max-width: 992px) {
  .section {
    padding: 4rem 0;
  }

  .hero__container,
  .showcase__container,
  .modal-content {
    grid-template-columns: 1fr;
  }

  .hero__content {
    order: 2;
    text-align: center;
  }

  .hero__image {
    order: 1;
    margin-bottom: 3rem;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .showcase__visual {
    height: 300px;
    margin-top: 2rem;
  }

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

  .newsletter__form .form-group {
    max-width: 500px;
    margin: 0 auto 1rem;
  }

  .newsletter-offer {
    right: 50%;
    transform: translate(50%, -50%);
  }

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

  .modal-product-images {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--darker-color);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition-normal);
    z-index: 100;
  }

  .nav__menu.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .nav__toggle {
    display: block;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }

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

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

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

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

  .footer-column {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1.5rem;
  }

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

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

  .floating-player {
    left: 1rem;
    bottom: 1rem;
    width: calc(100% - 2rem);
    justify-content: center;
  }

  .player-controls {
    margin-left: auto;
  }
}