/* ============================================================
   TesterApp – Landing Page Styles (landing.css)
   Page-specific styles for index.html only
   ============================================================ */

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 90vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px; border-radius: 50%;
  background: var(--accent-glow-bg);
  pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(66, 133, 244, 0.08);
    border: 1px solid rgba(66, 133, 244, 0.2);
    border-radius: 100px;
    padding: 6px 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 32px;
    animation: fadeUp .6s ease both;
}

.hero-badge::before {
  content: ''; 
  width: 6px; 
  height: 6px; 
  border-radius: 50%;
  background: var(--premium); 
  animation: pulse 1.5s ease-in-out infinite;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -0.04em;
  animation: fadeUp .7s .1s ease both;
}
h1 .accent { color: var(--accent); }
h1 .muted  { color: var(--txt3); }
.hero-sub {
  max-width: 520px; margin: 24px auto 0;
  color: var(--txt2); font-size: 17px; line-height: 1.6;
  animation: fadeUp .7s .2s ease both;
}
.hero-actions {
  display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .7s .3s ease both;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
  width: 100%;
  max-width: 960px;
  animation: fadeUp .7s .4s ease both;
}

.hero-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.hero-stat:hover {
  border-color: rgba(66, 133, 244, 0.3);
  background: var(--bg3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-stat .val {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--txt);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat .val span {
  color: var(--accent);
  text-shadow: 0 0 15px var(--accent-glow);
}

.hero-stat .lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--txt3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .mobile-break {
        display: inline;
    }
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 12px;
    margin-top: 48px;
    padding: 0px;
  }
  .hero-stat {
    padding: 20px 12px;
  }
  .hero-stat .val { font-size: 28px; }
  .hero-stat .lbl { font-size: 9px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 10px; }
  .hero-stat .val { font-size: 24px; }
}

/* ── PROBLEM SECTION ─────────────────────────────────────────── */
#problem { background: var(--bg2); }
.problem-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 48px;
}
.problem-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r2);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.problem-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.problem-card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,77,109,0.1); border: 1px solid rgba(255,77,109,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 16px;
}
.problem-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.problem-card p  { font-size: 13px; color: var(--txt2); line-height: 1.6; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
#how { background: var(--bg); }
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 60px; position: relative; }
.steps::before {
  content: ''; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 1px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--border) 80%);
}
.step { display: flex; gap: 28px; align-items: flex-start; padding: 0 0 48px; }
.step-num {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--border2); background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  position: relative; z-index: 1;
}
.step.active .step-num {
  background: var(--accent); color: #000; border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.step-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; padding-top: 12px; }
.step-body p  { color: var(--txt2); font-size: 14px; max-width: 480px; }
.step-tag {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent); background: var(--accent-dim);
  padding: 4px 12px; border-radius: 100px;
}

/* ── FEATURES GRID ───────────────────────────────────────────── */
#features { background: var(--bg2); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: .5rem; margin-top: 52px;
  border: 1px solid transparent; border-radius: var(--r2); overflow: hidden;
}

