/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:           #07070F;
  --bg2:          #0D0C1A;
  --bg3:          #13112A;
  --indigo:       #1E1B4B;
  --violet:       #5B21B6;
  --purple:       #818CF8;
  --purple-light: #C4B5FD;
  --white:        #F5F4FF;
  --muted:        #6B6A8A;
  --border:       rgba(129,140,248,0.12);
  --border-bright:rgba(129,140,248,0.30);
  --font-main:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --font-serif:   'Fraunces', serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-main);
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ── Custom Cursor ── */
.onepx-cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  mix-blend-mode: screen;
}
.onepx-cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(129,140,248,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease-out;
}

/* ── NAV ── */
.onepx-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, backdrop-filter 0.3s;
}
.onepx-nav.scrolled {
  border-color: var(--border);
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(20px);
}
.onepx-nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.onepx-nav-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1E1B4B, #5B21B6);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.onepx-nav-icon svg { width: 18px; height: 18px; }
.onepx-nav-wordmark {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--white);
}
.onepx-nav-wordmark span { color: var(--purple); }
.onepx-nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.onepx-nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.onepx-nav-links a:hover { color: var(--white); }
.onepx-nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-bright);
  background: transparent;
  color: var(--purple-light);
  cursor: none;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.onepx-nav-cta:hover {
  background: rgba(129,140,248,0.1);
  border-color: var(--purple);
}

/* ── HERO ── */
.onepx-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}
.onepx-hero::after {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(91,33,182,0.18) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.onepx-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(129,140,248,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,140,248,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}
.onepx-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 100px;
  border: 1px solid var(--border-bright);
  background: rgba(129,140,248,0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--purple-light);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  position: relative; z-index: 2;
  animation: fadeUp 0.8s ease both;
}
.onepx-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse 2s ease infinite;
}
.onepx-hero h1 {
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  position: relative; z-index: 2;
  animation: fadeUp 0.8s ease 0.1s both;
  max-width: 900px;
}
.onepx-hero h1 em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--purple-light);
}
.onepx-hero-sub {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 28px auto 0;
  position: relative; z-index: 2;
  animation: fadeUp 0.8s ease 0.2s both;
  letter-spacing: 0.02em;
}
.onepx-hero-actions {
  display: flex; align-items: center; gap: 16px;
  margin-top: 48px;
  position: relative; z-index: 2;
  animation: fadeUp 0.8s ease 0.3s both;
}
.onepx-hero-meta {
  margin-top: 72px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  position: relative; z-index: 2;
  animation: fadeUp 0.8s ease 0.4s both;
  display: flex; align-items: center; gap: 32px;
}
.onepx-hero-meta-item { display: flex; align-items: center; gap: 8px; }
.onepx-hero-meta-num {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -1px;
}
.onepx-hero-meta-divider { width: 1px; height: 24px; background: var(--border); }

/* ── BUTTONS ── */
.btn-primary {
  padding: 14px 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.2px;
  border: none;
  cursor: none;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 32px rgba(91,33,182,0.35);
  display: inline-block;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }
.btn-ghost {
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: none;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--border-bright); color: var(--white); }

/* ── SECTION COMMON ── */
.onepx-section {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.onepx-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--purple);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.onepx-section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
}
.onepx-section-title em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--purple-light);
}

/* ── PROBLEM GRID ── */
.onepx-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.onepx-problem-card {
  padding: 40px;
  background: var(--bg2);
}
.onepx-problem-card:nth-child(1),
.onepx-problem-card:nth-child(2) { border-bottom: 1px solid var(--border); }
.onepx-problem-card:nth-child(2),
.onepx-problem-card:nth-child(4) { border-left: 1px solid var(--border); }
.onepx-problem-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 18px;
}
.onepx-problem-card h3 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.onepx-problem-card p {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── STEPS ── */
.onepx-steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  position: relative;
}
.onepx-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 80px; right: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.onepx-step {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg2);
  transition: border-color 0.3s, transform 0.3s;
}
.onepx-step:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.onepx-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E1B4B, #5B21B6);
  border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--purple-light);
  margin-bottom: 24px;
}
.onepx-step h3 { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; margin-bottom: 10px; }
.onepx-step p { font-family: var(--font-mono); font-size: 12px; color: var(--muted); line-height: 1.8; }
.onepx-step-time {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--purple);
  letter-spacing: 0.1em;
  border: 1px solid rgba(129,140,248,0.2);
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(129,140,248,0.05);
}

/* ── FEATURES ── */
.onepx-features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
  align-items: start;
}
.onepx-feature-list { display: flex; flex-direction: column; gap: 2px; }
.onepx-feature-item {
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  cursor: none;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 2px;
}
.onepx-feature-item:hover, .onepx-feature-item.active {
  border-color: var(--border-bright);
  background: var(--bg3);
}
.onepx-feature-item-head { display: flex; align-items: center; gap: 14px; }
.onepx-feature-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.2s;
}
.onepx-feature-item.active .onepx-feature-dot,
.onepx-feature-item:hover .onepx-feature-dot { background: var(--purple); }
.onepx-feature-item h3 { font-weight: 700; font-size: 15px; letter-spacing: -0.3px; }
.onepx-feature-item p {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  line-height: 1.8; margin-top: 10px;
  padding-left: 22px;
}
.onepx-feature-visual {
  position: sticky; top: 100px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg2);
  overflow: hidden;
}
.onepx-mock { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.onepx-mock-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.onepx-mock-title { font-weight: 700; font-size: 13px; }
.onepx-mock-status {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; color: #4ADE80;
}
.onepx-mock-status::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: #4ADE80;
  animation: pulse 2s ease infinite;
}
.onepx-mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.onepx-mock-stat {
  padding: 14px; background: var(--bg3);
  border-radius: 10px; border: 1px solid var(--border);
}
.onepx-mock-stat-val { font-weight: 700; font-size: 20px; letter-spacing: -1px; }
.onepx-mock-stat-label { font-family: var(--font-mono); font-size: 9px; color: var(--muted); margin-top: 4px; }
.onepx-mock-chart {
  height: 80px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--bg3);
  overflow: hidden;
}
.onepx-mock-chart svg { width: 100%; height: 100%; }
.onepx-mock-events { display: flex; flex-direction: column; gap: 8px; }
.onepx-mock-event {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--bg3);
  border-radius: 8px; border: 1px solid var(--border);
}
.onepx-mock-event-left { display: flex; align-items: center; gap: 10px; }
.onepx-mock-event-type {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--purple-light);
  background: rgba(129,140,248,0.1);
  border: 1px solid rgba(129,140,248,0.2);
  padding: 2px 8px; border-radius: 4px;
}
.onepx-mock-event-name { font-family: var(--font-mono); font-size: 11px; }
.onepx-mock-event-dot {
  width: 6px; height: 6px;
  border-radius: 50%; background: #4ADE80;
}

