/* ===== BLACK PULSE CHRONO — Design System ===== */
/* Based on BlackGym dark premium aesthetic          */

:root {
  --bg-main: #05070a;
  --bg-alt: #0b1118;
  --bg-hero: #020617;
  --card-bg: #101621;
  --card-soft: #121826;
  --accent: #8DE5DB;
  --accent-hover: #b0e4fa;
  --accent-soft: rgba(141, 229, 219, 0.16);
  --accent-glow: rgba(141, 229, 219, 0.25);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-soft: #1f2933;
  --success: #22c55e;
  --warning: #fbbf24;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--bg-main);
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

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

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(5, 7, 10, 0.97), rgba(11, 17, 24, 0.94));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 41, 51, 0.5);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-family: "Russo One", sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-style: italic;
}

.logo-text .accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(141, 229, 219, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(141, 229, 219, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-family: "Russo One", sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

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

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}


/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--bg-hero);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(141, 229, 219, 0.3);
  color: var(--bg-hero);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-main);
  border: 1px solid var(--accent-soft);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(141, 229, 219, 0.08);
  color: var(--text-main);
}

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

/* ===== Store Badges ===== */
.store-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  color: var(--text-main);
}

.store-badge:hover {
  border-color: var(--accent);
  background: rgba(141, 229, 219, 0.08);
  color: var(--text-main);
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge-text small {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-badge-text span {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-family: "Russo One", sans-serif;
  font-size: 2.1rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title .accent {
  color: var(--accent);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Hero Carousel ===== */
.hero-carousel {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

.hero-carousel-img {
  width: 280px;
  height: auto;
  border-radius: 18px;
  position: absolute;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
}

.hero-carousel-img.is-left {
  z-index: 1;
  transform: translateX(-60%) scale(0.88);
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.6);
  opacity: 0.55;
}

.hero-carousel-img.is-center {
  z-index: 3;
  transform: scale(1);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.7), 0 0 30px rgba(141, 229, 219, 0.1);
  opacity: 1;
}

.hero-carousel-img.is-right {
  z-index: 2;
  transform: translateX(60%) scale(0.88);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.6);
  opacity: 0.55;
}

.carousel-dots {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 4;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot:hover {
  border-color: var(--accent);
}

.carousel-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

/* ===== App Showcase ===== */
.showcase-banner {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.showcase-banner:hover {
  border-color: var(--accent);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(141, 229, 219, 0.08);
}

.showcase-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.feature-card {
  background: radial-gradient(circle at top, rgba(141, 229, 219, 0.05), transparent 60%), var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 1.2rem;
  padding: 2rem;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== How It Works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  counter-increment: step;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: "Russo One", sans-serif;
  font-size: 1.3rem;
  color: var(--accent);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===== Highlights / Stats Row ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
}

.stat-value {
  font-family: "Russo One", sans-serif;
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse at center, rgba(141, 229, 219, 0.06) 0%, transparent 70%),
    var(--bg-hero);
}

.cta-section h2 {
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .store-badges {
  justify-content: center;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ===== Privacy Policy Page ===== */
.policy-page {
  padding: 6rem 0 4rem;
  min-height: 80vh;
}

.policy-page h1 {
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.policy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.policy-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.policy-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.policy-content ul,
.policy-content ol {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.4rem;
}

.policy-content strong {
  color: var(--text-main);
  font-weight: 600;
}

.policy-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.2rem 0;
}

.policy-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.policy-card p,
.policy-card ul {
  font-size: 0.88rem;
}

/* ===== Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===== Focus States ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-content {
    order: 2;
  }

  .hero-carousel {
    order: 1;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .store-badges {
    justify-content: center;
  }

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

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

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

@media (max-width: 768px) {
  .hero-carousel {
    min-height: 400px;
  }

  .hero-carousel-img {
    width: 200px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 7, 10, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(31, 41, 51, 0.3);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .hero {
    min-height: 80vh;
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

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

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

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

@media (max-width: 480px) {
  .hero-carousel {
    min-height: 310px;
  }

  .hero-carousel-img {
    width: 155px;
    border-radius: 14px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
