/* ============================================================
   Padel Speaker — style.css
   Palette: navy #002050 | neon pink #E040FB | neon green #76FF03
   Font: Barlow Condensed (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&display=swap');

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  background: #002050;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 20, 60, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(224, 64, 251, 0.15);
  padding: 0 1.5rem;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.header-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}
.lang-switcher {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.lang-switcher a {
  font-size: 1.35rem;
  line-height: 1;
  color: #A0B0C8;
  padding: 0.15rem 0.25rem;
  border-radius: 4px;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 6rem;
  background: #002050;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #001840);
  pointer-events: none;
  z-index: 2;
}
.hero-waves {
  position: absolute;
  inset: 0;
  background-image: url('../media/waves1.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.hero-text {
  flex: 1;
  min-width: 260px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #76FF03;
  margin-bottom: 1rem;
}
.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-headline span {
  color: #E040FB;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: #A0B0C8;
  line-height: 1.5;
  max-width: 480px;
  margin-bottom: 2rem;
}
.cta-btn {
  display: inline-block;
  transition: transform 0.2s, filter 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}
.cta-btn img {
  height: 52px;
  width: auto;
}

/* Speaker — absolute background element, dimmed behind all hero content */
.hero-img-speaker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(500px, 58vw, 845px);
  opacity: 0.25;
  filter: drop-shadow(0 0 70px rgba(224,64,251,0.45));
  z-index: 1;
  pointer-events: none;
}
/* iPhone + Watch cluster — screens only, no speaker */
.hero-images {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
/* iPhone + Watch cluster — watch absolutely placed at iPhone's bottom-left */
.hero-screens {
  display: block;
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}
.hero-img-iphone {
  display: block;
  width: clamp(155px, 19vw, 225px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(224,64,251,0.2);
}
.hero-img-watch {
  position: absolute;
  bottom: -15px;
  left: -65px;
  width: clamp(100px, 13vw, 160px);
  border-radius: 26px;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,0.5)) drop-shadow(0 0 16px rgba(118,255,3,0.3));
  z-index: 3;
}

/* ── Features ────────────────────────────────────────────── */
.features {
  padding: 4rem 1.5rem 2.5rem;
  background: #001840;
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E040FB;
  margin-bottom: 0.75rem;
}
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 3rem;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(224,64,251,0.15);
  border-radius: 16px;
  padding: 0 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: rgba(224,64,251,0.4);
  background: rgba(255,255,255,0.07);
}
.feature-img-wrap {
  margin-top: -4rem;
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 365px;
}
.feature-card img {
  width: clamp(150px, 17vw, 200px);
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.55));
  border-radius: 20px;
}
.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.feature-card p {
  font-size: 1rem;
  font-weight: 400;
  color: #A0B0C8;
  line-height: 1.5;
  max-width: 320px;
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #001030 0%, #002050 50%, #001845 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(224,64,251,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  line-height: 1.05;
}
.cta-banner p {
  font-size: 1.15rem;
  color: #A0B0C8;
  margin-bottom: 2rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding: 1.75rem 1.5rem;
  background: #000e2a;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #A0B0C8;
}
.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: #A0B0C8;
  transition: color 0.2s;
}
.footer-links a:hover { color: #E040FB; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 1.5rem 3rem;
  }
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-images {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .hero-screens {
    display: flex;
    align-items: flex-end;
    margin-left: 0;
  }
  .hero-img-iphone { display: block; }
  .hero-img-watch {
    position: relative;
    bottom: auto;
    left: auto;
    margin-left: -30px;
    margin-bottom: 15px;
  }
  .hero-img-speaker {
    width: clamp(280px, 75vw, 420px);
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 0.2;
  }
  .hero-img-iphone  { width: clamp(130px, 40vw, 195px); }
  .hero-img-watch   { width: clamp(85px, 27vw, 135px); }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}

@media (max-width: 420px) {
  .lang-switcher { gap: 0.2rem; }
  .lang-switcher a { font-size: 0.72rem; padding: 0.15rem 0.25rem; }
  .features-grid { padding-top: 3rem; }
}
