/* Light reset & CSS baseline */
:root {
  --bg: #f7f7f7;
  --fg: #111;
  --muted: #555;
  --accent: #00e5ff;
  --accent-2: #9a6dff;

  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.92);
  --shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
body {
  margin: 0;
  padding: 0;
  color: var(--fg);
  background: var(--bg);
  /* White carbon fiber pattern (subtle) */
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.90) 25%, rgba(255,255,255,0) 25%),
    linear-gradient(225deg, rgba(255,255,255,.90) 25%, rgba(255,255,255,0) 25%);
  background-size: 16px 16px, 16px 16px;
  background-color: #f7f7f7;
  overflow-x: hidden;
}

/* Frosted glass utility for panels */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

/* Layout */
header {
  padding: 2rem 1rem;
  text-align: center;
}
header h1 {
  margin: 0 auto;
  max-width: 60ch;
  font-weight: 700;
  line-height: 1.1;
  color: #0a0a0a;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.hero {
  margin: 1rem auto 2rem;
  width: min(1100px, 92%);
  padding: 1.75rem;
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.hero h1 { font-size: clamp(1.6rem, 5vw, 3rem); }

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.btn {
  display: inline-block;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b0b0b;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.08); }

.btn.primary {
  background: linear-gradient(135deg, #00e5ff 0%, #0077ff 100%);
  color: #001018;
  border: none;
  box-shadow: 0 6px 16px rgba(0,231,255,.4);
}
.btn.primary:focus-visible {
  outline: 3px solid #4ee0ff;
  outline-offset: 2px;
}
.btn.secondary {
  background: rgba(255,255,255,.9);
}

/* Main content */
main { display: block; padding: 0 1rem 2rem; }
.image-frame {
  width: min(700px, 92%);
  margin: 0 auto;
  padding: .75rem;
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px rgba(0,0,0,.05);
}
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.9);
  object-fit: cover;
}

/* Footer / product ad */
footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}
.product-ad {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.product-ad h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  color: #0a0a0a;
}
.product-ad p {
  margin: 0;
  font-size: .95rem;
  color: #0a0a0a;
}
.product-ad a { text-decoration: none; color: inherit; }
.product-ad a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Focus visibility for keyboard navigation on all links/buttons */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 600px) {
  header { padding: 3rem 2rem; text-align: left; }
  header h1 { font-size: 2rem; }
  .hero { padding: 2rem; }
}
@media (min-width: 900px) {
  .hero h1 { font-size: 3rem; }
  .image-frame { width: 70%; }
  footer { padding: 2rem 0; }
}
@media (min-width: 1200px) {
  header { padding-left: 6vw; padding-right: 6vw; }
  header h1 { font-size: 3.5rem; }
  .image-frame { width: 60%; }
  .hero { transform: translateY(-4px); }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; transform: none !important; }
}