/* ============================================================
   Prime55 — Landing page styles
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(43,197,135,.22), transparent 60%),
    radial-gradient(800px 500px at 10% 0%, rgba(14,122,79,.18), transparent 55%),
    linear-gradient(180deg, #07140e 0%, #0a1f15 55%, #0a1f15 100%);
  color: #eaf3ee;
  overflow: hidden;
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(43,197,135,.12); border: 1px solid rgba(43,197,135,.28);
  color: var(--green-300); padding: 7px 15px 7px 9px; border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 600;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(43,197,135,.25); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04; margin-top: 22px;
  letter-spacing: -0.03em;
}
.hero h1 .hl { color: var(--green-300); position: relative; white-space: nowrap; }
.hero h1 .amber { color: var(--amber-400); }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: #b7cabf; margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 30px; color: #8fa89a; font-size: 0.9rem; flex-wrap: wrap; }
.hero-trust .it { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--green-400); }

/* Stat strip under hero */
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 72px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden; }
.hero-stats .st { background: rgba(255,255,255,.02); padding: 24px 26px; }
.hero-stats .num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hero-stats .num b { color: var(--green-300); }
.hero-stats .lbl { font-size: 0.86rem; color: #93a89b; margin-top: 4px; }

/* ---------- Phone / SMS mockup ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-glow { position: absolute; inset: -10% -6% -6% -6%; background: radial-gradient(closest-side, rgba(43,197,135,.4), transparent 70%); filter: blur(30px); z-index: 0; }
.phone {
  position: relative; z-index: 1;
  width: 310px; max-width: 84vw;
  background: #0c1612; border: 9px solid #1c2a23; border-radius: 42px;
  box-shadow: var(--sh-lg), inset 0 0 0 2px rgba(255,255,255,.04);
  padding: 14px 14px 22px;
}
.phone-notch { width: 120px; height: 26px; background: #1c2a23; border-radius: 0 0 16px 16px; margin: -14px auto 10px; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.phone-head .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), var(--green-700)); display: grid; place-items: center; }
.phone-head .av svg { width: 20px; height: 20px; color: #fff; }
.phone-head .nm { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 0.98rem; }
.phone-head .st { font-size: 0.76rem; color: var(--green-300); }
.thread { display: flex; flex-direction: column; gap: 10px; padding: 16px 4px 6px; min-height: 360px; }
.msg { max-width: 82%; padding: 11px 14px; font-size: 0.92rem; line-height: 1.45; border-radius: 18px; opacity: 0; transform: translateY(10px); animation: msgIn .5s forwards; }
.msg.out { align-self: flex-end; background: linear-gradient(135deg, #1f8fff, #0a6fe0); color: #fff; border-bottom-right-radius: 5px; }
.msg.in { align-self: flex-start; background: #243029; color: #e9f2ec; border-bottom-left-radius: 5px; }
.msg .mlabel { display: block; font-weight: 700; margin-bottom: 2px; color: var(--green-300); font-size: 0.82rem; }
.msg .big { font-size: 1.05rem; font-weight: 700; }
.msg .ok { color: var(--green-300); } .msg .warn { color: var(--amber-400); }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.phone-input { display: flex; align-items: center; gap: 8px; margin-top: 12px; background: #1a241e; border-radius: var(--r-pill); padding: 8px 8px 8px 16px; }
.phone-input span { color: #6f8478; font-size: 0.88rem; flex: 1; }
.phone-input .send { width: 32px; height: 32px; border-radius: 50%; background: var(--green-500); display: grid; place-items: center; }
.phone-input .send svg { width: 16px; height: 16px; color: #fff; }

/* ---------- Logo / trust strip ---------- */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 30px; }
.trustbar .container { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
.trustbar p { color: var(--gray-400); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; width: 100%; text-align: center; }
.trustbar .name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--gray-300); letter-spacing: -0.02em; }

/* ---------- Prime cost authority ---------- */
.authority { background: var(--white); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.formula { background: var(--mint-50); border: 1px solid var(--mint-100); border-radius: var(--r-xl); padding: 36px; }
.formula-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.formula .chip { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-sm); min-width: 120px; }
.formula .chip .t { font-size: 0.78rem; color: var(--text-soft); font-weight: 600; }
.formula .chip .v { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin-top: 2px; }
.formula .op { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--green-600); }
.formula-result { margin-top: 24px; text-align: center; padding-top: 24px; border-top: 1px dashed var(--green-300); }
.formula-result .ratio { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; color: var(--green-600); letter-spacing: -0.03em; }
.formula-result .ratio small { font-size: 1.4rem; color: var(--green-500); }
.formula-result p { color: var(--text-soft); margin-top: 4px; }
.auth-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.auth-list li { display: flex; gap: 14px; }
.auth-list .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--mint-100); color: var(--green-700); display: grid; place-items: center; }
.auth-list .ic svg { width: 19px; height: 19px; }
.auth-list h4 { font-size: 1.05rem; margin-bottom: 2px; }
.auth-list p { color: var(--text-soft); font-size: 0.97rem; }

