/* ══════════════════════════════════════════════
   SECOND STEP — Shared Stylesheet (Terminal)
   getsecondstep.com
══════════════════════════════════════════════ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --o:   #E87811;
  --o2:  #FF9A3C;
  --bg:  #0D0D0D;
  --s1:  #141414;
  --s2:  #1C1C1C;
  --s3:  #252525;
  --b:   rgba(255,255,255,0.06);
  --b2:  rgba(255,255,255,0.10);
  --t1:  #F2F2F2;
  --t2:  #909090;
  --t3:  #484848;
  --max: 1160px;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', -apple-system, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--t1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.w { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--s3); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px; border-bottom: 1px solid var(--b);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(13,13,13,0.85);
}
.nav-i {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.nav-logo {
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  color: var(--t1); display: flex; align-items: center; gap: 8px;
}
.nav-logo .cursor {
  display: inline-block; width: 8px; height: 15px;
  background: var(--o); animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13px; color: var(--t2); padding: 6px 12px;
  border-radius: 6px; font-family: var(--mono);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--t1); background: var(--s2); }
.nav-links a.active { color: var(--t1); }
.nav-cta {
  font-size: 13px; font-weight: 600; font-family: var(--mono);
  padding: 8px 18px; background: var(--o); color: #000;
  border-radius: 6px; transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--o2); transform: translateY(-1px); }

/* ── SECTION ── */
section { padding: 96px 0; }
.sec-alt { background: var(--s1); }
hr.div { border: none; border-top: 1px solid var(--b); }

/* ── SECTION HEADER ── */
.sh { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.sh-label {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--o); margin-bottom: 12px;
}
.sh h2 { font-size: clamp(24px,3.5vw,40px); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; }
.sh p { font-size: 16px; color: var(--t2); line-height: 1.7; }
.sh a.more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; color: var(--o);
  margin-top: 16px; transition: gap .2s;
}
.sh a.more:hover { gap: 10px; }
.sh a.more svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── BUTTONS ── */
.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; font-family: var(--mono);
  padding: 12px 24px; background: var(--o); color: #000;
  border-radius: 6px; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn-p:hover { background: var(--o2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,120,17,.3); }
.btn-p svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.btn-g {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; font-family: var(--mono);
  padding: 12px 24px; border: 1px solid var(--b2); color: var(--t2);
  border-radius: 6px; cursor: pointer;
  transition: color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn-g:hover { color: var(--t1); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 130px 0 72px;
  border-bottom: 1px solid var(--b);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 500px at 20% 50%, rgba(232,120,17,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.page-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--o); border: 1px solid rgba(232,120,17,0.3);
  padding: 5px 12px; border-radius: 4px; margin-bottom: 24px;
  background: rgba(232,120,17,0.06);
}
.page-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--o); }
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 900;
  letter-spacing: -.04em; line-height: 1.05; margin-bottom: 18px;
}
.page-hero h1 .comment {
  display: block; font-family: var(--mono); font-size: 13px;
  font-weight: 400; color: var(--t3); letter-spacing: 0; margin-bottom: 8px;
}
.page-hero p { font-size: 17px; color: var(--t2); line-height: 1.75; }

/* ── STATS ── */
.stats { border-top: 1px solid var(--b); border-bottom: 1px solid var(--b); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 36px; border-right: 1px solid var(--b); transition: background .2s; }
.stat:last-child { border-right: none; }
.stat:hover { background: var(--s1); }
.stat-n { font-size: clamp(32px,4vw,52px); font-weight: 900; letter-spacing: -.045em; line-height: 1; margin-bottom: 8px; }
.stat-n em { font-style: normal; color: var(--o); }
.stat-l { font-size: 13px; color: var(--t2); line-height: 1.5; }

/* ── MARQUEE ── */
.logos { padding: 36px 0; border-top: 1px solid var(--b); border-bottom: 1px solid var(--b); overflow: hidden; background: var(--s1); }
.logos-label { text-align: center; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); margin-bottom: 20px; }
.marquee-wrap { overflow: hidden; }
.marquee { display: flex; gap: 56px; align-items: center; animation: marquee 22s linear infinite; width: max-content; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.m-item { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--t3); white-space: nowrap; }

/* ── CARD BASE ── */
.card {
  background: var(--s1); border: 1px solid var(--b);
  border-radius: 12px; padding: 24px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(232,120,17,.2); transform: translateY(-2px); }
.card-label {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--t3); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.card-label::before { content: ''; width: 20px; height: 1px; background: var(--t3); }

/* ── TERMINAL CARD ── */
.term-card { background: var(--s1); border: 1px solid var(--b); border-radius: 12px; overflow: hidden; position: relative; }
.term-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(232,120,17,.6),transparent); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--s2); border-bottom: 1px solid var(--b); }
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-title { font-family: var(--mono); font-size: 11px; color: var(--t3); margin-left: 4px; }
.term-body { padding: 20px; }

