html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

:root {
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:#e5e7eb;
}

* { box-sizing:border-box; }
html,body {
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Inter,system-ui,sans-serif;
}
a { color:#0ea5e9; text-decoration:none; }
a:hover { text-decoration:underline; }

/* Header */

.header-hero {
  width: 100vw;
  margin: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #5b57ff 0%, #6a58ff 25%, #8d53ff 55%, #cc4cff 80%, #ff4da0 100%);
  color: #fff;
  padding: 40px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden; /* important: remove horizontal scroll on mobile */
}

/* translucent top bar */
.header-top {
  position:absolute;
  top:0;
  left:0;
  right:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 40px;
  background:rgba(0,0,0,0.25);        /* subtle dark overlay */
  backdrop-filter:blur(6px);          /* gentle blur for iOS-like translucency */
  -webkit-backdrop-filter:blur(6px);
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
}

.header-top .brand {
  display:flex;
  align-items:center;
  gap:10px;
}

.header-top .brand img {
  width:36px;
  height:36px;
  border-radius:8px;
}

.header-top .brand span {
  font-size:20px;
  font-weight:500;
  color:#fff;
}

.header-top .nav {
  display:flex;
  gap:20px;
  font-size:15px;
}

.header-top .nav a {
  color:#e5e7eb;
  text-decoration:none;
}

.header-top .nav a:hover {
  color:#fff;
}

.header-hero h1 {
  margin-top:100px;
  font-size:44px;
  font-weight:400;
}

/* Content */
.container { max-width:980px; margin:0 auto; padding:24px; }
.card {
  background:#fff;
  border:1.5px solid var(--border);
  border-radius:14px;
  padding:24px;
  margin:24px auto;
  max-width:900px;
}
.footer {
  border-top:1px solid var(--border);
  padding:26px 0;
  margin-top:28px;
  color:var(--muted);
  font-size:14px;
}
.footer .links {
  display:flex;
  gap:16px;
  justify-content:center;
  margin-bottom:8px;
}
.footer .links a { color:var(--muted); }
.footer small { display:block; text-align:center; }
.center { text-align:center; }
.appstore {
  display:block;
  margin:14px auto 0;
  max-width:200px;
  height:auto;
}
/* App Store button adjustments */
.download-section {
  text-align:center;
  margin-top:60px;        /* duration before content */
  margin-bottom:40px;
}

.download-section img.appstore {
  display:inline-block;
  border:none;             /* without border */
  box-shadow:none;         /* get out shadow */
  margin-top:0;
  transition:transform 0.15s ease;
}

.download-section img.appstore:hover {
  transform:scale(1.04);   /* light hover-effect */
}

/* Extra spacing between paragraphs and following section titles */
h3 {
  margin-top: 40px; /* increase or decrease like you want (20–40px) */
}

/* Utility spacing classes — easy margin control */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }

/* === Mobile adjustments === */
@media (max-width: 768px) {

  .header-hero {
    padding: 60px 20px 80px;
  }

  .header-top {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.4);
  }

  .header-top .brand {
    margin-bottom: 10px;
  }

  .header-top .nav {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
  }

  .header-hero h1 {
    font-size: 32px;
    margin-top: 80px;
  }

  .container {
    padding: 16px;
  }

  .card {
    padding: 18px;
    margin: 16px auto;
  }

  .footer .links {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
  }

  .download-section {
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .download-section img.appstore {
    max-width: 160px;
  }
}
