/* =========================
   yuhh
========================= */
:root{
  --text:#0b1220;
  --muted:#667085;

  --primary:#3b6cff;
  --primaryHover:#2f57d8;

  --border: rgba(16,24,40,.12);
  --glass: rgba(255,255,255,.62);
  --card: rgba(255,255,255,.90);

  --r-xl: 26px;
  --r-lg: 18px;
  --r-md: 14px;

  --shadow-sm: 0 8px 24px rgba(16,24,40,.08);
  --shadow-md: 0 18px 60px rgba(16,24,40,.12);

  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:#fff;
  line-height:1.45;
  text-rendering: optimizeLegibility;
}

img{ max-width:100%; display:block; }

/* remove underlines globally */
a{ color:inherit; text-decoration:none; }
a:link, a:visited, a:hover, a:active { text-decoration:none; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   BACKGROUND
========================= */
.background-gradient{
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("assets/images/bg-gradient.png") center/cover no-repeat;
}

/* =========================
   HEADER
========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 16px 0;
}

.logo{
  font-weight: 800; /* bold */
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav{
  display:flex;
  gap: 28px;
  color: rgba(11,18,32,.70);
  font-weight: 500;
}

.nav a:hover{
  color: rgba(11,18,32,.95);
}

/* =========================
   BUTTONS
========================= */
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .15s ease, transform .12s ease, border-color .15s ease;
  user-select:none;
}

.button:active{ transform: translateY(1px); }

.button.primary{
  background: var(--primary);
  color:#fff;
  box-shadow: 0 10px 30px rgba(59,108,255,.25);
}
.button.primary:hover{ background: var(--primaryHover); }

.button.dark{
  background:#0b1220;
  color:#fff;
  box-shadow: 0 10px 30px rgba(11,18,32,.18);
}

.button.light{
  background: rgba(255,255,255,.92);
  border-color: var(--border);
  color: rgba(11,18,32,.92);
}

.button.light:hover{ border-color: rgba(16,24,40,.18); }

.button.outline{
  background: transparent;
  border-color: rgba(16,24,40,.25);
  color: rgba(11,18,32,.90);
}

.button.outline:hover{
  border-color: rgba(16,24,40,.35);
}

.button.full{
  width: 100%;
  padding: 12px 18px;
}

/* =========================
   SECTION TAG / TITLES
========================= */
.section-tag{
  display:block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: center;
}

.section-title{
  text-align:center;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  margin: 0;
}

h1,h2,h3,h4{ margin:0; letter-spacing: -0.02em; }

/* =========================
   HERO
========================= */
.hero{
  padding: 34px 0 18px;
}

.hero-card{
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 36px;
  align-items:center;
  padding: 48px;
}

.hero-copy h1{
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero-copy p{
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 20px;
  max-width: 44ch;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-meta{
  display:flex;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

/* Visual stack */
.hero-visual-stack{
  position: relative;
  width: 100%;
  min-height: 360px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-dashboard-bg{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .22;
  transform: scale(1.06);
  pointer-events:none;
}

.hero-dashboard-foreground{
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: 0 28px 70px rgba(16,24,40,.18);
}

/* Payment Received pill */
.payment-pill{
  position: absolute;
  top: 12%;
  right: 6%;
  z-index: 3;

  background: rgba(248, 248, 248, .92);
  border: 1px solid rgba(16,24,40,.12);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 18px 45px rgba(16,24,40,.14);

  min-width: 200px;
}

.payment-pill__title{
  font-size: 12px;
  font-weight: 700;
  color: rgba(11,18,32,.70);
  margin-bottom: 6px;
}

.payment-pill__amount{
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.payment-pill__meta{
  display:flex;
  gap: 10px;
  align-items:center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(11,18,32,.60);
}

.payment-pill__pct{
  color: #12b76a;
}

/* =========================
   FEATURES
========================= */
.features{
  padding: 56px 0 18px;
}

.features-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.feature-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  text-align:center;
}

.feature-card h3{
  font-size: 14px;
  margin-bottom: 6px;
}

.feature-card p{
  margin:0;
  color: var(--muted);
  font-size: 12px;
}

/* =========================
   HOW IT WORKS
========================= */
.how-it-works{
  padding: 56px 0 22px;
}

.how-it-works .section-tag{
  display: inline-block;
  width: auto;           /* prevents full-width block behavior */
  text-align: left;
  margin: 0;
}

.how-header > div{
  text-align: left;
}

.how-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}

.how-cta{
  margin-top: 18px;
  flex: 0 0 auto;
}

.steps-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.step{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 18px 20px; /* more breathing room */
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow:hidden;
  min-height: 170px;
}

.step-number{
  position:absolute;
  top: 14px;
  left: 14px;
  font-weight: 800;
  font-size: 46px;
  color: rgba(16,24,40,.07);
  line-height: 1;
}

.step h3{
  margin-top: 44px; /* pushes away from big number */
  font-size: 14px;
  margin-bottom: 8px;
}

.step p{
  margin:0;
  font-size: 12px;
  color: var(--muted);
  max-width: 46ch;
}

.how-image{
  margin-top: 48px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: var(--shadow-md);
}

.how-image img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}




/* =========================
   PRICING
========================= */
.pricing{
  padding: 56px 0 26px;
}

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 26px;
  align-items: stretch;
}

.price-card{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(16,24,40,.14);
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-sm);
}

