/* Agentic Wallet Tour Guide Landing Page
   Modern, accessible, responsive. */

:root{
  --bg:#0b1220;
  --ink:#0f172a;
  --ink-2:#334155;
  --ink-3:#64748b;
  --surface:#0e1629;
  --brand:#70e1ff;
  --brand-2:#ffd36e;
  --card:#0f172a;
  --ring: rgba(112,225,255,.5);
  --white:#fff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--white);
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(112,225,255,.15), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(255,211,110,.15), transparent 60%),
    linear-gradient(180deg, #0b1220, #0b1220 60%, #0a0f1a);
  background-attachment: fixed;
}

.container{width:min(1100px, 92%); margin-inline:auto}

.site-header{
  position:sticky; top:0; z-index:50; backdrop-filter: blur(8px);
  background: rgba(11,18,32,.6);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-wrap{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; gap:.6rem; align-items:center; color:var(--white); font-weight:700}
.brand-mark{display:inline-grid; place-items:center; width:32px; height:32px; border-radius:9px; background:linear-gradient(135deg,var(--brand),var(--brand-2)); color:#0b1220; font-weight:800}
.brand-text{letter-spacing:.2px}

.nav-toggle{display:none; background:transparent; border:0; width:42px; height:42px; border-radius:8px}
.nav-toggle .bar{display:block; width:22px; height:2px; background:var(--white); margin:5px auto; transition:.2s}

.nav-list{display:flex; gap:1.2rem; align-items:center}
.nav-list a{color:var(--white); opacity:.9}
.nav-list a:hover{opacity:1}
.btn{display:inline-flex; gap:.6rem; align-items:center; padding:.8rem 1.1rem; border-radius:10px; background:linear-gradient(135deg,var(--brand),var(--brand-2)); color:#0b1220; font-weight:700; border:0}
.btn:hover{filter:saturate(1.05)}
.btn-sm{padding:.5rem .8rem; font-size:.9rem}
.btn-lg{padding:1rem 1.25rem; font-size:1.05rem}
.btn-link{background:transparent; color:var(--white); border:1px solid rgba(255,255,255,.2)}

.hero{
  padding:clamp(48px, 8vw, 96px) 0;
  background-image:url('https://images.unsplash.com/photo-1483721310020-03333e577078?q=80&w=1600&auto=format&fit=crop');
  background-size:cover; background-position:center;
  position:relative; isolation:isolate;
}
.hero::after{
  content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(11,18,32,.65), rgba(11,18,32,.8));
  z-index:-1;
}
.hero-inner{display:grid; grid-template-columns: 1.1fr .9fr; gap:42px; align-items:center}
.hero h1{font-size:clamp(2.2rem, 4vw, 3rem); margin:0 0 .6rem}
.lead{font-size:1.125rem; line-height:1.7; color:#e7eefc; opacity:.95}
.hero-ctas{display:flex; gap:.8rem; margin:1.1rem 0 1rem}
.hero-bullets{margin:.5rem 0 0; padding-left:1rem; list-style:square; color:#d7e5fb}
.hero-art{display:flex; justify-content:center}
.phone{width:300px; aspect-ratio:9/19.5; border-radius:28px; background:#0b0f19; box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.08); padding:16px; position:relative}
.phone-notch{position:absolute; left:50%; transform:translateX(-50%); top:10px; width:110px; height:24px; background:#0b0f19; border-bottom-left-radius:14px; border-bottom-right-radius:14px; box-shadow: inset 0 -2px 0 rgba(255,255,255,.05)}
.screen{background:linear-gradient(180deg,#0e1726,#0a1220); height:100%; border-radius:18px; padding:16px; overflow:auto}
.code{background:#09111e; border:1px solid rgba(112,225,255,.25); border-radius:12px; padding:14px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; color:#b8f1ff; font-size:.9rem; line-height:1.5; box-shadow:0 0 0 6px rgba(112,225,255,.06)}

.strip{border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06); background:rgba(255,255,255,.02)}
.strip-inner{padding:14px 0; text-align:center; color:#c6d6f3; font-size:.95rem}

.section{padding:clamp(48px, 7vw, 88px) 0}
.section h2{font-size:clamp(1.5rem, 3vw, 2rem); margin:0 0 1rem}
.section.alt{background:rgba(255,255,255,.02); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06)}

.grid{display:grid; gap:16px}
.features{grid-template-columns:repeat(auto-fit, minmax(230px, 1fr))}
.merchants{grid-template-columns:repeat(auto-fit, minmax(260px, 1fr))}

.card{
  background:rgba(12,18,30,.7); border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.card h3{margin:.2rem 0 .35rem; font-size:1.05rem}
.card p{margin:0; color:#d8e4ff; line-height:1.6}

.steps{display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:12px; counter-reset:step}
.steps li{list-style:none; background:rgba(12,18,30,.7); border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:16px}
.steps li strong{display:block; margin-bottom:6px}
.phase-cards{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:12px; margin-top:16px}

.checks{display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:12px}
.checks li{list-style:"✔  "; padding-left:.25rem; color:#d8e4ff}

.demo-box{display:grid; gap:10px; justify-items:start}
.demo-caption{color:#c6d6f3; margin:0}

.cta{background:linear-gradient(135deg, rgba(112,225,255,.08), rgba(255,211,110,.08))}
.waitlist{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.waitlist input, .waitlist select{
  background:#0c1425; border:1px solid rgba(255,255,255,.15); color:#eaf2ff;
  border-radius:10px; padding:.8rem .9rem; outline:none; min-width:240px;
}
.waitlist input:focus, .waitlist select:focus{box-shadow: 0 0 0 4px var(--ring); border-color:transparent}

.alt-contact{color:#c6d6f3}

.site-footer{border-top:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.02)}
.footer-wrap{display:flex; gap:12px; justify-content:space-between; align-items:center; padding:18px 0; color:#c6d6f3; font-size:.95rem}
.footer-links{display:flex; gap:12px}
.footer-links a{color:#e7eefc}

.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

@media (max-width: 900px){
  .hero-inner{grid-template-columns:1fr}
  .nav-toggle{display:inline-block}
  .nav-list{position:fixed; inset:60px 12px auto 12px; background:rgba(11,18,32,.95); border:1px solid rgba(255,255,255,.08); padding:12px; border-radius:12px; display:none; flex-direction:column}
  .nav-list.show{display:flex}
}


/* --- Overflow fix for hero phone code box --- */
.screen{overflow:hidden}
.screen .code{
  display:block;
  max-width:100%;
  box-sizing:border-box;
  white-space:pre-wrap;   /* allow wrapping inside <pre> */
  word-break:break-word;  /* break long tokens */
  overflow:auto;          /* scroll if still needed */
}
@media (max-width: 380px){
  .phone{width:260px}
  .screen .code{font-size:.85rem}
}

/* Why section media/text layout */
.why-grid{display:grid; grid-template-columns: 1fr 1.2fr; gap:18px; align-items:center}
.why-art img{width:100%; height:auto; border-radius:14px; border:1px solid rgba(255,255,255,.12); box-shadow:0 12px 28px rgba(0,0,0,.35); display:block; background:#0b1220}
.why-copy{padding:18px}
@media (max-width: 900px){
  .why-grid{grid-template-columns:1fr}
}
