/* ============================================
   DEEDSLICE.COM — v3 Institutional
   Arrived / Stripe aesthetic
   Light, clean, enterprise SaaS
   ============================================ */

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --teal: #0D9488;
  --teal-hover: #0F766E;
  --teal-light: #F0FDFA;
  --teal-dim: rgba(13,148,136,0.06);
  --teal-border: rgba(13,148,136,0.15);
  --indigo: #4F46E5;
  --amber: #F59E0B;
  --red-light: #FEF2F2;
  --red: #EF4444;
  --green: #22C55E;
  
  --white: #FFFFFF;
  --bg: #ECEFF3;
  --bg-light: #F1F4F8;
  --border: #D8DCE3;
  --border-light: #E8EBF0;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.04);
  --shadow: 0 2px 6px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.03);
  --shadow-md: 0 6px 16px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 36px rgba(15,23,42,0.08);
  --shadow-xl: 0 24px 56px rgba(15,23,42,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; font-feature-settings: 'cv01', 'cv02', 'cv03', 'cv11'; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent; transition: border-color var(--transition);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 32px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 28px; width: auto; }
.logo-accent { color: var(--teal); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.84rem; font-weight: 500; color: var(--text-secondary); transition: color var(--transition); letter-spacing: -0.005em; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 1px; transition: var(--transition); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.875rem; border-radius: 10px;
  padding: 12px 24px; transition: all var(--transition); white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-nav { padding: 9px 18px; font-size: 0.8125rem; border-radius: 8px; }
.btn-nav-dark { background: var(--navy); color: var(--white); box-shadow: 0 1px 2px rgba(15,23,42,0.2); }
.btn-nav-dark:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,23,42,0.25); }
.btn-sm { padding: 10px 20px; font-size: 0.8125rem; }
.btn-lg { padding: 15px 32px; font-size: 0.9375rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--teal); color: var(--white); font-weight: 600;
  box-shadow: 0 1px 2px rgba(13,148,136,0.2), 0 0 0 1px rgba(13,148,136,0.1);
}
.btn-primary:hover { background: var(--teal-hover); box-shadow: 0 4px 12px rgba(13,148,136,0.25), 0 0 0 1px rgba(13,148,136,0.15); transform: translateY(-1px); }
.btn-secondary {
  background: var(--white); color: var(--navy); border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: #94A3B8; background: var(--white); box-shadow: var(--shadow); }
.btn-arrow { transition: transform var(--transition); }
.btn-secondary:hover .btn-arrow { transform: translateX(2px); }
.btn-outline { background: var(--white); color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); background: var(--bg); }

/* ===================== HERO ===================== */
.hero {
  padding: 140px 0 88px;
  background:
    radial-gradient(rgba(255,255,255,1) 1.5px, transparent 1.5px),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  background-size: 20px 20px, 100% 100%;
  position: relative;
  overflow: hidden;
}
/* Teal backlight glow behind console */
.hero::before {
  content: "";
  position: absolute;
  right: 6%;
  top: 12%;
  width: 650px;
  height: 650px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.10) 0%,
    rgba(13, 148, 136, 0.05) 35%,
    transparent 65%
  );
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
/* Ultra-subtle diagonal lines */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(15,23,42,0.015) 0px,
    rgba(15,23,42,0.015) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 600; color: var(--teal); margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.025em; color: var(--navy); margin-bottom: 18px;
}
.hero-title-light { color: var(--text-secondary); font-weight: 500; }
.teal { color: var(--teal); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-secondary); max-width: 480px;
  line-height: 1.7; margin-bottom: 32px; font-weight: 400;
}
.hero-content {
  max-width: 600px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Trust chips — enterprise "built with" style */
.hero-trust { margin-top: 36px; }
.hero-trust-text { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; letter-spacing: 0.01em; }
.hero-trust-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; border-radius: 100px;
  background: transparent; border: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition);
}
.trust-chip svg { width: 14px; height: 14px; color: var(--text-muted); }
.trust-chip:hover { border-color: var(--teal-border); color: var(--teal); }

