/* ============ UPSITE PRESENTATION ============ */
:root {
  --red: #ED1C24;
  --red-soft: #ff4a51;
  --red-dark: #a80f15;
  --bg: #0a0a0c;
  --bg-alt: #101014;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f4f4f6;
  --muted: #9a9aa3;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

.red { color: var(--red); }
strong { color: #fff; }

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 1000;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-soft));
  box-shadow: 0 0 12px rgba(237, 28, 36, 0.8);
  transition: width 0.1s linear;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4vw;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}
.nav-logo img { height: 34px; display: block; }
.nav-links { display: flex; gap: 4px; list-style: none; flex-wrap: wrap; }
.nav-link {
  color: var(--muted); text-decoration: none; font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; background: rgba(237, 28, 36, 0.18); }

/* ---------- Side dots ---------- */
.dots {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 900; display: flex; flex-direction: column; gap: 12px;
}
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none; cursor: pointer; padding: 0;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.dot:hover { background: rgba(255, 255, 255, 0.5); }
.dot.active {
  background: var(--red); transform: scale(1.45);
  box-shadow: 0 0 10px rgba(237, 28, 36, 0.9);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 110px 4vw 80px;
  perspective: 1400px;
  overflow: hidden;
}
.section-alt {
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(237, 28, 36, 0.06), transparent 60%),
    var(--bg-alt);
}
.container { width: 100%; max-width: 1080px; margin: 0 auto; position: relative; z-index: 2; }
.container-wide { max-width: 1240px; }