/* ---------- How it works ---------- */
.how { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; counter-reset: s; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; position: relative; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step .n { counter-increment: s; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; width: 40px; height: 40px; border-radius: 12px; background: var(--green-600); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-glow); }
.step .n::before { content: "0" counter(s); }
.step h3 { font-size: 1.25rem; margin: 20px 0 10px; }
.step p { color: var(--text-soft); }
.step .ex { margin-top: 16px; font-family: var(--font-mono); font-size: 0.85rem; background: var(--ink-900); color: var(--green-300); padding: 12px 14px; border-radius: var(--r-sm); }
.step .ex.blue { color: #cfe6ff; }

/* ---------- Features ---------- */
.features { background: var(--white); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feat { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--mint-100); background: #fff; }
.feat .ic { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--green-500), var(--green-700)); display: grid; place-items: center; box-shadow: var(--sh-glow); }
.feat .ic svg { width: 24px; height: 24px; color: #fff; }
.feat.amber .ic { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); box-shadow: 0 18px 40px -10px rgba(245,165,36,.5); }
.feat h3 { font-size: 1.18rem; margin: 18px 0 8px; }
.feat p { color: var(--text-soft); font-size: 0.97rem; }

/* ---------- Use cases ---------- */
.usecases { background: var(--bg); }
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.uc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-sm); }
.uc .emoji { font-size: 1.8rem; }
.uc h4 { font-size: 1.08rem; margin: 14px 0 8px; }
.uc p { color: var(--text-soft); font-size: 0.92rem; }

