/* ══════════════════════════════════════════════
   Every1Tech.com - Shared Styles
   ══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&family=Azeret+Mono:wght@400;600;700&display=swap');

:root {
  --accent: #00F0FF;
  --accent-alt: #7B61FF;
  --cta: #FF0066;
  --dark: #0A0A0F;
  --dark-card: #12121A;
  --dark-border: #1E1E2A;
  --dark-border-hover: rgba(0,240,255,0.3);
  --text: #E8E8ED;
  --text-muted: #8888A0;
  --green: #00FF88;
  --mono: 'Azeret Mono', monospace;
  --sans: 'DM Sans', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
}
.nav-logo {
  font-family: var(--mono);
  font-size: 18px; font-weight: 700; color: #fff;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 6px; }
.nav-btn {
  background: transparent; border: 1px solid transparent;
  color: var(--text-muted); padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-family: var(--mono);
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.3px;
  text-decoration: none; display: inline-block;
}
.nav-btn:hover { color: var(--accent); }
.nav-btn.active {
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.2);
  color: var(--accent);
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-block;
  padding: 14px 32px; border: none; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  font-family: var(--mono); letter-spacing: 0.3px;
  cursor: pointer; transition: all 0.3s; text-transform: uppercase;
  text-decoration: none; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: var(--dark); box-shadow: 0 0 30px rgba(0,240,255,0.25);
}
.btn-primary:hover { box-shadow: 0 0 40px rgba(0,240,255,0.45); }
.btn-secondary {
  background: transparent; color: var(--accent);
  border: 1px solid rgba(0,240,255,0.4);
}
.btn-secondary:hover { background: rgba(0,240,255,0.06); }
.btn-cta {
  background: var(--cta); color: #fff;
  box-shadow: 0 0 25px rgba(255,0,102,0.25);
  font-size: 13px; padding: 12px 28px;
}
.btn-cta:hover { box-shadow: 0 0 40px rgba(255,0,102,0.4); }
.btn-ghost {
  background: transparent; color: var(--accent);
  border: none; padding: 0;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px; cursor: pointer; transition: all 0.2s;
  text-transform: uppercase;
}
.btn-ghost:hover { letter-spacing: 1.5px; }

/* ═══ LAYOUT ═══ */
.section { padding: 80px 20px; max-width: 1100px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: #fff; margin-top: 0; }
.label {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  border: 1px solid rgba(0,240,255,0.3); color: var(--accent);
  font-size: 11px; font-family: var(--mono);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px;
}

/* Page layout */
.pg { padding: 120px 20px 80px; max-width: 900px; margin: 0 auto; }
.pg-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: #fff; margin: 0 0 16px; }
.pg-sub { font-size: 17px; color: var(--text-muted); max-width: 620px; line-height: 1.7; margin: 0 0 60px; }
.back-btn {
  background: none; border: none; color: var(--accent);
  font-family: var(--mono); font-size: 13px;
  cursor: pointer; margin-bottom: 40px; letter-spacing: 1px;
  padding: 0; display: block; text-decoration: none;
}
.back-btn:hover { text-decoration: underline; }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 80px 20px 60px; position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-glow {
  position: absolute; top: 10%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,240,255,0.12), rgba(123,97,255,0.06), transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 100px;
  background: rgba(0,240,255,0.06); border: 1px solid rgba(0,240,255,0.2);
  color: var(--accent); font-size: 13px;
  font-family: var(--mono); letter-spacing: 1.5px; margin-bottom: 32px;
  animation: fadeDown 0.8s ease both;
}
.hero h1 {
  font-size: clamp(36px, 6.5vw, 68px);
  font-weight: 800; line-height: 1.08; color: #fff; margin-bottom: 24px;
  animation: fadeDown 0.8s ease 0.1s both;
}
.grad {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--text-muted);
  max-width: 580px; margin: 0 auto 48px; line-height: 1.7;
  animation: fadeDown 0.8s ease 0.2s both;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeDown 0.8s ease 0.3s both;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ CARDS ═══ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 16px; padding: 40px 32px; transition: all 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--dark-border-hover); }
