:root{
  --bg0:#070A12;
  --bg1:#0B1222;

  --text: rgba(255,255,255,.95);
  --muted: rgba(255,255,255,.80);
  --muted2: rgba(255,255,255,.66);

  --card: rgba(255,255,255,.10);
  --cardBorder: rgba(255,255,255,.14);

  --good:#21D17D;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;

  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

*{ box-sizing:border-box; }
html, body{ width:100%; max-width:100%; overflow-x:hidden; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(700px 420px at 20% 10%, rgba(124,92,255,.18), transparent 62%),
    radial-gradient(700px 480px at 80% 18%, rgba(41,216,255,.12), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-size:16px;
  line-height:1.6;
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  opacity:.14;
}

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

.container{
  width:100%;
  max-width:720px;
  margin:0 auto;
  padding:0 14px;
}

.page{ padding-bottom: calc(110px + var(--safe-bottom)); }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  padding-top: var(--safe-top);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7,10,18,.76);
  border-bottom:1px solid rgba(255,255,255,.10);
}

.topbar{
  border-bottom:1px solid rgba(255,255,255,.10);
}

.topbar-inner{
  padding-top:10px;
  padding-bottom:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  color: var(--muted2);
  font-size:13px;
}

.topbar-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  width:100%;
  justify-content:flex-start;
}

.nav{
  padding-top:12px;
  padding-bottom:12px;
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-start;
}

.logo{
  font-weight:800;
  letter-spacing:.2px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.logo:before{
  content:"";
  flex:0 0 auto;
  width:12px;
  height:12px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(41,216,255,1));
  box-shadow: 0 0 0 4px rgba(124,92,255,.12);
}

.chip{
  padding:7px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color: var(--muted);
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}

/* Layout */
section{ padding:20px 0; }

.hero{
  padding-top:14px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.panel{
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow:hidden;
}

.hero-panel{
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(0,0,0,0.10);
  padding:18px;
  color:#000;
}

.media-panel{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--cardBorder);
  padding:12px;
}

h1{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.18;
  letter-spacing:-.2px;
  color:#000;
  overflow-wrap:anywhere;
  word-break:break-word;
}

h2{
  margin:0 0 12px;
  font-size:22px;
  letter-spacing:-.2px;
  overflow-wrap:anywhere;
}

h3{
  margin:0 0 8px;
  font-size:16px;
  overflow-wrap:anywhere;
}

p{
  margin:0;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.hero-panel p{
  margin:0 0 14px;
  color:#000;
  font-size:16px;
  line-height:1.65;
}

.sub{
  color: var(--muted);
  margin-top:-6px;
  font-size:15px;
  line-height:1.65;
}
.sub-tight{ margin-top:0; }

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 12px 0 14px;
}
.badge{
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,0.92);
  border:1px solid rgba(0,0,0,0.12);
  color:#000;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:8px;
  max-width:100%;
}
.badge i{
  width:8px;
  height:8px;
  border-radius:999px;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(33,209,125,.10);
  flex:0 0 auto;
}
.badge span{ overflow-wrap:anywhere; }

.trustline{
  margin-top:12px;
  font-size:13px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.trustline span{
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,0.92);
  color:#000;
}

.hero-image{
  display:block;
  width:100%;
  height:auto;
  border-radius: 18px;
  border: 1px solid var(--cardBorder);
}

/* Cards */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}

.card{
  background: var(--card);
  border:1px solid var(--cardBorder);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow2);
}
.card p{
  color: var(--muted);
  font-size:15px;
  line-height:1.6;
}
.card h3{ color: var(--text); }

.section-box{
  background: rgba(255,255,255,.06);
  border:1px solid var(--cardBorder);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding:18px;
}

/* Buttons — iOS glass */
.btn{
  border:0;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-full{ width:100%; margin-top:10px; }

.btn-glass,
.btn-glass-secondary{
  width:100%;
  position: relative;
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: 0.2px;

  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #000;

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, filter 0.16s ease;
  user-select:none;
}

.btn-glass-secondary{
  background: rgba(255, 255, 255, 0.48);
}

.btn-glass:before,
.btn-glass-secondary:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.22) 40%,
    transparent 60%
  );
  opacity:0.45;
  pointer-events:none;
}

.btn-glass:active,
.btn-glass-secondary:active{
  transform: translateY(0);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.18),
    inset 0 2px 4px rgba(0, 0, 0, 0.08);
  opacity: 0.98;
}

.cta-buttons{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:6px;
}

/* Footer */
.footer{ padding-top:10px; padding-bottom:18px; }
.footer-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--cardBorder);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow2);
}
.footer-text{
  margin:0;
  color: rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.65;
}
.footer-links{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.footer-bottom{
  text-align:center;
  margin-top:12px;
  font-size:12px;
  color: rgba(255,255,255,.50);
}

/* Bottom sticky CTA */
.bottom-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  padding: 10px 0 calc(10px + var(--safe-bottom));
  background: rgba(7,10,18,.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.10);
}

.bottom-cta-inner{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}

.bottom-cta-text{
  flex: 1;
  min-width: 0;
  color: rgba(255,255,255,.88);
  font-size: 12px;
  line-height: 1.25;
  opacity: .85;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.bottom-cta-btn{
  flex: 0 0 auto;
  width: 52%;
}

/* Wider screens — optional */
@media (min-width: 980px){
  .container{ max-width:1100px; padding:0 18px; }
  .hero{ flex-direction:row; align-items:stretch; }
  .hero-panel{ flex: 1.15; padding:26px; }
  .media-panel{ flex: .85; }
  .cta-buttons{ flex-direction:row; }
  .btn-glass, .btn-glass-secondary{ width:auto; }
  .btn-full{ width:auto; }
  .grid{ grid-template-columns: repeat(3, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .bottom-cta{ display:none; }
  .page{ padding-bottom: 0; }
}
