/* ========================================
   ListPlayer – Product Page
   Dark Glassmorphism Design
   ======================================== */

/* ---- Fonts ---- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --color-brand: #7BC242;
  --color-brand-subtle: #69A838;
  --color-brand-glow: rgba(110, 190, 74, 0.15);
  --color-brand-glow-strong: rgba(110, 190, 74, 0.25);

  --color-bg-gradient-top: #16201A;
  --color-bg-gradient-mid: #0F1714;
  --color-bg-gradient-bottom: #0A0F0C;

  --color-bg-card: rgba(255, 255, 255, 0.06);
  --color-bg-card-hover: rgba(255, 255, 255, 0.10);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-active: rgba(255, 255, 255, 0.20);

  --color-text: #E8DEEC;
  --color-text-secondary: #9A96A8;
  --color-text-muted: #6B6880;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1100px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: linear-gradient(180deg,
    var(--color-bg-gradient-top) 0%,
    var(--color-bg-gradient-mid) 40%,
    var(--color-bg-gradient-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ---- Navigation ---- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

nav .nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav .logo-img {
  height: 32px;
  width: auto;
  filter: invert(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--color-brand);
}

/* ---- Language Switcher ---- */

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lang-btn:hover {
  border-color: var(--color-border-active);
  color: var(--color-text);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgba(20, 24, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  min-width: 120px;
  z-index: 200;
}

.lang-dropdown.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-sizing: border-box;
}

.lang-option:hover {
  background: var(--color-bg-card-hover);
  color: var(--color-brand);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Sections ---- */

section {
  padding: 6rem 2rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---- Product Hero ---- */

.product-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(110, 190, 74, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-hero-content {
  max-width: 680px;
  position: relative;
}

.product-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  border-radius: 22.5%;
  filter: drop-shadow(6px 8px 20px rgba(0, 0, 0, 0.7)) drop-shadow(4px 6px 40px rgba(110, 190, 74, 0.2));
}

.product-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--color-brand-glow);
  color: var(--color-brand);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(110, 190, 74, 0.2);
}

.product-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.product-hero h1 .accent {
  color: var(--color-brand);
}

.product-subtitle {
  font-size: 1.2rem;
  color: var(--color-brand);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.product-description {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.product-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--color-brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}

.btn:hover {
  background: var(--color-brand-subtle);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(110, 190, 74, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-brand);
  border: 2px solid rgba(110, 190, 74, 0.4);
}

.btn-outline:hover {
  background: var(--color-brand-glow);
  border-color: var(--color-brand);
  color: var(--color-brand);
  box-shadow: 0 4px 20px rgba(110, 190, 74, 0.15);
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-appstore svg {
  width: 18px;
  height: 18px;
}

/* ---- Section Headers ---- */

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
}

.section-header-center {
  text-align: center;
}

.section-header-center p {
  margin: 0 auto;
}

/* ---- Features Section ---- */

.features-section {
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(110, 190, 74, 0.05) 0%, transparent 70%);
  pointer-events: none;
  transform: translateY(-50%);
}

/* ---- Glass Cards (Feature Grid) ---- */

.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-active);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.glass-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-brand-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  border: 1px solid rgba(110, 190, 74, 0.15);
}

.glass-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}

.glass-card p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---- Pricing Section ---- */

.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  background: var(--color-bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card-highlight {
  border-color: rgba(110, 190, 74, 0.4);
  box-shadow: 0 4px 30px rgba(110, 190, 74, 0.1);
}

.pricing-card-highlight:hover {
  border-color: var(--color-brand);
  box-shadow: 0 8px 40px rgba(110, 190, 74, 0.2);
}

.pricing-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* ---- CTA Section ---- */

.product-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.product-cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.product-cta-content p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
}

/* ---- Support Section ---- */

.support-section .container {
  max-width: 600px;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(110, 190, 74, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.support-form .btn {
  align-self: flex-start;
}

/* ---- Footer ---- */

footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

footer p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

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

footer a:hover {
  color: var(--color-brand);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }

  .product-hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 4rem;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-hero-visual {
    order: -1;
  }

  .hero-logo {
    max-width: 260px;
  }

  .product-hero h1 {
    font-size: 2.2rem;
  }

  .nav-right {
    gap: 0.75rem;
  }

  nav ul {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  nav ul.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

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

  .screenshot-grid {
    gap: 1.5rem;
  }

  .faq-item summary {
    font-size: 0.98rem;
  }
}

/* ---- Screenshot Gallery ---- */

.screenshots-section {
  position: relative;
}

.screenshot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.screenshot-grid figure {
  margin: 0;
  max-width: 260px;
  text-align: center;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.screenshot-grid figcaption {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

/* ---- Free Banner ---- */

.free-banner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(110, 190, 74, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: 0 4px 30px rgba(110, 190, 74, 0.1);
}

.free-banner .free-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.free-banner h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.free-banner p {
  color: var(--color-text-secondary);
  font-size: 1.02rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.free-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.free-tag {
  padding: 0.35rem 0.9rem;
  background: var(--color-brand-glow);
  color: var(--color-brand);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(110, 190, 74, 0.2);
}

/* ---- FAQ (Support) ---- */

.faq-list {
  max-width: 720px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-brand);
  transition: transform 0.2s;
  line-height: 1;
}

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

.faq-item summary:hover {
  color: var(--color-brand);
}

.faq-item p {
  padding: 0 1.5rem 1.3rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.faq-item p + p {
  padding-top: 0;
}

.support-direct {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.support-direct a {
  color: var(--color-brand);
  text-decoration: none;
  font-weight: 600;
}

.support-direct a:hover {
  text-decoration: underline;
}

/* ---- Legal (Privacy) ---- */

.legal {
  padding-top: calc(64px + 5rem);
}

.legal .container {
  max-width: 800px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
}

.legal h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.legal p {
  color: var(--color-text-secondary);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.legal ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.96rem;
  line-height: 1.8;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal a {
  color: var(--color-brand);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.legal strong {
  color: var(--color-text);
}