/* ===================== DEVICE MOCKUP ===================== */
.hero-visual { position: relative; }
.mockup-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 140%; height: 140%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(13,148,136,0.22) 0%, rgba(13,148,136,0.10) 30%, rgba(13,148,136,0.03) 55%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.device-mock {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 20px;
  box-shadow:
    0 30px 80px rgba(15,23,42,0.14),
    0 12px 28px rgba(15,23,42,0.07),
    0 4px 8px rgba(15,23,42,0.04),
    0 0 0 1px rgba(15,23,42,0.04);
  overflow: hidden;
}
/* Floating ground shadow under console */
.hero-visual::after {
  content: "";
  position: absolute;
  bottom: -28px;
  left: 10%;
  width: 80%;
  height: 50px;
  background: radial-gradient(ellipse, rgba(15,23,42,0.20), transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.device-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--bg-light); border-bottom: 1px solid var(--border);
}
.device-dots { display: flex; gap: 6px; }
.device-dots span { width: 10px; height: 10px; border-radius: 50%; background: #D1D5DB; }
.device-dots span:first-child { background: #FCA5A5; }
.device-dots span:nth-child(2) { background: #FCD34D; }
.device-dots span:last-child { background: #86EFAC; }
.device-url {
  font-size: 0.72rem; font-weight: 500; color: var(--text-muted); padding: 4px 12px;
  border-radius: 6px; background: var(--white); border: 1px solid var(--border);
  letter-spacing: 0.01em;
}
.device-pill {
  font-size: 0.75rem; font-weight: 700; color: var(--navy); padding: 4px 10px;
  border-radius: 100px; background: var(--teal-dim); border: 1px solid var(--teal-border);
}
.device-spacer { width: 60px; }
.device-screen { padding: 18px; background: var(--white); }
.device-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); background: var(--bg-light);
}
.mini-stat { padding: 12px; text-align: center; }
.mini-stat:not(:last-child) { border-right: 1px solid var(--border); }
.mini-stat-value { font-weight: 700; font-size: 0.875rem; color: var(--navy); letter-spacing: -0.01em; }
.mini-stat-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; }

/* Mock dashboard inside device */
/* Property image in mockup */
.mock-property-img {
  position: relative; border-radius: 8px; overflow: hidden; margin-bottom: 12px;
  aspect-ratio: 16 / 10;
}
.mock-property-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.mock-property-overlay {
  position: absolute; bottom: 8px; left: 8px;
}
.mock-property-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  font-size: 0.6rem; font-weight: 600; color: var(--teal);
}

.mock-dash { font-size: 0.75rem; }
.mock-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.mock-title { font-size: 0.875rem; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.mock-subtitle { font-size: 0.675rem; color: var(--text-muted); margin-top: 2px; }
.mock-val { text-align: right; }
.mock-val-label { font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.mock-val-amount { font-size: 1.1rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mock-card {
  padding: 10px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
}
.mock-card-label { font-size: 0.625rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.mock-card-value { font-size: 0.75rem; font-weight: 700; color: var(--navy); margin-top: 3px; font-family: var(--mono); }
.mock-card-status { font-size: 0.625rem; color: var(--teal); font-weight: 600; margin-top: 2px; }
.mock-chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-section-label { font-size: 0.625rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; margin-bottom: 8px; }
.mock-pie-section { padding: 10px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border); }
.mock-pie-wrap { display: flex; align-items: center; gap: 10px; }
.mock-pie { width: 48px; height: 48px; flex-shrink: 0; }
.mock-pie-legend { font-size: 0.6rem; color: var(--text-secondary); line-height: 1.6; }
.mock-log-section { padding: 10px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border); }
.mock-log-item { font-size: 0.65rem; color: var(--text-secondary); padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.mock-log-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.mock-log-dot.green { background: var(--teal); }
.mock-log-dot.blue { background: var(--indigo); }

/* ===================== NAV CONSOLE LINK ===================== */
.nav-console-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal) !important; font-weight: 600 !important; }
.nav-live-badge {
  display: inline-block; padding: 1px 7px; border-radius: 100px;
  background: var(--teal); color: var(--white);
  font-size: 0.55rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  line-height: 1.5; vertical-align: middle;
}

/* ===================== DEVICE MOCKUP "TRY IT LIVE" OVERLAY ===================== */
.device-mock-link { display: block; text-decoration: none; color: inherit; position: relative; cursor: pointer; }
.device-mock-link::after {
  content: '';
  position: absolute; inset: 0; border-radius: 20px;
  background: rgba(13,148,136,0.0);
  transition: background 0.3s ease;
  z-index: 2; pointer-events: none;
}
.device-mock-link:hover::after { background: rgba(13,148,136,0.06); }
.mockup-try-live {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 22px; border-radius: 100px;
  background: var(--teal); color: var(--white);
  font-size: 0.8rem; font-weight: 700; letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(13,148,136,0.35);
  transition: all var(--transition); text-decoration: none;
}
.mockup-try-live:hover { background: var(--teal-hover); transform: translateX(-50%) translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.4); }

