/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
body {
  margin: 0;
  padding: 0;
  color: #eef2ff;
  min-height: 100vh;
  /* Red circuit board background with white accents for hacker feel */
  background-color: #000;
  background-image:
    /* circuit grid */
    linear-gradient(45deg, rgba(255,0,0,0.22) 25%, transparent 25%), 
    linear-gradient(-45deg, rgba(255,0,0,0.22) 25%, transparent 25%), 
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 40px 40px, 40px 40px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

/* Header */
.site-header { text-align: center; padding: 1rem 1rem 0.5rem; }
.brand { font-weight: 900; color: #fff; letter-spacing: .4px; }

/* Main layout: mobile-first */
main { width: 100%; }

/* Hero grid: single column on mobile, two-column on wide screens */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding: 1rem; max-width: 1100px; margin: 0 auto; align-items: center; }

/* Frosted glass content block */
.hero-content {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f8faff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

/* Heading and subhead styling */
.hero-content h1 {
  font-size: clamp(1.6rem, 5vw, 3rem);
  margin: 0 0 0.6rem;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
}
.hero-content .subhead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #f1eaff;
  margin: 0 0 1rem;
}

/* CTA as the visual centerpiece */
.cta {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #04131b;
  background: linear-gradient(135deg, #ff4d9f 0%, #ff2d83 100%);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 16px rgba(255,0,125,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,0,125,.7); }
.cta:focus-visible { outline: 3px solid #ff2d83; outline-offset: 2px; }

/* Hero media (image) */
.hero-media { display: flex; justify-content: center; align-items: center; padding: 0; }
.hero-media img { width: 100%; height: auto; max-width: 720px; border-radius: 16px; box-shadow: 0 12px 28px rgba(0,0,0,.45); }

/* Footer advertisement & closing note */
.site-footer { text-align: center; padding: 1rem; }
.footer-ad {
  display: inline-block;
  font-size: 0.92rem;
  color: #ffdceb;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(255,0,120,0.15);
  border: 1px solid rgba(255,0,120,0.4);
}
.closing-note { font-size: 0.92rem; color: rgba(238,238,248,0.95); margin-top: 0.4rem; }

/* Accessibility: keyboard focus for interactive elements */
:focus-visible { outline: 3px solid #ff4d9f; outline-offset: 2px; }

/* Desktop layout: two-column grid with the image as centerpiece */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    padding: 2rem;
  }
  .hero-content { padding: 1.75rem; }
  .hero-media { padding-left: 1rem; }
  .site-header { padding-top: 1rem; }
}