:root{
  --top: #0b1220;
  --topBorder: rgba(255,255,255,0.10);

  --bg0: #f7f8ff;
  --bg1: #eef2ff;

  --card: rgba(255,255,255,0.72);
  --cardBorder: rgba(15,23,42,0.12);

  --text: #0b1220;
  --muted: rgba(11,18,32,0.72);
  --mutedLight: rgba(249,250,251,0.76);

  --accentRed: #ef4444;
  --accentBlue: #2563eb;
}

html, body{
  height:100%;
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
}

body{
  background: radial-gradient(900px 500px at 10% 0%, rgba(37,99,235,0.16), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; }

.wrap{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.top{
  position: sticky;
  top:0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(11,18,32,0.95), rgba(11,18,32,0.65));
  border-bottom: 1px solid var(--topBorder);
  backdrop-filter: blur(10px);
}

.top .wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 200px;
}

.brandmark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, rgba(239,68,68,1), rgba(37,99,235,1));
  color: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.28);
}

.brandname{
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav{
  display:flex;
  gap: 14px;
  align-items:center;
  color: rgba(255,255,255,0.78);
}
.nav a:hover{ color: rgba(255,255,255,0.98); }
.nav .nav-cta{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.95);
}

.hero{
  padding: 40px 0 12px;
}
.hero-wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:center;
}

.hero-title{
  margin: 0 0 10px;
  font-size: clamp(34px, 4.3vw, 56px);
  letter-spacing: -0.04em;
}
.hero-sub{
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--muted);
  max-width: 40ch;
}

.hero-actions{
  display:flex;
  gap: 10px;
  align-items:center;
}

.button{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11,18,32,0.16);
  background: linear-gradient(180deg, white, rgba(255,255,255,0.80));
  box-shadow: 0 18px 45px rgba(2,6,23,0.07);
  font-weight: 650;
}
.button .apple{
  font-family: "SF Pro Display","Helvetica Neue","Helvetica","Arial",sans-serif;
  font-weight: 700;
}
.button:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(2,6,23,0.10);
}

.hero-shot{
  height: 440px;
  position: relative;
}
.shot{
  position:absolute;
  right: 0;
  top: 0;
  width: clamp(240px, 44vw, 320px);
  border-radius: 22px;
  overflow:hidden;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 40px 80px rgba(2,6,23,0.14);
}
.shot-secondary{
  top: 220px;
  right: 260px;
  width: 240px;
  opacity: 0.95;
  box-shadow: 0 30px 60px rgba(2,6,23,0.12);
}
.shot img{
  display:block;
  width: 100%;
}

.features{
  padding: 16px 0 10px;
}

.product-row{
  max-width: 1040px;
  margin: 0 auto 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:center;
}

.product-row.reverse{
  direction: rtl;
}
.product-row.reverse > *{
  direction: ltr;
}

.feature-tag{
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11,18,32,0.62);
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}
.feature-tag:before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, white, white 25%, rgba(239,68,68,1) 25%);
}

.product-card{
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--cardBorder);
  box-shadow: 0 18px 40px rgba(2,6,23,0.08);
  overflow:hidden;
}
.product-card img{
  display:block;
  width:100%;
  height:auto;
}

.muted{ color: var(--muted); }

.trust{
  padding: 12px 0 0;
}
.trust-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  padding-bottom: 10px;
}
.trust-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 18px 40px rgba(2,6,23,0.05);
  padding: 14px 16px;
}
.trust-card h4{
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.trust-card p{
  margin: 0;
  color: var(--muted);
}

.download-footer{
  background: linear-gradient(180deg,#0b1220,#040812);
  color: rgba(249,250,251,0.94);
  padding: 44px 0;
}
.download-card{
  display:flex;
  gap: 18px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.muted-light{ color: var(--mutedLight); }
.button-light{
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.20);
}
.button-light:hover{
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}
.footer-note small{
  color: rgba(249,250,251,0.72);
}

@media (max-width: 900px){
  .hero-wrap{ grid-template-columns: 1fr; }
  .hero-sub{ max-width: none; }
  .hero-shot{
    height: auto;
    display:flex;
    gap: 14px;
    justify-content: flex-start;
  }
  .shot{ position: static; width: 240px; }
  .shot-secondary{ position: static; width: 240px; }
  .product-row{ grid-template-columns: 1fr; }
  .product-row.reverse{ direction: ltr; }
  .trust-grid{ grid-template-columns: 1fr; }
}
