/* Hacker cyberpunk landing theme with carbon fiber background, olive accents, frosted glass */

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

:root {
  --olive: #6b8e23;
  --olive-dark: #5a7817;
  --bg: #000;
  --fg: #e9f3d6;
  --muted: #aabf93;
  --glass: rgba(18,18,18,.65);
  --border: rgba(107,142,35,.6);
  --shadow: 0 6px 18px rgba(0,0,0,.5);
  --focus: 0 0 0 3px rgba(107,142,35,.6);
}

html, body { height: 100%; }

body {
  margin: 0;
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  background-color: #000;
  /* subtle carbon-fiber look: diagonal micro-stripes over black */
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(135deg, rgba(0,0,0,.75) 0 6px, rgba(0,0,0,.65) 6px 12px);
  background-size: 8px 8px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile-first layout: simple centering container for content */
main {
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 120px);
}

/* Image frame (adapts to viewport) */
.image-frame {
  width: min(92vw, 640px);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(18,18,18,.65);
  border: 1px solid rgba(107,142,35,.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Frosted glass hero container (optional markup) */
.hero {
  width: min(1100px, 92%);
  margin: 2rem auto;
  padding: 1.75rem;
  border-radius: 16px;
  background: rgba(12,14,12,.66);
  border: 1px solid rgba(107,142,35,.65);
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  text-align: center;
}
.hero .title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #d6f6a4;
  margin-bottom: .5rem;
}
.hero .lead {
  color: var(--muted);
  margin-bottom: .75rem;
}
.hero .cta {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(107,142,35,.8);
  background: linear-gradient(#2b3410, #1a210f);
  color: #e8ffd8;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 6px 14px rgba(0,0,0,.5);
}
.hero .cta.secondary {
  background: linear-gradient(#1e1f0f, #14150b);
  color: #e8ffd8;
}
.hero .cta:focus-visible,
.btn:focus-visible,
.product-ad a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-color: rgba(107,142,35,.95);
}

/* Button styles (prominent CTAs) */
.btn, .cta {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(107,142,35,.7);
  text-decoration: none;
  color: #ecfbdc;
  background: linear-gradient(#2a3512, #1b260d);
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .15s ease;
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 6px 14px rgba(0,0,0,.5);
}
.btn:hover, .cta:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(#4b5b14, #2f410a);
  border-color: rgba(107,142,35,.85);
  color: #eaffdc;
}
.btn:focus-visible, .cta:focus-visible, .btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85em;
  padding: .15em .4em;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: #e6f7c3;
  border: 1px solid rgba(107,142,35,.5);
}

/* Ad/footnote area with olive accents for hacker vibe */
footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}
.product-ad {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(107,142,35,.6);
  background: rgba(15,15,15,.55);
  margin-bottom: .75rem;
}
.product-ad h3 {
  font-size: .9rem;
  margin: 0 0 .25rem;
  color: #cde8a2;
}
.product-ad a {
  color: #d7f3a1;
  text-decoration: none;
}
.product-ad a:hover, .product-ad a:focus { text-decoration: underline; }

/* Text colors for accessibility */
p, li { color: var(--muted); }

/* Responsive adjustments */
@media (min-width: 640px) {
  main { padding: 3rem 1.5rem; }
  .image-frame { width: min(720px, 70vw); }
}
@media (min-width: 1024px) {
  main { padding: 4rem 2rem; }
  .image-frame { width: min(860px, 60vw); }
}