/* ── ICON BOX ── */
.icon-box {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--s3); border: 1px solid var(--b2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { width: 17px; height: 17px; stroke: var(--o); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── TAGS ── */
.tag {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  padding: 3px 9px; border-radius: 4px;
  background: var(--s3); color: var(--t2);
  border: 1px solid var(--b);
}
.tag-o {
  font-family: var(--mono); font-size: 10px;
  padding: 3px 9px; border-radius: 4px;
  background: rgba(232,120,17,.08); color: var(--o);
  border: 1px solid rgba(232,120,17,.2);
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ── PAIN LIST ── */
.pain-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--b); }
.pain-item:first-child { border-top: 1px solid var(--b); }
.pain-n { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--t3); flex-shrink: 0; padding-top: 2px; }
.pain-c h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.01em; }
.pain-c p { font-size: 13px; color: var(--t2); line-height: 1.6; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--b); }
.faq-item:first-child { border-top: 1px solid var(--b); }
.faq-q {
  width: 100%; padding: 18px 0; text-align: left;
  font-size: 14px; font-weight: 600; color: var(--t1);
  letter-spacing: -.01em; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.faq-q svg { width: 15px; height: 15px; flex-shrink: 0; stroke: var(--t3); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); stroke: var(--o); }
.faq-item.open .faq-q { color: var(--o); }
.faq-a { font-size: 13px; color: var(--t2); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 280px; padding-bottom: 18px; }

/* ── CTA SECTION ── */
.cta-section { padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(232,120,17,.07) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { font-size: clamp(28px,4.5vw,54px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 16px; }
.cta-section h2 em { font-style: normal; color: var(--o); }
.cta-section p { font-size: 16px; color: var(--t2); margin-bottom: 40px; max-width: 420px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 460px; margin: 0 auto 40px; }
.cta-form input { flex: 1; min-width: 220px; padding: 13px 16px; background: var(--s1); border: 1px solid var(--b2); border-radius: 8px; font-size: 14px; font-family: var(--mono); color: var(--t1); outline: none; transition: border-color .2s; }
.cta-form input::placeholder { color: var(--t3); }
.cta-form input:focus { border-color: rgba(232,120,17,.4); }
.cta-note { font-family: var(--mono); font-size: 11px; color: var(--t3); margin-top: -24px; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 48px; }
.trust-item { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--t3); }
.trust-item svg { width: 13px; height: 13px; stroke: var(--o); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--b); padding: 40px 0 32px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo { font-family: var(--mono); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.footer-logo .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--o); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-family: var(--mono); font-size: 12px; color: var(--t3); transition: color .2s; }
.footer-links a:hover { color: var(--t2); }
.footer-copy { font-family: var(--mono); font-size: 11px; color: var(--t3); }

/* ── STEP LIST ── */
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--b); }
.step:last-child { border-bottom: none; }
.step-n { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--t3); flex-shrink: 0; padding-top: 2px; }
.step-c h4 { font-size: 14px; font-weight: 700; margin-bottom: 5px; letter-spacing: -.01em; }
.step-c p { font-size: 13px; color: var(--t2); line-height: 1.6; }

/* ── QUOTE BLOCK ── */
.quote-block {
  background: var(--s1); border: 1px solid var(--b);
  border-left: 3px solid var(--o);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px; margin-top: 24px;
}
.quote-block p { font-size: 15px; font-style: italic; color: var(--t2); line-height: 1.6; margin-bottom: 10px; }
.quote-author { font-size: 12px; color: var(--t3); font-style: normal; font-family: var(--mono); }

/* ── VS CARD ── */
.vs-card { background: var(--s2); border: 1px solid var(--b); border-radius: 14px; padding: 28px; position: relative; overflow: hidden; }
.vs-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(232,120,17,.5),transparent); }
.vs-heads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.vs-head { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 6px; text-align: center; }
.vs-head.bad { color: var(--t3); background: rgba(255,255,255,.03); border: 1px solid var(--b); }
.vs-head.good { color: var(--o); background: rgba(232,120,17,.08); border: 1px solid rgba(232,120,17,.2); }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--b); }
.vs-row:last-child { border-bottom: none; }
.vs-cell { font-size: 12px; color: var(--t2); display: flex; align-items: flex-start; gap: 6px; line-height: 1.5; }
.vs-cell.bad { color: var(--t3); }
.vs-cell.good { color: var(--t1); }

/* ── FADE UP ── */
.fu { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fu.in { opacity: 1; transform: translateY(0); }
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .sh { grid-template-columns: 1fr; gap: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--b); }
  .stat:last-child { border-bottom: none; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .w { padding: 0 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .cta-form input { min-width: unset; }
}
