/* WakeGuard — wakeguard.xyz */
:root {
  --bg: #070b12;
  --bg-2: #0c1220;
  --bg-3: #111a2c;
  --card: #0f1727;
  --line: rgba(148, 178, 255, 0.14);
  --text: #e8eefb;
  --muted: #9fb0ca;
  --cyan: #28c8f0;
  --cyan-soft: rgba(40, 200, 240, 0.12);
  --orange: #ff7a2f;
  --orange-soft: rgba(255, 122, 47, 0.12);
  --red: #ff4d3d;
  --green: #37d67a;
  --radius: 16px;
  --maxw: 1120px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-2);
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 12px;
}
.kicker {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 640px;
}
.center {
  text-align: center;
}
.center .lead {
  margin: 0 auto;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.brand:hover {
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff5330);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 90, 40, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 10px 34px rgba(255, 90, 40, 0.5);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      60% 50% at 75% 10%,
      rgba(40, 200, 240, 0.14),
      transparent 60%
    ),
    radial-gradient(
      50% 40% at 15% 90%,
      rgba(255, 122, 47, 0.12),
      transparent 60%
    ),
    var(--bg);
  padding: 84px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--cyan), #7fe3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}
.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust-row b {
  color: var(--text);
}
.star {
  color: #ffcc4d;
}
.hero-shot {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-shot img {
  width: min(320px, 80%);
  height: auto;
  border-radius: 36px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px var(--line),
    0 0 90px rgba(40, 200, 240, 0.18);
}
.badge-appstore {
  display: inline-flex;
}
.badge-appstore svg {
  height: 52px;
  width: auto;
}

/* ---------- Feature / metric strips ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.strip .cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.cell .num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan);
}
.cell .lbl {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Screenshots ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
}
.shot img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin-bottom: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
.shot h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.shot p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.step .n {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(40, 200, 240, 0.3);
}
.step h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}
.step p {
  color: var(--muted);
  font-size: 0.95rem;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.feature {
  display: flex;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.feature .ic {
  font-size: 1.4rem;
  line-height: 1.2;
}
.feature h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.feature p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Guides ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: block;
  color: var(--text);
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.guide-card:hover {
  text-decoration: none;
  border-color: rgba(40, 200, 240, 0.45);
  transform: translateY(-2px);
}
.guide-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.guide-card h3 {
  font-size: 1.1rem;
  margin: 8px 0 6px;
}
.guide-card p {
  color: var(--muted);
  font-size: 0.92rem;
}
.guide-card .more {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
  margin: 40px auto 0;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: "–";
}
.faq .a {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 0.97rem;
}
.faq .a a {
  font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(
      70% 120% at 50% 0%,
      rgba(255, 122, 47, 0.16),
      transparent 60%
    ),
    var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.cta-band p {
  color: var(--muted);
  max-width: 560px;
  margin: 14px auto 30px;
  font-size: 1.1rem;
}
.cta-band .btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}
.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer ul {
  list-style: none;
}
.footer li {
  margin-bottom: 9px;
}
.footer a {
  color: var(--muted);
  font-size: 0.92rem;
}
.footer a:hover {
  color: var(--text);
}
.footer .brand {
  margin-bottom: 12px;
}
.footer .about {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 320px;
}
.disclaimer {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #6d7f9b;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ---------- Guide article pages ---------- */
.article-hero {
  background:
    radial-gradient(
      60% 60% at 70% 0%,
      rgba(40, 200, 240, 0.1),
      transparent 60%
    ),
    var(--bg-2);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--muted);
}
.article-hero h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  font-weight: 800;
  max-width: 820px;
}
.article-hero .lead {
  margin-top: 16px;
  font-size: 1.12rem;
  max-width: 760px;
}
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 20px;
}
.article h2 {
  font-size: 1.55rem;
  margin: 44px 0 14px;
}
.article h3 {
  font-size: 1.18rem;
  margin: 30px 0 10px;
}
.article p {
  margin-bottom: 16px;
  color: #c6d2e6;
}
.article ul,
.article ol {
  margin: 0 0 18px 24px;
  color: #c6d2e6;
}
.article li {
  margin-bottom: 9px;
}
.article strong {
  color: var(--text);
}
.answer-box {
  background: var(--cyan-soft);
  border: 1px solid rgba(40, 200, 240, 0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 26px 0;
  color: var(--text);
  font-size: 1.05rem;
}
.answer-box p {
  color: var(--text);
  margin: 0;
}
.callout {
  background: var(--orange-soft);
  border: 1px solid rgba(255, 122, 47, 0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 26px 0;
}
.callout p {
  margin: 0;
  color: var(--text);
}
.app-cta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  margin: 40px 0;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.app-cta img.icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  flex-shrink: 0;
}
.app-cta .txt {
  flex: 1;
  min-width: 220px;
}
.app-cta h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.app-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.article img.inline-shot {
  width: min(300px, 100%);
  height: auto;
  border-radius: 24px;
  margin: 26px auto;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px var(--line);
}
.related {
  margin: 52px 0 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.related h2 {
  margin-top: 0;
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.95rem;
}
table.cmp th,
table.cmp td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  color: #c6d2e6;
}
table.cmp th {
  background: var(--bg-3);
  color: var(--text);
}
.table-wrap {
  overflow-x: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p.sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .trust-row {
    justify-content: center;
  }
  .strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps,
  .features {
    grid-template-columns: 1fr;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
}
@media (max-width: 560px) {
  .shots {
    grid-template-columns: 1fr;
  }
  .strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 52px 0;
  }
}
