/* -------------------------
   Premium Apple-like Landing
   Mobile-first | Retina-ready
   ------------------------- */

:root{
  --bg-1: #081022;       /* page background */
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.10);
  --muted: rgba(255,255,255,0.72);
  --accent: #6fb8ff;     /* soft blue accent for last name */
  --cta-start: #5ef08b;
  --cta-end: #2fc76a;
  --shadow-1: 0 10px 30px rgba(2,8,20,0.6);
}

* { box-sizing: border-box; }
html,body{ height:100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(40,60,90,0.12), transparent 6%),
    linear-gradient(180deg, #050814 0%, var(--bg-1) 100%);
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* 🔑 KEY CHANGE */
  display: flex;
  justify-content: center;
  align-items: flex-start; /* ⬅ was center */
  min-height: 100vh;

  padding: 24px 16px;
}


/* Page container centers the content */
.page{
  width:100%;
  max-width:520px;
}

/* Card: frosted glass, thin border, soft shadow */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius:20px;
  padding:34px 28px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-1);
  text-align:center;
  position:relative;
  overflow:visible;
}

/* badge */
.badge{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  background: rgba(10,20,30,0.35);
  border-radius:999px;
  color: #cdf6e3;
  font-size:13px;
  font-weight:600;
  letter-spacing:0.2px;
  margin: -8px 0 18px 0;
  box-shadow: 0 4px 12px rgba(10,20,30,0.4), inset 0 -1px 0 rgba(255,255,255,0.01);
}
.badge-ico { color: #d1ffe5; opacity:0.95; transform:translateY(1px); }

/* Profile */
.profile{
  width:132px;
  height:132px;
  margin: 6px auto 18px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* halo behind profile (soft) */
.profile-halo{
  position:absolute;
  width:180px;
  height:180px;
  border-radius:50%;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  background: radial-gradient(circle at 40% 35%, rgba(95,220,160,0.14), rgba(40,150,255,0.08) 40%, transparent 55%);
  filter: blur(22px);
  pointer-events:none;
  z-index:0;
}

/* subtle ring */
.profile-ring{
  position:absolute;
  width:140px;
  height:140px;
  border-radius:50%;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 20px rgba(2,8,20,0.55);
  z-index:1;
}

/* profile image */
.profile-img{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
  position:relative;
  z-index:2;
  border: 2px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 20px rgba(2,8,20,0.45);
  transform: translateZ(0);
}

/* Title */
.title{
  margin: 18px 0 6px;
  font-size:22px;
  letter-spacing:1px;
  font-weight:700;
  display:flex;
  justify-content:center;
  gap:10px;
  align-items:baseline;
}
.title-main { color:#E6F3FF; opacity:0.98; }
.title-accent { color:var(--accent); font-weight:800; letter-spacing:0.8px; }

/* Lede text */
.lede{
  margin:8px 0 18px;
  color:var(--muted);
  font-size:15px;
  line-height:1.45;
  max-width:44ch;
  margin-left:auto;
  margin-right:auto;
}

/* CTA area */
.cta-wrap { margin-top:6px; display:flex; flex-direction:column; gap:10px; align-items:center; }

/* CTA button — glass + gradient + glow */
.cta{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:14px 20px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  font-size:16px;
  color:#042018;
  background: linear-gradient(90deg, var(--cta-start), var(--cta-end));
  box-shadow: 0 6px 26px rgba(47,199,106,0.14), 0 0 30px rgba(98,230,150,0.08);
  transform-origin:center;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  will-change: transform, box-shadow;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(2px);
}

/* small emoji spacing */
.cta-emoji { font-size:16px; opacity:0.9; transform:translateY(1px); }

/* idle soft pulse */
@keyframes ctaPulse {
  0% { box-shadow: 0 6px 26px rgba(47,199,106,0.12), 0 0 20px rgba(47,199,106,0.06); transform: translateY(0); }
  50% { box-shadow: 0 10px 34px rgba(47,199,106,0.18), 0 0 34px rgba(47,199,106,0.10); transform: translateY(-1px); }
  100% { box-shadow: 0 6px 26px rgba(47,199,106,0.12), 0 0 20px rgba(47,199,106,0.06); transform: translateY(0); }
}
.cta { animation: ctaPulse 3.5s ease-in-out infinite; }

/* pressed state (via JS pointer events) and hover */
.cta:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 18px 40px rgba(47,199,106,0.20); }
.cta.pressed { transform: translateY(1px) scale(0.995); box-shadow: 0 6px 20px rgba(0,0,0,0.12); opacity:0.98; }

/* subtle small text under CTA */
.subtle { font-size:13px; color:var(--muted); margin:0; }

/* Responsive tweaks */
@media (min-width:700px){
  .page{ max-width:640px; }
  .card{ padding:40px; }
  .profile{ width:150px; height:150px; }
  .profile-img{ width:138px; height:138px; }
  .title{ font-size:28px; }
  .lede{ font-size:16px; }
  .features li{ font-size:16px; }
}

/* Feature List Container */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

/* Each Row */
.feature-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

/* Left Column */
.feature-left {
  font-weight: 700;
  color: #81c6ff;
  max-width: 45%;
  font-size: 15px;
  line-height: 1.3;
}

/* Right Column */
.feature-right {
  color: rgb(255, 255, 255);
  text-align: right;
  max-width: 50%;
  font-size: 16px;
  line-height: 1.4;
}

/* Responsive tweak */
@media (max-width: 430px) {
  .feature-row {
    flex-direction: column;
    text-align: left;
    gap: 6px;
  }
  .feature-right {
    text-align: left;
    max-width: 100%;
  }
}


/* ============================
   Mobile Optimization (360–420px)
   ============================ */

@media (max-width: 420px) {

  body {
    padding: 18px 10px;
  }

  .card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  /* Badge */
  .badge {
    font-size: 12px;
    padding: 6px 10px;
    line-height: 1.3;
    text-align: center;
  }

  /* Profile */
  .profile {
    width: 110px;
    height: 110px;
    margin-bottom: 12px;
  }

  .profile-img {
    width: 96px;
    height: 96px;
  }

  .profile-ring {
    width: 116px;
    height: 116px;
  }

  /* Title */
  .title {
    font-size: 20px;
    gap: 6px;
    margin-top: 6px;
  }

  /* CTA */
  .cta {
    padding: 14px 18px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  .cta-text {
    white-space: nowrap;
  }

  /* Feature List */
  .feature-list {
    margin-top: 18px;
    gap: 10px;
  }

  .feature-row {
    padding: 12px 14px;
    flex-direction: column;
    text-align: left;
    gap: 6px;
  }

  .feature-left {
    font-size: 14px;
    font-weight: 600;
  }

  .feature-right {
    font-size: 13px;
    opacity: 0.85;
    text-align: left;
  }

  /* Footer */
  .subtle {
    font-size: 12px;
    margin-top: 14px;
  }
}
