/* Cyberpunk, frosted-glass styling for the PXDigitalVault Etsy Shop page */

/* Base reset and grid background */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
:root {
  --bg: #0a0a0f;
  --fg: #e9e9f0;
  --muted: #cbd5e1;
  --purple-1: #7c3aed;
  --purple-2: #8b5cf6;
  --focus: #7c3aed;
  --glass: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.18);
  --shadow: 0 8px 24px rgba(0,0,0,.5);
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  color: var(--fg);
  background: var(--bg);
  background-image:
    linear-gradient(to right, rgba(124,58,237,.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124,58,237,.25) 1px, transparent 1px);
  background-size: 40px 40px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* Visually hidden helper for SR only content */
.visually-hidden { 
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Layout scaffolding */
main { padding: 2rem 1rem 2.5rem; max-width: 1100px; margin: 0 auto; }

/* Header styling */
.site-header {
  position: sticky; top: 0; z-index: 5;
  padding: 0.8rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6,6,12,.65);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(4px) saturate(1.2);
}
.brand {
  font-weight: 700;
  color: #e8eaff;
  text-shadow: 0 0 8px rgba(124,58,237,.9);
}

/* Frosted sections (hero, features, testimonials, bottom ad) */
.hero, .features, .testimonials, .bottom-ad {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 1.75rem;
  margin-top: 2rem;
  backdrop-filter: blur(6px);
}
.hero { display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: center; }

/* Hero text block */
.hero-copy h1 {
  margin: 0 0 .75rem;
  font-size: 1.9rem; line-height: 1.15; font-weight: 800;
  background: linear-gradient(135deg, #e9e3ff 0%, #d6ccff 40%, #bfb3ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 14px rgba(124,58,237,.8);
}
.subhead { color: var(--muted); font-size: 1rem; margin-bottom: .9rem; }

/* CTA button styling (neon) */
.cta {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .88rem 1.25rem; border-radius: 999px; font-weight: 700;
  background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
  color: #fff; border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 16px rgba(124,58,237,.6);
  text-shadow: none;
}
.cta:hover { transform: translateY(-1px); }
.cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Hero image */
.hero-media { border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.25); }
.hero-media img { width: 100%; height: auto; display: block; }

/* Responsive two-column hero layout */
@media (min-width: 768px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; padding: 2.5rem; }
  .hero-copy h1 { font-size: 2.4rem; }
  .hero-media { min-height: 320px; }
}

/* Features grid */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature { padding: 1rem; border-radius: 12px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); }
.feature h3 { font-size: 1.05rem; margin: 0 0 .4rem; color: #e9e0ff; }

/* Testimonials grid */
.testimonials h2 { font-size: 1.25rem; margin-bottom: .75rem; color: #e9e0ff; }
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.testimonial { padding: 1rem; border-radius: 12px; background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.12); }
.testimonial p { margin: 0 0 .25rem; color: #e9e6ff; }

/* Bottom advertisement strip */
.bottom-ad { text-align: center; margin-top: 2rem; padding: 1rem; }
.ad-link {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,58,237,.95), rgba(99,102,241,.95));
  color: #fff; font-weight: 700; border: 1px solid rgba(255,255,255,.25);
  text-decoration: none; box-shadow: 0 6px 18px rgba(124,58,237,.6);
}
.cta-mini { padding: .25rem .6rem; border-radius: 999px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.25); color: #fff; }
.cta-mini:hover { background: rgba(255,255,255,.15); }

/* Accessibility focus */
.ad-link:focus-visible, .cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Global grid rhythm and responsive behavior for grid layout */
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 520px) and (max-width: 899px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 519px) {
  .brand { font-size: .95rem; }
  .hero-copy h1 { font-size: 1.6rem; }
}