/* ============================================
   PocketRoar — Glassmorphic Landing Page
   ============================================ */

/* ---- Design Tokens ---- */
:root {
  --bg-deep: #030712;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-strong: rgba(255, 255, 255, 0.12);
  --glass-highlight: rgba(255, 255, 255, 0.04);
  --text: #edf2fc;
  --text-secondary: #bcc8e8;
  --muted: #8896b8;
  --brand: #5dadff;
  --brand-2: #a78bfa;
  --accent: #6ee7b7;
  --accent-glow: rgba(110, 231, 183, 0.15);
  --brand-glow: rgba(93, 173, 255, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  background:
    /* aurora blobs */
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(139, 92, 246, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 55% at 85% 5%, rgba(56, 189, 248, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 90%, rgba(110, 231, 183, 0.10), transparent 50%),
    /* deep base */
    linear-gradient(180deg, #030712 0%, #050c1f 40%, #060f2a 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  margin: 0 0 1.25rem;
  background: linear-gradient(135deg, var(--text) 0%, #c8d6f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  color: var(--text);
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

p {
  margin: 0 0 0.75rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--brand);
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1.25rem;
  background: var(--bg-deep);
  color: var(--text);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---- Shared Layout ---- */
.site-header,
.section-shell {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ============================================
   HEADER — Glass Nav
   ============================================ */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 50;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(15, 23, 49, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 var(--glass-highlight);
  transition: background var(--transition), box-shadow var(--transition);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 8px rgba(93, 173, 255, 0.3));
}

.menu-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: all var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* ---- Main ---- */
main {
  padding-bottom: 5rem;
}

/* ============================================
   SECTION SHELL — Glass Card
   ============================================ */
.section-shell {
  margin-top: 2.5rem;
  padding: 2.25rem 2rem;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.section-shell:hover {
  border-color: var(--glass-border-strong);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: clamp(380px, 55vh, 560px);
  padding: 2.5rem 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  background: rgba(93, 173, 255, 0.1);
  border: 1px solid rgba(93, 173, 255, 0.2);
  border-radius: 999px;
}

.lead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  max-width: 56ch;
}

.cta-wrap {
  margin: 1.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.cta-primary {
  color: #051025;
  background: linear-gradient(135deg, var(--brand), #818cf8);
  box-shadow: 0 4px 20px rgba(93, 173, 255, 0.3);
  border: none;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(93, 173, 255, 0.45);
  color: #051025;
}

.cta-secondary {
  border-color: var(--glass-border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.micro-facts {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.micro-facts li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.micro-facts li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ---- Hero Visual ---- */
.hero-art {
  justify-self: end;
  width: min(380px, 100%);
  aspect-ratio: 1;
  border-radius: 32px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-art img {
  width: 58%;
  z-index: 3;
  filter: drop-shadow(0 8px 24px rgba(93, 173, 255, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.orb-1 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(93, 173, 255, 0.45), transparent 70%);
  top: -30px;
  right: -20px;
  animation: orb-drift-1 8s ease-in-out infinite;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.4), transparent 70%);
  left: -30px;
  bottom: -20px;
  animation: orb-drift-2 10s ease-in-out infinite;
}

.orb-3 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.35), transparent 70%);
  left: 50%;
  top: 10%;
  animation: orb-drift-3 7s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -10px) scale(1.08); }
  66% { transform: translate(-5px, 12px) scale(0.94); }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12px, -15px) scale(1.1); }
}

@keyframes orb-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, 14px) scale(0.92); }
}

/* ============================================
   CARDS — Glass Panels
   ============================================ */
.grid-3,
.feature-list,
.check-list,
.step-list {
  margin: 1.5rem 0 0;
  padding: 0;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-3 article {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}

.grid-3 article:hover {
  border-color: var(--glass-border-strong);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list li {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}

.feature-list li:hover {
  border-color: var(--glass-border-strong);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition);
}

.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.15);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.check-list li:hover {
  border-color: var(--glass-border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.step-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.step-list li {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
}

.step-list li:hover {
  border-color: var(--glass-border-strong);
  background: rgba(255, 255, 255, 0.045);
}

.step-list strong {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
  color: var(--text);
}

/* ---- FAQ Details ---- */
details {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
  cursor: pointer;
}

details:hover {
  border-color: var(--glass-border-strong);
}

details[open] {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

details summary {
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

details summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform var(--transition);
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

details p {
  margin-top: 0.75rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  margin: 3rem auto 3.5rem;
  width: min(1120px, 92vw);
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.site-footer p {
  margin: 0.35rem 0;
  color: var(--muted);
}

.legal {
  color: #6a7694;
  font-size: 0.82rem;
  margin-top: 0.75rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-art {
    justify-self: center;
    max-width: 300px;
  }

  .grid-3,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding: 1.75rem 1.5rem;
  }

  .site-nav {
    position: absolute;
    right: 0;
    top: calc(100% + 0.8rem);
    padding: 1rem;
    background: rgba(9, 17, 40, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius);
    display: none;
    flex-direction: column;
    min-width: 220px;
    z-index: 50;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
  }

  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 560px) {
  .hero,
  .section-shell {
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--radius);
  }

  .site-header {
    margin-left: 0;
    margin-right: 0;
    width: min(1120px, 95vw);
  }

  .section-shell {
    width: min(1120px, 95vw);
    padding: 1.5rem 1.25rem;
  }

  .hero {
    padding: 1.75rem 1.25rem;
  }

  .hero-art {
    max-width: 260px;
  }

  .micro-facts {
    flex-direction: column;
    gap: 0.45rem;
  }

  .cta-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .cta {
    justify-content: center;
    text-align: center;
  }
}

