:root{
  --bg:#070b17;
  --bg-soft:#0d1324;
  --card:#11182a;
  --card-2:#151e33;
  --text:#f8fafc;
  --muted:#94a3b8;
  --line:rgba(255,255,255,.08);
  --brand:#7c5cff;
  --brand-2:#18d8ff;
  --success:#27d98b;
  --danger:#ff6b81;
  --shadow:0 24px 70px rgba(0,0,0,.35);
  --page-max:1380px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  overflow-x:hidden;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 15% 15%,rgba(124,92,255,.18),transparent 30%),
    radial-gradient(circle at 85% 20%,rgba(24,216,255,.12),transparent 28%),
    linear-gradient(180deg,#070b17 0%,#090f1e 100%);
  color:var(--text);
  min-height:100vh;
}

a{
  color:inherit;
}

.shell{
  width:min(var(--page-max),calc(100% - 56px));
  margin:auto;
  position:relative;
}

.shell:before,
.shell:after{
  content:"";
  position:fixed;
  top:0;
  bottom:0;
  width:1px;
  background:linear-gradient(
    180deg,
    transparent,
    rgba(124,92,255,.12) 18%,
    rgba(24,216,255,.08) 70%,
    transparent
  );
  pointer-events:none;
  z-index:0;
}

.shell:before{
  left:max(18px,calc((100vw - var(--page-max))/2));
}

.shell:after{
  right:max(18px,calc((100vw - var(--page-max))/2));
}

.nav,
.hero,
.section,
footer{
  position:relative;
  z-index:1;
}

.nav{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}

.brand{
  font-size:24px;
  font-weight:900;
  letter-spacing:-1px;
  text-decoration:none;
}

.brand span{
  background:linear-gradient(90deg,var(--brand),var(--brand-2));
  -webkit-background-clip:text;
  color:transparent;
}

.navlinks{
  display:flex;
  align-items:center;
  gap:24px;
}

.navlinks a{
  text-decoration:none;
  color:var(--muted);
  font-weight:650;
  font-size:14px;
}

.navlinks a:hover{
  color:#fff;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 20px;
  border-radius:12px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
  transition:.22s ease;
  font-size:15px;
}

.btn-primary{
  background:linear-gradient(135deg,var(--brand),#5a7cff);
  color:#fff;
  box-shadow:0 10px 30px rgba(124,92,255,.25);
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 38px rgba(124,92,255,.35);
}

.btn-secondary{
  border-color:var(--line);
  background:rgba(255,255,255,.035);
  color:#fff;
}

.btn-secondary:hover{
  background:rgba(255,255,255,.07);
  transform:translateY(-2px);
}

.hero{
  padding:105px 20px 90px;
  position:relative;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:8px 12px;
  border:1px solid rgba(124,92,255,.28);
  border-radius:999px;
  background:rgba(124,92,255,.08);
  color:#c9c2ff;
  font-size:13px;
  font-weight:800;
  margin-bottom:22px;
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--brand-2);
  box-shadow:0 0 15px var(--brand-2);
}

h1{
  font-size:clamp(48px,7vw,88px);
  line-height:.98;
  letter-spacing:-4px;
  margin:0;
  max-width:1020px;
}

.gradient-text{
  background:linear-gradient(90deg,#fff 0%,#bdb4ff 45%,#7beaff 100%);
  -webkit-background-clip:text;
  color:transparent;
}

.hero p{
  max-width:760px;
  color:var(--muted);
  font-size:21px;
  line-height:1.65;
  margin:26px 0 32px;
}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.metrics{
  margin-top:54px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.metric{
  padding:18px 20px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  border-radius:16px;
}

.metric strong{
  display:block;
  font-size:22px;
}

.metric span{
  color:var(--muted);
  font-size:13px;
}

.section{
  padding:80px 20px;
}

.section h2{
  font-size:clamp(36px,5vw,56px);
  letter-spacing:-2px;
  margin:0 0 18px;
}

.section-copy{
  color:var(--muted);
  max-width:720px;
  font-size:18px;
  line-height:1.65;
  margin-bottom:34px;
}

.grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card{
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.025));
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px;
  box-shadow:var(--shadow);
  transition:.25s ease;
  position:relative;
  overflow:hidden;
}

