/* ============ Ruvoxe — ruvoxe.com · v2 SaaS-style ============ */
:root {
  --bg: #07070e;
  --card: rgba(255, 255, 255, 0.035);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f2f1f7;
  --muted: #a7a5bd;
  --violet: #7c5cff;
  --indigo: #4f46e5;
  --magenta: #c026d3;
  --green: #34d399;
  --red: #f87171;
  --grad: linear-gradient(120deg, #7c5cff, #4f46e5 45%, #c026d3);
  --radius: 20px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--violet); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Aurora ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(124,92,255,0.14), transparent 60%),
              radial-gradient(1000px 700px at 10% 20%, rgba(79,70,229,0.12), transparent 60%), var(--bg);
}
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; animation: drift 22s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; left: -140px; top: -120px; background: #4f46e5; }
.blob-2 { width: 460px; height: 460px; right: -120px; top: 22%; background: #7c5cff; animation-delay: -8s; }
.blob-3 { width: 420px; height: 420px; left: 30%; bottom: -160px; background: #c026d3; opacity: 0.32; animation-delay: -14s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(70px,50px) scale(1.12); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7,7,14,0.55); border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.25s ease;
}
.nav.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.scroll-progress { position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--grad); }
.nav-inner { width: min(1140px,92%); margin: 0 auto; display: flex; align-items: center; gap: 2rem; padding: 0.9rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--grad); transition: width 0.25s ease; border-radius: 2px; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 28px rgba(124,92,255,0.35); }
.btn-primary:hover { box-shadow: 0 14px 38px rgba(124,92,255,0.55); }
.btn-ghost { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.11); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn-store { background: #ff9900; color: #131921; padding: 0.7rem 1.25rem; font-size: 0.9rem; }
.btn-store:hover { box-shadow: 0 10px 26px rgba(255,153,0,0.4); transform: translateY(-2px); }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--violet); margin-bottom: 1.1rem; }
h1, h2 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin-bottom: 1.3rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.section-lede { color: var(--muted); font-size: 1.08rem; max-width: 42rem; margin-bottom: 3rem; }
.section { padding: 6.5rem 0; }
.section-alt { background: rgba(255,255,255,0.015); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ---------- Hero ---------- */
.hero { padding: 10rem 0 6rem; position: relative; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(124,92,255,0.1); border: 1px solid rgba(124,92,255,0.35);
  padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 1.6rem; transition: background 0.2s;
}
.hero-badge:hover { background: rgba(124,92,255,0.18); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-proof { display: flex; align-items: center; gap: 0.9rem; color: var(--muted); font-size: 0.95rem; }
.avatar-stack { display: flex; gap: 2px; }
.avatar-stack span { color: #ffb800; font-size: 1.05rem; text-shadow: 0 0 12px rgba(255,184,0,0.5); }
.hero-proof strong { color: var(--text); }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.showcase-window {
  width: min(480px, 100%); border-radius: 18px; overflow: hidden;
  background: rgba(14,14,24,0.9); border: 1px solid var(--card-border);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,92,255,0.12), 0 0 70px rgba(124,92,255,0.14);
  transition: transform 0.25s ease; transform-style: preserve-3d;
}
.window-bar { display: flex; gap: 7px; padding: 0.8rem 1rem; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.07); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.window-bar i:first-child { background: #ff5f57; } .window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.showcase-window img { width: 100%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 0.8rem;
  background: rgba(16,16,28,0.88); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 0.8rem 1rem; backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5); animation: float 7s ease-in-out infinite;
  transition: transform 0.25s ease; transform-style: preserve-3d;
}
.float-card img { width: 48px; height: 48px; border-radius: 12px; }
.float-card strong { display: block; font-family: var(--font-head); font-size: 0.88rem; }
.float-card span { color: var(--muted); font-size: 0.78rem; }
.fc-1 { top: 8%; right: -4%; animation-delay: -2s; }
.fc-2 { bottom: 6%; left: -6%; animation-delay: -4.5s; }
.fc-price { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ---------- Stats band ---------- */
.stats-band { border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.015); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.6rem 0; }
.stat { text-align: center; display: flex; flex-direction: column; gap: 0.25rem; }
.stat strong { font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span:last-child { color: var(--muted); font-size: 0.9rem; }

/* ---------- Tabs / Showcase ---------- */
.tabs { display: inline-flex; gap: 0.5rem; background: rgba(255,255,255,0.04); border: 1px solid var(--card-border); border-radius: 999px; padding: 0.4rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.tab {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; border: 0; color: var(--muted); cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  padding: 0.65rem 1.3rem; border-radius: 999px; transition: all 0.25s ease;
}
.tab img { width: 26px; height: 26px; border-radius: 8px; }
.tab-plus { font-size: 1.1rem; }
.tab:hover { color: #fff; }
.tab.active { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(124,92,255,0.4); }
.tab-panels { position: relative; }
.tab-panel { display: none; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; background: var(--card); border: 1px solid var(--card-border); border-radius: 26px; padding: 2.6rem; }
.tab-panel.active { display: grid; animation: panelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(22px) scale(0.99); } to { opacity: 1; transform: none; } }
.panel-media { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 24px 60px rgba(0,0,0,0.4); transition: transform 0.25s ease; transform-style: preserve-3d; }
.panel-media-next { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 300px; background: linear-gradient(150deg, rgba(124,92,255,0.16), rgba(192,38,211,0.07)); text-align: center; padding: 2rem; }
.next-glyph { font-size: 3.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: float 6s ease-in-out infinite; }
.panel-media-next p { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.panel-copy h3 { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin: 1rem 0 0.8rem; }
.panel-copy p { color: var(--muted); margin-bottom: 1.4rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.8rem; }
.check-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.96rem; }
.check-list li::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(124,92,255,0.16); color: #b7a6ff; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.panel-foot { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; }
.price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.badge { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.32rem 0.75rem; border-radius: 999px; }
.badge-live { background: rgba(52,211,153,0.14); color: #34d399; border: 1px solid rgba(52,211,153,0.35); }
.badge-soon { background: rgba(124,92,255,0.14); color: #b7a6ff; border: 1px solid rgba(124,92,255,0.4); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.bento-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d; position: relative; overflow: hidden;
}
.bento-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(124,92,255,0.14), transparent 70%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.bento-card:hover::before { opacity: 1; }
.bento-card:hover { border-color: rgba(124,92,255,0.45); box-shadow: 0 20px 50px rgba(76,60,180,0.22); }
.bento-lg { grid-column: span 2; background: linear-gradient(150deg, rgba(124,92,255,0.13), rgba(192,38,211,0.05)); }
.bento-wide { grid-column: span 2; }
.bento-icon { font-size: 1.9rem; margin-bottom: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.bento-card h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 0.6rem; }
.bento-card p { color: var(--muted); font-size: 0.94rem; }
.bento-price-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.bento-price-row span:first-child { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento-price-row span:last-child { color: var(--muted); font-size: 0.85rem; }

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 1.1rem 1.4rem; text-align: left; font-size: 0.96rem; }
.compare thead th { font-family: var(--font-head); font-size: 1.02rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.compare tbody tr { border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.2s; }
.compare tbody tr:last-child { border-bottom: 0; }
.compare tbody tr:hover { background: rgba(124,92,255,0.05); }
.compare td:first-child { color: var(--muted); font-weight: 500; }
.col-us { background: rgba(124,92,255,0.09); font-weight: 600; }
thead .col-us { border-radius: 0; }
.compare .yes { color: var(--green); font-weight: 600; }
.compare .no { color: var(--red); }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.tl-item { display: grid; grid-template-columns: 40px 1fr; gap: 1.2rem; position: relative; padding-bottom: 2rem; }
.tl-item::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: linear-gradient(rgba(124,92,255,0.5), rgba(124,92,255,0.08)); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(124,92,255,0.5); background: var(--bg); position: relative; z-index: 1; }
.tl-dot.tl-now { background: var(--grad); border-color: transparent; box-shadow: 0 0 24px rgba(124,92,255,0.6); animation: pulse 2s ease-out infinite; }
.tl-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 1.5rem 1.7rem; transition: transform 0.2s ease, border-color 0.2s ease; }
.tl-card:hover { transform: translateX(6px); border-color: rgba(124,92,255,0.4); }
.tl-when { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); }
.tl-card h3 { font-family: var(--font-head); font-size: 1.25rem; margin: 0.4rem 0 0.4rem; }
.tl-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 760px; }
.accordion { display: flex; flex-direction: column; gap: 0.8rem; }
.acc-item { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; transition: border-color 0.25s; }
.acc-item.open { border-color: rgba(124,92,255,0.45); }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: none; border: 0; color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; padding: 1.25rem 1.5rem; cursor: pointer; text-align: left; }
.acc-icon { font-size: 1.4rem; font-weight: 400; color: var(--violet); transition: transform 0.3s ease; flex-shrink: 0; }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-a p { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 2rem; }
.cta-box {
  text-align: center; padding: 4.5rem 2rem; border-radius: 28px;
  background: linear-gradient(150deg, rgba(124,92,255,0.18), rgba(192,38,211,0.08));
  border: 1px solid rgba(124,92,255,0.35); position: relative; overflow: hidden;
  transition: transform 0.25s ease; transform-style: preserve-3d;
}
.cta-box::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent, rgba(124,92,255,0.12), transparent 30%); animation: spin 9s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-box h2, .cta-box p, .cta-box a { position: relative; }
.cta-box h2 { margin-bottom: 0.8rem; }
.cta-box p { color: var(--muted); margin-bottom: 2rem; font-size: 1.08rem; }

/* ---------- Contact / footer ---------- */
.contact-box { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-box .section-lede { margin-left: auto; margin-right: auto; }
.contact-mail { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.2rem); letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 0.2s ease; }
.contact-mail:hover { transform: scale(1.04); }
.footer { padding: 3rem 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; text-align: center; }
.footer-tag { color: var(--muted); font-size: 0.92rem; }
.footer-copy { color: #6d6c85; font-size: 0.82rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; } .reveal[data-delay="2"] { transition-delay: 0.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero { padding-top: 8rem; }
  .tab-panel.active { grid-template-columns: 1fr; padding: 1.8rem; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg, .bento-wide { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(10,10,20,0.97); padding: 1.2rem 4%; gap: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .bento { grid-template-columns: 1fr; }
  .bento-lg, .bento-wide { grid-column: span 1; }
  .fc-1 { right: 0; } .fc-2 { left: 0; }
  .section { padding: 4.5rem 0; }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .float-card, .next-glyph, .cta-box::before, .tl-dot.tl-now, .pulse-dot::after { animation: none; }
  html { scroll-behavior: auto; }
}
