/* REVU UNIFIED ENTERPRISE THEME STYLESHEET */
:root {
  --bg-gradient: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 30%, #f8fafc 70%, #ffffff 100%);
  --accent-blue: #0284c7;
  --text-dark: #0f172a;
  --text-muted: #475569;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background-color: #e0f2fe;
  background-image: 
    radial-gradient(rgba(2, 132, 199, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(180deg, #bae6fd 0%, #e0f2fe 30%, #f8fafc 70%, #ffffff 100%);
  background-size: 32px 32px, 100% 100%;
  background-position: 0 0, 0 0;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.5;
  min-height: 100vh;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* SINGLE PAGE VIEW SWITCHING CONTAINER */
.landing-view { display: none; width: 100%; }
.landing-view.active { display: block; animation: fadeInView 0.25s cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FLOATING NAVBAR CAPSULE */
.header-wrapper {
  position: fixed; top: 20px; left: 0; width: 100%; z-index: 9999;
  display: flex; justify-content: center; padding: 0 16px;
}
.navbar {
  width: 100%; max-width: 1060px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 40px; width: auto; max-height: 48px; object-fit: contain; border-radius: 6px; }
.logo-text { display: none !important; }

.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-link { color: #334155; text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color 0.2s; }
.nav-link.active, .nav-link:hover { color: #0284c7; }

.nav-btns { display: flex; align-items: center; gap: 12px; }
.btn-login {
  background: #e2e8f0; border: none; color: #0f172a;
  padding: 10px 22px; border-radius: 30px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
}
.btn-login:hover { background: #cbd5e1; transform: translateY(-1px); }
.btn-primary {
  background: #0f172a; color: #ffffff;
  padding: 10px 24px; border-radius: 30px; font-size: 14px; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2); transition: all 0.2s;
}
.btn-primary:hover { background: #1e293b; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3); }

/* HERO SECTION */
.hero-section { padding-top: 150px; padding-bottom: 70px; text-align: center; position: relative; }
.trust-badges {
  display: inline-flex; align-items: center; gap: 22px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 40px; padding: 8px 24px; margin-bottom: 28px;
  backdrop-filter: blur(10px); box-shadow: 0 4px 15px rgba(2, 132, 199, 0.06);
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #334155; }
.trust-item span.iconify { color: #0284c7; font-size: 17px; }

.hero-title {
  font: 800 56px/1.1 'Space Grotesk', sans-serif; color: #0f172a;
  letter-spacing: -1.8px; max-width: 900px; margin: 0 auto 20px;
}
.hero-title span { color: #0284c7; }
.hero-sub { font-size: 19px; color: #475569; max-width: 680px; margin: 0 auto 36px; line-height: 1.6; font-weight: 500; }

/* HERO MOCKUP WITH FLOATING BADGES */
.hero-visual { position: relative; max-width: 820px; margin: 40px auto 0; display: flex; justify-content: center; align-items: center; }
.phone-mockup {
  width: 295px; background: #0f172a; border: 8px solid #1e293b;
  border-radius: 40px; box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 40px rgba(2, 132, 199, 0.15);
  padding: 18px 14px; position: relative; z-index: 2;
}
.phone-screen { background: #090d16; border-radius: 28px; padding: 16px 12px; border: 1px solid rgba(255, 255, 255, 0.08); }
.phone-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.phone-user { font-size: 11px; font-weight: 700; color: #fff; }
.phone-coins { font-size: 11px; font-weight: 700; color: #38bdf8; background: rgba(56, 189, 248, 0.15); padding: 3px 9px; border-radius: 12px; }
.phone-offer { background: #131c2e; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 10px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; text-align: left; }
.phone-offer-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #0284c7, #3b82f6); display: grid; place-items: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.phone-offer-title { font-size: 12px; font-weight: 700; color: #fff; }
.phone-offer-reward { font-size: 11px; color: #38bdf8; font-weight: 600; }

.floating-badge {
  position: absolute; background: #0f172a; color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 18px; padding: 14px 20px;
  display: flex; align-items: center; gap: 14px; box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
  z-index: 3; transition: transform 0.3s ease;
}
.floating-badge:hover { transform: translateY(-4px) scale(1.03); }
.badge-num { width: 30px; height: 30px; border-radius: 50%; background: #0284c7; color: #ffffff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.badge-text { text-align: left; }
.badge-title { font-size: 13px; font-weight: 700; color: #fff; }
.badge-points { font-size: 12px; font-weight: 700; color: #38bdf8; }
.badge-left-1 { top: 12%; left: 2%; }
.badge-left-2 { bottom: 18%; left: 0%; }
.badge-right-1 { top: 20%; right: 2%; }
.badge-right-2 { bottom: 12%; right: 0%; }

/* SECTION HEADINGS & GRIDS */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: #0284c7; background: rgba(2, 132, 199, 0.1); padding: 5px 16px; border-radius: 20px; margin-bottom: 12px; }
.section-title { font: 800 36px 'Space Grotesk', sans-serif; color: #0f172a; letter-spacing: -0.8px; margin-bottom: 12px; text-align: center; }
.section-sub { color: #475569; font-size: 16px; font-weight: 500; }

.features-section { padding: 90px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.14);
  border-radius: 28px;
  padding: 24px;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  border-color: #0284c7;
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.12);
}

.feature-art-box {
  border-radius: 22px;
  height: 240px;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(2, 132, 199, 0.12);
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.feature-art-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  display: block;
  transition: transform 0.35s ease;
}
.feature-card:hover .feature-art-box img {
  transform: scale(1.06);
}

.feature-title { font: 800 21px 'Space Grotesk', sans-serif; color: #0f172a; margin-bottom: 10px; letter-spacing: -0.5px; }
.feature-desc { color: #64748b; font-size: 14.5px; line-height: 1.6; }

/* CAMPAIGN GRID (ADVERTISE PAGE) */
.campaign-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 90px; }
.campaign-card { background: #fff; border: 1px solid rgba(2, 132, 199, 0.15); border-radius: 24px; padding: 32px 24px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); transition: transform 0.3s ease; }
.campaign-card:hover { transform: translateY(-6px); border-color: #0284c7; }
.campaign-icon { width: 56px; height: 56px; border-radius: 16px; background: #e0f2fe; color: #0284c7; display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; }
.campaign-title { font: 700 20px 'Space Grotesk', sans-serif; color: #0f172a; margin-bottom: 10px; }
.campaign-desc { color: #64748b; font-size: 14px; line-height: 1.6; }

.quality-box { background: #ffffff; border: 1px solid rgba(2,132,199,0.15); border-radius: 32px; padding: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 90px; box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05); }
.quality-list { list-style: none; margin-top: 20px; }
.quality-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 600; color: #334155; }
.quality-list li span.iconify { color: #0284c7; font-size: 20px; }

/* INTEGRATION NETWORK DIAGRAM (MONETIZE PAGE) */
.diagram-container { background: #ffffff; border: 1px solid rgba(2, 132, 199, 0.15); border-radius: 32px; padding: 60px 40px; text-align: center; margin-bottom: 90px; box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05); }
.diagram-grid { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.diagram-node { background: #0f172a; color: #fff; padding: 16px 28px; border-radius: 18px; font: 700 16px 'Space Grotesk', sans-serif; box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2); display: flex; align-items: center; gap: 10px; }
.diagram-center { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: #fff; padding: 24px 44px; border-radius: 24px; font: 800 22px 'Space Grotesk', sans-serif; box-shadow: 0 15px 35px rgba(2, 132, 199, 0.3); }

/* DOCS WRAPPER (DOCS PAGE) */
.docs-wrapper { display: grid; grid-template-columns: 280px 1fr; gap: 36px; margin-bottom: 90px; }
.docs-sidebar { background: #ffffff; border: 1px solid rgba(2, 132, 199, 0.15); border-radius: 24px; padding: 24px; position: sticky; top: 100px; height: fit-content; box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04); }
.docs-menu-title { font: 700 13px 'Space Grotesk', sans-serif; text-transform: uppercase; color: #94a3b8; letter-spacing: 0.8px; margin-bottom: 12px; }
.docs-menu { list-style: none; margin-bottom: 20px; }
.docs-menu li { margin-bottom: 8px; }
.docs-menu a { color: #334155; text-decoration: none; font-size: 14px; font-weight: 600; display: block; padding: 6px 12px; border-radius: 8px; transition: all 0.2s; }
.docs-menu a:hover, .docs-menu a.active { background: #e0f2fe; color: #0284c7; }
.docs-main { background: #ffffff; border: 1px solid rgba(2, 132, 199, 0.15); border-radius: 28px; padding: 40px; box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05); }
.docs-section { margin-bottom: 40px; }
.docs-section h2 { font: 800 28px 'Space Grotesk', sans-serif; color: #0f172a; margin-bottom: 14px; border-bottom: 2px solid #e0f2fe; padding-bottom: 10px; }
.docs-section p { color: #475569; font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.code-block { background: #0f172a; color: #38bdf8; font-family: monospace; font-size: 13.5px; padding: 18px; border-radius: 14px; overflow-x: auto; margin-bottom: 18px; }
.var-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.var-table th, .var-table td { border: 1px solid #e2e8f0; padding: 10px 14px; font-size: 14px; text-align: left; }
.var-table th { background: #f8fafc; font-weight: 700; color: #0f172a; }

/* HOW IT WORKS (REVU STACKED SHOWCASE WITH STICKY SCROLL) */
.hiw-section { padding: 90px 0 120px; }
.hiw-header { text-align: center; margin-bottom: 64px; }
.hiw-section-title { font: 800 48px 'Space Grotesk', sans-serif; color: #0f172a; letter-spacing: -1.5px; margin-bottom: 14px; }
.hiw-section-sub { font-size: 19px; color: #475569; max-width: 640px; margin: 0 auto; font-weight: 500; }

.hiw-cards-stack { display: flex; flex-direction: column; gap: 40px; position: relative; }
.revu-hiw-card {
  position: sticky;
  top: 130px;
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.15);
  border-radius: 36px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
  transition: all 0.35s ease;
  overflow: hidden;
  margin-bottom: 30px;
}
.revu-hiw-card:nth-child(1) { z-index: 1; }
.revu-hiw-card:nth-child(2) { z-index: 2; }
.revu-hiw-card:nth-child(3) { z-index: 3; margin-bottom: 0; }

.revu-hiw-card.reverse {
  grid-template-columns: 1.1fr 1fr;
}
.revu-hiw-card:hover {
  border-color: #0284c7;
  box-shadow: 0 30px 70px rgba(2, 132, 199, 0.14);
}

.hiw-text-col { display: flex; flex-direction: column; justify-content: center; }
.hiw-step-pill {
  font-size: 13px; font-weight: 800; color: #0369a1; background: #e0f2fe;
  padding: 6px 20px; border-radius: 9999px; text-transform: uppercase;
  letter-spacing: 0.6px; width: max-content; margin-bottom: 22px;
}
.hiw-card-title { font: 800 38px/1.2 'Space Grotesk', sans-serif; color: #0f172a; letter-spacing: -1.2px; margin-bottom: 18px; }
.hiw-card-desc { font-size: 17px; color: #475569; line-height: 1.7; font-weight: 500; }

.hiw-visual-col {
  background: #e0f2fe;
  background-image: 
    radial-gradient(rgba(2, 132, 199, 0.22) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  background-size: 22px 22px, 100% 100%;
  border-radius: 28px;
  height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(2, 132, 199, 0.12);
}

/* NETWORK STATS COUNTER */
.stats-section { padding: 60px 0; margin-bottom: 90px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; background: #ffffff; border: 1px solid rgba(2, 132, 199, 0.15); border-radius: 28px; padding: 40px 20px; text-align: center; box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04); }
.stat-number { font: 800 38px 'Space Grotesk', sans-serif; color: #0284c7; letter-spacing: -1px; margin-bottom: 6px; }
.stat-label { font-size: 14px; font-weight: 600; color: #475569; }

/* CTA BANNER */
.cta-section { margin-bottom: 90px; }
.cta-card { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border-radius: 36px; padding: 60px 40px; text-align: center; color: #ffffff; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2); }
.cta-title { font: 800 40px 'Space Grotesk', sans-serif; margin-bottom: 14px; letter-spacing: -1px; }
.cta-sub { font-size: 17px; color: #94a3b8; max-width: 600px; margin: 0 auto 32px; }

/* FLOATING BADGE KEYFRAME ANIMATIONS */
@keyframes floatBadgeLeft {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
@keyframes floatBadgeRight {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
}
@keyframes floatPointer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -12px); }
}
@keyframes pulseGreenCheck {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(34, 197, 94, 0); }
}

.badge-left-1 { animation: floatBadgeLeft 5.5s ease-in-out infinite; }
.badge-left-2 { animation: floatBadgeRight 6.5s ease-in-out infinite 0.8s; }
.badge-right-1 { animation: floatBadgeRight 6.0s ease-in-out infinite 0.4s; }
.badge-right-2 { animation: floatBadgeLeft 7.0s ease-in-out infinite 1.2s; }
.anim-pointer { animation: floatPointer 2.2s ease-in-out infinite; }
.pulse-check { animation: pulseGreenCheck 2.2s infinite; }

/* 3D ARTWORK CONTAINER IN GATEWAY CARDS */
.gateway-art-wrapper {
  width: 100%;
  height: 320px;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 26px;
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(2, 132, 199, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.gateway-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gateway-card:hover .gateway-art-img {
  transform: scale(1.04);
}

/* DUAL GATEWAY CARDS */
.gateway-section { padding: 40px 0 90px; }
.gateway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.gateway-card { background: #ffffff; border: 1px solid rgba(2, 132, 199, 0.15); border-radius: 32px; padding: 48px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05); transition: all 0.3s ease; }
.gateway-card:hover { border-color: #0284c7; box-shadow: 0 25px 50px rgba(2, 132, 199, 0.15); }
.gateway-badge { display: inline-block; font-size: 12.5px; font-weight: 700; color: #0284c7; background: #e0f2fe; padding: 6px 16px; border-radius: 20px; margin-bottom: 20px; width: max-content; }
.gateway-title { font: 800 32px 'Space Grotesk', sans-serif; color: #0f172a; margin-bottom: 14px; letter-spacing: -0.8px; }
.gateway-desc { color: #475569; font-size: 15px; line-height: 1.65; margin-bottom: 28px; }
.gateway-list { list-style: none; margin-bottom: 34px; }
.gateway-list li { display: flex; align-items: center; gap: 12px; color: #334155; font-size: 14.5px; font-weight: 600; margin-bottom: 12px; }
.gateway-list li span.iconify { color: #0284c7; font-size: 20px; }

/* FOOTER */
.footer { border-top: 1px solid #e2e8f0; padding: 60px 0 30px; background: #ffffff; color: #64748b; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #475569; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #0284c7; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .features-grid, .campaign-grid { grid-template-columns: repeat(2, 1fr); }
  .gateway-grid, .docs-wrapper, .quality-box { grid-template-columns: 1fr; }
  .floating-badge { display: none; }
  .hero-title { font-size: 42px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 34px; }
  .phone-mockup { width: 250px; }
}
