/* Archery Counter – Produktseite (pages/counter.php) */
:root {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --bg-card: #1a1a1a;
  --text: #f5f5f5;
  --text-dim: #a3a3a3;
  --red: #e53935;
  --yellow: #ffd60a;
  --gradient: linear-gradient(135deg, #e53935 0%, #ff8a00 50%, #ffd60a 100%);
  --gradient-soft: linear-gradient(
    135deg,
    rgba(229, 57, 53, 0.15) 0%,
    rgba(255, 138, 0, 0.12) 50%,
    rgba(255, 214, 10, 0.15) 100%
  );
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Background glow effects */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.bg-glow.red {
  background: #e53935;
  top: -200px;
  left: -200px;
}
.bg-glow.yellow {
  background: #ffd60a;
  bottom: -200px;
  right: -200px;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.nav-cta {
  background: var(--gradient);
  color: #000;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s;
}
.nav-cta:hover {
  transform: scale(1.05);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-home {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-home:hover {
  color: var(--text);
}
@media (max-width: 560px) {
  .nav-home {
    display: none;
  }
}
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
}
.lang-switch a {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.2s;
}
.lang-switch a.active {
  background: var(--gradient);
  color: #000;
}
.lang-switch a:hover:not(.active) {
  color: var(--text);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255, 214, 10, 0.3);
  border-radius: 100px;
  font-size: 13px;
  color: var(--yellow);
  margin-bottom: 24px;
  background: rgba(255, 214, 10, 0.05);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 40px;
}
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.btn-primary {
  background: var(--gradient);
  color: #000;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 10px 40px rgba(229, 57, 53, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(229, 57, 53, 0.45);
}
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Watch frame */
.watch-frame {
  width: 280px;
  height: 340px;
  background: #1a1a1a;
  border-radius: 60px;
  padding: 20px;
  margin: 0 auto;
  border: 3px solid #2a2a2a;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}
.watch-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 44px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  color: white;
  overflow: hidden;
  position: relative;
}
.watch-time {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.watch-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.watch-menu-btn {
  width: 28px;
  height: 28px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Section */
section.features {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-header .eyebrow {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto;
}
.section-header p {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 600px;
  margin: 20px auto 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 32px;
  transition:
    transform 0.3s,
    border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 10, 0.25);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #000;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 15px;
}

/* Showcase split layout */
.showcase {
  padding: 100px 0;
  position: relative;
}
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.showcase-row:last-child {
  margin-bottom: 0;
}
.showcase-row.reverse {
  direction: rtl;
}
.showcase-row.reverse > * {
  direction: ltr;
}
.showcase-text .eyebrow {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.showcase-text h3 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.showcase-text p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 16px;
}
.showcase-visual {
  display: flex;
  justify-content: center;
}

/* Mini watch screens for showcases */
.mini-watch {
  width: 240px;
  height: 290px;
  background: #1a1a1a;
  border-radius: 50px;
  padding: 16px;
  border: 3px solid #2a2a2a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.mini-watch-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 36px;
  padding: 14px;
  color: white;
  display: flex;
  flex-direction: column;
}
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.counter-display {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.counter-label {
  font-size: 9px;
  color: #888;
}
.counter-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.counter-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.btn-minus,
.btn-plus {
  flex: 1;
  padding: 12px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-minus {
  background: var(--red);
  color: white;
}
.btn-plus {
  background: var(--yellow);
  color: black;
}

/* Menu mini */
.menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1f1f1f;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
}
.menu-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.menu-item.history .menu-icon {
  color: var(--red);
}
.menu-item.save .menu-icon {
  color: white;
}
.menu-item.start .menu-icon {
  color: white;
}

/* Chart mini */
.chart-area {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 6px 0;
  position: relative;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(to top, #e53935 0%, #ffd60a 100%);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}
.chart-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 6px;
  border-top: 1px solid #222;
  font-size: 9px;
}
.stat-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--yellow);
  display: block;
}

/* CTA Final */
.cta-final {
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.cta-box {
  background: var(--gradient-soft);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 32px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--gradient);
  filter: blur(150px);
  opacity: 0.3;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}
.cta-box > * {
  position: relative;
  z-index: 1;
}
.cta-box h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-box p {
  color: var(--text-dim);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #000;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.2s;
}
.app-store-btn:hover {
  transform: scale(1.03);
}
.app-store-btn .label {
  font-size: 11px;
  opacity: 0.7;
  line-height: 1;
}
.app-store-btn .name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

/* Footer */
footer {
  padding: 50px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 14px 20px;
  }
  .container {
    padding: 0 20px;
  }
  .showcase-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .showcase-row.reverse {
    direction: ltr;
  }
  .hero {
    padding: 120px 0 60px;
  }
  .features,
  .showcase,
  .cta-final {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 50px;
  }
  .cta-box {
    padding: 50px 24px;
  }
  nav .logo span.brand-name {
    display: none;
  }
}

/* Footer links */
.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--yellow);
}

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
