/* CSS for TON Acolytes landing page */
/* Mobile-first, neon brown cyberpunk with frosted glass, grid paper background */

:root {
  --bg: #0a0a0a;
  --bg-soft: rgba(12, 12, 12, 0.65);
  --card: rgba(16, 16, 16, 0.65);
  --border: rgba(178, 120, 60, 0.65);
  --text: #e9e0d6;
  --muted: #c8b5a1;
  --neon: #9c5a2b; /* neon brown/orange */
  --neon-glow: 0 0 12px rgba(156, 90, 43, 0.9), 0 0 24px rgba(156, 90, 43, 0.6);
  --grid-line: rgba(122, 66, 22, 0.5);
  --radius: 14px;
}

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  /* Black & dark grey grid paper background with neon brown accents */
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  line-height: 1.5;
  /* Subtle frosted feel behind content layer if needed */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global links */
a { color: #e9d9c9; text-decoration: none; border-bottom: 1px solid rgba(193, 122, 59, 0.4); }
a:hover { color: #fff; text-decoration: none; border-bottom-color: rgba(193, 122, 59, 0.8); }

/* Header */
.site-header {
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: saturate(1.2) blur(2px);
  background: rgba(7, 7, 7, 0.45);
  border-bottom: 1px solid rgba(178, 120, 60, 0.35);
}
.brand {
  font-weight: 700;
  letter-spacing: .4px;
  color: #f9e7d7;
  text-shadow: 0 0 8px rgba(156,90,43,0.9);
}
.brand::after {
  content: " • cyber";
  color: #c9a07a;
  font-weight: 600;
  font-size: .9em;
  opacity: .9;
}

/* Main layout uses a grid for a unique feel */
.main { display: grid; gap: 1.5rem; padding: 1rem; }

/* Hero section as a two-column grid on larger viewports */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  /* frosted glass feel for the hero container layer */
  background: rgba(12, 12, 12, 0.58);
  border: 1px solid rgba(140, 90, 40, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-content {
  padding: 1.25rem;
}
.hero-content h1 {
  font-size: 2rem;
  line-height: 1.08;
  margin: 0 0 0.5rem;
  color: #fff7ed;
  text-shadow: 0 0 10px rgba(156,90,43,0.95);
}
.subhead {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.cta {
  display: inline-block;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 90, 43, 0.95);
  color: #f8efe7;
  background: rgba(20, 20, 20, 0.6);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(156, 90, 43, 0.9);
  background: rgba(20, 20, 20, 0.75);
}
.cta:focus-visible {
  outline: 3px solid #ffd27a;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(156,90,43,0.25);
}

/* Hero media (image) with glow */
.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}
.hero-media img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(178, 120, 60, 0.7);
  box-shadow: 0 0 28px rgba(178, 120, 60, 0.65);
}

/* Sections styling (features, testimonials) as frosted glass cards */
.section {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(12, 12, 12, 0.58);
  border: 1px solid rgba(178, 120, 60, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.features { padding: 1rem; }
.features h2, .testimonials h2 { font-size: 1.25rem; color: #ffd6a9; margin-bottom: .5rem; }

/* Features grid: single column on mobile, 3 on wide */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.feature {
  background: rgba(8, 8, 8, 0.6);
  border: 1px solid rgba(140, 90, 40, 0.6);
  padding: 1rem;
  border-radius: 12px;
}
.feature h3 { margin: 0 0 .25rem; color: #ffd9bd; }
.feature p { color: #d2c6b1; font-size: .95rem; }

/* Testimonials grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.testimonial {
  background: rgba(12, 12, 12, 0.58);
  border: 1px solid rgba(140, 90, 40, 0.6);
  padding: 0.85rem;
  border-radius: 12px;
}
.testimonial p { color: #e8dccb; margin: 0.25rem 0; }
.testimonial .author { font-style: italic; color: #f1d8c7; opacity: .95; }

/* Ad row in footer */
.ad-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: .95rem;
  color: #f1e6d8;
}
.ad-label {
  background: rgba(156, 90, 43, 0.9);
  color: #111;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
  font-size: .8rem;
  box-shadow: 0 0 8px rgba(156,90,43,0.7);
}
.ad-row a {
  color: #ffd8a3;
  text-decoration: none;
  border-bottom: 1px dashed rgba(210, 150, 90, 0.8);
}
.ad-row a:hover { color: #fff; }

/* Footer container */
.site-footer {
  padding: 1rem;
  border-top: 1px solid rgba(178, 120, 60, 0.5);
  background: rgba(9, 9, 9, 0.6);
  backdrop-filter: blur(4px);
}

/* Responsive rules: two-column hero on tablets and up, grid for features/testimonials */
@media (min-width: 700px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-content h1 { font-size: 2.4rem; }
  .subhead { font-size: 1.05rem; }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .hero-content { padding: 2rem; }
  .hero-grid { gap: 2rem; padding: 2rem; }
  .features { padding: 1.25rem; }
}