/* ===================== FLOATING CARDS (HERO) ===================== */
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes float-bob-alt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.floating-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 28px rgba(15,23,42,0.10), 0 2px 6px rgba(15,23,42,0.04);
  white-space: nowrap;
  pointer-events: none;
}
.floating-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--teal-light); color: var(--teal); flex-shrink: 0;
}
.floating-card-icon svg { width: 20px; height: 20px; }
.floating-card-text { display: flex; flex-direction: column; gap: 1px; }
.floating-card-label { font-size: 0.6875rem; font-weight: 500; color: #697386; letter-spacing: 0.01em; }
.floating-card-value { font-size: 0.9rem; font-weight: 700; color: #1A1F36; letter-spacing: -0.01em; }

.floating-card-tl {
  top: 4%; left: -28px;
  animation: float-bob 3.6s ease-in-out infinite;
}
.floating-card-mr {
  top: 38%; right: -32px;
  animation: float-bob-alt 3.2s ease-in-out 0.6s infinite;
}
.floating-card-bl {
  bottom: 12%; left: -24px;
  animation: float-bob 4s ease-in-out 1.2s infinite;
}
@media (max-width: 768px) {
  .floating-card { display: none; }
}

/* ===================== HEDERA COUNCIL BAR ===================== */
.council-section {
  background: var(--navy);
  padding: 28px 0 32px;
  overflow: hidden;
}
.council-header {
  text-align: center;
  margin-bottom: 24px;
}
.council-header span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.council-header strong {
  color: rgba(255,255,255,0.65);
  font-weight: 700;
}
.council-track {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent);
}
.council-row {
  display: flex;
  align-items: center;
  gap: 36px;
  animation: council-scroll 35s linear infinite;
  flex-shrink: 0;
  padding-right: 36px;
}
@keyframes council-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.council-logo {
  display: flex; align-items: center; flex-shrink: 0;
  font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em; white-space: nowrap;
  transition: color 0.3s ease;
}
.council-logo:hover { color: rgba(255,255,255,0.7); }
.council-logo svg { height: 22px; width: auto; }
.council-sep {
  color: var(--teal); font-size: 0.45rem; opacity: 0.5; flex-shrink: 0;
}
/* Council logo text variants — mimic brand typography */
.cl-bold { font-weight: 800; letter-spacing: 0.04em; }
.cl-upper { text-transform: uppercase; font-weight: 600; letter-spacing: 0.06em; font-size: 0.85rem; }
.cl-lower { text-transform: lowercase; font-style: normal; }
.cl-g { color: rgba(255,255,255,0.55); } /* Google G highlight */

/* ===================== DASHBOARD SHOWCASE ===================== */
.showcase-tabs {
  display: flex; justify-content: center; gap: 6px; margin-bottom: 32px;
}
.showcase-tab {
  padding: 10px 24px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
  background: var(--bg); border: 1px solid var(--border);
  cursor: pointer; transition: all var(--transition);
}
.showcase-tab:hover { border-color: var(--teal-border); color: var(--teal); }
.showcase-tab.active {
  background: var(--teal); color: var(--white); border-color: var(--teal);
  box-shadow: 0 2px 8px rgba(13,148,136,0.25);
}
.showcase-frame {
  max-width: 960px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}
.showcase-browser-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--bg-light); border-bottom: 1px solid var(--border);
}
.showcase-dots { display: flex; gap: 6px; }
.showcase-dots span { width: 10px; height: 10px; border-radius: 50%; background: #D1D5DB; }
.showcase-dots span:first-child { background: #FCA5A5; }
.showcase-dots span:nth-child(2) { background: #FCD34D; }
.showcase-dots span:last-child { background: #86EFAC; }
.showcase-url {
  font-size: 0.72rem; font-weight: 500; color: var(--text-muted); padding: 4px 12px;
  border-radius: 6px; background: var(--white); border: 1px solid var(--border);
  letter-spacing: 0.01em;
}
.showcase-spacer { width: 60px; }
.showcase-screen { background: var(--bg-light); }
.showcase-panel { display: none; }
.showcase-panel.active { display: block; }
.showcase-panel img { width: 100%; display: block; }
.showcase-caption {
  text-align: center; padding: 16px 20px;
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5;
  background: var(--white); border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  .showcase-tabs { flex-wrap: wrap; }
  .showcase-tab { padding: 8px 16px; font-size: 0.8rem; }
}

/* ===================== CTA CONSOLE BUTTON ===================== */
.cta-console-btn { text-align: center; margin-top: 8px; }

/* ===================== STATS BAR ===================== */
.stats-bar { padding: 44px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ===================== SECTIONS ===================== */
.section { padding: 96px 0; background: var(--bg); }
.section.section-light { background: var(--white); }
.section.section-dark { background: var(--navy); color: var(--white); }
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.3; color: var(--navy); }
.section-dark .section-header h2 { color: var(--white); }
.section-desc { font-size: 1rem; color: var(--text-secondary); max-width: 480px; margin-top: 10px; line-height: 1.65; }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }
.section-dark .section-desc { color: rgba(255,255,255,0.55); }

/* ===================== PROBLEM / SOLUTION ===================== */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.ps-heading { font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border); letter-spacing: -0.01em; }
.ps-old { color: var(--text-muted); }
.ps-new { color: var(--teal); border-bottom-color: var(--teal); }
.ps-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.ps-item:last-child { border-bottom: none; }
.ps-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.75rem; font-weight: 800; }
.ps-icon-old { background: var(--red-light); color: var(--red); }
.ps-icon-new { background: var(--teal-light); color: var(--teal); }
.ps-item strong { font-size: 0.9375rem; font-weight: 600; display: block; margin-bottom: 2px; letter-spacing: -0.01em; }
.ps-item span { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ===================== STEPS ===================== */
.steps-row { display: flex; align-items: center; justify-content: center; gap: 0; }
.step-card {
  text-align: center; padding: 36px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border); transition: var(--transition);
  position: relative; flex: 1; max-width: 320px;
  box-shadow: var(--shadow-sm);
}
.step-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-border); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light); color: var(--teal); font-size: 1rem; font-weight: 700;
  border: 1px solid var(--teal-border);
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.step-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; }
.step-connector { display: flex; align-items: center; padding: 0 8px; color: var(--border); flex-shrink: 0; }

