/* ==========================================================================
   Access Node — Heirs Holdings Inspired Institutional Landing CSS
   Brand Color Theme: Deep Black (#050705) & Electric Neon Lime (#B4FE00)
   ========================================================================== */

:root {
  --an-black: #050705;
  --an-dark-card: rgba(12, 16, 12, 0.85);
  --an-dark-border: rgba(180, 254, 0, 0.18);
  
  --an-lime: #b4fe00;
  --an-lime-glow: rgba(180, 254, 0, 0.35);
  --an-lime-hover: #9ee600;
  
  --an-emerald: #10b981;
  --an-text-main: #ffffff;
  --an-text-sub: #cbd5e1;
  --an-text-muted: #64748b;

  --an-font-heading: 'Outfit', -apple-system, sans-serif;
  --an-font-body: 'Inter', -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--an-font-body);
  background-color: var(--an-black);
  color: var(--an-text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Ambient Glows */
.landing-bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.an-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
}

.an-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--an-lime);
  top: -120px;
  left: -100px;
}

.an-blob-2 {
  width: 600px;
  height: 600px;
  background: #059669;
  bottom: -150px;
  right: -100px;
}

/* Header & Navigation */
.an-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 5, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--an-dark-border);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.an-brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.an-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--an-lime);
  box-shadow: 0 0 15px var(--an-lime-glow);
}

.an-brand-title {
  font-family: var(--an-font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.an-brand-title span {
  color: var(--an-lime);
}

.an-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.an-nav-links a {
  color: var(--an-text-sub);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.an-nav-links a:hover {
  color: var(--an-lime);
}

.an-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.an-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--an-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.an-btn-lime {
  background: var(--an-lime);
  color: #000;
  box-shadow: 0 0 20px var(--an-lime-glow);
}

.an-btn-lime:hover {
  background: var(--an-lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(180, 254, 0, 0.6);
}

.an-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--an-dark-border);
}

.an-btn-outline:hover {
  border-color: var(--an-lime);
  color: var(--an-lime);
}

/* Hero Section — Heirs Holdings Inspired */
.an-hero-section {
  padding: 100px 40px 80px;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.an-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(180, 254, 0, 0.08);
  border: 1px solid rgba(180, 254, 0, 0.3);
  color: var(--an-lime);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.an-hero-title {
  font-family: var(--an-font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: #fff;
}

.an-hero-title span {
  color: var(--an-lime);
  background: linear-gradient(135deg, #b4fe00 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.an-hero-sub {
  font-size: 1.25rem;
  color: var(--an-text-sub);
  max-width: 820px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.an-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 70px;
}

/* Statistics Ticker Bar */
.an-ticker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.an-ticker-card {
  background: var(--an-dark-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--an-dark-border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.an-ticker-card:hover {
  border-color: var(--an-lime);
}

.an-ticker-value {
  font-family: var(--an-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--an-lime);
  margin-bottom: 4px;
}

.an-ticker-label {
  font-size: 0.9rem;
  color: var(--an-text-sub);
  font-weight: 600;
}

.an-ticker-desc {
  font-size: 0.78rem;
  color: var(--an-text-muted);
  margin-top: 4px;
}

/* Section Shared Layouts */
.an-section {
  padding: 90px 40px;
  max-width: 1320px;
  margin: 0 auto;
}

.an-section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.an-section-tag {
  color: var(--an-lime);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.an-section-title {
  font-family: var(--an-font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
}

.an-section-subtitle {
  font-size: 1.05rem;
  color: var(--an-text-sub);
}

/* Strategy / Cards Grid */
.an-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.an-card {
  background: var(--an-dark-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--an-dark-border);
  border-radius: 20px;
  padding: 36px 30px;
  transition: all 0.3s ease;
}

.an-card:hover {
  transform: translateY(-5px);
  border-color: var(--an-lime);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.an-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(180, 254, 0, 0.1);
  border: 1px solid rgba(180, 254, 0, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--an-lime);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.an-card h3 {
  font-family: var(--an-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.an-card p {
  color: var(--an-text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Interactive Landing Calculator */
.an-calc-container {
  background: var(--an-dark-card);
  border: 1px solid var(--an-dark-border);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.an-calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.an-calc-field label {
  font-size: 0.9rem;
  color: var(--an-text-sub);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.an-calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--an-lime);
  height: 8px;
  border-radius: 4px;
}

.an-calc-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--an-dark-border);
  border-radius: 10px;
  padding: 14px;
  color: #fff;
  font-size: 0.95rem;
}

.an-calc-results {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(180, 254, 0, 0.2);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.an-res-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.an-res-box:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.an-res-title {
  font-size: 0.95rem;
  color: var(--an-text-sub);
}

.an-res-value {
  font-family: var(--an-font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--an-lime);
}

/* Institutional Vision / Leadership Section */
.an-vision-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, rgba(180, 254, 0, 0.04), rgba(5, 7, 5, 0.9));
  border: 1px solid var(--an-dark-border);
  border-radius: 28px;
  padding: 60px;
}

.an-vision-content h2 {
  font-family: var(--an-font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.an-vision-content p {
  color: var(--an-text-sub);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.an-vision-quote {
  border-left: 3px solid var(--an-lime);
  padding-left: 20px;
  font-style: italic;
  color: var(--an-lime);
  font-size: 1.1rem;
}

.an-vision-image {
  text-align: center;
}

.an-vision-logo-large {
  width: 220px;
  height: 220px;
  border-radius: 30px;
  border: 2px solid var(--an-lime);
  box-shadow: 0 0 50px var(--an-lime-glow);
}

/* Footer */
.an-footer {
  background: #030403;
  border-top: 1px solid var(--an-dark-border);
  padding: 60px 40px 40px;
}

.an-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.an-footer-col p {
  color: var(--an-text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
}

.an-footer-col h4 {
  font-family: var(--an-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.an-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.an-footer-col a {
  color: var(--an-text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.an-footer-col a:hover {
  color: var(--an-lime);
}

.an-footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  color: var(--an-text-muted);
  font-size: 0.85rem;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .an-hero-title { font-size: 2.8rem; }
  .an-calc-container, .an-vision-wrapper { grid-template-columns: 1fr; }
  .an-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .an-header {
    padding: 10px 14px;
    gap: 8px;
  }
  .an-brand-title {
    display: none;
  }
  .an-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .an-header-actions {
    gap: 6px;
  }
  .an-header-actions .an-btn {
    padding: 7px 11px;
    font-size: 0.78rem;
  }
  .an-nav-links { display: none; }
  .an-hero-title { font-size: 2.2rem; }
  .an-footer-inner { grid-template-columns: 1fr; }
}
