/* ===================================================
   HARBOR — Private Landing  |  Dark Green Futuristic
   =================================================== */

:root {
  --bg:        #020c05;
  --bg2:       #061209;
  --sur:       #091a0e;
  --sur2:      #0d2213;
  --bdr:       rgba(0, 210, 90, 0.11);
  --bdr-h:     rgba(0, 210, 90, 0.38);
  --grn:       #00d95a;
  --grn-dim:   #16a34a;
  --grn-glow:  rgba(0, 210, 90, 0.20);
  --txt:       #d0edda;
  --txt2:      #7aaa8a;
  --txt3:      #3a5e48;
  --mono:      'Courier New', 'Lucida Console', monospace;
  color-scheme: dark;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== GRID BG ===== */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,210,90,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,210,90,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

/* ===== SCAN LINE ===== */
.scan-line {
  position: fixed;
  top: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--grn) 50%, transparent 100%);
  opacity: 0;
  animation: scan 8s ease-in-out infinite;
  z-index: 1;
}
@keyframes scan {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 0.45; }
  95%  { opacity: 0.45; }
  100% { top: 100vh; opacity: 0; }
}

/* ===== SHELL ===== */
.shell {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px 90px;
}

/* ===== TOP BAR ===== */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--bdr);
  margin-bottom: 72px;
}

.brand {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--grn);
  letter-spacing: 0.14em;
  text-shadow: 0 0 22px rgba(0,210,90,0.45);
}

.tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--txt3);
  border: 1px solid var(--bdr);
  padding: 5px 12px;
  border-radius: 4px;
}

/* ===== HERO ===== */
.hero { margin-bottom: 80px; max-width: 820px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--grn-dim);
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--txt);
  letter-spacing: -0.025em;
}

.accent {
  color: var(--grn);
  text-shadow: 0 0 32px rgba(0,210,90,0.38);
}

.lead {
  font-size: 1.05rem;
  color: var(--txt2);
  line-height: 1.75;
  max-width: 660px;
  margin-bottom: 36px;
}

/* ===== CTA ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--grn);
  color: #010d04;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 0 32px rgba(0,210,90,0.35), 0 3px 12px rgba(0,0,0,0.7);
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  margin-bottom: 14px;
  display: inline-flex;
}

.cta-btn:hover {
  background: #00ff70;
  box-shadow: 0 0 56px rgba(0,210,90,0.6), 0 6px 20px rgba(0,0,0,0.7);
  transform: translateY(-2px);
}

.cta-note {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--txt3);
  letter-spacing: 0.1em;
  display: block;
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--txt3);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

/* ===== APPS SECTION ===== */
.apps-section { margin-bottom: 72px; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.app-card {
  background: var(--sur);
  border: 1px solid var(--bdr);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.app-card:hover {
  border-color: var(--bdr-h);
  box-shadow: 0 0 24px var(--grn-glow), inset 0 0 24px rgba(0,210,90,0.03);
}

.app-icon {
  font-size: 1.9rem;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.app-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt);
}

.app-card p {
  font-size: 0.83rem;
  color: var(--txt2);
  line-height: 1.6;
  flex: 1;
}

.access-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--grn-dim);
  border: 1px solid rgba(22,163,74,0.28);
  background: rgba(22,163,74,0.07);
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ===== ACCESS SECTION ===== */
.access-section { margin-bottom: 72px; }

.access-panel {
  border: 1px solid var(--bdr);
  border-radius: 18px;
  background: var(--sur);
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.access-rule {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.access-rule p {
  font-size: 0.93rem;
  color: var(--txt2);
  line-height: 1.7;
}

.rule-num {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--grn);
  font-weight: 700;
  white-space: nowrap;
  padding-top: 3px;
  min-width: 30px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--bdr);
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--txt3);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}

.footer a {
  color: var(--grn-dim);
  text-decoration: none;
  transition: color 0.18s;
}

.footer a:hover { color: var(--grn); }

.footer-divider { color: var(--bdr-h); }

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  .shell { padding: 0 18px 64px; }
  .top-bar { margin-bottom: 44px; }
  .hero { margin-bottom: 52px; }
  .apps-section, .access-section { margin-bottom: 52px; }
  .access-panel { padding: 22px 18px; }
  h1 { font-size: 2rem; }
  .apps-grid { grid-template-columns: 1fr; }
}