/* ═══════════════════════════════════════════════════════
   Observer — Landing Page
   Dark premium theme · Orange #ff6b35 → #f7931e
═══════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #ff6b35;
  --orange-light: #f7931e;
  --orange-dark:  #c94f1a;
  --orange-deep:  #7a2e0a;
  --bg:           #080808;
  --bg-2:         #0e0e0e;
  --bg-3:         #141414;
  --surface:      rgba(255, 255, 255, 0.03);
  --surface-hover:rgba(255, 107, 53, 0.06);
  --border:       rgba(255, 255, 255, 0.06);
  --border-accent:rgba(255, 107, 53, 0.35);
  --text:         #e2e2e2;
  --text-muted:   #888;
  --text-dim:     #555;
  --glow-sm:      0 0 16px rgba(255, 107, 53, 0.25);
  --glow-md:      0 0 40px rgba(255, 107, 53, 0.2);
  --glow-lg:      0 0 80px rgba(255, 107, 53, 0.15);
  --radius:       12px;
  --radius-sm:    8px;
  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── Particles canvas ─── */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ─── Container ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2.5rem;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color .3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .05em;
  color: #e8e8e8;
  transition: color .2s;
}
.nav-logo:hover { color: var(--orange-light); }
.nav-eye { width: 36px; height: auto; }

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: .5rem;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .03em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--orange-light); }

.nav-cta {
  margin-left: auto;
  padding: .45rem 1.2rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: opacity .2s, box-shadow .2s;
}
.nav-cta:hover {
  opacity: .9;
  box-shadow: var(--glow-sm);
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}

/* Hex grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpolygon points='28,2 54,16 54,44 28,58 2,44 2,16' fill='none' stroke='rgba(255,107,53,0.06)' stroke-width='1'/%3E%3Cpolygon points='28,50 54,64 54,92 28,106 2,92 2,64' fill='none' stroke='rgba(255,107,53,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* ─── EnderEye ─── */
.eye-wrapper {
  position: relative;
  width: 260px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
}

.ender-eye {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.4))
          drop-shadow(0 0 60px rgba(255, 107, 53, 0.15));
  animation: eye-float 6s ease-in-out infinite;
}

.eye-pulse {
  animation: pulse-ambient 4s ease-in-out infinite;
}

@keyframes eye-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse-ambient {
  0%, 100% { opacity: .7; }
  50%       { opacity: 1; }
}

/* Rings */
.eye-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 53, 0.25);
  animation: ring-expand 4s ease-out infinite;
  pointer-events: none;
}
.ring-1 { width: 110%; height: 110%; animation-delay: 0s; }
.ring-2 { width: 145%; height: 145%; animation-delay: 1.3s; }
.ring-3 { width: 185%; height: 185%; animation-delay: 2.6s; }

@keyframes ring-expand {
  0%   { transform: translate(-50%, -50%) scale(.85); opacity: .5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

/* ─── Badge ─── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  background: rgba(255, 107, 53, 0.07);
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--orange-light);
  letter-spacing: .04em;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4cff91;
  box-shadow: 0 0 8px #4cff91;
  animation: badge-blink 2s ease-in-out infinite;
}
@keyframes badge-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ─── Hero title ─── */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 10%, var(--orange-light) 50%, var(--orange) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.3));
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 400px;
}

/* ─── Hero actions ─── */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(255, 107, 53, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: .95rem;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange-light);
  background: rgba(255, 107, 53, 0.06);
}

/* ─── Stats ─── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: .5rem;
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange-light);
}
.stat-label {
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ─── Scroll hint ─── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text-dim);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--orange));
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: .3; transform: scaleY(.8); }
  50%       { opacity: 1;  transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════════════ */
.checks, .why { padding: 7rem 0; }
.checks { background: var(--bg-2); border-top: 1px solid var(--border); }
.why    { background: var(--bg);   border-top: 1px solid var(--border); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .8rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: .06em;
  color: #f0f0f0;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   CHECKS
═══════════════════════════════════════════════════════ */
.checks-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.checks-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.col-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .5rem;
}
.col-icon { font-size: 1.4rem; }
.col-header h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #d0d0d0;
}
.col-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-dim);
}

/* Check card */
.check-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .25s, background .25s, transform .2s;
  cursor: default;
}
.check-card:hover {
  border-color: var(--border-accent);
  background: var(--surface-hover);
  transform: translateX(4px);
  box-shadow: var(--glow-sm);
}
.check-icon-wrap {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.12);
}
.check-body { flex: 1; min-width: 0; }
.check-name {
  font-weight: 600;
  font-size: .9rem;
  color: #d8d8d8;
  margin-bottom: .2rem;
}
.check-sub {
  font-weight: 400;
  color: var(--text-dim);
  font-size: .8rem;
}
.check-desc {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.check-count {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--orange);
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  padding: .2rem .5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Exemptions card */
.exemptions-card {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 107, 53, 0.04);
  border: 1px solid rgba(255, 107, 53, 0.15);
}
.exemptions-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.exemptions-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.exemptions-tags span {
  font-size: .72rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Config hint */
.config-hint {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.config-hint code {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--orange-light);
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  padding: .2rem .55rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.config-hint span {
  font-size: .78rem;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════
   WHY
═══════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .3s, background .3s, transform .25s, box-shadow .3s;
}
.why-card:hover {
  border-color: var(--border-accent);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255, 107, 53, 0.1);
}
.why-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #ddd;
}
.why-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.why-detail {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.why-detail span {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--orange);
}

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact {
  padding: 7rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem 3.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 80px rgba(255, 107, 53, 0.06);
  position: relative;
  overflow: hidden;
}

.contact-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(255, 107, 53, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.contact-eye {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.contact-eye svg {
  width: 48px;
  height: auto;
}

.contact-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: .05em;
  color: #f0f0f0;
}

.contact-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
}

.contact-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .contact-inner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
    gap: 2rem;
  }
  .contact-desc { max-width: 100%; }
}

@media (max-width: 600px) {
  .contact { padding: 4rem 0; }
  .contact-inner { padding: 2rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-eye { width: 44px; height: auto; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #e0e0e0;
}
.footer-tagline {
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: .1rem;
}

.footer-github {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
}
.footer-github:hover {
  border-color: var(--border-accent);
  color: var(--orange-light);
  background: rgba(255, 107, 53, 0.06);
}

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-version {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--orange);
}
.version-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}
.footer-meta {
  font-size: .78rem;
  color: var(--text-dim);
}
.footer-credit {
  margin-left: auto;
  font-size: .78rem;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .checks-columns { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .nav-links { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .footer-credit { margin-left: 0; }
}

@media (max-width: 600px) {
  .nav { padding: .85rem 1.2rem; }
  .hero { padding: 6rem 1.2rem 4rem; }
  .eye-wrapper { width: 200px; }
  .hero-title { font-size: 3.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .container { padding: 0 1.2rem; }
  .checks, .why { padding: 4rem 0; }
}
