/* ================================================================
   ShellPoint — Showcase Page Stylesheet
   Design: dark bg, red/magenta accent (#E51261), terminal green
   ================================================================ */

:root {
  --bg:           #0b0c0f;
  --bg-alt:       #0f1014;
  --surface:      #14161b;
  --border:       rgba(255,255,255,0.07);
  --accent:       #E51261;
  --accent-dim:   rgba(229,18,97,0.18);
  --accent-glow:  rgba(229,18,97,0.35);
  --green:        #39d353;
  --green-dim:    rgba(57,211,83,0.15);
  --text:         #e2e8f0;
  --text-dim:     #6b7280;
  --text-muted:   #374151;
  --mono:         'JetBrains Mono', 'Courier New', monospace;
  --sans:         'Inter', system-ui, sans-serif;
  --radius:       10px;
  --radius-lg:    16px;
  --ease:         cubic-bezier(.4,0,.2,1);
  --transition:   all .25s var(--ease);
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; background: var(--bg); }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
code {
  font-family: var(--mono);
  font-size: .82em;
  background: rgba(229,18,97,.12);
  color: var(--accent);
  padding: .15em .45em;
  border-radius: 4px;
}
img { display: block; }

/* ── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2d35; border-radius: 3px; }

/* ── Container ──────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .875rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: .8rem 1.8rem; font-size: .95rem; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #c4104f;
  border-color: #c4104f;
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.25);
  color: #fff;
  background: rgba(255,255,255,.04);
  transform: translateY(-1px);
}

/* ── Navbar ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(11,12,15,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.nav-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.nav-logo { width: 32px; height: 32px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-title { font-weight: 700; font-size: 1rem; color: #fff; letter-spacing: -.01em; }
.nav-sub { font-size: .65rem; color: var(--accent); font-weight: 500; letter-spacing: .03em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: .4rem .85rem;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.nav-cta { margin-left: 1rem; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 130px 2rem 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229,18,97,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,18,97,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.g1 {
  width: 600px; height: 600px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(229,18,97,.22) 0%, transparent 70%);
  animation: pulse1 8s ease-in-out infinite alternate;
}
.g2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(57,211,83,.08) 0%, transparent 70%);
}
.g3 {
  width: 300px; height: 300px;
  top: 20%; right: -50px;
  background: radial-gradient(circle, rgba(229,18,97,.1) 0%, transparent 70%);
}
@keyframes pulse1 {
  from { opacity: .8; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;  transform: translateX(-50%) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(229,18,97,.12);
  border: 1px solid rgba(229,18,97,.3);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 99px;
  margin-bottom: 2.2rem;
  animation: fadeDown .7s var(--ease) both;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

.hero-logo-wrap {
  margin-bottom: 1.5rem;
  animation: fadeDown .7s .1s var(--ease) both;
}
.hero-logo {
  width: 96px; height: 96px;
  object-fit: contain;
  transition: transform .3s var(--ease);
}
.hero-logo:hover {
  transform: scale(1.05);
}

.hero-title {
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 1rem;
  animation: fadeUp .7s .15s var(--ease) both;
}
.accent { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(.9rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp .7s .2s var(--ease) both;
}

.hero-desc {
  font-size: 1.05rem;
  color: #9ca3af;
  max-width: 640px;
  margin-bottom: 2.4rem;
  animation: fadeUp .7s .25s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeUp .7s .3s var(--ease) both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .7s .35s var(--ease) both;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.stat-val { font-size: 1.1rem; font-weight: 700; color: #fff; }
.stat-lbl { font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.stat-div { width: 1px; height: 32px; background: var(--border); }

/* Terminal mockup */
.terminal-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  margin: 4rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(229,18,97,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04), 0 0 60px rgba(229,18,97,.08);
  animation: fadeUp .8s .5s var(--ease) both;
}
.term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1c22;
  padding: .6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.term-dots { display: flex; gap: .45rem; }