.sec-num {
  font-size: 5rem; font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 28, 36, 0.45);
  margin-bottom: 6px;
}
.sec-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 18px;
}
.sec-sub {
  font-size: 1.12rem; color: var(--muted);
  max-width: 760px; margin-bottom: 46px;
}
.punchline {
  margin-top: 48px; font-size: 1.3rem; font-weight: 600;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  justify-content: center; text-align: center;
  overflow: hidden;
  background: radial-gradient(1200px 700px at 50% 20%, #17171c, var(--bg) 70%);
}
#particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px); z-index: 0; pointer-events: none;
  animation: float 9s ease-in-out infinite alternate;
}
.hero-glow-1 {
  width: 480px; height: 480px; top: -140px; left: -120px;
  background: rgba(237, 28, 36, 0.16);
}
.hero-glow-2 {
  width: 420px; height: 420px; bottom: -160px; right: -100px;
  background: rgba(237, 28, 36, 0.10);
  animation-delay: -4s;
}
@keyframes float {
  from { transform: translateY(-25px) scale(1); }
  to   { transform: translateY(25px) scale(1.08); }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-logo {
  width: min(380px, 70vw);
  filter: drop-shadow(0 12px 45px rgba(237, 28, 36, 0.35));
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-14px) rotateX(4deg); }
}
.hero-kicker {
  text-transform: uppercase; letter-spacing: 0.35em;
  font-size: 0.8rem; font-weight: 700; color: var(--red-soft);
  margin: 10px 0 18px;
}
.hero-title {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 22px;
}
.hero-desc {
  font-size: 1.15rem; color: var(--muted);
  max-width: 720px; margin: 0 auto 34px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 34px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  letter-spacing: 0.02em; transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 8px 30px rgba(237, 28, 36, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(237, 28, 36, 0.55); }
.btn-ghost {
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.1); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: var(--muted); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.mouse {
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.wheel {
  width: 4px; height: 8px; border-radius: 4px; background: var(--red);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(60px) rotateX(16deg) scale(0.97);
  transform-origin: 50% 80%;
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  transform-style: preserve-3d;
}
.card:hover {
  border-color: rgba(237, 28, 36, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(237, 28, 36, 0.10);
  background: rgba(255, 255, 255, 0.055);
}
.card h4 { font-size: 1.08rem; margin-bottom: 10px; color: #fff; }
.card p, .card li { color: var(--muted); font-size: 0.94rem; }

/* .tilt transition is applied inline by JS after the entrance animation */

/* ---------- Floating 3D shapes ---------- */
.deco {
  position: absolute; z-index: 0; pointer-events: none;
  animation: decoFloat 9s ease-in-out infinite alternate;
}
@keyframes decoFloat {
  from { transform: translateY(-18px); }
  to   { transform: translateY(18px); }
}
.deco-cube { width: 90px; height: 90px; perspective: 600px; }
.deco-cube .cube {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d;
  animation: spinCube 22s linear infinite;
}
.deco-cube .face {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(237, 28, 36, 0.5);
  background: rgba(237, 28, 36, 0.05);
  box-shadow: 0 0 18px rgba(237, 28, 36, 0.12) inset;
}
.deco-cube .f1 { transform: rotateY(0deg)   translateZ(45px); }
.deco-cube .f2 { transform: rotateY(90deg)  translateZ(45px); }
.deco-cube .f3 { transform: rotateY(180deg) translateZ(45px); }
.deco-cube .f4 { transform: rotateY(270deg) translateZ(45px); }
.deco-cube .f5 { transform: rotateX(90deg)  translateZ(45px); }
.deco-cube .f6 { transform: rotateX(-90deg) translateZ(45px); }
@keyframes spinCube {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}

.deco-ring { width: 150px; height: 150px; perspective: 800px; transform-style: preserve-3d; }
.deco-ring span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(237, 28, 36, 0.45);
}
.deco-ring span:nth-child(1) { animation: gyroA 9s linear infinite; }
.deco-ring span:nth-child(2) { animation: gyroB 12s linear infinite; border-color: rgba(255, 255, 255, 0.2); }
.deco-ring span:nth-child(3) { animation: gyroC 15s linear infinite; }
@keyframes gyroA {
  from { transform: rotateX(66deg) rotateZ(0deg); }
  to   { transform: rotateX(66deg) rotateZ(360deg); }
}
@keyframes gyroB {
  from { transform: rotateY(70deg) rotateZ(360deg); }
  to   { transform: rotateY(70deg) rotateZ(0deg); }
}
@keyframes gyroC {
  from { transform: rotateX(30deg) rotateY(40deg) rotateZ(0deg); }
  to   { transform: rotateX(30deg) rotateY(40deg) rotateZ(360deg); }
}
.deco-sm { transform: scale(0.6); }

.card-span {
  grid-column: 1 / -1;
  background: linear-gradient(150deg, rgba(237, 28, 36, 0.12), rgba(255, 255, 255, 0.03));
  border-color: rgba(237, 28, 36, 0.4);
}

/* ---------- Features ---------- */
.f-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.22), rgba(237, 28, 36, 0.06));
  border: 1px solid rgba(237, 28, 36, 0.35);
  margin-bottom: 16px;
  transform: translateZ(30px);
}
.f-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--red-soft); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.f-icon.big-arrow svg { width: 34px; height: 24px; fill: var(--red); stroke: none; }
.feature-cta {
  background: linear-gradient(150deg, rgba(237, 28, 36, 0.14), rgba(237, 28, 36, 0.03));
  border-color: rgba(237, 28, 36, 0.4);
}

/* ---------- Team ---------- */
.team-card {
  display: flex; gap: 34px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(8px);
}
.team-avatar {
  flex-shrink: 0;
  width: 130px; height: 130px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  font-size: 2.6rem; font-weight: 800; color: #fff;
  box-shadow: 0 12px 45px rgba(237, 28, 36, 0.45);
}
.team-info h3 { font-size: 1.7rem; margin-bottom: 2px; }
.team-role { font-weight: 700; margin-bottom: 4px; }
.team-loc { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.team-facts { list-style: none; margin-bottom: 18px; }
.team-facts li {
  padding: 7px 0; color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.98rem;
}
.team-note { color: var(--text); font-size: 1rem; font-style: italic; }

/* ---------- Pricing ---------- */
.price {
  text-align: left; position: relative; overflow: hidden;
  padding-top: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}
.price::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(237, 28, 36, 0.85), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.price:hover::before { opacity: 1; }
.price-pop::before { opacity: 1; }
/* shine sweep on hover */
.price::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%;
  width: 45%; transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transition: left 0.7s ease;
}
.price:hover::after { left: 140%; }

