:root {
  --accent: #6f66d3;
  --accent-glow: rgba(111, 102, 211, 0.35);
  --accent-light: #8e86eb;
  --bg-dark: #0b0c16;
  --bg-card: #131525;
  --bg-hover: #1c1f36;
  --surface: #17192b;
  --text-main: #f0f2fe;
  --text-muted: #9fa5c4;
  --text-sub: #787f9d;
  --danger: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.35s ease;
}

.sheath {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, rgba(111, 102, 211, 0.15) 0%, rgba(11, 12, 22, 1) 70%);
}

/* Header Styles */
.zenith {
  width: 100%;
  background: rgba(19, 21, 37, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(111, 102, 211, 0.18);
  position: sticky;
  top: 0;
  z-index: 100;
}

.harbor {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.emblem {
  display: flex;
  align-items: center;
  min-width: 0;
}

.emblem img {
  height: 38px;
  width: auto;
  display: block;
}

.strand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
  min-width: 0;
}

.harbor-nexus {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.harbor-nexus:hover,
.harbor-nexus.active {
  color: #ffffff;
  background: rgba(111, 102, 211, 0.18);
}

.trace {
  display: flex;
  align-items: center;
  min-width: 0;
}

.latch {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 16px var(--accent-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.latch:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 102, 211, 0.5);
  color: #ffffff;
}

.spark {
  background: rgba(111, 102, 211, 0.12);
  color: var(--text-main);
  border: 1px solid rgba(111, 102, 211, 0.3);
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.spark:hover {
  background: rgba(111, 102, 211, 0.25);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

/* Main Container */
.vault {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

/* Section 1: Hero Intro */
.citadel {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: linear-gradient(180deg, rgba(19, 21, 37, 0.8) 0%, rgba(11, 12, 22, 1) 100%);
  border: 1px solid rgba(111, 102, 211, 0.2);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.citadel-left {
  flex: 1 1 500px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.citadel-right {
  flex: 1 1 450px;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(111, 102, 211, 0.15);
  border: 1px solid rgba(111, 102, 211, 0.35);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  width: fit-content;
}

.beacon {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.vertex {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.script {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.cluster {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.haven {
  background: var(--surface);
  border: 1px solid rgba(111, 102, 211, 0.15);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.35s ease;
}

.haven:hover {
  background: var(--bg-hover);
  border-color: rgba(111, 102, 211, 0.4);
  transform: translateX(4px);
}

.glyph {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(111, 102, 211, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-light);
}

.haven-script {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* SVG Motion Container */
.sanctum-graphic {
  width: 100%;
  max-width: 480px;
  background: #0f111f;
  border: 1px solid rgba(111, 102, 211, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-light) 50%, transparent 100%);
  box-shadow: 0 0 15px var(--accent-light);
  animation: scan 3.5s ease-in-out infinite;
}

@keyframes scan {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Section 2: Steps Flow */
.canopy {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.canopy-zenith {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.canopy-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.capsule {
  flex: 1 1 320px;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid rgba(111, 102, 211, 0.22);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  transition: all 0.35s ease;
}

.capsule:hover {
  border-color: var(--accent-light);
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(111, 102, 211, 0.25);
}

.pocket {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(111, 102, 211, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.capsule-vertex {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

/* Section 3: Detail / Contract Shield */
.crest {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(111, 102, 211, 0.25);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.crest-split {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.crest-info {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.crest-demo {
  flex: 1 1 480px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid rgba(111, 102, 211, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  font-family: monospace;
  font-size: 0.9rem;
}

.code-line {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-line:last-child {
  border-bottom: none;
}

.tag-danger {
  color: var(--danger);
  font-weight: bold;
}

.tag-success {
  color: var(--success);
  font-weight: bold;
}

/* Section 4: Threat Intel */
.cocoon {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cocoon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.cocoon-node {
  flex: 1 1 300px;
  min-width: 0;
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(111, 102, 211, 0.2);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cocoon-node:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}

/* Call to Action Sanctum */
.sanctum {
  width: 100%;
  background: linear-gradient(135deg, rgba(111, 102, 211, 0.25) 0%, rgba(19, 21, 37, 0.9) 100%);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px var(--accent-glow);
}

/* Footer Styles */
.anchor {
  width: 100%;
  background: #07080f;
  border-top: 1px solid rgba(111, 102, 211, 0.15);
  margin-top: auto;
  padding: 3.5rem 1.5rem 2rem 1.5rem;
}

.bedrock {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bedrock-brand {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bedrock-vertex {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.bedrock-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.bedrock-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 130px;
}

.bedrock-col h4 {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
}

.bedrock-col a {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.bedrock-col a:hover {
  color: var(--accent-light);
}

.stratum {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* Responsive queries */
@media (max-width: 768px) {
  .strand {
    gap: 0.8rem;
    margin-top: 0.8rem;
    width: 100%;
  }
  .citadel {
    padding: 2rem 1.2rem;
  }
  .vertex {
    font-size: 1.7rem;
  }
  .vault {
    padding: 1.5rem 1rem 3rem 1rem;
    gap: 3rem;
  }
  .crest {
    padding: 2rem 1.2rem;
  }
  .bedrock-links {
    gap: 1.5rem;
  }
}

.harbor-zenith{
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(11, 12, 22, 0.88);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(111, 102, 211, 0.22);
        }

.harbor-zenith .harbor-harbor{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0.85rem 1.5rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

.harbor-zenith .harbor-emblem{
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

.harbor-zenith .harbor-emblem img{
            height: 38px;
            width: auto;
            display: block;
        }

.harbor-zenith .harbor-strand{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1.5rem;
        }

.harbor-zenith .harbor-harbor-nexus{
            color: #9fa5c4;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            padding: 0.4rem 0.8rem;
            border-radius: 8px;
            transition: all 0.35s ease;
        }

.harbor-zenith .harbor-harbor-nexus:hover, .harbor-zenith .harbor-harbor-nexus.active{
            color: #ffffff;
            background: rgba(111, 102, 211, 0.18);
            border: 1px solid rgba(111, 102, 211, 0.3);
        }

.harbor-zenith .harbor-trace{
            display: flex;
            align-items: center;
        }

.harbor-zenith .harbor-latch{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #6f66d3 0%, #8e86eb 100%);
            color: #ffffff;
            text-decoration: none;
            padding: 0.65rem 1.4rem;
            font-size: 0.92rem;
            font-weight: 600;
            border-radius: 8px;
            border: none;
            box-shadow: 0 4px 16px rgba(111, 102, 211, 0.35);
            transition: all 0.35s ease;
            cursor: pointer;
        }

.harbor-zenith .harbor-latch:hover{
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(111, 102, 211, 0.5);
            background: linear-gradient(135deg, #7c73df 0%, #9a93f0 100%);
        }

@media (max-width: 768px){.harbor-zenith .harbor-harbor{
                flex-direction: column;
                gap: 1rem;
            }

.harbor-zenith .harbor-strand{
                width: 100%;
                justify-content: center;
            }}

.harbor-zenith {
    background: rgb(11, 12, 22);
    background-image: none;
}

.anchor-anchor {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-main);
}
.anchor-anchor,
.anchor-anchor *,
.anchor-anchor *::before,
.anchor-anchor *::after {
    box-sizing: border-box;
}

.anchor-anchor nav,
.anchor-anchor div,
.anchor-anchor section,
.anchor-anchor article,
.anchor-anchor aside,
.anchor-anchor p,
.anchor-anchor h1,
.anchor-anchor h2,
.anchor-anchor h3,
.anchor-anchor h4,
.anchor-anchor h5,
.anchor-anchor h6,
.anchor-anchor a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.anchor-anchor p,
.anchor-anchor h1,
.anchor-anchor h2,
.anchor-anchor h3,
.anchor-anchor h4,
.anchor-anchor h5,
.anchor-anchor h6 {
    text-decoration: none;
}

.anchor-anchor img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.anchor-anchor {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.anchor-anchor a,
.anchor-anchor a:hover,
.anchor-anchor a:focus,
.anchor-anchor a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.anchor-anchor .anchor-script{
            color: #9fa5c4;
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 1.8rem;
        }

.anchor-anchor{
            max-width: 1280px;
            margin: 0 auto;
        }

.anchor-anchor .anchor-bedrock{
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
            justify-content: space-between;
            margin-bottom: 3rem;
        }

.anchor-anchor .anchor-stratum-brand{
            flex: 1 1 300px;
        }

.anchor-anchor .anchor-stratum-brand h4{
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 1rem;
            letter-spacing: 0.5px;
        }

.anchor-anchor .anchor-stratum-col{
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

.anchor-anchor .anchor-stratum-col h5{
            color: #ffffff;
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

.anchor-anchor .anchor-stratum-col a{
            color: #787f9d;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.35s ease;
        }

.anchor-anchor .anchor-stratum-col a:hover{
            color: #8e86eb;
        }

.anchor-anchor .anchor-copyright-ribbon{
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 1.8rem;
            text-align: center;
            color: #787f9d;
            font-size: 0.88rem;
        }