.feat-card {
  background: var(--bg3); padding: 32px 28px;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.feat-card:hover { background: var(--surface); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: var(--accent-dim); border: 1px solid rgba(0,229,160,0.15);
}
.feat-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feat-card p  { font-size: 13px; color: var(--txt2); line-height: 1.6; }

/* ── DASHBOARD MOCKUP ────────────────────────────────────────── */
#dashboard { background: var(--bg); overflow: hidden; }
.dash-wrap {
  margin-top: 60px;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 20px; padding: 28px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px var(--border);
}
.dash-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.dash-dot { width: 12px; height: 12px; border-radius: 50%; }
.d1{background:#ff5f57} .d2{background:#febc2e} .d3{background:#28c840}
.dash-title { font-family: var(--font-mono); font-size: 12px; color: var(--txt3); margin-left: 8px; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }

@media (max-width: 900px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-wrap { padding: 16px; }
}
.dash-main { display: flex; flex-direction: column; gap: 16px; }
.dash-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.dash-card-label { font-family: var(--font-mono); font-size: 11px; color: var(--txt3); margin-bottom: 8px; letter-spacing: 0.08em; }
.progress-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.progress-label .app-name { font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.progress-label .pct { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.tester-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
.tester-info { flex: 1; }
.tester-name { font-size: 13px; font-weight: 500; }
.tester-meta { font-size: 11px; color: var(--txt3); font-family: var(--font-mono); }
.tester-status { font-family: var(--font-mono); font-size: 10px; color: var(--accent); background: var(--accent-dim); padding: 2px 8px; border-radius: 100px; }
.dash-side { display: flex; flex-direction: column; gap: 16px; }
.stat-mini { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.stat-mini .big { font-family: var(--font-head); font-size: 36px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.stat-mini .lbl { font-size: 12px; color: var(--txt3); }
.stat-mini .trend { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-top: 8px; }

@media (max-width: 480px) {
  .stat-mini .big { font-size: 28px; }
  .stat-mini .lbl { font-size: 10px; }
}
.day-dots { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 12px; }
.day-dot { width: 14px; height: 14px; border-radius: 4px; }
.day-progress-grid { display: flex; gap: 3px; flex-wrap: wrap; }
.day-box { width: 12px; height: 12px; border-radius: 2px; background: var(--border); }
.day-box.green { background: var(--accent); }
.day-box.yellow-green { background: #88d66c; }
.day-box.red-green { background: #ff9d23; }
.day-box.red { background: var(--red); }
.day-box.empty { background: rgba(255,255,255,0.05); }

@media (max-width: 480px) {
  .day-dot { width: 10px; height: 10px; }
  .day-progress-grid { gap: 2px; }
  .day-box { width: 10px; height: 10px; }
}

/* ── LIVE FEED SECTION ───────────────────────────────────────── */
#feed { background: var(--bg2); }
.feed-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.feed-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px;
  animation: slideIn .4s ease both;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .feed-item { padding: 12px; gap: 12px; }
  .feed-time { font-size: 10px; width: 100%; margin-top: 4px; }
}
.feed-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.feed-text { flex: 1; font-size: 13px; word-break: break-word; }
.feed-text strong { color: var(--txt); font-weight: 600; }
.feed-text span   { color: var(--txt2); }
.feed-time { font-family: var(--font-mono); font-size: 11px; color: var(--txt3); white-space: nowrap; }

/* ── INCENTIVES / GAMIFICATION ───────────────────────────────── */
#incentives { background: var(--bg); }
.incentive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.incentive-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r2); padding: 32px;
  position: relative; overflow: hidden; transition: border-color .2s;
}
.incentive-card:hover { border-color: rgba(66, 133, 244, 0.3); }
.incentive-card::before {
  content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  border-radius: 50%; transform: translate(40px,-40px);
}
.incentive-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.incentive-card p  { font-size: 13px; color: var(--txt2); line-height: 1.6; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ── PRICING ─────────────────────────────────────────────────── */
#pricing { background: var(--bg2); }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 52px; }
.price-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 20px; padding: 36px 28px;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: rgba(0,229,160,0.3);
  background: linear-gradient(135deg, rgba(0,229,160,0.04), var(--bg3));
  box-shadow: 0 0 40px rgba(0,229,160,0.08);
}
.price-tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; padding: 4px 12px; border-radius: 100px; margin-bottom: 20px; width: fit-content; }
.price-tag.free { background: rgba(255,255,255,0.06); color: var(--txt2); }
.price-tag.pro  { background: var(--accent-dim); color: var(--accent); }
.price-tag.team { background: rgba(245,166,35,0.12); color: var(--warn); }
.price-name   { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.price-amount { font-family: var(--font-head); font-size: 42px; font-weight: 800; line-height: 1; margin: 12px 0; }
.price-amount sup { font-size: 20px; vertical-align: top; margin-top: 8px; }
.price-amount sub { font-size: 14px; color: var(--txt2); font-family: var(--font-body); font-weight: 400; }
.price-desc { font-size: 13px; color: var(--txt2); margin-bottom: 24px; line-height: 1.5; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-features li { font-size: 13px; display: flex; align-items: center; gap: 10px; }
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.price-features li.muted::before { content: '–'; color: var(--txt3); }
.price-features li.muted { color: var(--txt3); }
.price-btn {
  margin-top: 28px; padding: 13px; border-radius: 8px; border: none;
  font-weight: 600; font-size: 14px;
  transition: opacity .2s, transform .15s; cursor: pointer;
}
.price-btn.primary { background: var(--accent); color: #000; }
.price-btn.outline { background: transparent; color: var(--txt); border: 1px solid var(--border2); }
.price-btn:hover   { opacity: .85; transform: translateY(-1px); }

/* ── CTA BAND ────────────────────────────────────────────────── */
#cta {
  background: var(--bg); text-align: center; padding: 100px 24px;
  position: relative; overflow: hidden;
}

#cta::before {
  content: ''; 
  position: absolute; 
  top: 50%; left: 50%; 
  transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: var(--accent-glow-bg););
  pointer-events: none;
}

#cta h2 { font-size: clamp(32px,5vw,56px); margin-bottom: 20px; }
#cta p  { color: var(--txt2); max-width: 440px; margin: 0 auto 36px; font-size: 16px; }
.cta-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.cta-form input {
  flex: 1; min-width: 220px;
  background: var(--bg2); border: 1px solid var(--border2); color: var(--txt);
  padding: 14px 18px; border-radius: 8px; font-size: 14px; font-family: var(--font-body);
  outline: none; transition: border-color .2s;
}
.cta-form input::placeholder { color: var(--txt3); }
.cta-form input:focus { border-color: rgba(0,229,160,0.4); }

/* ── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .dash-grid     { grid-template-columns: 1fr; }
  .incentive-grid{ grid-template-columns: 1fr; }
  .steps::before { left: 26px; }
}