/* ── PRICING ── */
.onepx-pricing-section { padding: 120px 48px; max-width: 1200px; margin: 0 auto; text-align: center; }
.onepx-pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
}
.onepx-pricing-card {
  padding: 48px 36px; background: var(--bg2);
  text-align: left; transition: background 0.3s;
}
.onepx-pricing-card:hover { background: var(--bg3); }
.onepx-pricing-card + .onepx-pricing-card { border-left: 1px solid var(--border); }
.onepx-pricing-card.featured { background: var(--bg3); }
.onepx-pricing-badge {
  display: inline-block;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.15em; color: var(--purple-light);
  background: rgba(129,140,248,0.12);
  border: 1px solid rgba(129,140,248,0.25);
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 24px; text-transform: uppercase;
}
.onepx-pricing-name { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; margin-bottom: 8px; }
.onepx-pricing-desc { font-family: var(--font-mono); font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.onepx-pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 32px; }
.onepx-pricing-currency { font-family: var(--font-mono); font-size: 16px; color: var(--muted); }
.onepx-pricing-amount { font-weight: 800; font-size: 46px; letter-spacing: -2px; }
.onepx-pricing-period { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.onepx-pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.onepx-pricing-features li {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 10px; line-height: 1.5;
}
.onepx-pricing-features li::before {
  content: '';
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(129,140,248,0.15);
  border: 1px solid rgba(129,140,248,0.3);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3l2 2 4-4' stroke='%23818CF8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.onepx-pricing-cta {
  display: block; text-align: center; padding: 13px;
  border-radius: 10px; font-weight: 700; font-size: 14px;
  text-decoration: none; transition: all 0.2s; cursor: none;
}
.onepx-pricing-cta-outline {
  border: 1px solid var(--border-bright); color: var(--purple-light);
}
.onepx-pricing-cta-outline:hover { background: rgba(129,140,248,0.08); color: var(--purple-light); }
.onepx-pricing-cta-filled {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: #fff; border: none;
  box-shadow: 0 4px 20px rgba(91,33,182,0.3);
}
.onepx-pricing-cta-filled:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

/* ── TESTIMONIALS ── */
.onepx-proof-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-top: 64px;
}
.onepx-proof-card {
  padding: 32px; border: 1px solid var(--border);
  border-radius: 16px; background: var(--bg2);
  transition: border-color 0.3s;
}
.onepx-proof-card:hover { border-color: var(--border-bright); }
.onepx-proof-quote {
  font-family: var(--font-serif); font-style: italic;
  font-weight: 300; font-size: 16px;
  line-height: 1.6; margin-bottom: 24px;
}
.onepx-proof-author { display: flex; align-items: center; gap: 12px; }
.onepx-proof-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #1E1B4B, #5B21B6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; color: var(--purple-light);
  flex-shrink: 0;
}
.onepx-proof-name { font-weight: 700; font-size: 13px; }
.onepx-proof-role { font-family: var(--font-mono); font-size: 10px; color: var(--muted); margin-top: 2px; }

/* ── CTA BOX ── */
.onepx-cta-box {
  padding: 80px; border-radius: 24px;
  border: 1px solid var(--border-bright);
  background: linear-gradient(135deg, rgba(30,27,75,0.6), rgba(91,33,182,0.2));
  text-align: center; position: relative; overflow: hidden;
}
.onepx-cta-box::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,33,182,0.15) 0%, transparent 60%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.onepx-cta-box h2 {
  font-size: clamp(24px, 3vw, 42px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px;
  position: relative; z-index: 2;
}
.onepx-cta-box h2 em {
  font-style: italic; font-family: var(--font-serif);
  font-weight: 300; color: var(--purple-light);
}
.onepx-cta-box p {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--muted); margin-bottom: 40px;
  position: relative; z-index: 2;
}
.onepx-cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; position: relative; z-index: 2;
}
.onepx-cta-note {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); margin-top: 20px;
  position: relative; z-index: 2; letter-spacing: 0.05em;
  display: block;
}

/* ── FOOTER ── */
.onepx-footer {
  border-top: 1px solid var(--border);
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.onepx-footer-left { display: flex; align-items: center; gap: 10px; }
.onepx-footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.onepx-footer-links { display: flex; gap: 28px; list-style: none; }
.onepx-footer-links a {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); text-decoration: none;
  letter-spacing: 0.05em; transition: color 0.2s;
}
.onepx-footer-links a:hover { color: var(--white); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── KEYFRAMES ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
