/* Auto Clicker: MultiTap — landing styles */
:root {
  --primary: #30F090;
  --secondary: #00C078;
  --bg: #000000;
  --bg-elevated: #0A1A12;
  --highlight: #A8FFE0;
  --text: #ffffff;
  --text-muted: #b8c4bc;
  --border: rgba(48, 240, 144, 0.18);
  --radius: 16px;
  --max: 1080px;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--primary);
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-elevated)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2330F090' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.7rem center;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  max-width: 11.5rem;
  line-height: 1.3;
}

.lang-switch select:hover,
.lang-switch select:focus-visible {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(48, 240, 144, 0.2);
}

.lang-switch select option {
  background: #0A1A12;
  color: #fff;
}

.privacy-lang-note {
  color: var(--highlight);
  font-size: 0.95rem;
  border-left: 3px solid var(--primary);
  padding-left: 0.85rem;
  margin: 0 0 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #00140a;
  box-shadow: 0 0 0 1px rgba(48, 240, 144, 0.35), 0 8px 28px rgba(48, 240, 144, 0.22);
}

.btn-primary:hover {
  background: var(--highlight);
  color: #00140a;
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 3px;
}

.btn-play-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    padding: 1.5rem 0 1rem;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

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

.hero-sub {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.product-card {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  border-radius: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(48, 240, 144, 0.18), transparent 55%);
  pointer-events: none;
}

.product-card img {
  width: 72%;
  height: auto;
  border-radius: 22%;
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .product-card img {
    animation: float 5s ease-in-out infinite;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Sections common */
section {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.section-alt .benefit-card {
  background: #06140e;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(48, 240, 144, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.benefit-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How it works */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  background: var(--bg-elevated);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #00140a;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Compliance */
.compliance {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg);
}

.compliance h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.compliance p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.compliance p:last-child {
  margin-bottom: 0;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 4rem 0;
}

.final-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
}

.final-cta p {
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.final-cta .btn {
  margin-inline: auto;
}

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

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

/* Privacy page */
.page-main {
  padding: 3rem 0 4rem;
  max-width: 720px;
}

.page-main h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.page-main h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
}

.page-main p,
.page-main li {
  color: var(--text-muted);
}

.page-main ul {
  padding-left: 1.2rem;
}

/* RTL (Arabic) */
html[dir="rtl"] .header-actions {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .lang-switch select {
  background-position: left 0.7rem center;
  padding: 0.45rem 0.85rem 0.45rem 2rem;
}

html[dir="rtl"] .privacy-lang-note {
  border-left: none;
  border-right: 3px solid var(--primary);
  padding-left: 0;
  padding-right: 0.85rem;
}
