:root{
  --bg1:#f7f7ff;
  --bg2:#eef7ff;
  --card:rgba(255,255,255,.75);
  --stroke:rgba(0,0,0,.08);
  --text:#0f172a;
  --muted:#475569;

  --brand1:#4f46e5;
  --brand2:#06b6d4;
  --brand3:#a855f7;
  --brand4:#fb7185;

  --shadow: 0 24px 70px rgba(15,23,42,.10);
  --shadow2: 0 18px 40px rgba(15,23,42,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 70% 10%, #d9d6ff 0%, transparent 60%),
    radial-gradient(900px 700px at 10% 40%, #c6f6ff 0%, transparent 55%),
    radial-gradient(900px 600px at 80% 80%, #ffd6e7 0%, transparent 60%),
    linear-gradient(135deg,var(--bg1),var(--bg2));
  min-height:100vh;
}

a{color:inherit}
img{max-width:100%; display:block}

.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.70);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--stroke);
}
.nav-inner{
  max-width:1100px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
}
.brand{
  font-weight:950;
  text-decoration:none;
  color:var(--text);
  font-size:18px;
  letter-spacing:-0.2px;
}
.links a{
  color:var(--muted);
  text-decoration:none;
  margin-left:16px;
  font-weight:650;
}
.links a:hover{color:var(--text);}

.container{max-width:1100px;margin:0 auto;padding:22px 18px 60px;}

.hero{padding:18px 0 8px;}


.nav-logo {
  width: 60px;
  height: 60px;
  margin-right: 8px;
  border-radius: 8px;
  vertical-align: middle;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:28px;
  padding:26px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(79,70,229,.10);
  color:rgba(79,70,229,.95);
  font-weight:850;
  font-size:12px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:center;
}

h1{
  margin:12px 0 10px;
  font-size:44px;
  line-height:1.03;
  letter-spacing:-0.6px;
}
.sub{
  max-width:680px;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
}

.cta-row{display:flex; gap:12px; margin-top:16px; flex-wrap:wrap;}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 16px;
  border-radius:14px;
  font-weight:850;
  text-decoration:none;
  border:1px solid var(--stroke);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,23,42,.12); }
.btn.primary{
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color:white;
  border:none;
}
.btn.ghost{
  background:rgba(255,255,255,.55);
  color:var(--text);
}

.section{padding:18px 0;}
h2{margin:0 0 12px; font-size:22px; letter-spacing:-0.25px;}

.card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:22px;
  padding:18px;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
}

.grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}

.mini{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.mini-item{
  background:rgba(255,255,255,.60);
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:14px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}
.mini-title{font-weight:950; letter-spacing:-0.2px;}
.mini-sub{color:var(--muted); font-size:13px; margin-top:2px; line-height:1.4;}

.muted{color:var(--muted); margin-top:6px;}
.prose h2{margin-top:18px;}
.prose ul{margin-top:8px; line-height:1.6;}
.prose li{margin:6px 0;}

.form{display:flex; flex-direction:column; gap:12px;}
label{font-weight:850; font-size:13px;}
input,textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.70);
  outline:none;
}
input:focus,textarea:focus{
  border-color: rgba(79,70,229,.35);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}

.error{
  background:rgba(239,68,68,.10);
  border:1px solid rgba(239,68,68,.25);
  color:#b91c1c;
  padding:10px 12px;
  border-radius:14px;
  font-weight:750;
  margin-bottom:10px;
}

/* =========================
   iPhone screenshots widget
   ========================= */
/* ===========================
   iPhone Mockup Container
   =========================== */

.iphone-container{
  width: 320px;
  height: 640px;
  background: linear-gradient(180deg, #111, #000);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 40px 100px rgba(15,23,42,.35),
    inset 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
}

/* Outer bezel */
.bezel{
  width:100%;
  height:100%;
  background:#0b0b0f;
  border-radius:36px;
  overflow:hidden;
  position:relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

/* iPhone notch */
.notch{
  position:absolute;
  top:8px;
  left:50%;
  transform:translateX(-50%);
  width:140px;
  height:26px;
  background:#000;
  border-radius:0 0 18px 18px;
  z-index:5;
}

/* Screen */
.screen{
  width:100%;
  height:100%;
  background:#fff;
  overflow-y:auto;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding:40px 10px 26px; /* space for notch & home bar */
}

/* Hide scrollbar */
.screen::-webkit-scrollbar{ display:none; }
.screen{ scrollbar-width:none; }

/* Screenshot stack */
.shots{
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Individual screenshot */
.shots img{
  width:100%;
  border-radius:26px;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  border:1px solid rgba(0,0,0,.06);
  background:#f8fafc;
}

/* Home indicator */
.home-indicator{
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  width:120px;
  height:4px;
  background:rgba(255,255,255,.75);
  border-radius:4px;
  z-index:5;
}

/* ===========================
   Optional hover polish
   =========================== */

.iphone-container::after{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:36px;
  pointer-events:none;
  background:
    radial-gradient(400px 200px at 20% 10%, rgba(255,255,255,.15), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 35%);
}

/* Footer */
.footer{
  border-top:1px solid var(--stroke);
  background:rgba(255,255,255,.55);
  backdrop-filter: blur(14px);
}
.footer-inner{
  max-width:1100px;margin:0 auto;
  padding:16px 18px;
  display:flex; justify-content:space-between; align-items:center;
  color:var(--muted);
}
.footer-links a{color:var(--muted);text-decoration:none;font-weight:750;}
.footer-links a:hover{color:var(--text);}
.footer-links span{margin:0 10px;}