.price h4 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--red-soft); margin-bottom: 4px;
}
.price-amt {
  font-size: 3.1rem; font-weight: 800; color: #fff; line-height: 1; margin: 6px 0 6px;
  text-shadow: 0 6px 30px rgba(237, 28, 36, 0.25);
}
.price-amt .per { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-shadow: none; }
.price-for {
  margin-bottom: 18px; font-size: 0.88rem;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.price-limits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 16px;
}
.limit {
  text-align: center; padding: 14px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(237, 28, 36, 0.14), rgba(237, 28, 36, 0.05));
  border: 1px solid rgba(237, 28, 36, 0.3);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: background 0.3s, border-color 0.3s;
}
.price:hover .limit {
  background: linear-gradient(180deg, rgba(237, 28, 36, 0.2), rgba(237, 28, 36, 0.07));
  border-color: rgba(237, 28, 36, 0.5);
}
.limit-num {
  display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1;
}
.limit-wide { grid-column: 1 / -1; }
.limit-label {
  display: block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--red-soft);
}
.price ul { list-style: none; }
.price li {
  padding: 7px 0 7px 26px; position: relative;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.price li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--red-soft); font-weight: 800;
}
.price li.no::before { content: "✕"; color: var(--muted); }
.price li.no { color: var(--muted); }
.price-pop {
  border-color: var(--red);
  background: linear-gradient(160deg, rgba(237, 28, 36, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 20px 70px rgba(237, 28, 36, 0.22), 0 0 0 1px rgba(237, 28, 36, 0.35) inset;
}
.pop-badge {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.5);
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(237, 28, 36, 0.5); }
  50% { box-shadow: 0 6px 30px rgba(237, 28, 36, 0.9); }
}

/* ---------- Support table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(8px);
}
.support-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.support-table th {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; text-align: left; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 16px 20px;
}
.support-table td {
  padding: 18px 20px; color: var(--muted); font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
.support-table td:first-child { color: #fff; font-weight: 600; }
.support-table .cost { color: #fff; font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.support-table tbody tr { transition: background 0.25s; }
.support-table tbody tr:hover { background: rgba(237, 28, 36, 0.06); }
.support-table tfoot td {
  background: rgba(237, 28, 36, 0.10);
  border-top: 2px solid rgba(237, 28, 36, 0.5);
  border-bottom: none; color: var(--text);
}
.support-table .total { color: var(--red-soft); font-size: 1.45rem; }

/* ---------- Roadmap ---------- */
.road-lead { margin-bottom: 14px; }
.check-list, .next-list { list-style: none; }
.check-list li {
  padding: 7px 0 7px 30px; position: relative;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 2px;
  color: #4ade80; font-weight: 800;
}
.next-list li {
  padding: 10px 0 10px 30px; position: relative;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.next-list li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--red-soft); font-weight: 800;
}

/* ---------- ROI ---------- */
.roi-card { text-align: center; padding-top: 32px; }
.roi-card h4 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--red-soft); margin-bottom: 12px;
}
.roi-merchants {
  font-size: 3rem; font-weight: 800; color: #fff; line-height: 1;
  margin-bottom: 18px;
}
.roi-m-label {
  display: block; font-size: 0.78rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px;
}
.roi-lines { list-style: none; text-align: left; margin-bottom: 18px; }
.roi-lines li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}
.roi-lines li span { color: var(--muted); }
.roi-pct {
  font-size: 2.2rem; font-weight: 800; color: var(--red-soft);
  line-height: 1;
  text-shadow: 0 6px 30px rgba(237, 28, 36, 0.35);
}
.roi-pct-label {
  display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px;
}
.roi-mid {
  border-color: var(--red);
  background: linear-gradient(160deg, rgba(237, 28, 36, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 20px 70px rgba(237, 28, 36, 0.18);
}

.closing { text-align: center; margin-top: 80px; }
.closing-logo {
  width: 200px;
  filter: drop-shadow(0 8px 30px rgba(237, 28, 36, 0.35));
}
.closing-line { font-size: 1.5rem; font-weight: 700; margin-top: 18px; }

/* ---------- Footer ---------- */
.footer {
  text-align: center; padding: 34px 20px;
  color: var(--muted); font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .dots { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .deco { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; align-items: center; text-align: center; }
  .team-facts li { text-align: left; }
  .sec-num { font-size: 3.4rem; }
  .section { padding: 90px 6vw 60px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo, .hero-glow, .wheel { animation: none; }
  .deco, .deco-cube .cube, .deco-ring span { animation: none; }
}