.card-icon-box {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid; margin-bottom: 20px;
}
.card h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ═══ CREDIBILITY / TRUST ═══ */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.trust-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 24px; border-radius: 12px;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  transition: border-color 0.3s;
}
.trust-item:hover { border-color: var(--dark-border-hover); }
.trust-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.trust-item h4 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.trust-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ═══ EMAIL ═══ */
.email-section { max-width: 700px; text-align: center; }
.email-box {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 20px; padding: 60px 40px;
  position: relative; overflow: hidden;
}
.email-line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-alt), transparent);
}
.email-box h2 { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.email-box > p { color: var(--text-muted); font-size: 15px; margin: 0 0 32px; line-height: 1.6; }
.email-form {
  display: flex; gap: 12px; max-width: 480px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.email-input {
  flex: 1; min-width: 220px; padding: 14px 20px; border-radius: 8px;
  border: 1px solid var(--dark-border); background: var(--dark);
  color: #fff; font-size: 15px; font-family: var(--mono);
  outline: none; transition: border-color 0.2s;
}
.email-input:focus { border-color: var(--accent); }
.subscribed-msg {
  padding: 16px 24px; border-radius: 10px;
  background: rgba(0,240,255,0.08); border: 1px solid rgba(0,240,255,0.3);
  color: var(--accent); font-family: var(--mono); font-size: 14px;
  display: none;
}
.subscribed-msg.show { display: block; }
.email-form.hidden { display: none; }

/* ═══ COMPARISON TABLE ═══ */
.comparison-wrap {
  overflow-x: auto; margin-bottom: 60px;
  border-radius: 16px; border: 1px solid var(--dark-border);
}
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; min-width: 600px;
}
.comparison-table thead th {
  background: rgba(0,240,255,0.06);
  color: var(--accent); font-family: var(--mono);
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid var(--dark-border);
}
.comparison-table tbody td {
  padding: 16px 20px; border-bottom: 1px solid var(--dark-border);
  color: var(--text); vertical-align: middle;
}
.comparison-table tbody tr { background: var(--dark-card); transition: background 0.2s; }
.comparison-table tbody tr:hover { background: rgba(0,240,255,0.03); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.table-price { color: var(--accent); font-weight: 600; font-family: var(--mono); font-size: 13px; }
.table-level {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-family: var(--mono); letter-spacing: 0.5px;
}
.level-beginner { background: rgba(0,255,136,0.1); color: var(--green); }
.level-intermediate { background: rgba(123,97,255,0.1); color: var(--accent-alt); }

/* ═══ TOOL CARDS ═══ */
.tools-list { display: flex; flex-direction: column; gap: 24px; }
.tool {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 16px; padding: 36px 32px;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.tool:hover { border-color: var(--dark-border-hover); }
.tool-rank {
  position: absolute; top: 16px; right: 24px;
  font-family: var(--mono); font-size: 52px; font-weight: 800;
  color: rgba(0,240,255,0.07); line-height: 1;
}
.tool-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.tool-icon { display: flex; align-items: center; }
.tool-name { font-size: 22px; font-weight: 700; color: #fff; }
.tool-tag {
  font-size: 10px; font-family: var(--mono);
  padding: 4px 12px; border-radius: 100px;
  background: rgba(0,240,255,0.08); color: var(--accent); letter-spacing: 1px;
}
.tool-reason {
  font-size: 13px; color: var(--green); font-family: var(--mono);
  margin-bottom: 16px; letter-spacing: 0.3px;
}
.tool-desc { color: var(--text); font-size: 15px; line-height: 1.7; margin: 0 0 20px; max-width: 85%; }
.tool-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; max-width: 500px; }
.meta-label {
  font-size: 11px; color: var(--text-muted);
  font-family: var(--mono); letter-spacing: 1px; margin-bottom: 4px;
}
.meta-val { font-size: 14px; color: var(--text); }
.meta-price { color: var(--accent); font-weight: 600; }

/* ═══ AFFILIATE DISCLOSURE ═══ */
.disclosure {
  padding: 16px 24px; border-radius: 10px;
  background: rgba(123,97,255,0.06); border: 1px solid rgba(123,97,255,0.2);
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 40px;
}
.disclosure strong { color: var(--text); }

/* ═══ TIMELINE ═══ */
.timeline { position: relative; display: flex; flex-direction: column; gap: 32px; }
.timeline-line {
  position: absolute; left: 31px; top: 50px; bottom: 50px; width: 2px;
  background: linear-gradient(to bottom,
    rgba(0,240,255,0.3), rgba(123,97,255,0.3),
    rgba(255,0,102,0.3), rgba(0,255,136,0.3));
}
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start; }
.tl-step {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 18px; font-weight: 700;
  position: relative; z-index: 1; flex-shrink: 0;
}
.tl-card {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 16px; padding: 32px; transition: all 0.3s;
}
.tl-card:hover { border-color: var(--dark-border-hover); }
.tl-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.tl-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0 0 16px; }
.tl-card p:last-child { margin-bottom: 0; }
.start-cta { text-align: center; margin-top: 60px; }
.start-cta p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }

/* ═══ REPLACED TOOLS ═══ */
.replaced-list { display: flex; flex-direction: column; gap: 28px; }
.replaced-card {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 16px; padding: 36px 32px; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.replaced-card:hover { border-color: var(--dark-border-hover); }
.replaced-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.replaced-old {
  font-size: 15px; color: var(--cta); font-weight: 600;
  text-decoration: line-through; text-decoration-color: rgba(255,0,102,0.5);
}
.replaced-arrow { color: var(--text-muted); font-family: var(--mono); font-size: 14px; }
.replaced-new { font-size: 15px; color: var(--green); font-weight: 600; }
.replaced-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.replaced-why { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0 0 16px; }
.replaced-savings {
  display: inline-block; padding: 6px 14px; border-radius: 8px;
  background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.2);
  font-family: var(--mono); font-size: 13px; color: var(--green); font-weight: 600;
}

/* ═══ FOOTER ═══ */
.footer {
  padding: 40px 20px; text-align: center;
  border-top: 1px solid var(--dark-border);
}
.footer p {
  color: var(--text-muted); font-size: 13px;
  font-family: var(--mono); margin: 0;
}

/* ═══ MOBILE ═══ */
@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .nav-links { gap: 2px; }
  .nav-btn { padding: 6px 8px; font-size: 10px; letter-spacing: 0; }
  .email-box { padding: 40px 20px; }
  .tool { padding: 28px 20px; }
  .tool-meta { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 48px 1fr; gap: 16px; }
  .tl-step { width: 48px; height: 48px; font-size: 14px; border-radius: 12px; }
  .timeline-line { left: 23px; }
  .trust-grid { grid-template-columns: 1fr; }
  .replaced-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}
