:root{
  --bg:#eef3f8;
  --surface:#ffffff;
  --surface-soft:#f6f8fc;
  --line:#d8e1ee;
  --text:#0b1946;
  --muted:#617393;
  --gold:#e2be47;
  --gold-soft:#fbf3cc;
  --navy:#102b6c;
  --navy-dark:#0a1534;
  --shadow:0 30px 80px rgba(8,22,63,.10);
  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{text-decoration:none;color:inherit}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(216,225,238,.75);
}

.site-header__inner{
  max-width:1360px;
  margin:0 auto;
  padding:22px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:800;
  font-size:20px;
  color:var(--text);
}

.brand-badge{
  width:42px;
  height:42px;
  border-radius:12px;
  background:linear-gradient(180deg,#f1d46e,#e0ba3a);
  display:grid;
  place-items:center;
  box-shadow:0 10px 24px rgba(226,190,71,.28);
  font-size:20px;
}

.brand-text{
  font-size:22px;
  line-height:1;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
}

.site-nav a{
  font-weight:700;
  color:#425778;
}

.site-nav a:hover{
  color:var(--text);
}

.page-shell{
  max-width:1360px;
  margin:0 auto;
  padding:42px 26px 60px;
}

.intro{
  text-align:center;
  max-width:980px;
  margin:0 auto 38px;
}

.eyebrow{
  letter-spacing:.16em;
  font-size:13px;
  font-weight:800;
  color:#ae7c14;
  text-transform:uppercase;
  margin-bottom:14px;
}

.intro h1{
  margin:0 0 14px;
  font-size:clamp(38px,4vw,66px);
  line-height:.98;
  font-weight:900;
  color:var(--text);
}

.intro p{
  margin:0 auto;
  max-width:850px;
  color:var(--muted);
  font-size:18px;
  line-height:1.6;
}

.uc-layout{
  display:grid;
  grid-template-columns:360px minmax(340px,1fr) 560px;
  gap:26px;
  align-items:stretch;
}

.uc-tabs{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.uc-tab{
  border:1px solid var(--line);
  background:rgba(255,255,255,.86);
  border-radius:26px;
  padding:18px 20px;
  display:flex;
  align-items:center;
  gap:16px;
  cursor:pointer;
  transition:.2s ease;
  text-align:left;
  min-height:92px;
  box-shadow:0 8px 20px rgba(8,22,63,.04);
}

.uc-tab:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(8,22,63,.08);
}

.uc-tab.active{
  background:var(--gold-soft);
  border-color:#e0ba3a;
  box-shadow:0 16px 34px rgba(226,190,71,.16);
}

.uc-tab__icon{
  width:48px;
  height:48px;
  border-radius:16px;
  background:#f4f6fb;
  display:grid;
  place-items:center;
  font-size:23px;
  flex:0 0 auto;
}

.uc-tab__title{
  font-size:18px;
  font-weight:900;
  color:var(--text);
  line-height:1.15;
}

.uc-tab__subtitle{
  margin-top:4px;
  font-size:13px;
  font-weight:700;
  color:#7083a4;
  line-height:1.25;
}

.uc-copy{
  background:var(--surface);
  border:1px solid rgba(216,225,238,.95);
  border-radius:36px;
  padding:34px 38px 34px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:740px;
}

.uc-copy h2{
  margin:0 0 18px;
  font-size:clamp(42px,4.3vw,74px);
  line-height:.98;
  font-weight:900;
  letter-spacing:-.03em;
  color:var(--text);
}

.uc-description{
  margin:0 0 24px;
  color:var(--muted);
  font-size:20px;
  line-height:1.55;
}

.uc-feature-cards{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:26px;
}

.feature-card{
  background:var(--surface-soft);
  border:1px solid #ebeff6;
  border-radius:20px;
  padding:18px 20px;
}

.feature-card strong{
  display:block;
  margin-bottom:6px;
  font-size:17px;
  line-height:1.25;
  color:var(--text);
}

.feature-card span{
  display:block;
  font-size:15px;
  line-height:1.45;
  color:var(--muted);
}

.primary-cta{
  margin-top:auto;
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:56px;
  padding:0 24px;
  border-radius:16px;
  background:#e0ba3a;
  color:#0d1838;
  font-weight:900;
  font-size:16px;
  box-shadow:0 18px 36px rgba(226,190,71,.20);
}

.primary-cta span{
  font-size:20px;
  line-height:1;
}

.uc-preview-wrap{
  border-radius:36px;
  overflow:hidden;
  box-shadow:var(--shadow);
  min-height:740px;
}

.uc-preview{
  position:relative;
  height:100%;
  min-height:740px;
  display:grid;
  place-items:center;
  padding:24px;
  transition:background .22s ease;
}

.uc-preview[data-use-case="membership"]{
  background:radial-gradient(circle at top right,#214fa9 0%, #173d83 32%, #0c2e68 60%, #0a2352 100%);
}
.uc-preview[data-use-case="events"]{
  background:radial-gradient(circle at top right,#2b5eb7 0%, #173d83 30%, #0d2d67 62%, #0a2352 100%);
}
.uc-preview[data-use-case="volunteer"]{
  background:radial-gradient(circle at top right,#244f9b 0%, #173d83 34%, #0d2f6b 60%, #0a2352 100%);
}
.uc-preview[data-use-case="partners"]{
  background:radial-gradient(circle at top right,#c53d71 0%, #9e1f57 30%, #7f1041 60%, #5f0a33 100%);
}
.uc-preview[data-use-case="loyalty"]{
  background:radial-gradient(circle at top right,#2ea86a 0%, #238b58 34%, #196a44 60%, #145437 100%);
}
.uc-preview[data-use-case="vip"]{
  background:radial-gradient(circle at top right,#363636 0%, #252525 30%, #181818 55%, #0d0d0d 100%);
}

.phone{
  position:relative;
  width:min(360px,100%);
  aspect-ratio:360/725;
  background:#f5f7fb;
  border-radius:52px;
  border:8px solid #0a1430;
  box-shadow:
    0 32px 58px rgba(4,12,32,.30),
    inset 0 1px 0 rgba(255,255,255,.95);
  padding:16px;
  transform:rotate(-4deg);
}

.phone::before{
  content:"";
  position:absolute;
  left:-5px;
  top:165px;
  width:6px;
  height:82px;
  border-radius:4px 0 0 4px;
  background:#12264f;
}
.phone::after{
  content:"";
  position:absolute;
  right:-5px;
  top:220px;
  width:6px;
  height:112px;
  border-radius:0 4px 4px 0;
  background:#12264f;
}

.phone__inner{
  height:100%;
  border-radius:42px;
  background:linear-gradient(180deg,#fbfcfe 0%, #f1f5fa 100%);
  padding:22px 18px 18px;
  overflow:hidden;
  position:relative;
}

.phone__status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  font-weight:800;
  color:#667792;
  margin-bottom:10px;
}

.phone__notch{
  width:112px;
  height:22px;
  border-radius:999px;
  background:#060606;
}

.wallet-title{
  font-size:15px;
  font-weight:900;
  letter-spacing:.18em;
  color:#6c7d97;
  margin:12px 0 16px;
}

.wallet-card{
  border-radius:28px;
  padding:18px 18px 16px;
  color:#fff;
  box-shadow:0 20px 34px rgba(10,21,52,.24);
}

.wallet-card h3{
  margin:0;
  font-size:20px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.02em;
}

.wallet-card p{
  margin:4px 0 0;
  font-size:13px;
  line-height:1.4;
  opacity:.94;
}

.card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:16px;
}

.pass-badge{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:22px;
  flex:0 0 auto;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24);
}

.pass-tag{
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.12em;
  font-weight:900;
  opacity:.96;
}

.meta-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.meta-item{
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:12px 12px 10px;
  min-height:68px;
}

.meta-item label{
  display:block;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  opacity:.86;
  margin-bottom:5px;
}

.meta-item strong{
  display:block;
  font-size:16px;
  line-height:1.15;
  font-weight:900;
}

.meta-item span{
  display:block;
  margin-top:4px;
  font-size:12px;
  line-height:1.3;
  opacity:.92;
}

.qr-box{
  display:grid;
  place-items:center;
  width:96px;
  height:96px;
  border-radius:16px;
  background:#fff;
  color:#0f1c3e;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 10px 24px rgba(7,16,36,.16);
}

.qr-box::before{
  content:"";
  width:44px;
  height:44px;
  border-radius:8px;
  background:
    linear-gradient(90deg,#111 0 8px,transparent 8px 12px,#111 12px 20px,transparent 20px 24px,#111 24px 32px,transparent 32px 36px,#111 36px 44px),
    linear-gradient(#111 0 8px,transparent 8px 12px,#111 12px 20px,transparent 20px 24px,#111 24px 32px,transparent 32px 36px,#111 36px 44px);
  display:block;
  margin-bottom:8px;
}

.qr-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-top:16px;
}

.impact-bar{
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  overflow:hidden;
  margin-top:10px;
}
.impact-bar span{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#ffe08a,#fff2ba);
}

.reward-count{
  font-size:48px;
  line-height:.95;
  font-weight:900;
  margin:8px 0 4px;
}

.reward-sub{
  font-size:13px;
  opacity:.92;
}

.vip-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.wallet-note{
  margin-top:14px;
  background:#f7f9fd;
  border-radius:18px;
  padding:14px 15px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82);
}

.wallet-note strong{
  display:block;
  font-size:16px;
  line-height:1.2;
  color:#17284b;
  margin-bottom:4px;
}

.wallet-note span{
  display:block;
  font-size:12px;
  line-height:1.42;
  color:#6c7d97;
}

.card-membership{
  background:linear-gradient(180deg,#214f9b 0%, #173f81 100%);
}
.card-events{
  background:linear-gradient(180deg,#23529d 0%, #173f81 100%);
}
.card-volunteer{
  background:linear-gradient(180deg,#214d95 0%, #173f81 100%);
}
.card-partners{
  background:linear-gradient(180deg,#b32666 0%, #8f194e 100%);
}
.card-loyalty{
  background:linear-gradient(180deg,#299760 0%, #1c7347 100%);
}
.card-vip{
  background:linear-gradient(180deg,#282828 0%, #111111 100%);
}

.badge-membership,
.badge-events,
.badge-volunteer,
.badge-partners,
.badge-loyalty,
.badge-vip{
  background:#f0cb58;
  color:#132657;
}

.badge-events{background:#ff7993;color:#5b1630}
.badge-volunteer{background:#f2d05a;color:#5d4600}
.badge-partners{background:#ffd8e5;color:#8e174b}
.badge-loyalty{background:#f7db76;color:#3b5e10}
.badge-vip{background:#f5d07a;color:#4c3500}

@media (max-width:1260px){
  .uc-layout{
    grid-template-columns:320px minmax(320px,1fr) 470px;
  }
  .uc-copy{
    padding:30px 30px 32px;
  }
}

@media (max-width:1080px){
  .uc-layout{
    grid-template-columns:1fr;
  }
  .uc-tabs{
    order:1;
  }
  .uc-copy{
    order:2;
    min-height:auto;
  }
  .uc-preview-wrap{
    order:3;
    min-height:auto;
  }
  .uc-preview{
    min-height:680px;
  }
  .site-header__inner{
    padding:18px 18px;
  }
  .page-shell{
    padding:30px 18px 46px;
  }
}

@media (max-width:720px){
  .site-header__inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .site-nav{
    gap:16px;
  }
  .intro h1{
    font-size:38px;
  }
  .uc-copy h2{
    font-size:48px;
  }
  .uc-description{
    font-size:18px;
  }
  .uc-copy{
    padding:24px 22px 26px;
    border-radius:28px;
  }
  .uc-tab{
    padding:16px 16px;
    border-radius:22px;
  }
  .uc-preview-wrap{
    border-radius:28px;
  }
  .uc-preview{
    min-height:620px;
    padding:16px;
  }
  .phone{
    width:min(320px,100%);
  }
}

/* ============================================================
   3.4.6.5 FINAL USE CASES COMPOSITION
   Preserve unique mockups. Correct text / grid / tabs.
   ============================================================ */

.page-shell{
  max-width:1480px;
  padding-left:30px;
  padding-right:30px;
}

.intro{
  margin-bottom:34px;
}

/*
 * Give the narrative column enough room.
 * The prior 360 / flexible / 560 split squeezed the headline.
 */
.uc-layout{
  grid-template-columns:
    330px
    minmax(440px,500px)
    minmax(480px,1fr);

  gap:24px;

  align-items:stretch;
}

/* ------------------------------------------------------------
   LEFT USE CASE TABS
   ------------------------------------------------------------ */

.uc-tab{
  min-height:92px;
  padding:17px 18px;
}

.uc-tab__text{
  min-width:0;
  display:block;
}

.uc-tab__title{
  display:block;

  font-size:17px;
  line-height:1.2;
  font-weight:900;

  white-space:normal;
}

.uc-tab__subtitle{
  display:block;

  margin-top:4px;

  font-size:12px;
  line-height:1.3;
  font-weight:700;

  white-space:normal;
}

/* ------------------------------------------------------------
   CENTER COPY PANEL
   ------------------------------------------------------------ */

.uc-copy{
  min-width:0;

  min-height:740px;

  padding:
    38px
    34px
    34px;

  overflow:hidden;
}

.uc-copy .eyebrow{
  margin-bottom:14px;
}

/*
 * Important:
 * do NOT use viewport-driven 70px+ text here.
 * It was causing the giant one-word-per-line layout.
 */
.uc-copy h2{
  width:100%;
  max-width:none;

  margin:
    0
    0
    20px;

  font-size:clamp(
    40px,
    3.1vw,
    52px
  );

  line-height:1.01;

  letter-spacing:-.045em;

  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

.uc-description{
  width:100%;
  max-width:none;

  margin-bottom:24px;

  font-size:18px;
  line-height:1.52;
}

.uc-feature-cards{
  gap:10px;
}

.feature-card{
  padding:15px 17px;
}

.feature-card strong{
  font-size:15px;
}

.feature-card span{
  font-size:13px;
  line-height:1.45;
}

.primary-cta{
  min-height:50px;
  padding:0 20px;

  font-size:14px;
}

/* ------------------------------------------------------------
   PREVIEW COLUMN
   ------------------------------------------------------------ */

.uc-preview-wrap{
  min-width:0;
  min-height:740px;
}

.uc-preview{
  min-width:0;
  min-height:740px;

  padding:26px;
}

.phone{
  width:min(
    340px,
    88%
  );

  transform:
    rotate(-3deg);
}

/*
 * Keep niche-specific visual identities.
 */
.uc-preview[data-use-case="membership"] .phone{
  transform:rotate(-3deg);
}

.uc-preview[data-use-case="events"] .phone{
  transform:rotate(2deg);
}

.uc-preview[data-use-case="volunteer"] .phone{
  transform:rotate(-2deg);
}

.uc-preview[data-use-case="partners"] .phone{
  transform:rotate(3deg);
}

.uc-preview[data-use-case="loyalty"] .phone{
  transform:rotate(-2deg);
}

.uc-preview[data-use-case="vip"] .phone{
  transform:rotate(2deg);
}

/* ------------------------------------------------------------
   MEDIUM DESKTOP
   ------------------------------------------------------------ */

@media(max-width:1350px){

  .page-shell{
    max-width:1220px;
  }

  .uc-layout{
    grid-template-columns:
      290px
      minmax(400px,460px)
      minmax(420px,1fr);

    gap:18px;
  }

  .uc-copy{
    padding:32px 28px;
  }

  .uc-copy h2{
    font-size:44px;
  }

  .uc-description{
    font-size:16px;
  }

  .uc-tab{
    padding:14px;
  }

  .uc-tab__title{
    font-size:15px;
  }

  .phone{
    width:min(
      315px,
      90%
    );
  }
}

/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media(max-width:1080px){

  .uc-layout{
    grid-template-columns:1fr;
  }

  .uc-tabs{
    display:grid;
    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }

  .uc-copy{
    min-height:auto;
  }

  .uc-copy h2{
    max-width:760px;
    font-size:46px;
  }

  .uc-preview-wrap,
  .uc-preview{
    min-height:650px;
  }
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media(max-width:680px){

  .page-shell{
    padding-left:16px;
    padding-right:16px;
  }

  .uc-tabs{
    grid-template-columns:1fr;
  }

  .uc-copy{
    padding:26px 20px;
  }

  .uc-copy h2{
    font-size:36px;
    line-height:1.04;
  }

  .uc-description{
    font-size:16px;
  }

  .uc-preview{
    min-height:590px;
    padding:18px 12px;
  }

  .phone,
  .uc-preview[data-use-case] .phone{
    width:min(
      300px,
      94%
    );

    transform:none;
  }
}