.price-card h3{
  font-size: 16px;
  margin-bottom: 6px;
}

.price-desc{
  margin: 0 0 18px;
  color: rgba(11,18,32,.60);
  font-size: 12px;
  line-height: 1.4;
  min-height: 32px;
}

.price-amount{
  display:flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.price-value{
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-unit{
  font-size: 12px;
  color: rgba(11,18,32,.60);
  font-weight: 600;
}

.price-list{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(11,18,32,.70);
  font-size: 12px;
}

.price-list li{
  position: relative;
  padding-left: 18px;
}

.price-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

/* featured middle card like screenshot */
.price-card.featured{
  background: #0b1220;
  color: #fff;
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 28px 70px rgba(16,24,40,.22);
}

.price-card.featured .price-desc,
.price-card.featured .price-unit{
  color: rgba(255,255,255,.70);
}

.price-card.featured .price-list{
  color: rgba(255,255,255,.78);
}

.price-card.featured .price-list li::before{
  color: rgba(255,255,255,.85);
}

.price-card.featured .price-value{
  color: #fff;
}

/* =========================
   FINAL CTA
========================= */
.final-cta{
  padding: 56px 0 40px;
}

.final-cta-inner{
  padding: 56px 20px;
  border-radius: var(--r-xl);
  color:#fff;
  text-align:center;
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(rgba(6,10,20,.62), rgba(6,10,20,.62)),
    url("assets/images/footer-img.png") center/cover no-repeat;
}

.final-cta-inner p{
  margin: 10px auto 18px;
  max-width: 70ch;
  color: rgba(255,255,255,.86);
  font-size: 12px;
}

/* =========================
   FOOTER
========================= */
.footer{
  padding: 44px 0 22px;
  background: rgba(255,255,255,.70);
  border-top: 1px solid rgba(16,24,40,.08);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.footer-brand p{
  margin: 10px 0 12px;
  color: rgba(11,18,32,.62);
  font-size: 12px;
  max-width: 52ch;
}

.footer-brand span{
  color: rgba(11,18,32,.60);
  font-size: 12px;
}

.footer-col h4{
  margin: 0 0 10px;
  font-size: 12px;
  color: rgba(11,18,32,.90);
}

.footer-col a{
  display: block;
  margin: 8px 0;
  font-size: 12px;
  color: rgba(11,18,32,.62);
}

.footer-col a:hover{
  color: rgba(11,18,32,.92);
}

.footer-bottom{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(16,24,40,.08);
  text-align: center;
  font-size: 12px;
  color: rgba(11,18,32,.55);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .container{ width: min(var(--container), calc(100% - 32px)); }

  .hero-grid{
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 20px;
  }

  .hero-visual-stack{
    min-height: 300px;
    margin-top: 6px;
  }

  .payment-pill{
    top: 10px;
    right: 10px;
    min-width: 190px;
  }

  .features-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .how-header{
    flex-direction: column;
    align-items: flex-start;
  }

  .how-cta{
    margin-top: 6px;
  }

  .steps-grid{
    grid-template-columns: 1fr;
  }

  .pricing-grid{
    grid-template-columns: 1fr;
  }

  .footer-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .nav{ display:none; }

  .hero{
    padding: 18px 0 12px;
  }

  .hero-grid{
    padding: 22px;
  }

  /* on small screens the pill should stack above the card instead of covering it */
  .payment-pill{
    position: static;
    margin: 0 auto 10px;
  }
}

/* tiny anchor spacer (benefits) */
.spacer{ height: 1px; }


/* HOW IT WORKS alignment fixes */
.how-header > div{
  text-align: left;
}

.how-it-works .section-tag{
  display: inline-block;
  width: auto;
  text-align: left;
  margin: 0;
}

/* spacing between cards and image */
.how-image{
  margin-top: 27px;
}

/* ========== LEGAL PAGES ========== */

.legal-page {
  padding: 80px 16px;
}

.legal-container {
  max-width: 760px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

.legal-container h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

.legal-updated {
  color: #667085;
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-container h2 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-container p,
.legal-container li {
  font-size: 16px;
  line-height: 1.7;
  color: #344054;
}

.legal-container ul {
  padding-left: 20px;
}

