/* Submarine Cyberpunk Landing – single stylesheet (mobile-first) */

/* Light reset and CSS variables for a hacker/indigo aesthetic */
:root{
  --bg: #0b1020;
  --indigo: #1b2040;
  --cyan: #18eaff;
  --cyan-strong: #00e5ff;
  --panel: rgba(255,255,255,.08);
  --text: #e8f4ff;
  --muted: #c8d8ff;
  --shadow: 0 6px 28px rgba(0,0,0,.45);
  --radius: 16px;
}

/* Reset and base styles */
*,*::before,*::after{ box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg);
  /* cyan dot pattern background (pattern-only, lightweight) */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(24,234,255,.85) 1px, transparent 1px),
    radial-gradient(circle at 2px 2px, rgba(24,234,255,.55) 1px, transparent 1px);
  background-size: 6px 6px, 12px 12px;
  background-position: 0 0, 4px 4px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: focus visibility */
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Layout: center the hero, frosted glass card for image frame */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: 60vh;
}

.image-frame {
  position: relative;
  width: min(92vw, 860px);
  border-radius: calc(var(--radius) + 2px);
  padding: .75rem;
  background: var(--panel);
  border: 1px solid rgba(120, 180, 255, .38);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  overflow: hidden;
}
.image-frame::after{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(120,180,255,.35);
  pointer-events:none;
}
.image-frame img {
  width: 100%; height: auto; display: block;
  border-radius: 12px;
  object-fit: cover;
  filter: saturate(1.05);
  /* subtle glow around the image to sell hacker vibe */
  box-shadow: 0 0 22px rgba(24,234,255,.25);
}

/* Footer / CTA area styled as neon frosted panel */
footer {
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  color: #d9eaff;
  background: linear-gradient(to top, rgba(10,14,40,.0), rgba(10,14,40,.25) 60%, rgba(10,14,40,.6));
}

.product-ad {
  display: inline-block;
  text-align: left;
  padding: .85rem 1rem;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  background: rgba(10,12,40,.72);
  border: 1px solid rgba(120, 180, 255, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 6px 28px rgba(0,0,0,.5);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: .95rem;
  color: var(--cyan);
  letter-spacing: .4px;
}
.product-ad a { text-decoration: none; display: block; }
.product-ad a p {
  display: inline-block;
  padding: .5rem .9rem;
  border-radius: 999px;
  color: #eaf6ff;
  background: rgba(8,14,40,.95);
  border: 1px solid rgba(120,180,255,.6);
  font-weight: 700;
  transition: transform .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Small screens: tighten typography for readability */
@media (max-width: 420px){
  .product-ad { width: 92%; }
  footer { padding: 1.25rem 0.5rem; }
}

/* Desktop / larger tablets: scale up the hero and center CTA */
@media (min-width: 768px){
  main { padding: 4rem 2rem; }
  .image-frame { width: min(780px, 70vw); padding: 1rem; }
  footer { padding: 2rem 0; }
  .product-ad { margin: 0 auto; }
}