/* ===================== FEATURES ===================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  padding: 28px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--border); transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-border); transform: translateY(-2px); }
.feature-icon { font-size: 1.5rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.feature-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; }

/* ===================== DEMO ===================== */
.demo-wrapper { max-width: 840px; margin: 0 auto; }
.demo-window {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-xl);
}
.demo-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--border);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 10px; height: 10px; border-radius: 50%; }
.demo-dots span:nth-child(1) { background: #FCA5A5; }
.demo-dots span:nth-child(2) { background: #FCD34D; }
.demo-dots span:nth-child(3) { background: #86EFAC; }
.demo-title-bar { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

.demo-step { display: none; padding: 28px; }
.demo-step.active { display: block; }
.demo-step-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.demo-step-num {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--teal-light); color: var(--teal); font-size: 0.75rem; font-weight: 900;
}
.demo-step-title { font-weight: 600; font-size: 0.95rem; color: var(--navy); }

.demo-form { display: flex; flex-direction: column; gap: 14px; }
.demo-field { display: flex; flex-direction: column; gap: 5px; }
.demo-field label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.demo-field input, .demo-field select {
  padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--text); font-size: 0.9rem; outline: none; transition: var(--transition);
}
.demo-field input:focus, .demo-field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-dim); }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Deploy */
.deploy-log { display: flex; flex-direction: column; gap: 8px; }
.deploy-line {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border);
  font-size: 0.85rem; opacity: 0; transform: translateX(-8px); transition: all 0.4s ease;
}
.deploy-line.visible { opacity: 1; transform: translateX(0); }
.deploy-line.success { border-color: var(--teal-border); background: var(--teal-light); }
.deploy-spinner { width: 14px; height: 14px; border: 2px solid var(--border); border-top-color: var(--teal); border-radius: 50%; animation: spin 0.7s linear infinite; }
.deploy-check { color: var(--teal); font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
.deploy-id { font-family: var(--mono); font-size: 0.75rem; color: var(--navy); background: var(--bg); padding: 2px 6px; border-radius: 4px; }
.deploy-time { margin-left: auto; font-size: 0.7rem; color: var(--text-muted); }

/* Dashboard preview */
.dashboard-preview { display: flex; flex-direction: column; gap: 14px; }
.dash-top {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px;
  padding: 18px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border);
}
.dash-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.dash-meta { display: flex; gap: 6px; margin-top: 6px; }
.dash-badge { padding: 3px 10px; border-radius: 100px; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.dash-badge.type { background: #EEF2FF; color: var(--indigo); }
.dash-badge.live { background: var(--teal-light); color: var(--teal); }
.dash-valuation { text-align: right; }
.dash-val-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.dash-val-amount { font-size: 1.35rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.dash-val-slice { font-size: 0.8rem; color: var(--text-muted); }

.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-card { border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); overflow: hidden; }
.dash-card-head {
  padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 700; color: var(--text-secondary);
}
.dash-card-body { padding: 10px 14px; }
.dash-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 0.8rem; }
.dash-row span:first-child { color: var(--text-muted); }
.dash-row code { font-family: var(--mono); font-size: 0.7rem; color: var(--navy); background: var(--bg); padding: 2px 6px; border-radius: 4px; }
.dash-ok { color: var(--teal); font-weight: 600; font-size: 0.8rem; }

.dash-bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-chart-card { border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); overflow: hidden; }
.dash-chart-card .dash-card-head { padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--border); font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); }
.dash-pie-area { display: flex; align-items: center; gap: 14px; padding: 14px; }
.dash-pie-svg { width: 64px; height: 64px; flex-shrink: 0; }
.dash-pie-legend { font-size: 0.7rem; color: var(--text-secondary); line-height: 1.7; display: flex; flex-direction: column; gap: 2px; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.dash-log-area { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.dash-log-entry { font-size: 0.8rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.log-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.log-dot.green { background: var(--teal); }
.log-dot.blue { background: var(--indigo); }
.dash-actions { display: flex; gap: 10px; justify-content: center; padding-top: 6px; }

/* ===================== TECH (dark) ===================== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-card {
  padding: 32px 24px; border-radius: var(--radius); text-align: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.tech-card:hover { background: rgba(255,255,255,0.08); }
.tech-icon { margin-bottom: 16px; }
.tech-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--white); letter-spacing: -0.01em; }
.tech-card p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.tech-link { display: inline-block; margin-top: 10px; font-size: 0.85rem; color: var(--teal); font-weight: 600; }
.tech-link:hover { color: var(--teal-hover); }

/* ===================== PRICING ===================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card {
  padding: 32px 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border); transition: var(--transition); position: relative;
  box-shadow: var(--shadow-sm);
}
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 100px; background: var(--teal); color: var(--white);
  font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.price-tier { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.price-amount { display: flex; align-items: baseline; gap: 2px; margin-bottom: 10px; }
.price-dollar { font-size: 1.125rem; font-weight: 700; color: var(--text-muted); }
.price-value { font-size: 2.75rem; font-weight: 700; line-height: 1; color: var(--navy); letter-spacing: -0.03em; }
.price-period { font-size: 0.85rem; color: var(--text-muted); margin-left: 2px; }
.price-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 20px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.price-list li { font-size: 0.85rem; font-weight: 500; padding-left: 24px; position: relative; }
.price-list li.yes::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.price-list li.no { color: var(--text-muted); }
.price-list li.no::before { content: '—'; position: absolute; left: 0; }
.price-note { text-align: center; font-size: 0.7rem; color: var(--text-muted); margin-top: 10px; }

/* ===================== FAQ ===================== */
.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item { border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--teal-border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 16px 20px; text-align: left; font-size: 0.9375rem; font-weight: 600; color: var(--navy); transition: var(--transition); letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--teal); }
.faq-q svg { flex-shrink: 0; color: var(--text-muted); transition: transform var(--transition); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 20px 16px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ===================== CTA ===================== */
.section-cta { padding: 88px 0; background: var(--navy); text-align: center; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -0.02em; }
.cta-desc { font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 440px; margin: 0 auto 28px; }
.cta-form { max-width: 420px; margin: 0 auto; }
.cta-input-wrap {
  display: flex; gap: 8px; padding: 5px; background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.12);
}
.cta-input-wrap input { flex: 1; padding: 11px 14px; background: transparent; border: none; color: var(--white); font-size: 0.9rem; outline: none; min-width: 0; }
.cta-input-wrap input::placeholder { color: rgba(255,255,255,0.35); }
.cta-note { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 10px; }
.cta-success { display: none; padding: 20px; }
.cta-success.show { display: block; }
.cta-success p { font-size: 1rem; color: var(--teal); font-weight: 600; }

/* ===================== FOOTER ===================== */
.footer { padding: 48px 0 24px; background: var(--navy); color: rgba(255,255,255,0.55); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .nav-logo { color: var(--white); }
.footer-tagline { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-top: 10px; line-height: 1.6; }
.footer-col h4 { font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.35); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.55); padding: 3px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--teal); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { text-align: center; max-width: 600px; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { display: flex; flex-direction: column; align-items: center; }
  .hero-trust-chips { justify-content: center; }
  .ps-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-inner { gap: 24px; }
  .stat-divider { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; padding: 16px 24px;
    background: rgba(236,239,243,0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); gap: 12px;
  }
  .section { padding: 64px 0; }
  .hero { padding: 110px 0 60px; }
  .steps-row { flex-direction: column; max-width: 380px; margin: 0 auto; }
  .step-connector { transform: rotate(90deg); padding: 4px 0; }
  .step-connector svg { width: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-bottom-row { grid-template-columns: 1fr; }
  .dash-top { flex-direction: column; }
  .dash-valuation { text-align: left; }
  .demo-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-input-wrap { flex-direction: column; }
  .mock-cards { grid-template-columns: 1fr; }
  .mock-chart-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.85rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CASE STUDY SECTION
   ============================================ */
.cs-grid {
  max-width: 800px;
  margin: 0 auto;
}
.cs-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}
.cs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cs-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 4px 0;
}
.cs-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.cs-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(13,148,136,0.08);
  border: 1px solid rgba(13,148,136,0.2);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.cs-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.cs-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.cs-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cs-txns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.cs-txn {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.cs-txn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.cs-txn-link {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
}
.cs-txn-link:hover {
  text-decoration: underline;
}
.cs-footer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  .cs-card { padding: 24px; }
  .cs-stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cs-stat-value { font-size: 1.2rem; }
  .cs-header { flex-direction: column; }
}