.tdot { display: block; width: 12px; height: 12px; border-radius: 50%; }
.tdot.red    { background: #ff5f57; }
.tdot.yellow { background: #febc2e; }
.tdot.green  { background: #28c840; }
.term-title-bar {
  font-family: var(--mono);
  font-size: .72rem;
  color: #6b7280;
  letter-spacing: .04em;
}
.term-body {
  background: #0d0f13;
  padding: 1.2rem 1.4rem;
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.7;
  min-height: 160px;
}
.tline { margin: .1rem 0; }
.tprompt { color: var(--accent); font-weight: 600; }
.tcmd { color: #e2e8f0; }
.toutput { margin: .3rem 0 .6rem 0; padding-left: .5rem; border-left: 2px solid rgba(57,211,83,.3); }
.toutput p { margin: .05rem 0; }
.tdim { color: #4b5563; }
.tgreen { color: var(--green); }
.tcursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.sec-header { text-align: center; margin-bottom: 4rem; }
.sec-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(229,18,97,.25);
  padding: .3rem .9rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.sec-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: .75rem;
}
.sec-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Feature Cards ──────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feat-wide { grid-column: 1 / -1; }

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.feat-card:hover {
  border-color: rgba(229,18,97,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 30px rgba(229,18,97,.08);
}
.feat-card:hover::before { opacity: 1; }

.feat-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(229,18,97,.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .55rem;
  position: relative; z-index: 1;
}
.feat-card p {
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.6;
  position: relative; z-index: 1;
}
.feat-wide { display: flex; align-items: center; gap: 1.5rem; }
.feat-wide .feat-icon { flex-shrink: 0; }
.feat-wide h3 { margin-bottom: .4rem; }

/* ── Steps ──────────────────────────────────────────────────────── */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: var(--transition);
}
.step:hover {
  border-color: rgba(229,18,97,.3);
  transform: translateY(-2px);
}
.step-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: .5;
  margin-bottom: .6rem;
  line-height: 1;
}
.step h3 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.step p  { font-size: .85rem; color: var(--text-dim); }
.step-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  padding-top: 2.4rem;
  flex-shrink: 0;
}

/* Shortcuts */
.shortcuts-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
}
.shortcuts-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.4rem;
}
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
}
.shortcut {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem 1rem;
}
.shortcut span { font-size: .85rem; color: var(--text-dim); }

/* ── Timeline ───────────────────────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: .3;
}
.tl-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}
.tl-dot {
  position: absolute;
  left: -2.35rem;
  top: 1.1rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  border: 2px solid var(--bg);
  transition: var(--transition);
}
.tl-dot--current {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.tl-item:hover .tl-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }

.tl-badge {
  display: inline-flex;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(229,18,97,.3);
  padding: .2rem .65rem;
  border-radius: 99px;
  margin-bottom: .5rem;
}
.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  transition: var(--transition);
}
.tl-item:hover .tl-card { border-color: rgba(229,18,97,.25); }

.tl-meta {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .9rem;
}
.tl-ver {
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
}
.tl-date { font-size: .8rem; color: var(--text-dim); }

.tl-list { padding-left: .1rem; }
.tl-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: .88rem;
  color: var(--text-dim);
  margin-bottom: .4rem;
  line-height: 1.5;
}
.tl-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Tech Grid ──────────────────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: var(--transition);
  cursor: default;
}
.tech-card:hover {
  border-color: rgba(229,18,97,.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.tech-name {
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
}
.tech-role { font-size: .8rem; color: var(--text-dim); }

/* ── CTA Section ────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
  background: var(--bg);
}
.cta-glow {
  position: absolute;
  width: 700px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(229,18,97,.18) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.cta-inner { position: relative; z-index: 1; }
.cta-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-desc { font-size: 1.05rem; color: var(--text-dim); margin-bottom: 2.2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: #080a0d;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-logo { width: 28px; height: 28px; object-fit: contain; }
.footer-name { font-weight: 700; font-size: .95rem; color: #fff; }
.footer-tagline { font-size: .72rem; color: var(--accent); }

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .85rem;
  color: var(--text-dim);
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .78rem; color: var(--text-muted); }

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 110px 1.2rem 60px; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; }
  .feat-wide { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