.card:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(124,92,255,.09),transparent 45%);
  pointer-events:none;
}

.card:hover{
  transform:translateY(-6px);
  border-color:rgba(124,92,255,.35);
}

.card h3{
  margin:0 0 10px;
  font-size:21px;
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  margin-bottom:18px;
  background:linear-gradient(135deg,rgba(124,92,255,.25),rgba(24,216,255,.18));
  border:1px solid rgba(255,255,255,.08);
}

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  align-items:stretch;
}

.price-card{
  position:relative;
}

.price-card.featured{
  border-color:rgba(124,92,255,.55);
  box-shadow:0 25px 70px rgba(124,92,255,.16);
}

.popular{
  position:absolute;
  top:16px;
  right:16px;
  padding:6px 10px;
  font-size:11px;
  font-weight:900;
  border-radius:999px;
  background:linear-gradient(90deg,var(--brand),var(--brand-2));
  color:white;
}

.price{
  font-size:44px;
  font-weight:900;
  letter-spacing:-2px;
  margin:18px 0;
}

.price small{
  font-size:15px;
  color:var(--muted);
  letter-spacing:0;
}

.list{
  list-style:none;
  padding:0;
  margin:22px 0;
}

.list li{
  margin:12px 0;
  color:#d7deea;
}

.list li:before{
  content:"✓";
  margin-right:10px;
  color:var(--success);
  font-weight:900;
}

.form-card{
  max-width:760px;
  margin:auto;
}

label{
  display:block;
  margin:15px 0 7px;
  font-weight:750;
}

input,select,textarea{
  width:100%;
  padding:14px 15px;
  background:#0b1221;
  color:#fff;
  border:1px solid var(--line);
  border-radius:11px;
  font:inherit;
  outline:none;
}

input:focus,select:focus,textarea:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(124,92,255,.12);
}

footer{
  border-top:1px solid var(--line);
  margin-top:60px;
  padding:38px 20px 55px;
  color:var(--muted);
  font-size:14px;
}

footer a{
  margin-right:18px;
  color:var(--muted);
  text-decoration:none;
}

footer a:hover{
  color:white;
}

@media(max-width:850px){
  .shell{
    width:min(100% - 24px,var(--page-max));
  }

  .shell:before,
  .shell:after{
    display:none;
  }

  .navlinks{display:none}

  .grid3,
  .pricing-grid,
  .metrics{
    grid-template-columns:1fr;
  }

  h1{
    letter-spacing:-2.5px;
  }

  .hero{
    padding:70px 8px 60px;
  }

  .section{
    padding:60px 8px;
  }

  footer{
    padding-left:8px;
    padding-right:8px;
  }
}


/* ==========================================================
   REVINZA GLOBAL NAV + FOOTER V2
   ========================================================== */

.navlinks,
.nav-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:24px;
}

.navlinks a,
.nav-right a{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  transition:.18s ease;
  white-space:nowrap;
}

.navlinks a:hover,
.nav-right a:hover{
  color:#fff;
}

.nav-logout-form{
  margin:0;
  padding:0;
}

