/* ArcheryPro — Clean Modern Apple-style Landing Page */
:root {
  --bg-primary: #0A0D14;
  --bg-secondary: #121722;
  --bg-card: rgba(22, 28, 40, 0.75);
  --bg-card-hover: rgba(28, 36, 52, 0.9);
  
  --ring-cyan: #00D2FF;
  --ring-red: #FF3B30;
  --ring-gold: #FFCC00;
  
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 210, 255, 0.25);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient glow blobs matching icon rings */
.glow-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-cyan {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
  filter: blur(80px);
}

.glow-red {
  position: absolute;
  top: 35%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.09) 0%, transparent 70%);
  filter: blur(90px);
}

.glow-gold {
  position: absolute;
  bottom: 10%;
  left: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.08) 0%, transparent 70%);
  filter: blur(80px);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Navigation Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFF;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.25);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--ring-gold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-switch a {
  padding: 4px 8px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.lang-switch a.active {
  background: var(--ring-gold);
  color: #0A0D14;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00D2FF 0%, #0099FF 100%);
  color: #0A0D14;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45);
}

/* --- Hero Section --- */
.hero {
  padding: 70px 0 50px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 30px;
  color: var(--ring-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.gradient-title {
  background: linear-gradient(135deg, #00D2FF 0%, #FF3B30 50%, #FFCC00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: #0A0D14;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-secondary-lg:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* --- Two Pillars Grid (iPhone & Apple Watch) --- */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 70px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.tag-cyan {
  background: rgba(0, 210, 255, 0.12);
  color: var(--ring-cyan);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.tag-red {
  background: rgba(255, 59, 48, 0.12);
  color: var(--ring-red);
  border: 1px solid rgba(255, 59, 48, 0.25);
}

.app-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.app-card .card-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.45;
}

.feat-icon {
  font-size: 1.1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

/* --- Interactive Target Studio --- */
.target-section {
  padding: 50px 0 70px;
}

.target-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.target-interactive-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.svg-target-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  user-select: none;
  cursor: crosshair;
}

#liveTargetSvg {
  width: 100%;
  height: 100%;
  display: block;
}

.magnifier-lens {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #FFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 204, 0, 0.5);
  pointer-events: none;
  overflow: hidden;
  display: none;
  transform: translate(-50%, -50%);
  background: #000;
  z-index: 10;
}

.magnifier-inner svg {
  width: 72px;
  height: 72px;
}

.mag-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ring-gold);
  color: #0A0D14;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
}

.target-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.target-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.score-display-card {
  background: rgba(10, 13, 20, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
}

.score-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.score-total {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ring-gold);
  line-height: 1;
}

.score-total span {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.arrow-pill {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.arrow-pill.gold { background: var(--ring-gold); color: #0A0D14; }
.arrow-pill.red { background: var(--ring-red); color: #FFF; }
.arrow-pill.blue { background: var(--ring-cyan); color: #0A0D14; }
.arrow-pill.empty { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); border: 1px dashed rgba(255, 255, 255, 0.15); }

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-item {
  background: rgba(10, 13, 20, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.metric-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ring-cyan);
}

.target-btn-row {
  display: flex;
  gap: 10px;
}

.btn-tool {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tool:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --- Footer CTA --- */
.footer-cta {
  text-align: center;
  padding: 70px 0 50px;
}

.footer-cta-card {
  background: linear-gradient(180deg, rgba(22, 28, 40, 0.8) 0%, rgba(10, 13, 20, 0.95) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.footer-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ring-cyan), var(--ring-red), var(--ring-gold), transparent);
}

.footer-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 28px;
}

/* --- Site Footer --- */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .apps-grid, .target-box {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}
