/* ============================================================
 *  Easy Tap In – Landing page styles
 * ============================================================ */

:root {
  --accent: #4ade80;
  --accent-hover: #3ecf72;
  --accent-dim: rgba(74,222,128,.10);
  --bg: #0a1a0f;
  --bg-alt: #0f2416;
  --card-bg: #132d1a;
  --text: #e8f5ec;
  --muted: #7da88a;
  --border: rgba(74,222,128,.12);
  --radius: 14px;
}

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

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%,rgba(74,222,128,.06) 0%,transparent 50%),
    radial-gradient(ellipse at 80% 100%,rgba(74,222,128,.04) 0%,transparent 50%),
    repeating-linear-gradient(45deg,transparent,transparent 40px,rgba(74,222,128,.015) 40px,rgba(74,222,128,.015) 41px);
  background-attachment: fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Navbar ===== */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 24px;
  background: rgba(10,26,15,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74,222,128,.1);
}
.logo {
  font-weight: 900; font-size: 1.1rem; letter-spacing: 3px;
  color: var(--accent); text-decoration: none;
  text-shadow: 0 0 20px rgba(74,222,128,.3);
}
.logo:hover { opacity: .9; text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-link-text {
  color: var(--muted); font-weight: 600; font-size: .9rem;
  text-decoration: none; transition: color .2s;
}
.nav-link-text:hover { color: var(--accent); text-decoration: none; }
.nav-cta {
  font-weight: 700; font-size: .9rem; padding: 8px 20px;
  border-radius: 8px; background: var(--accent); color: var(--bg);
  text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: var(--accent-hover); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 24px 60px;
  background: radial-gradient(ellipse at 50% 20%, rgba(74,222,128,.06) 0%, transparent 60%);
}
.hero-inner { max-width: 720px; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: var(--accent-dim); border: 1px solid rgba(74,222,128,.2);
  color: var(--accent); font-weight: 700; font-size: .8rem;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 20px;
}
.hero-title {
  font-weight: 900; font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 20px;
}
.hero-sub {
  color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: 540px; margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-highlights {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center;
}
.hero-hl {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: .9rem; font-weight: 600;
}
.hero-hl-icon { font-size: 1.1rem; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block; padding: 14px 32px; border-radius: 12px;
  background: var(--accent); color: var(--bg); font-weight: 800;
  font-size: 1.05rem; transition: background .2s, transform .1s, box-shadow .2s; text-decoration: none;
}
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; box-shadow: 0 0 24px rgba(74,222,128,.2); }
.btn-primary:active { transform: scale(.97); }
.btn-primary.btn-lg { padding: 16px 40px; font-size: 1.15rem; }
.btn-secondary {
  display: inline-block; padding: 14px 32px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15); color: var(--text);
  font-weight: 700; font-size: 1.05rem; transition: all .2s; text-decoration: none;
}
.btn-secondary:hover { background: rgba(74,222,128,.06); border-color: rgba(74,222,128,.3); text-decoration: none; }

/* ===== Sections ===== */
.section { padding: 80px 24px; max-width: 1000px; margin: 0 auto; }
.section-alt {
  max-width: 100%; background: var(--bg-alt);
  padding: 80px 24px;
}
.section-alt > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.section-title {
  text-align: center; font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 12px; letter-spacing: -.5px;
}
.section-sub {
  text-align: center; color: var(--muted); font-size: 1.05rem;
  max-width: 560px; margin: 0 auto 48px;
}

/* ===== Steps (How it works) ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step {
  background: linear-gradient(135deg,rgba(15,36,22,.9) 0%,rgba(10,26,15,.95) 100%);
  border: 1px solid rgba(74,222,128,.1); border-radius: 16px;
  padding: 28px 24px; text-align: center;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(74,222,128,.12); color: var(--accent);
  font-weight: 900; font-size: 1.2rem; margin-bottom: 14px;
}
.step h3 { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ===== Setup Methods ===== */
.setup-methods {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.setup-method {
  background: linear-gradient(135deg,rgba(15,36,22,.9) 0%,rgba(10,26,15,.95) 100%);
  border: 1px solid rgba(74,222,128,.1); border-radius: 16px;
  padding: 28px 24px; position: relative;
}
.setup-method-badge {
  display: inline-block; padding: 3px 12px; border-radius: 8px;
  background: var(--accent); color: var(--bg); font-weight: 700;
  font-size: .72rem; letter-spacing: .3px; text-transform: uppercase;
  margin-bottom: 14px;
}
.setup-method-badge.alt {
  background: rgba(96,165,250,.15); color: #60a5fa;
}
.setup-method-title {
  font-weight: 800; font-size: 1.15rem; margin-bottom: 6px;
}
.setup-method-desc {
  color: var(--muted); font-size: .9rem; margin-bottom: 18px; line-height: 1.5;
}
.setup-method-desc code {
  background: rgba(74,222,128,.06); border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 5px; font-size: .85em;
  font-family: 'SFMono-Regular', Consolas, monospace; color: var(--accent);
}
.method-steps { display: flex; flex-direction: column; gap: 10px; }
.method-step {
  display: flex; align-items: baseline; gap: 10px;
  font-size: .9rem; color: var(--muted); line-height: 1.5;
}
.method-step-num {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-dim); color: var(--accent);
  font-weight: 800; font-size: .75rem;
}
.method-step strong { color: var(--text); }

