/* ============================================
   SenderCorex — Enterprise Email Infrastructure
   Brand: violet → pink (distinct from ClearCorex)
   ============================================ */

:root {
  /* DARK THEME (default — enterprise SaaS feel) */
  --bg:        #0a0a14;
  --bg-soft:   #0f0f1c;
  --bg-elev:   #14152a;
  --bg-card:   #1a1b30;

  --text:        #f1f5f9;
  --text-muted:  #94a3b8;
  --text-light:  #64748b;
  --text-dim:    #475569;

  --border:    #1e1f3a;
  --border-2:  #2d2e4f;

  --primary:   #8b5cf6;     /* violet-500 */
  --primary-2: #7c3aed;     /* violet-600 */
  --accent:    #ec4899;     /* pink-500 */
  --accent-2:  #f472b6;     /* pink-400 */
  --teal:      #06b6d4;     /* cyan-500 */
  --green:     #22d3a4;
  --warn:      #f59e0b;
  --danger:    #ef4444;

  --grad:       linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --grad-bold:  linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #f59e0b 100%);
  --grad-soft:  linear-gradient(135deg, rgba(139,92,246,0.12) 0%, rgba(236,72,153,0.12) 100%);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow:    0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
  --shadow-md: 0 10px 24px -8px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 48px -12px rgba(0,0,0,0.5);
  --shadow-xl: 0 30px 60px -15px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.25);

  --container: 1240px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; }
input, textarea, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mono { font-family: 'JetBrains Mono', monospace; font-size: 0.92em; }

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn.full { width: 100%; }

.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--border-2); }

