/* RoVids — deep navy + white, single-page marketing site */

:root {
  --navy-900: #08132b;
  --navy-800: #0d1b3d;
  --navy-700: #15306b;
  --navy-600: #1e4185;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.16);
  --text: #ffffff;
  --text-70: rgba(255,255,255,0.70);
  --text-50: rgba(255,255,255,0.50);
  --text-30: rgba(255,255,255,0.30);
  --white-5: rgba(255,255,255,0.05);
  --white-10: rgba(255,255,255,0.10);
  --white-15: rgba(255,255,255,0.15);
  --white-20: rgba(255,255,255,0.20);
  --red-300: #fca5a5;
  --red-500: #ef4444;
  --green-400: #4ade80;
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0; padding: 0;
  background: var(--navy-800);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, #0d1b3d 0%, #15306b 40%, #1a4ba0 70%, #2563eb 100%);
  background-attachment: fixed;
}

/* Scrollbar match */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0d1b3d; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: white; color: var(--navy-800); }

/* Global: all headings maximally bold */
h1, h2, h3, h4, h5, h6 { font-weight: 900; }
.hero p.lede,
.section-head p,
.payment-panel .desc,
.cta p { font-weight: 600; }

/* Scroll-reveal animations (mirroring framer-motion patterns from source) */
[data-anim] {
  opacity: 0;
  transition: opacity .6s ease, transform .6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--anim-delay, 0s);
  will-change: opacity, transform;
}
[data-anim="up"]     { transform: translateY(20px); }
[data-anim="up-sm"]  { transform: translateY(15px); }
[data-anim="up-xs"]  { transform: translateY(10px); }
[data-anim="left"]   { transform: translateX(-15px); }
[data-anim="right"]  { transform: translateX(15px); }
[data-anim="fade"]   { transform: none; }

[data-anim].in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Subtle grid overlay */
.grid-overlay {
  position: relative;
}
.grid-overlay::before {
  content: "";
  position: fixed; 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: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13,27,61,0.80);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-brand img {
  width: 32px; height: 32px;
  border-radius: 8px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-70);
  transition: color .2s ease;
}
.nav-links a:hover { color: white; }
.nav-links a.btn-primary { color: var(--navy-700); }
.nav-links a.btn-primary:hover { color: var(--navy-700); }
.nav-toggle {
  display: none;
  background: none; border: none; color: white;
  padding: 8px; border-radius: 6px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 14px;
  border: none; border-radius: var(--radius);
  padding: 14px 26px;
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: white; color: var(--navy-700);
}
.btn-primary:hover {
  background: rgba(255,255,255,0.92);
  transform: scale(1.03);
}
.btn-secondary {
  background: var(--white-5);
  border: 1px solid var(--white-15);
  color: white;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: var(--white-10); }
.btn-lg { padding: 16px 32px; font-size: 15px; border-radius: 14px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.pulse-glow {
  box-shadow: 0 0 0 0 rgba(255,255,255,0.55);
  animation: pulseGlow 2.4s infinite;
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  70% { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.10;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,61,0.5), rgba(21,48,107,0.3) 40%, rgba(13,27,61,0.6));
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  text-align: center;
}
.social-proof {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 30px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--navy-800);
  overflow: hidden;
  background: var(--navy-700);
  margin-left: -12px;
}
.avatar-stack .avatar:first-child { margin-left: 0; }
.avatar-stack .avatar img { width: 100%; height: 100%; object-fit: cover; }
.social-proof-text {
  color: var(--text-50);
  font-size: 14px;
}
.social-proof-text b { color: white; font-weight: 700; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin: 0 0 20px;
}
.hero h1 .underline-word {
  position: relative;
  display: inline-block;
}
.hero h1 .underline-word svg {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  opacity: 0.55;
}
.hero p.lede {
  font-size: 18px;
  color: var(--text-50);
  margin: 0 auto 40px;
  max-width: 560px;
}
.hero-ctas {
  display: flex; gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-trust {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-30);
  font-size: 12px;
}