.nav-signout{
  appearance:none;
  border:0;
  background:none;
  box-shadow:none;
  color:var(--muted);
  padding:0;
  margin:0;
  min-height:0;
  font:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.nav-signout:hover{
  color:#fff;
  transform:none;
  box-shadow:none;
}

.footer{
  border-top:1px solid var(--line);
  margin-top:60px;
  padding:38px 20px 55px;
  color:var(--muted);
  font-size:14px;
}

.footer-brand{
  color:#fff;
  font-size:16px;
  margin-bottom:15px;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}

.footer-links a{
  margin:0;
  color:var(--muted);
  text-decoration:none;
}

.footer-links a:hover{
  color:#fff;
}

@media(max-width:850px){

  .nav{
    min-height:76px;
    height:auto;
    padding:15px 0;
  }

  .navlinks,
  .nav-right{
    gap:12px;
    flex-wrap:wrap;
  }

  .navlinks a,
  .nav-right a,
  .nav-signout{
    font-size:12px;
  }

  .navlinks .btn,
  .nav-right .btn{
    min-height:38px;
    padding:0 13px;
  }
}


/* REVINZA HOME V2 ROBUST */

.rv-ideal-customer {
  max-width: 760px;
  margin: 22px auto 0;
  padding: 11px 18px;
  border: 1px solid rgba(124,92,255,.3);
  border-radius: 999px;
  background: rgba(124,92,255,.07);
  color: #b9c4d6;
  text-align: center;
  line-height: 1.55;
}

.rv-demo-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.rv-result-card {
  overflow: hidden;
  border: 1px solid rgba(124,92,255,.32);
  border-radius: 22px;
  background: #0d1324;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.rv-result-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid rgba(148,163,184,.14);
}

.rv-result-header h3 {
  margin: 10px 0 0;
}

.rv-sample-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(39,217,139,.10);
  color: #5ee7a9;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.rv-records {
  color: #94a3b8;
  font-size: 13px;
}

.rv-result-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1px;
  background: rgba(148,163,184,.12);
}

.rv-result-item {
  padding: 25px 28px;
  background: #101729;
}

.rv-result-item strong {
  display: block;
  margin-bottom: 8px;
  color: #18d8ff;
  font-size: 31px;
}

.rv-result-item span {
  color: #a8b3c7;
}

.rv-result-note {
  margin: 0;
  padding: 18px 28px 22px;
  color: #7f8ba0;
  font-size: 12px;
  line-height: 1.65;
}

.rv-policy-note {
  margin-top: 18px;
  color: #94a3b8;
}

.rv-policy-note a {
  color: #18d8ff;
}

.rv-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.rv-faq-list details {
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  padding: 0 20px;
}

.rv-faq-list summary {
  cursor: pointer;
  padding: 20px 4px;
  color: #f8fafc;
  font-weight: 750;
}

.rv-faq-list details p {
  margin: 0;
  padding: 0 4px 20px;
  color: #94a3b8;
  line-height: 1.7;
}

.rv-bottom-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(124,92,255,.35);
  border-radius: 18px;
  background: rgba(124,92,255,.08);
}

.rv-bottom-cta strong,
.rv-bottom-cta span {
  display: block;
}

.rv-bottom-cta strong {
  font-size: 20px;
}

.rv-bottom-cta span {
  margin-top: 7px;
  color: #94a3b8;
}

@media (max-width:850px) {

  .rv-demo-section {
    grid-template-columns: 1fr;
  }

  .rv-result-header,
  .rv-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width:560px) {

  .rv-result-grid {
    grid-template-columns: 1fr;
  }

  .rv-ideal-customer {
    border-radius: 16px;
  }

}

/* ==========================================================
   WHAT IS REVINZA V1
   ========================================================== */

.rv-start-here {
  margin: 22px auto 0;
  color: #94a3b8;
  text-align: center;
  font-size: 14px;
}

.rv-start-here a {
  color: #18d8ff;
  font-weight: 750;
  text-decoration: none;
}

.rv-start-here a:hover {
  text-decoration: underline;
}

.rv-example-card,
.rv-final-explainer {
  padding: 44px;
}

.rv-mini-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.rv-mini-results > div {
  padding: 22px;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.rv-mini-results strong {
  display: block;
  margin-bottom: 8px;
  color: #18d8ff;
  font-size: 28px;
}

.rv-mini-results span {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.45;
}

.rv-small-note {
  margin-top: 20px;
  color: #7f8ba0;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 850px) {

  .rv-mini-results {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 560px) {

  .rv-mini-results {
    grid-template-columns: 1fr;
  }

  .rv-example-card,
  .rv-final-explainer {
    padding: 26px;
  }

}