.btn-light {
  background: white;
  color: #0a0a14;
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

.btn-link {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 8px 4px;
}
.btn-link:hover { color: var(--text); }

/* ===== Announcement Bar ===== */
.announce-bar {
  background: linear-gradient(90deg, #1a0d2e 0%, #0a0a14 100%);
  color: white;
  font-size: 13.5px;
  position: relative;
  z-index: 99;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  flex-wrap: wrap;
}
.announce-tag {
  background: var(--grad);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.announce-link {
  color: white;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.announce-link:hover { border-color: white; }
.announce-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 22px;
  line-height: 1;
  opacity: 0.6;
  padding: 4px 8px;
}
.announce-close:hover { opacity: 1; }

/* ===== Navigation ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.3s;
}
.nav-wrap.scrolled { border-bottom-color: var(--border); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--grad);
  color: white;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { letter-spacing: -0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: auto;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13.5px;
  transition: all var(--transition);
}
.lang-btn:hover { background: var(--bg-soft); color: var(--text); }
.lang-btn svg { width: 14px; height: 14px; }
.lang-btn .caret { transition: transform 0.2s; }
.lang-switch.open .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 50;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  transition: background var(--transition);
}
.lang-menu button:hover { background: var(--bg-soft); }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  top: -200px; left: -150px;
  animation: float 22s ease-in-out infinite;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
  top: 100px; right: -100px;
  animation: float 28s ease-in-out infinite reverse;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(50px, -40px); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: all var(--transition);
}
.eyebrow:hover { border-color: var(--border-2); transform: translateY(-1px); }
.eyebrow-tag {
  background: var(--grad);
  color: white;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.eyebrow svg { width: 14px; height: 14px; margin-left: 4px; margin-right: 8px; }

.hero-title {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 36px;
  max-width: 560px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.meta-item svg {
  width: 16px; height: 16px;
  color: var(--accent);
  background: rgba(236, 72, 153, 0.15);
  border-radius: 50%;
  padding: 2px;
}

/* ===== Hero Product Window ===== */
.hero-visual { position: relative; }

.product-window {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(139, 92, 246, 0.15);
  position: relative;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.dot-r, .dot-y, .dot-g {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-r { background: #ef4444; }
.dot-y { background: #f59e0b; }
.dot-g { background: #22d3a4; }
.window-title {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  flex: 1;
}
.window-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.product-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 480px;
}
.product-side {
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  background: var(--bg);
}
.side-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  padding: 0 8px;
  margin-bottom: 8px;
}
.side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.side-item.active {
  background: var(--grad-soft);
  color: var(--text);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.25);
}
.side-item.active svg { color: var(--primary); }
.side-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.side-badge {
  margin-left: auto;
  font-size: 10px;
  background: var(--border);
  color: var(--text-muted);
  padding: 1px 6px;
  border-radius: 100px;
  font-weight: 600;
}
.side-badge.live {
  background: rgba(34, 211, 164, 0.15);
  color: var(--green);
}

.product-main {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.kpi-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.kpi-num.green  { color: var(--green); }
.kpi-num.accent { color: var(--accent); }
.kpi-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.kpi-trend {
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 4px;
}
.kpi-trend.up   { color: var(--green); }
.kpi-trend.down { color: var(--danger); }

.ip-grid-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.ipg-head {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 10px;
}
.ipg-head .ipg-meta { color: var(--accent); font-weight: 500; }
.ipg-rows { display: flex; flex-direction: column; gap: 6px; }
.ipg-row {
  display: grid;
  grid-template-columns: 1fr 2fr 30px;
  gap: 10px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}
.ipg-ip { color: var(--text); }
.ipg-bar {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.ipg-fill {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 4px;
}
.ipg-score { color: var(--green); font-weight: 700; text-align: right; font-size: 12px; }

.campaign-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.cr-meta { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; }
.cr-name { color: var(--text); font-weight: 600; }
.cr-stats { color: var(--text-muted); }
.cr-bar {
  position: relative;
  height: 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
}
.cr-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 6px;
  animation: barShine 3s linear infinite;
}
@keyframes barShine {
  0%   { box-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }
  50%  { box-shadow: 0 0 20px rgba(236, 72, 153, 0.6); }
  100% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }
}
.cr-pct {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Floating cards on hero visual */
.float-card {
  position: absolute;
  background: var(--bg-elev);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  animation: floatCard 6s ease-in-out infinite;
}
.float-1 { top: 20%; left: -40px; }
.float-2 { bottom: 18%; right: -40px; animation-delay: 1s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.fc-ico {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--grad-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.fc-ico svg { width: 18px; height: 18px; }
.fc-title { font-size: 13px; font-weight: 700; color: var(--text); }
.fc-sub { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.fc-spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  width: 36px;
}
.fc-spark span {
  flex: 1;
  background: var(--grad);
  border-radius: 2px;
}
.fc-spark span:nth-child(1) { height: 30%; }
.fc-spark span:nth-child(2) { height: 55%; }
.fc-spark span:nth-child(3) { height: 40%; }
.fc-spark span:nth-child(4) { height: 75%; }
.fc-spark span:nth-child(5) { height: 100%; }

/* ===== Marquee ===== */
.marquee-wrap { margin-top: 80px; text-align: center; }
.marquee-label {
  font-size: 12.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin: 0 0 24px;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - 32px)); }
}
.marquee-logo {
  font-weight: 700;
  font-size: 22px;
  color: var(--text-light);
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.marquee-logo:hover { opacity: 1; color: var(--text-muted); }

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.stat-num .suffix { background: inherit; -webkit-background-clip: text; background-clip: text; }
.stat-lbl {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: #050510; }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.kicker {
  display: inline-block;
  padding: 5px 12px;
  background: var(--grad-soft);
  color: var(--primary);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.kicker.dark, .kicker.light {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.1);
}
.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Bento Features ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 20px;
}
.bento-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
}
.bento-lg { grid-column: span 2; }
.bento-content { position: relative; z-index: 2; }
.feat-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.feat-badge.purple { background: rgba(139, 92, 246, 0.15); color: var(--primary); }
.feat-badge.green  { background: rgba(34, 211, 164, 0.15); color: var(--green); }
.feat-badge.orange { background: rgba(245, 158, 11, 0.15); color: var(--warn); }
.feat-badge.blue   { background: rgba(6, 182, 212, 0.15); color: var(--teal); }

.bento-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.bento-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
  max-width: 480px;
}
.bento-vis {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vis-checks { gap: 7px; }
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 13px;
  color: var(--text);
}
.check-tick {
  width: 16px; height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.15);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.vis-stack { gap: 4px; }
.stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: 8px;
  font-size: 12px;
  border: 1px solid var(--border);
}
.stack-row.dim { opacity: 0.5; }
.stack-row .check { color: var(--green); font-weight: 700; }
.stack-row .x { color: var(--text-muted); font-weight: 600; font-size: 11px; }

.vis-files { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.file-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 600;
  color: var(--text-muted);
}

.risk-bar {
  position: relative;
  background: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
  height: 28px;
  border: 1px solid var(--border);
}
.risk-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 6px;
}
.risk-bar span {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.vis-int { align-items: center; justify-content: center; }
.int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.int-cell {
  width: 56px; height: 48px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
}
.int-cell:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary); }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.3s;
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); margin: 0; font-size: 14.5px; }
.step-arrow {
  display: grid;
  place-items: center;
  color: var(--border-2);
}
.step-arrow svg { width: 24px; height: 24px; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg), 0 0 60px rgba(139, 92, 246, 0.2);
  transform: translateY(-8px);
}
.featured-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--grad);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.price-tag { color: var(--text-muted); font-size: 13.5px; margin: 0 0 24px; }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.price-amount .amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.price-amount .per { color: var(--text-muted); font-size: 14px; }
.price-pay {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(236, 72, 153, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.price-feats {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-feats li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text-muted);
}
.price-feats li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  background: rgba(236, 72, 153, 0.15);
  border-radius: 50%;
}
.price-feats li::after {
  content: '';
  position: absolute;
  left: 4px; top: 10px;
  width: 7px; height: 4px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.price-feats li strong { color: var(--text); }

.enterprise-card {
  margin: 32px auto 0;
  max-width: 1080px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.enterprise-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.enterprise-card p { color: var(--text-muted); margin: 0; font-size: 14px; }

/* ===== USDT Flow ===== */
.usdt-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.usdt-step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.usdt-step:hover { transform: translateY(-3px); border-color: var(--primary); }
.usdt-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.usdt-step:hover::before { transform: scaleX(1); }
.usdt-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}
.usdt-step h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.usdt-step p { color: var(--text-muted); font-size: 14px; margin: 0; }
.usdt-arrow {
  font-size: 28px;
  color: var(--border-2);
  font-weight: 300;
}

/* ===== Trust Grid ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.trust-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all 0.3s;
}
.trust-item:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.trust-item svg {
  width: 32px; height: 32px;
  color: var(--accent);
  margin-bottom: 16px;
}
.trust-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.trust-item p { color: var(--text-muted); font-size: 14px; margin: 0; line-height: 1.55; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-card);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-body {
  padding: 0 22px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== CTA Card ===== */
.cta-card {
  position: relative;
  background: linear-gradient(135deg, #1a0d2e 0%, #0a0a14 100%);
  border-radius: 32px;
  padding: 72px 48px;
  text-align: center;
  color: white;
  overflow: hidden;
  border: 1px solid var(--border-2);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.5), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.4), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.3), transparent 50%);
}
.cta-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-content h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  margin: 16px 0 18px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-content p {
  font-size: 17px;
  color: rgba(241, 245, 249, 0.85);
  margin: 0 0 32px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.dot-sep { margin: 0 6px; opacity: 0.5; }

/* ===== Footer ===== */
.footer {
  background: #050510;
  color: var(--text-muted);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 64px;
  margin-bottom: 56px;
}
.footer-brand .brand { color: white; margin-bottom: 16px; }
.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
  margin: 0 0 20px;
  line-height: 1.6;
}
.footer-desc strong { color: white; }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 164, 0.08);
  border: 1px solid rgba(34, 211, 164, 0.2);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--green);
  font-weight: 500;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h5 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: var(--text-light); }
.footer-bottom-right { font-size: 12.5px; color: var(--text-light); max-width: 540px; text-align: right; }

/* ===== Back to Top ===== */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 70;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover { transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .float-1, .float-2 { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .price-card.featured { transform: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step-arrow { transform: rotate(90deg); padding: 8px 0; }
  .usdt-flow { grid-template-columns: 1fr; gap: 12px; }
  .usdt-arrow { transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-cta .btn-link, .nav-cta .btn-sm { display: none; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.3s;
    box-shadow: var(--shadow-lg);
    align-items: stretch;
    display: flex;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px; font-size: 16px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 48px 0 64px; }
  .product-body { grid-template-columns: 1fr; }
  .product-side { display: none; }
  .kpi-row { grid-template-columns: 1fr 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .bento { grid-template-columns: 1fr; }
  .bento-lg { grid-column: span 1; }
  .trust-grid { grid-template-columns: 1fr; }
  .enterprise-card { flex-direction: column; text-align: center; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-card { padding: 48px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-right { text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