/* ============ SECTION ============ */
section {
  position: relative;
  padding: 80px 0;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin: 0 0 12px;
}
.section-head p {
  color: var(--text-50);
  font-size: 16px;
  margin: 0 auto;
  max-width: 520px;
}

/* ============ PROBLEM ============ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.problem-card {
  background: var(--white-5);
  border: 1px solid var(--white-5);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.problem-card.after { border-color: var(--white-15); }
.problem-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy-700);
  overflow: hidden;
}
.problem-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.problem-thumb.before img {
  filter: grayscale(1);
  opacity: 0.5;
}
.problem-thumb.before::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(13,27,61,0.4);
}
.problem-thumb.after::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,61,0.6), transparent);
}
.problem-badge {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  z-index: 2;
}
.problem-badge.bad {
  background: rgba(239,68,68,0.20);
  border: 1px solid rgba(252,165,165,0.30);
  color: var(--red-300);
}
.problem-badge.good {
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.30);
  color: white;
}
.problem-body { padding: 20px 22px; }
.problem-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--text-70);
}
.problem-card.after .problem-body h3 { color: white; }
.problem-body p {
  color: var(--text-50);
  font-size: 14px;
  margin: 0;
}

/* ============ PROCESS ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.process-card {
  background: var(--white-5);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(8px);
  text-align: center;
}
.process-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--white-10);
  display: grid; place-items: center;
  margin: 0 auto 16px;
  color: white;
}
.process-icon svg { width: 22px; height: 22px; }
.process-step {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-30);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.process-card h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  color: white;
  margin: 6px 0 8px;
}
.process-card p {
  color: var(--text-50);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* ============ DELIVERABLES ============ */
.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.deliverable {
  background: var(--white-5);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(8px);
  display: flex; gap: 16px;
  align-items: flex-start;
}
.deliverable-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--white-10);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: white;
}
.deliverable-icon svg { width: 20px; height: 20px; }
.deliverable h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  margin: 0 0 4px; color: white;
}
.deliverable p {
  color: var(--text-50);
  font-size: 14px;
  margin: 0; line-height: 1.5;
}

/* ============ ORDER (upload) ============ */
.order-section {
  padding: 60px 0 80px;
}
.order-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white-5);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(12px);
}
.order-card h2 {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: -0.02em;
  font-weight: 900;
  margin: 0 0 8px;
  text-align: center;
}
.order-card .sub {
  color: var(--text-50);
  font-size: 14.5px;
  text-align: center;
  margin: 0 0 28px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--text-70);
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  background: rgba(0,0,0,0.20);
  border: 1px solid var(--white-10);
  border-radius: 10px;
  padding: 12px 14px;
  color: white;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field textarea:focus {
  border-color: white;
  background: rgba(0,0,0,0.30);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint {
  color: var(--text-30);
  font-size: 12px;
  margin-top: 6px;
}

.dropzone {
  position: relative;
  border: 2px dashed var(--white-15);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .2s ease;
  background: rgba(0,0,0,0.15);
}
.dropzone:hover, .dropzone.dragover {
  border-color: white;
  background: rgba(255,255,255,0.05);
}
.dropzone input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
}
.dropzone-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--white-10);
  display: grid; place-items: center;
  margin: 0 auto 12px;
}
.dropzone-icon svg { width: 22px; height: 22px; color: white; }
.dropzone-title {
  font-weight: 700; color: white; font-size: 14.5px;
}
.dropzone-sub {
  color: var(--text-50); font-size: 12.5px;
  margin-top: 4px;
}
.file-selected {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--white-15);
  border-radius: 10px;
  margin-top: 10px;
}
.file-selected .file-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--white-10);
  display: grid; place-items: center; flex-shrink: 0;
}
.file-selected .file-icon svg { width: 16px; height: 16px; }
.file-selected .file-meta { flex: 1; min-width: 0; }
.file-selected .file-name {
  font-weight: 600; font-size: 13.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: white;
}
.file-selected .file-size { color: var(--text-50); font-size: 12px; }
.file-selected .file-remove {
  background: transparent; border: none; color: var(--text-50);
  padding: 6px; border-radius: 6px;
}
.file-selected .file-remove:hover { color: white; background: var(--white-10); }