/* ===== Game Modes ===== */
.mode-group { margin-bottom: 40px; }
.mode-group:last-child { margin-bottom: 0; }
.mode-group-title {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  font-weight: 800; font-size: 1.15rem; margin-bottom: 20px;
  color: var(--accent);
}
.mode-group-icon { font-size: 1.3rem; }

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mode {
  background: linear-gradient(135deg,rgba(15,36,22,.9) 0%,rgba(10,26,15,.95) 100%);
  border: 1px solid rgba(74,222,128,.1); border-radius: 16px; padding: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.mode:hover { border-color: rgba(74,222,128,.25); box-shadow: 0 0 20px rgba(74,222,128,.06); }
.mode-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  flex-wrap: wrap;
}
.mode-name { font-weight: 800; font-size: 1rem; }
.mode-tag {
  font-size: .72rem; font-weight: 700; padding: 2px 8px;
  border-radius: 6px; background: var(--accent-dim);
  color: var(--accent); letter-spacing: .3px;
}
.mode p { color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature {
  background: linear-gradient(135deg,rgba(15,36,22,.9) 0%,rgba(10,26,15,.95) 100%);
  border: 1px solid rgba(74,222,128,.1); border-radius: 16px; padding: 28px 22px;
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature h3 { font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ===== Co-op Steps ===== */
.coop-steps {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 600px; margin: 0 auto;
}
.coop-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(135deg,rgba(15,36,22,.9) 0%,rgba(10,26,15,.95) 100%);
  border: 1px solid rgba(74,222,128,.1); border-radius: 16px; padding: 20px 24px;
}
.coop-num {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-dim); color: var(--accent);
  font-weight: 900; font-size: 1rem;
}
.coop-step h3 { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.coop-step p { color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: linear-gradient(135deg,rgba(15,36,22,.9) 0%,rgba(10,26,15,.95) 100%);
  border: 1px solid rgba(74,222,128,.1); border-radius: 16px; overflow: hidden;
}
.faq-item[open] { border-color: rgba(74,222,128,.25); }
.faq-q {
  padding: 18px 24px; font-weight: 700; font-size: .95rem;
  cursor: pointer; list-style: none; display: flex;
  align-items: center; justify-content: space-between;
  transition: color .2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; font-size: 1.3rem; font-weight: 300;
  color: var(--accent); flex-shrink: 0; margin-left: 16px;
  transition: transform .2s;
}
.faq-item[open] .faq-q::after { content: '\2212'; }
.faq-item[open] .faq-q { color: var(--accent); }
.faq-a {
  padding: 0 24px 18px; color: var(--muted); font-size: .9rem; line-height: 1.6;
}
.faq-a p { margin: 0; }
.faq-a code {
  background: rgba(74,222,128,.06); border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 5px; font-size: .85em;
  font-family: 'SFMono-Regular', Consolas, monospace; color: var(--accent);
}

/* ===== CTA ===== */
.cta-section {
  text-align: center; padding: 80px 24px;
  background: radial-gradient(ellipse at 50% 80%, rgba(74,222,128,.04) 0%, transparent 60%);
}
.cta-title { font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 12px; }
.cta-sub { color: var(--muted); margin-bottom: 28px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { border-top: 1px solid rgba(74,222,128,.06); padding: 40px 24px; text-align: center; }
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-brand { font-weight: 900; letter-spacing: 3px; color: var(--accent); font-size: 1rem; display: block; margin-bottom: 14px; text-shadow: 0 0 16px rgba(74,222,128,.2); }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 14px; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: .9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--muted); font-size: .8rem; opacity: .7; }

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .nav-bar { padding: 12px 16px; }
  .nav-right { gap: 10px; }
  .nav-link-text { font-size: .8rem; }
  .hero { padding: 80px 16px 40px; }
  .hero-highlights { flex-direction: column; align-items: center; gap: 8px; }
  .section, .section-alt { padding: 60px 16px; }
  .steps, .features, .modes, .setup-methods { grid-template-columns: 1fr; }
  .coop-step { padding: 16px; }
  .faq-q { padding: 14px 18px; font-size: .9rem; }
  .faq-a { padding: 0 18px 14px; }
}