/* ---------- Results band ---------- */
.results {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff; border-radius: 0;
}
.results .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.results .r .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.results .r .num b { color: var(--amber-400); }
.results .r p { color: #cdeadd; margin-top: 6px; font-size: 1.02rem; }

/* ---------- Testimonials ---------- */
.testi { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.tcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; }
.tcard .stars { color: var(--amber-500); letter-spacing: 2px; font-size: 1.05rem; }
.tcard blockquote { font-size: 1.05rem; color: var(--ink-800); margin: 16px 0 22px; flex: 1; line-height: 1.55; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--green-400), var(--green-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.tcard .who .nm { font-weight: 700; font-size: 0.96rem; }
.tcard .who .role { color: var(--text-soft); font-size: 0.86rem; }

/* ---------- Comparison ---------- */
.compare { background: var(--bg); }
.ctable { margin-top: 48px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); }
.ctable table { width: 100%; border-collapse: collapse; }
.ctable th, .ctable td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.ctable thead th { font-family: var(--font-display); font-size: 0.95rem; background: var(--gray-100); color: var(--gray-600); }
.ctable thead th.p55 { background: var(--green-700); color: #fff; }
.ctable tbody td { color: var(--text-soft); font-size: 0.95rem; }
.ctable tbody td:first-child { color: var(--ink-900); font-weight: 600; }
.ctable td.p55 { background: var(--mint-50); color: var(--green-700); font-weight: 600; }
.ctable .yes { color: var(--green-600); font-weight: 700; }
.ctable .no { color: var(--gray-400); }
.ctable tr:last-child td { border-bottom: none; }

/* ---------- Pricing ---------- */
.pricing { background: var(--white); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { background: var(--ink-900); color: #fff; border-color: var(--ink-900); box-shadow: var(--sh-lg); position: relative; transform: scale(1.03); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan .badge { position: absolute; top: 18px; right: 18px; background: var(--amber-500); color: var(--ink-900); font-size: 0.74rem; font-weight: 800; padding: 5px 11px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .05em; }
.plan h3 { font-size: 1.3rem; }
.plan .desc { color: var(--text-soft); font-size: 0.93rem; margin-top: 6px; min-height: 42px; }
.plan.featured .desc { color: #9fb6a9; }
.plan .price { font-family: var(--font-display); font-size: 3rem; font-weight: 800; margin-top: 18px; letter-spacing: -0.03em; }
.plan .price span { font-size: 1rem; font-weight: 600; color: var(--text-soft); }
.plan.featured .price span { color: #9fb6a9; }
.plan .price-sub { font-size: 0.92rem; font-weight: 600; color: var(--text-soft); margin-top: 6px; }
.plan.featured .price-sub { color: #9fb6a9; }
.plan .feats { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan .feats li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--gray-600); }
.plan.featured .feats li { color: #cfe0d7; }
.plan .feats svg { width: 19px; height: 19px; color: var(--green-500); flex: none; }
.plan.featured .feats svg { color: var(--green-300); }
.price-note { text-align: center; margin-top: 26px; color: var(--text-soft); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq-list { max-width: 800px; margin: 48px auto 0; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-900); }
.faq-q .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--mint-100); color: var(--green-700); display: grid; place-items: center; transition: transform .25s; font-size: 1.2rem; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a div { padding: 0 22px 22px; color: var(--text-soft); }

/* ---------- Final CTA ---------- */
.cta {
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(43,197,135,.25), transparent 60%),
    linear-gradient(135deg, #07140e, #0c2a1c);
  color: #fff; text-align: center;
}
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); color: #fff; }
.cta p { color: #b7cabf; font-size: 1.15rem; margin: 18px auto 32px; max-width: 560px; }
.cta .hero-cta { justify-content: center; }
.cta .micro { margin-top: 22px; color: #8fa89a; font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .auth-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .steps, .feat-grid, .testi-grid, .price-grid { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr 1fr; }
  .results .container { grid-template-columns: 1fr; gap: 28px; }
  .plan.featured { transform: none; }
  .phone-wrap { order: -1; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
  .ctable { overflow-x: auto; }
  .formula-row .op { transform: rotate(90deg); }
}

/* ---------- Waitlist ---------- */
.waitlist {
  background:
    radial-gradient(720px 380px at 12% 0%, rgba(43,197,135,.22), transparent 60%),
    linear-gradient(135deg, #07140e, #0c2a1c);
  color: #eaf3ee;
}
.eyebrow.light { background: rgba(43,197,135,.14); color: var(--green-300); }
.wl-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.wl-copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 18px; }
.wl-copy > p { color: #b7cabf; font-size: 1.12rem; margin-top: 16px; max-width: 520px; }
.wl-perks { margin-top: 28px; display: flex; flex-direction: column; gap: 15px; }
.wl-perks li { display: flex; gap: 13px; align-items: flex-start; color: #dceee4; font-size: 1.03rem; }
.wl-perks .ic { flex: none; width: 27px; height: 27px; border-radius: 50%; background: rgba(43,197,135,.18); color: var(--green-300); display: grid; place-items: center; margin-top: 1px; }
.wl-perks .ic svg { width: 15px; height: 15px; }
.wl-perks b { color: #fff; font-weight: 700; }
.wl-trust { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; color: #8fa89a; font-size: 0.92rem; }

.wl-card { background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-lg); color: var(--text); }
.wl-card h3 { font-size: 1.5rem; }
.wl-sub { color: var(--text-soft); font-size: 0.95rem; margin: 4px 0 20px; }
.wl-card .fld { margin-bottom: 14px; }
.wl-card label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.wl-card label .opt { color: var(--gray-400); font-weight: 500; }
.wl-card input, .wl-card select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300);
  border-radius: var(--r-sm); font: inherit; font-size: 1rem; background: #fff; color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
}
.wl-card input::placeholder { color: var(--gray-400); }
.wl-card input:focus, .wl-card select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(43,197,135,.18); }
.wl-card input.err { border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(229,72,77,.15); }
.wl-card .err-text { display: none; color: var(--red-600); font-size: 0.8rem; margin-top: 5px; }
.wl-card input.err + .err-text { display: block; }
.wl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-card button[type=submit] { margin-top: 8px; }
.wl-card button[type=submit]:disabled { opacity: .7; cursor: default; transform: none; }
.wl-fineprint { font-size: 0.78rem; color: var(--gray-400); margin-top: 14px; text-align: center; line-height: 1.5; }

.wl-success { text-align: center; padding: 18px 6px; }
.wl-success .check { width: 66px; height: 66px; border-radius: 50%; background: var(--mint-100); color: var(--green-600); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: var(--sh-glow); }
.wl-success .check svg { width: 32px; height: 32px; }
.wl-success h3 { font-size: 1.5rem; }
.wl-success p { color: var(--text-soft); margin: 12px 0 24px; }

@media (max-width: 960px) { .wl-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .wl-row { grid-template-columns: 1fr; } }