.form-error {
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.30);
  color: var(--red-300);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-bottom: 16px;
}

/* Success / payment step */
.payment-panel {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--white-15);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(12px);
  text-align: center;
}
.payment-check {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(74,222,128,0.15);
  border: 1px solid rgba(74,222,128,0.35);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  color: var(--green-400);
}
.payment-check svg { width: 28px; height: 28px; }
.payment-panel h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.payment-panel .desc {
  color: var(--text-50);
  font-size: 15px; line-height: 1.55;
  max-width: 460px;
  margin: 0 auto 28px;
}
.payment-price {
  display: inline-flex; align-items: baseline; gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.payment-price .num { font-size: 48px; font-weight: 900; letter-spacing: -0.03em; }
.payment-price .lbl { color: var(--text-50); font-size: 14px; }

.discord-instruction {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(88,101,242,0.10);
  border: 1px solid rgba(88,101,242,0.35);
  border-radius: 14px;
  display: flex; gap: 14px;
  align-items: flex-start;
  text-align: left;
}
.discord-instruction .di-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(88,101,242,0.20);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #7289da;
}
.discord-instruction .di-icon svg { width: 20px; height: 20px; }
.discord-instruction .di-text { flex: 1; }
.discord-instruction .di-text b {
  color: white; font-size: 14.5px;
  display: block; margin-bottom: 4px;
}
.discord-instruction .di-text p {
  color: var(--text-70);
  font-size: 13.5px;
  line-height: 1.55; margin: 0;
}
.discord-instruction .di-text code {
  background: rgba(0,0,0,0.35);
  padding: 2px 8px; border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: white;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-card {
  background: var(--white-5);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: border-color .2s ease;
}
.faq-card.open { border-color: var(--white-20); }
.faq-question {
  width: 100%;
  background: none; border: none;
  padding: 18px 20px;
  color: white;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
}
.faq-question .chev {
  width: 18px; height: 18px;
  transition: transform .25s ease;
  color: var(--text-50);
  flex-shrink: 0;
}
.faq-card.open .faq-question .chev { transform: rotate(180deg); color: white; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--text-50);
  font-size: 14px; line-height: 1.6;
  padding: 0 20px;
}
.faq-card.open .faq-answer {
  max-height: 260px;
  padding-bottom: 18px;
}

/* ============ CTA ============ */
.cta {
  padding: 90px 20px;
  text-align: center;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.cta p {
  color: var(--text-50);
  font-size: 18px;
  margin: 0 0 32px;
}
.cta-shield {
  color: var(--text-30);
  font-size: 12px;
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 90px; /* extra bottom to clear sticky bar */
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 14px;
}
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-copy {
  color: var(--text-30);
  font-size: 12px;
}

/* ============ STICKY PURCHASE BAR ============ */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  transform: translateY(100%);
  transition: transform .45s ease;
  background: rgba(13,27,61,0.90);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--white-10);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.sticky-bar-info {
  display: flex; align-items: center; gap: 12px;
}
.sticky-bar-info .label { font-weight: 700; font-size: 14px; }
.sticky-bar-info .price { font-weight: 900; font-size: 20px; }
.sticky-bar-info .stripe {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--text-30);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(13,27,61,0.96);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
  }
  .problem-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .sticky-bar-info .label { display: none; }
  .sticky-bar-info .stripe { display: none; }
  section { padding: 60px 0; }
  .hero-inner { padding: 100px 20px 60px; }
  .order-card, .payment-panel { padding: 28px 22px; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* Utility */
.hidden { display: none !important; }
