/* white-noise texture background with cyan hacker vibe and beige frosted glass */

/* Core palette */
:root{
  --bg: #0b0b0b;
  --bg-soft: rgba(0, 0, 0, 0.25);
  --cyan: #00e5ff;
  --cyan-dark: #00b9d9;
  --beige: #f5e6cb;
  --text: #e9faff;
  --muted: #d8e4dc;
  --glass: rgba(255,255,255,0.08);
  --glass-strong: rgba(255,255,255,0.18);
  --shadow: rgba(0,0,0,.5);
  --focus: rgba(0, 229, 255, 0.95);
  --cta-start: #4ef7e8;
  --cta-end: #00d9ea;
}

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

/* Page base with white-noise feel using a speckled texture & cyan glow */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: #070707;
  /* white noise speckles and cyan overlay to mimic a hacker vibe */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.15) 1px, transparent 1px),
    radial-gradient(circle at 3px 3px, rgba(0,255,255,.07) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

body::before {
  /* subtle violet glow behind content to hint cyberpunk, optional accent layer */
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'>\
<polygon fill='%2300e5ff' points='0,0 320,0 0,320' />\
<polygon fill='%2370f' points='320,0 800,0 800,480' />\
<polygon fill='%23aef' points='0,320 0,800 480,800' />\
<polygon fill='%234ff' points='480,320 800,320 800,0' />\
</svg>");
  background-size: cover;
  mix-blend-mode: screen;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.brand {
  font-weight: 900;
  color: var(--beige);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.9);
  letter-spacing: .5px;
  font-size: 1.05rem;
  z-index: 1;
  position: relative;
}

/* Layout wrappers for content clarity */
main { width: 100%; flex: 1 1 auto; position: relative; z-index: 1; }

/* Hero section: image as centerpiece with frosted glass panel for copy */
.hero { padding: 2rem 1rem; display: flex; justify-content: center; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  padding: 0 1rem;
}
.hero-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
  image-rendering: crisp-edges;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
}
.hero-content h1 {
  font-size: 1.9rem;
  line-height: 1.15;
  margin: 0;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}
.hero-content h2 {
  font-size: .95rem;
  font-weight: 500;
  color: #e7faff;
  margin: 0;
  opacity: .95;
}
.cta {
  display: inline-block;
  align-self: flex-start;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  color: #0a0a04;
  background: linear-gradient(135deg, var(--cta-start, #4ff0e0) 0%, var(--cta-end, #00e5ff) 60%, #00b5d6 100%);
  box-shadow: 0 6px 16px rgba(0, 212, 255, 0.6);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 212, 255, 0.8); }
.cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Two-column desktop layout */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
  .hero-content { padding: 2rem; }
  .hero-content h1 { font-size: 2.25rem; }
  .hero-content h2 { font-size: 1.02rem; }
  .hero-image { border-radius: 16px; }
}

/* Footer: advertisement + closing note */
.site-footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: #eae1d6;
  background: rgba(0,0,0,.5);
  border-top: 1px solid rgba(0, 255, 255, 0.25);
}
.advertisement {
  color: #ffe9d3;
  margin-bottom: .25rem;
}
.advertisement a {
  color: #ffd07a;
  font-weight: 700;
  text-decoration: none;
}
.advertisement a:hover { text-decoration: underline; }
.thank-you { margin: .25rem 0; color: #f7efe6; }

/* Accessibility focus ring for links */
a:focus-visible {
  outline: 3px solid rgba(0, 255, 255, 0.95);
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover { transform: none; }
}