/* Prank Master — GitHub Pages shared styles */

:root {
  --accent: #ff4d6d;
  --accent-deep: #e03555;
  --accent-glow: rgba(255, 77, 109, 0.28);
  --bg-top: #12121a;
  --bg-bottom: #0a0a0f;
  --surface: rgba(30, 30, 46, 0.82);
  --surface-solid: #1e1e2e;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: rgba(240, 239, 248, 0.95);
  --text-muted: rgba(152, 150, 176, 0.88);
  --brand: #9b6dff;
  --brand-deep: #7b4fe0;
  --teal: #00e5c3;
  --orange: #ff8c42;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.22);
  --max: 1120px;
  --legal-max: 760px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(165deg, var(--bg-top) 0%, var(--bg-bottom) 45%, #080810 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(155, 109, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(255, 77, 109, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(0, 229, 195, 0.08), transparent 45%);
  z-index: -1;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.wrap--legal {
  width: min(var(--legal-max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 0;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(10, 10, 15, 0.78);
  border-bottom: 1px solid var(--stroke);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(255, 77, 109, 0.35);
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  background: var(--surface-solid);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 229, 195, 0.1);
  border: 1px solid rgba(0, 229, 195, 0.22);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.25);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--accent), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 38ch;
  margin: 0 0 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--brand-deep));
  color: white;
  box-shadow: 0 12px 32px rgba(255, 77, 109, 0.32);
}

.btn--primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 77, 109, 0.38);
}

.btn--ghost {
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.btn--ghost:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.phone-mock {
  position: relative;
  justify-self: center;
  width: min(320px, 100%);
}

.phone-mock__frame {
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #0d0f17 0%, #171820 100%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.phone-mock__screen {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
  display: flex;
  flex-direction: column;
}

.phone-mock__header {
  background: #0d0f17;
  color: #fff;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.phone-mock__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.mock-tile {
  background: var(--surface-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
}

.mock-tile--hot {
  border-color: rgba(255, 77, 109, 0.35);
}

.mock-tile__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.mock-tile__badge {
  color: var(--accent);
  font-weight: 700;
}

.mock-tile__title {
  font-size: 0.82rem;
  font-weight: 600;
}

.section {
  padding: 4rem 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 0.5rem;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 2.5rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.18), rgba(155, 109, 255, 0.12));
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-banner {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.1), rgba(155, 109, 255, 0.08));
  border: 1px solid var(--stroke);
}

.pricing-banner h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.pricing-banner p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.disclaimer-banner {
  text-align: center;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 68ch;
  margin: 0 auto;
}

.page-header {
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.page-header .meta {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-card {
  background: var(--surface-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 3rem;
}

.legal-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-card p,
.legal-card li {
  color: var(--text);
  font-size: 0.98rem;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.35rem;
}

.legal-card li {
  margin-bottom: 0.4rem;
}

.toc {
  background: rgba(155, 109, 255, 0.08);
  border: 1px solid rgba(155, 109, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.65rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.toc a {
  text-decoration: none;
  font-size: 0.92rem;
}

.toc a:hover {
  text-decoration: underline;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.faq details {
  background: var(--surface-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 0.75rem;
  color: var(--teal);
}

.faq p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--stroke);
  margin-top: 2rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.site-footer small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .phone-mock {
    order: -1;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: rgba(10, 10, 15, 0.96);
    border-bottom: 1px solid var(--stroke);
  }

  .nav-links.is-open {
    display: flex;
  }

  .site-nav__inner {
    position: relative;
  }

  .legal-card {
    padding: 1.75rem 1.25rem;
  }
}
