/* ===========
   Split — User Landing
   Short, conversion-focused page:
   gradient hero + glass cards + pill buttons.
   =========== */

:root{
  --bg-start: #1a2a6c;
  --bg-mid:   #b21f1f;
  --bg-end:   #fdbb2d;

  /* Brand gradient (matches merchant landing feel) */
  --grad: radial-gradient(
    1200px 700px at 20% -10%,
    #2a2f91 0%,
    #8a2be2 35%,
    #e141a2 68%,
    #ff6a88 100%
  );

  --glass: rgba(255,255,255,.08);
  --glass-strong: rgba(255,255,255,.16);

  --card: #0f1020;
  --text: #ffffff;
  --muted: rgba(255,255,255,.80);
  --muted2: rgba(255,255,255,.72);

  --ink: #0a0b14; /* used on light buttons */
  --stroke: rgba(255,255,255,.18);

  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --shadow-soft: 0 12px 26px rgba(0,0,0,.28);

  --maxw: 1060px;
  --radius: 18px;
  --radius-lg: 22px;

  --speed: 220ms;
  --focus: 0 0 0 3px rgba(255,255,255,.22), 0 0 0 8px rgba(138,43,226,.22);

  --measure: 70ch;
  --p-size: 16.5px;
  --p-lh: 1.72;
  --p-track: 0.1px;

  font-synthesis-weight: none;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  color: var(--text);
  background: #0a0b14;
  font: 400 16px/1.45 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Basic elements */
img{ max-width: 100%; display: block; }
a{ color: inherit; }
p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: var(--p-size);
  line-height: var(--p-lh);
  letter-spacing: var(--p-track);
  max-width: var(--measure);
}
strong{ color: rgba(255,255,255,.92); font-weight: 700; }

h1, h2, h3{
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
h2{
  font-size: 26px;
  line-height: 1.15;
}
h3{
  font-size: 18px;
  line-height: 1.25;
}

/* Layout */
.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* NAV + HERO ------------------------------------------------------ */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--grad);
  color: var(--text);
  padding-bottom: 56px;
}

/* Minimal nav */
.nav{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.nav__login{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: transform var(--speed) ease, background var(--speed) ease, border-color var(--speed) ease;
}
.nav__login:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}

/* Hero content */
.hero__content{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px 0;
}

/* Headline lockup */
.hero__headline{
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.hero__headline--lockup{
  display: inline-block;
}

.hero__headline-row{
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero__logo{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  padding: 3px;
  box-shadow: 0 0 8px rgba(255,255,255,0.15);

}

.hero__headline-text{
  color: rgba(255,255,255,.96);
}

.hero__headline-line2{
  display: block;
  margin-top: 6px;
}

.hero__headline-indent{
  display: inline-block;
  padding-left: 72px; /* aligns line 2 with headline text next to logo */
  color: rgba(255,255,255,.93);
}

.hero__subheadline{
  margin-top: 10px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.65;
  max-width: 64ch;
}

.hero__subheadline--aligned{
  padding-left: 72px; /* matches logo width + gap */
}

/* CTAs */
.hero__ctas{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.hero__ctas--aligned{
  padding-left: 72px; /* matches headline + subheadline alignment */
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    transform var(--speed) ease,
    box-shadow var(--speed) ease,
    background var(--speed) ease,
    color var(--speed) ease,
    border-color var(--speed) ease;
}

.btn:focus-visible{
  outline: none;
  box-shadow: var(--focus);
}

.btn--primary{
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(0,0,0,.28);
}

.btn--ghost{
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.38);
}

/* BENEFITS -------------------------------------------------------- */
.benefits{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.benefit{
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.benefit__icon{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  margin-bottom: 10px;
}

.benefit p{
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 40ch;
}

.benefit h3{
  margin: 0 0 8px;
  color: rgba(255,255,255,.95);
}

/* HOW IT WORKS ---------------------------------------------------- */
.why{
  padding: 52px 0 58px;
  background: #1f235f;
}

.why__card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.why__card h2{
  margin-bottom: 10px;
}

/* App Store CTA row inside the card */
.download__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.download__fineprint{
  margin-top: 14px;
  margin-bottom: 0;
  color: rgba(255,255,255,.78);
  font-size: 14.5px;
  line-height: 1.55;
}

/* PROOF SECTION (image-backed) */
.proof{
  padding: 32px 20px 32px;
  background: black;
}

.proof__media{
  position: relative;
  min-height: 620px;
  padding: 72px 20px;

  border-radius: var(--radius-lg);
  overflow: hidden;

  background-color: black;
  background-image:
    linear-gradient(
      to bottom,
      rgba(31,35,95,.15) 0%,
      rgba(31,35,95,.45) 60%,
      rgba(10,11,20,.7) 100%
    ),
    url("/Split-images/Split_User_Landing.png");

  background-size: cover;
  background-position: 70% 60%;
  background-repeat: no-repeat;

  box-shadow: var(--shadow);
}

/* PROOF — MOBILE TUNING */
@media (max-width: 560px){
  .proof{
    padding: 24px 16px;
  }

  .proof__media{
    min-height: 290px;
    padding: 32px 16px;
    background-position: center;
  }
}

/* FOOTER ---------------------------------------------------------- */
.footer{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(12,13,28,1) 50%,
    rgba(7,8,18,1) 100%
  );
  padding: 48px 0;
}

.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  padding: 3px;
}

.brand__name{
  font-weight: 800;
  letter-spacing: .6px;
  opacity: .95;
}

.footer__links{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
}

.footer-link{
  text-decoration: none;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.0);
  transition: border-color var(--speed) ease, opacity var(--speed) ease;
}
.footer-link:hover{
  opacity: .95;
  border-bottom-color: rgba(255,255,255,.32);
}

.dot{
  opacity: .55;
}

/* RESPONSIVE ------------------------------------------------------ */
@media (max-width: 980px){
  .benefits{ grid-template-columns: 1fr; }
  .hero__headline-indent{ padding-left: 0; }
  .hero__subheadline--aligned{ padding-left: 0; }
  .hero__ctas--aligned{ padding-left: 0; }
  p{ max-width: 62ch; }
  .footer__inner{ flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}
