@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Poppins-Bold.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Poppins-Medium.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Poppins-Bold.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 500;
  src: url("https://domain.com/fonts/Gilroy-Medium.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 400;
  src: url("https://domain.com/fonts/Gilroy-Regular.woff2") format("woff2");
}
:root {
  --light-color: #ffffff;
  --dark-color: #000000;
  --primary-color: #123453;
  --accent-color: #bc8c62;
  --warning-color: red;
}

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

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

ul,
ol,
li {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

html {
  scroll-behavior: smooth;
}

body {
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: var(--dark-color);
}

body.lock {
  overflow: hidden;
}

.container {
  max-width: 1280px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

a {
  transition: all 0.3s ease;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  font-weight: 700;
  border: 1px solid var(--dark-color);
  width: 100%;
  transition: all 0.3s ease;
}

.error-message {
  font-size: 0.9rem;
  color: red;
  font-weight: 500;
}


/* 1 */
.risk-advisory-banner {
  background: linear-gradient(145deg, #0f1419 0%, #1a202c 100%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.15), 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 18px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.risk-advisory-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  z-index: 0;
  animation: shimmer 3s ease-in-out infinite;
}

.advisory-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(0.98) translateY(15px);
  animation: expandReveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.advisory-text {
  color: #f1f5f9;
  font-size: clamp(13px, 1.7vw, 15px);
  font-weight: 450;
  line-height: 1.55;
  text-align: center;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.4s ease, transform 0.4s ease;
}

.advisory-highlight {
  color: #60a5fa;
  font-weight: 550;
  position: relative;
  display: inline-block;
}

.advisory-highlight::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.risk-advisory-banner:hover .advisory-highlight::after {
  width: 100%;
}

.risk-advisory-banner:hover .advisory-text {
  transform: translateY(-1px);
  color: #ffffff;
}

@keyframes expandReveal {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .risk-advisory-banner {
    padding: 16px 0;
  }
  
  .advisory-text {
    font-size: clamp(12px, 1.5vw, 14px);
    padding: 0 8px;
  }
}

/* header */

.prestige-navigation-bar {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  border-bottom: 1px solid rgba(240, 246, 252, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(240, 246, 252, 0.05);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prestige-navigation-bar:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(240, 246, 252, 0.08);
  transform: translateY(-1px);
}

.navigation-framework {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 35px);
  position: relative;
  opacity: 0;
  transform: translateY(-25px);
  animation: descendElegance 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.corporate-emblem {
  display: block;
  max-width: 55px;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.corporate-emblem:hover {
  transform: rotate(5deg) scale(1.08);
}

.emblem-visual {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.navigation-initiatives {
  display: flex;
  align-items: center;
  gap: clamp(25px, 5vw, 40px);
}

.initiative-prompt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(90deg, #238636 0%, #16a34a 100%);
  color: #f0f6fc;
  text-decoration: none;
  font-weight: 550;
  font-size: clamp(15px, 2vw, 17px);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
}

.initiative-prompt::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.initiative-prompt:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(35, 134, 54, 0.3);
}

.initiative-prompt:hover::before {
  left: 100%;
}

.navigation-array {
  display: none;
  align-items: center;
  gap: clamp(25px, 4vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1200px) {
  .navigation-array {
    display: flex;
  }
}

.array-element {
  display: flex;
  align-items: center;
}

.array-connector {
  color: #c9d1d9;
  text-decoration: none;
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 500;
  position: relative;
  transition: color 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}

.array-connector::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f0f6fc, #c9d1d9);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.array-connector:hover {
  color: #f0f6fc;
  transform: translateY(-2px);
}

.array-connector:hover::after {
  width: 100%;
}

.toggle-mechanism {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform 0.4s ease;
}

.toggle-mechanism::before,
.toggle-mechanism::after {
  content: '';
  width: 100%;
  height: 3px;
  background: #c9d1d9;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toggle-mechanism .toggle-segment {
  width: 100%;
  height: 3px;
  background: #c9d1d9;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@media (min-width: 1200px) {
  .toggle-mechanism {
    display: none;
  }
}

@media (max-width: 1199px) {
  .initiative-prompt {
    display: none;
  }

  .navigation-array.active-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    gap: 30px;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    z-index: 999;
    animation: ascendCurtain 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    overflow-y: auto;
    padding: 20px;
  }

  .toggle-mechanism.active-overlay::before {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .toggle-mechanism.active-overlay::after {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .toggle-mechanism.active-overlay .toggle-segment {
    opacity: 0;
  }

  .toggle-mechanism.active-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
  }
}

@keyframes descendElegance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ascendCurtain {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 768px) {
  .navigation-framework {
    gap: 18px;
  }

  .corporate-emblem {
    max-width: 45px;
  }

  .navigation-array.active-overlay {
    gap: 25px;
    padding: 15px;
  }

  .array-connector {
    font-size: clamp(20px, 4vw, 24px);
  }
}

/* --------------------hero---------------------- */

.apex-dominion {
  position: relative;
  min-height: clamp(70vh, 80vh, 90vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(60px, 12vh, 120px) 0;
  transition: padding 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.dominion-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.veil-mosaic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.apex-dominion:hover .veil-mosaic {
  transform: scale(1.05);
}

.veil-shroud {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.75) 0%, rgba(22, 27, 34, 0.45) 50%, rgba(13, 17, 23, 0.9) 100%);
  transition: background 0.6s ease;
}

.apex-dominion:hover .veil-shroud {
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.85) 0%, rgba(22, 27, 34, 0.55) 50%, rgba(13, 17, 23, 0.95) 100%);
}

.dominion-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vh, 36px);
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: ascendSovereign 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.core-manifesto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.manifesto-decree {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  color: #f0f6fc;
  margin: 0;
  letter-spacing: -0.5px;
  position: relative;
  transition: color 0.5s ease, transform 0.5s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.apex-dominion:hover .manifesto-decree {
  color: #ffffff;
  transform: translateY(-4px);
}

.manifesto-clarion {
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 450;
  line-height: 1.65;
  color: #c9d1d9;
  margin: 0;
  max-width: 600px;
  transition: color 0.5s ease;
}

.apex-dominion:hover .manifesto-clarion {
  color: #e6edf3;
}

.directive-catalyst {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(90deg, #238636 0%, #16a34a 100%);
  color: #f0f6fc;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(16px, 2.2vw, 18px);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(35, 134, 54, 0.25);
  white-space: nowrap;
}

.directive-catalyst::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.directive-catalyst:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 35px rgba(35, 134, 54, 0.4);
}

.directive-catalyst:hover::before {
  transform: translateX(100%);
}

.core-admonition {
  display: flex;
  justify-content: center;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeAscend 0.8s ease-out 0.9s forwards;
}

.admonition-echo {
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 400;
  line-height: 1.5;
  color: #8b949e;
  margin: 0;
  text-align: center;
  max-width: 900px;
  letter-spacing: 0.2px;
  transition: color 0.4s ease;
}

.apex-dominion:hover .admonition-echo {
  color: #a5b4c4;
}

@keyframes ascendSovereign {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeAscend {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .apex-dominion {
    padding: clamp(50px, 10vh, 80px) 0;
    min-height: clamp(60vh, 70vh, 80vh);
  }

  .dominion-core {
    gap: clamp(20px, 3vh, 28px);
  }

  .core-manifesto {
    gap: 16px;
  }

  .manifesto-decree {
    font-size: clamp(32px, 9vw, 48px);
    letter-spacing: -0.3px;
  }

  .manifesto-clarion {
    font-size: clamp(16px, 3.5vw, 20px);
    padding: 0 12px;
  }

  .directive-catalyst {
    padding: 14px 28px;
    font-size: clamp(15px, 2.5vw, 17px);
  }

  .admonition-echo {
    font-size: clamp(11px, 1.6vw, 13px);
    padding: 0 8px;
  }
}

/* ------------rating----------------------- */

.sovereign-credence-hall {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  border-top: 1px solid rgba(240, 246, 252, 0.08);
  border-bottom: 1px solid rgba(240, 246, 252, 0.08);
  padding: 24px 0;
  transition: padding 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sovereign-credence-hall:hover {
  padding: 28px 0;
}

.credence-ensemble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(15px);
  animation: unveilPrestige 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.ensemble-vanguard {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  gap: 12px;
}

.vanguard-edifice {
  background: linear-gradient(145deg, #444444 0%, #21262d 100%);
  border: 1px solid rgba(240, 246, 252, 0.1);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: scale(0.95) translateY(10px);
}

.vanguard-edifice:nth-child(1) { animation: cascadeReveal 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s forwards; }
.vanguard-edifice:nth-child(2) { animation: cascadeReveal 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards; }
.vanguard-edifice:nth-child(3) { animation: cascadeReveal 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s forwards; }
.vanguard-edifice:nth-child(4) { animation: cascadeReveal 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s forwards; }

.vanguard-edifice:hover {
  transform: scale(1.02) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(240, 246, 252, 0.05);
}

.edifice-insignia {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.edifice-insignia img {
  height: 20px;
  width: auto;
  transition: filter 0.3s ease;
}

.vanguard-edifice:hover .edifice-insignia img {
  filter: brightness(1.1) drop-shadow(0 1px 3px rgba(255, 215, 0, 0.3));
}

.edifice-insignia figcaption {
  font-size: 12px;
  font-weight: 500;
  color: #c9d1d9;
  white-space: nowrap;
}

.edifice-gauge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gauge-ordinal {
  font-size: 16px;
  font-weight: 700;
  color: #f0f6fc;
  min-width: 20px;
}

.gauge-constellation {
  display: flex;
  gap: 2px;
}

.constellation-orb {
  color: #ffd700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.vanguard-edifice:hover .constellation-orb {
  transform: scale(1.1);
  color: #ffed4a;
}

.ensemble-bulwark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.bulwark-sentinel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(240, 246, 252, 0.05);
  border: 1px solid rgba(240, 246, 252, 0.1);
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: sentinelEmerge 0.6s ease-out 0.5s forwards;
}

.bulwark-sentinel:hover {
  background: rgba(240, 246, 252, 0.1);
  transform: translateY(-2px);
}

.sentinel-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.sentinel-emblem img,
.sentinel-emblem svg {
  width: 20px;
  height: 20px;
  color: #16a34a;
  transition: color 0.3s ease;
}

.bulwark-sentinel:hover .sentinel-emblem img,
.bulwark-sentinel:hover .sentinel-emblem svg {
  color: #22c55e;
}

.sentinel-caption {
  font-size: 11px;
  font-weight: 500;
  color: #8b949e;
  transition: color 0.3s ease;
}

.bulwark-sentinel:hover .sentinel-caption {
  color: #c9d1d9;
}

.ensemble-conclave {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: conclaveAscent 0.6s ease-out 0.6s forwards;
}

.conclave-beacon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: linear-gradient(90deg, #238636 0%, #16a34a 100%);
  color: #f0f6fc;
  text-decoration: none;
  font-weight: 550;
  font-size: 13px;
  border-radius: 6px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
}

.conclave-beacon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(35, 134, 54, 0.3);
}

.conclave-murmur {
  font-size: 11px;
  font-weight: 400;
  color: #8b949e;
  text-align: center;
  margin: 0;
  max-width: 300px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.ensemble-conclave:hover .conclave-murmur {
  color: #a5b4c4;
}

@keyframes unveilPrestige {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cascadeReveal {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes sentinelEmerge {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes conclaveAscent {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .ensemble-vanguard {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .vanguard-edifice {
    min-height: 70px;
    padding: 10px;
    flex: 1 1 45%;
    max-width: 140px;
  }

  .ensemble-bulwark {
    flex-wrap: wrap;
    gap: 12px;
  }

  .bulwark-sentinel {
    flex: 1 1 120px;
    padding: 6px 10px;
  }

  .conclave-beacon {
    padding: 7px 14px;
    font-size: 12px;
  }

  .conclave-murmur {
    font-size: 10px;
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  .vanguard-edifice {
    flex: 1 1 100%;
    max-width: none;
  }

  .ensemble-bulwark {
    justify-content: center;
  }
}

/* ------------------------about------------------------------ */

.imperial-merit-vault {
  background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
  border-top: 1px solid rgba(240, 246, 252, 0.08);
  padding: clamp(60px, 12vh, 100px) 0;
  position: relative;
  overflow: hidden;
  transition: padding 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.imperial-merit-vault::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 30%, rgba(35, 134, 54, 0.08) 0%, transparent 60%);
  z-index: 0;
  opacity: 0.6;
  transition: opacity 0.6s ease;
}

.imperial-merit-vault:hover::before {
  opacity: 0.8;
}

.vault-proclamation {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(40px, 6vh, 60px);
}

.proclamation-edict {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #f0f6fc;
  margin: 0;
  text-align: center;
  letter-spacing: -0.4px;
  position: relative;
  opacity: 0;
  transform: translateY(-30px);
  animation: heraldDescent 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vault-constellation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 30px);
  margin-bottom: clamp(40px, 6vh, 60px);
  position: relative;
  z-index: 1;
}

.constellation-pinnacle {
  flex: 1 1 calc(50% - 15px);
  background: linear-gradient(145deg, #161b22 0%, #21262d 100%);
  border: 1px solid rgba(240, 246, 252, 0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(40px) scale(0.96);
}

.constellation-pinnacle:nth-child(1) { animation: pinnacleUnveil 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards; }
.constellation-pinnacle:nth-child(2) { animation: pinnacleUnveil 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s forwards; }
.constellation-pinnacle:nth-child(3) { animation: pinnacleUnveil 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s forwards; }
.constellation-pinnacle:nth-child(4) { animation: pinnacleUnveil 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) 0.5s forwards; }
.constellation-pinnacle:nth-child(5) { animation: pinnacleUnveil 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s forwards; }
.constellation-pinnacle:nth-child(6) { animation: pinnacleUnveil 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) 0.7s forwards; }

.constellation-pinnacle:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(240, 246, 252, 0.05);
}

.pinnacle-vista {
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
}

.pinnacle-vista img {
  width: 100%;
  height: clamp(160px, 22vw, 180px);
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.constellation-pinnacle:hover .pinnacle-vista img {
  transform: scale(1.08) rotate(1deg);
}

.pinnacle-ordinance {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ordinance-decree {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: #f0f6fc;
  margin: 0 0 12px 0;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.constellation-pinnacle:hover .ordinance-decree {
  color: #ffffff;
}

.ordinance-scroll {
  font-size: clamp(14px, 1.8vw, 16px);
  color: #c9d1d9;
  line-height: 1.55;
  margin: 0;
  transition: color 0.4s ease;
}

.constellation-pinnacle:hover .ordinance-scroll {
  color: #e6edf3;
}

.vault-convocation {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: convocationRise 0.8s ease-out 0.8s forwards;
}

.convocation-talisman {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(90deg, #238636 0%, #16a34a 100%);
  color: #f0f6fc;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 18px);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 6px 25px rgba(35, 134, 54, 0.25);
  white-space: nowrap;
}

.convocation-talisman::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.8s ease;
}

.convocation-talisman:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(35, 134, 54, 0.4);
}

.convocation-talisman:hover::before {
  left: 100%;
}

@keyframes heraldDescent {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pinnacleUnveil {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes convocationRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .constellation-pinnacle {
    flex: 1 1 100%;
    min-height: 280px;
    padding: 16px;
  }

  .pinnacle-vista img {
    height: clamp(140px, 25vw, 160px);
  }

  .ordinance-decree {
    font-size: clamp(17px, 3vw, 20px);
  }

  .ordinance-scroll {
    font-size: clamp(13px, 2.5vw, 15px);
  }

  .convocation-talisman {
    padding: 12px 24px;
    font-size: clamp(15px, 2.5vw, 17px);
  }
}

@media (max-width: 480px) {
  .imperial-merit-vault {
    padding: 40px 0;
  }

  .proclamation-edict {
    font-size: clamp(26px, 7vw, 34px);
  }

  .vault-constellation {
    gap: 16px;
  }

  .constellation-pinnacle {
    min-height: 260px;
    padding: 14px;
  }

  .pinnacle-vista {
    margin-bottom: 14px;
  }

  .pinnacle-vista img {
    height: 140px;
  }
}


/* ----------------------services---------------------------- */

.executive-arsenal-chamber {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  border-top: 1px solid rgba(240, 246, 252, 0.08);
  padding: clamp(60px, 12vh, 100px) 0;
  position: relative;
  overflow: hidden;
  transition: padding 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.executive-arsenal-chamber::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(35, 134, 54, 0.05) 50%, transparent 70%);
  z-index: 0;
  animation: subtlePulse 4s ease-in-out infinite;
}

.chamber-precis {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(32px, 5vh, 48px);
  position: relative;
  z-index: 1;
}

.precis-axiom {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #f0f6fc;
  margin: 0 0 12px 0;
  text-align: center;
  letter-spacing: -0.3px;
  opacity: 0;
  transform: translateY(-25px);
  animation: axiomReveal 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.precis-codex {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 450;
  color: #c9d1d9;
  margin: 0;
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-15px);
  animation: codexEmerge 0.9s ease-out 0.3s forwards;
}

.chamber-bastion {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(48px, 7vh, 64px);
  position: relative;
  z-index: 1;
}

.bastion-citadel {
  flex: 1 1 calc(50% - 16px);
  background: linear-gradient(145deg, #161b22 0%, #21262d 100%);
  border: 1px solid rgba(240, 246, 252, 0.12);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 240px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(35px) rotateX(5deg);
}

.bastion-citadel:nth-child(1) { animation: citadelManifest 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards; }
.bastion-citadel:nth-child(2) { animation: citadelManifest 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s forwards; }
.bastion-citadel:nth-child(3) { animation: citadelManifest 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s forwards; }
.bastion-citadel:nth-child(4) { animation: citadelManifest 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.8s forwards; }

.bastion-citadel:hover {
  transform: translateY(-5px) rotateX(0deg) scale(1.005);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(240, 246, 252, 0.06);
}

.citadel-emblem {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.citadel-emblem svg {
  color: #16a34a;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(22, 163, 74, 0.3));
}

.bastion-citadel:hover .citadel-emblem svg {
  transform: rotateY(360deg) scale(1.15);
  color: #22c55e;
}

.citadel-charter {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.charter-edict {
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 600;
  color: #f0f6fc;
  margin: 0 0 10px 0;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.bastion-citadel:hover .charter-edict {
  color: #ffffff;
}

.charter-tome {
  font-size: clamp(13px, 1.7vw, 15px);
  color: #8b949e;
  line-height: 1.55;
  margin: 0;
  transition: color 0.4s ease;
}

.bastion-citadel:hover .charter-tome {
  color: #c9d1d9;
}

.chamber-enclave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 40px);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: enclaveUnfold 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
}

.enclave-vignette {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.enclave-vignette img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chamber-enclave:hover .enclave-vignette img {
  transform: scale(1.06);
}

.enclave-dossier {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dossier-lexicon {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #f0f6fc;
  margin: 0 0 16px 0;
  line-height: 1.2;
  max-width: 400px;
  transition: color 0.4s ease;
}

.chamber-enclave:hover .dossier-lexicon {
  color: #ffffff;
}

.lexicon-accent {
  color: #16a34a;
  font-weight: 800;
  transition: color 0.4s ease;
}

.chamber-enclave:hover .lexicon-accent {
  color: #22c55e;
}

.dossier-script {
  font-size: clamp(14px, 1.9vw, 16px);
  color: #c9d1d9;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
  transition: color 0.4s ease;
}

.chamber-enclave:hover .dossier-script {
  color: #e6edf3;
}

@keyframes axiomReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes codexEmerge {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes citadelManifest {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes enclaveUnfold {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtlePulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
}

@media (max-width: 768px) {
  .chamber-bastion {
    flex-direction: column;
  }

  .bastion-citadel {
    flex: 1 1 100%;
    min-height: 220px;
    padding: 20px;
  }

  .chamber-enclave {
    flex-direction: column;
    gap: 20px;
  }

  .precis-axiom {
    font-size: clamp(26px, 6vw, 34px);
  }

  .precis-codex {
    font-size: clamp(15px, 3vw, 18px);
  }

  .charter-edict {
    font-size: clamp(17px, 3vw, 20px);
  }

  .charter-tome {
    font-size: clamp(13px, 2.5vw, 14px);
  }

  .dossier-lexicon {
    font-size: clamp(24px, 5vw, 30px);
  }

  .dossier-script {
    font-size: clamp(13px, 2.5vw, 15px);
  }
}

@media (max-width: 480px) {
  .executive-arsenal-chamber {
    padding: 40px 0;
  }

  .chamber-precis {
    margin-bottom: 24px;
  }

  .chamber-bastion {
    gap: 16px;
  }

  .bastion-citadel {
    min-height: 200px;
    padding: 16px;
  }

  .citadel-emblem {
    margin-bottom: 12px;
  }

  .citadel-emblem svg {
    width: 40px;
    height: 40px;
  }

  .chamber-enclave {
    gap: 16px;
  }
}



/* ----------------------join, form---------------------------- */

.sovereign-induction-vault {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  border-top: 1px solid rgba(240, 246, 252, 0.08);
  padding: clamp(40px, 8vh, 60px) 0;
  position: relative;
  overflow: hidden;
  transition: padding 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.sovereign-induction-vault::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 20%, rgba(35, 134, 54, 0.06) 0%, transparent 50%);
  z-index: 0;
  animation: vaultGlow 3s ease-in-out infinite alternate;
}

.vault-initiation {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(24px, 4vh, 36px);
  position: relative;
  z-index: 1;
}

.initiation-creed {
  font-size: clamp(28px, 4.5vw, 36px);
  font-weight: 700;
  color: #f0f6fc;
  margin: 0 0 12px 0;
  text-align: center;
  letter-spacing: -0.2px;
  opacity: 0;
  transform: translateY(-20px);
  animation: creedManifest 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.initiation-clarification {
  font-size: clamp(15px, 2vw, 18px);
  color: #c9d1d9;
  margin: 0;
  text-align: center;
  max-width: 500px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(-10px);
  animation: clarificationRise 0.8s ease-out 0.2s forwards;
}

.induction-forge {
  background: linear-gradient(145deg, #161b22 0%, #21262d 100%);
  border: 1px solid rgba(240, 246, 252, 0.1);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(25px);
  animation: forgeEmerge 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s forwards;
}

.forge-chamber {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(15px);
  animation: chamberAscend 0.7s ease-out forwards;
}

.forge-chamber:nth-child(1) { animation-delay: 0.6s; }
.forge-chamber:nth-child(2) { animation-delay: 0.7s; }
.forge-chamber:nth-child(3) { animation-delay: 0.8s; }
.forge-chamber:nth-child(4) { animation-delay: 0.9s; }
.forge-chamber:nth-child(5) { animation-delay: 1s; }

.forge-chamber label {
  font-size: clamp(13px, 1.7vw, 15px);
  font-weight: 550;
  color: #e6edf3;
  transition: color 0.3s ease;
}

.chamber-conduit,
.chamber-scroll {
  padding: 12px 16px;
  background: rgba(240, 246, 252, 0.05);
  border: 1px solid rgba(240, 246, 252, 0.15);
  border-radius: 10px;
  font-size: clamp(14px, 1.8vw, 16px);
  color: #f0f6fc;
  transition: border-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.4s ease;
}

.chamber-conduit:focus,
.chamber-scroll:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
  background: rgba(240, 246, 252, 0.08);
}

.chamber-conduit::placeholder,
.chamber-scroll::placeholder {
  color: #8b949e;
}

.chamber-scroll {
  resize: vertical;
  min-height: 100px;
}

.conduit-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  background: rgba(239, 68, 68, 0.05);
}

.conduit-alert {
  font-size: 12px;
  color: #ef4444;
  min-height: 16px;
  transition: color 0.3s ease;
}

.chamber-pact {
  font-size: clamp(12px, 1.5vw, 14px);
  color: #8b949e;
  text-align: center;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.chamber-pact a {
  color: #16a34a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.chamber-pact a:hover {
  color: #22c55e;
}

.chamber-activator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(90deg, #238636 0%, #16a34a 100%);
  color: #f0f6fc;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: clamp(15px, 2vw, 17px);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(35, 134, 54, 0.25);
  white-space: nowrap;
  margin-top: 8px;
}

.chamber-activator::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.chamber-activator:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(35, 134, 54, 0.4);
}

.chamber-activator:hover::before {
  transform: translateX(100%);
}

.triumph-revelation {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #161b22 0%, #21262d 100%);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 18px;
  padding: clamp(32px, 5vw, 40px);
  margin-top: 20px;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  animation: revelationBloom 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  box-shadow: 0 8px 35px rgba(22, 163, 74, 0.2);
}

.triumph-revelation p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #22c55e;
  margin: 0;
  text-align: center;
  font-weight: 500;
  line-height: 1.5;
}

@keyframes creedManifest {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes clarificationRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes forgeEmerge {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chamberAscend {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revelationBloom {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    display: flex;
  }
}

@keyframes vaultGlow {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .sovereign-induction-vault {
    padding: 32px 0;
  }

  .vault-initiation {
    margin-bottom: 20px;
  }

  .initiation-creed {
    font-size: clamp(24px, 5.5vw, 30px);
  }

  .initiation-clarification {
    font-size: clamp(14px, 2.5vw, 16px);
    padding: 0 8px;
  }

  .induction-forge {
    padding: 20px;
    gap: 18px;
  }

  .forge-chamber {
    gap: 6px;
  }

  .forge-chamber label {
    font-size: 13px;
  }

  .chamber-conduit,
  .chamber-scroll {
    padding: 10px 14px;
    font-size: 14px;
  }

  .chamber-scroll {
    min-height: 90px;
  }

  .chamber-pact {
    font-size: 12px;
    padding: 0 4px;
  }

  .chamber-activator {
    padding: 12px 24px;
    font-size: 15px;
  }

  .triumph-revelation {
    padding: 24px;
    margin-top: 16px;
  }

  .triumph-revelation p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .induction-forge {
    padding: 16px;
    gap: 16px;
  }

  .forge-chamber label {
    font-size: 12px;
  }

  .chamber-conduit,
  .chamber-scroll {
    font-size: 13px;
    padding: 9px 12px;
  }

  .chamber-activator {
    padding: 11px 20px;
    font-size: 14px;
  }
}


/* --------------------------footer--------------------------- */

.apex-termination-hall {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  border-top: 1px solid rgba(240, 246, 252, 0.08);
  padding: clamp(32px, 6vh, 48px) 0;
  position: relative;
  overflow: hidden;
  transition: padding 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.apex-termination-hall::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(35, 134, 54, 0.03) 50%, transparent 100%);
  z-index: 0;
  animation: hallShimmer 5s ease-in-out infinite;
}

.hall-precinct {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(24px, 4vh, 32px);
  position: relative;
  z-index: 1;
}

.precinct-vanguard {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 36px);
  opacity: 0;
  transform: translateY(20px);
  animation: vanguardAscent 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.vanguard-crest {
  display: block;
  width: clamp(60px, 8vw, 80px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vanguard-crest:hover {
  transform: rotate(5deg) scale(1.05);
}

.crest-emblem {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.precinct-conduit {
  color: #c9d1d9;
  text-decoration: none;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 500;
  transition: color 0.4s ease;
  white-space: nowrap;
}

.precinct-conduit:hover {
  color: #f0f6fc;
}

.termination-enclave {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(24px, 4vh, 32px);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(25px);
  animation: enclaveUnveil 1.1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
}

.enclave-scroll {
  color: #a5b4c4;
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.55;
  transition: color 0.4s ease;
}

.enclave-scroll p {
  margin: 0 0 12px 0;
}

.enclave-scroll strong {
  color: #f0f6fc;
  font-weight: 600;
}

.enclave-scroll a {
  color: #16a34a;
  text-decoration: none;
  transition: color 0.4s ease;
}

.enclave-scroll a:hover {
  color: #22c55e;
}

.enclave-vault {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(240, 246, 252, 0.05);
  border: 1px solid rgba(240, 246, 252, 0.1);
  border-radius: 12px;
  transition: background 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: translateY(15px);
  animation: vaultEmerge 0.8s ease-out 0.4s forwards;
}

.termination-enclave:hover .enclave-vault {
  background: rgba(240, 246, 252, 0.08);
  transform: translateY(-2px);
}

.vault-inscription {
  color: #c9d1d9;
  font-size: clamp(12px, 1.5vw, 14px);
  margin: 0;
  text-align: center;
  line-height: 1.4;
  transition: color 0.4s ease;
}

.vault-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: linear-gradient(90deg, #238636 0%, #16a34a 100%);
  color: #f0f6fc;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(13px, 1.6vw, 15px);
  border-radius: 8px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
  box-shadow: 0 3px 15px rgba(35, 134, 54, 0.25);
}

.vault-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.vault-gate:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(35, 134, 54, 0.35);
}

.vault-gate:hover::before {
  transform: translateX(100%);
}

.termination-codex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 32px);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: codexDescent 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

.codex-legacy {
  color: #8b949e;
  font-size: clamp(12px, 1.5vw, 14px);
  margin: 0;
  flex: 1;
  transition: color 0.4s ease;
}

.codex-corridor {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 24px);
  flex: 1;
  justify-content: flex-end;
}

.corridor-path {
  color: #c9d1d9;
  text-decoration: none;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 500;
  position: relative;
  transition: color 0.4s ease;
}

.corridor-path::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1.5px;
  bottom: -3px;
  left: 0;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.corridor-path:hover {
  color: #f0f6fc;
}

.corridor-path:hover::after {
  width: 100%;
}

@keyframes vanguardAscent {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes enclaveUnveil {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vaultEmerge {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes codexDescent {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hallShimmer {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .precinct-vanguard {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .vanguard-crest {
    width: 60px;
  }

  .termination-enclave {
    gap: 16px;
    margin-bottom: 20px;
  }

  .enclave-scroll {
    font-size: 12px;
  }

  .enclave-vault {
    padding: 16px;
    gap: 8px;
  }

  .vault-inscription {
    font-size: 12px;
  }

  .vault-gate {
    padding: 8px 16px;
    font-size: 13px;
  }

  .termination-codex {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  .codex-legacy {
    order: 2;
    font-size: 12px;
  }

  .codex-corridor {
    order: 1;
    justify-content: center;
    flex-wrap: wrap;
  }

  .corridor-path {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .apex-termination-hall {
    padding: 24px 0;
  }

  .hall-precinct {
    margin-bottom: 16px;
  }

  .precinct-vanguard {
    gap: 12px;
  }

  .vanguard-crest {
    width: 50px;
  }

  .termination-enclave {
    gap: 12px;
    margin-bottom: 16px;
  }

  .enclave-scroll p {
    margin-bottom: 8px;
  }

  .enclave-vault {
    padding: 12px;
  }

  .termination-codex {
    gap: 8px;
  }

  .codex-corridor {
    gap: 12px;
  }
}

/* -------------------------cookie------------------------------- */

.cookie-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(20px, 3vw, 30px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.5s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cookie-section:hover {
    transform: translateY(45px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

#cookieSvg {
    width: clamp(40px, 6vw, 50px);
    margin-bottom: 15px;
}

#cookieSvg g path {
    fill: #4da8ff;
    transition: fill 0.3s ease;
}

.cookie-section:hover #cookieSvg g path {
    fill: #2a2a4e;
}

.cookie-title {
    font-size: clamp(1.1em, 2vw, 1.2em);
    font-weight: 700;
    text-align: center;
    color: #2a2a4e;
    margin-bottom: 10px;
}

.cookie-text {
    text-align: center;
    font-size: clamp(0.65em, 1.5vw, 0.7em);
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: clamp(15px, 2vw, 20px);
    flex-direction: row;
}

.cookie-accept {
    width: clamp(70px, 10vw, 80px);
    height: clamp(25px, 4vw, 30px);
    background: linear-gradient(90deg, #2a2a4e 0%, #4da8ff 100%);
    transition-duration: 0.3s;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(0.8em, 1.5vw, 0.9em);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cookie-accept::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.cookie-accept:hover {
    background: linear-gradient(90deg, #4da8ff 0%, #2a2a4e 100%);
}

.cookie-accept:hover::before {
    left: 100%;
}

.cookie-reject {
    width: clamp(70px, 10vw, 80px);
    height: clamp(25px, 4vw, 30px);
    background-color: #e0e0e0;
    transition-duration: 0.3s;
    color: #2a2a4e;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(0.8em, 1.5vw, 0.9em);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cookie-reject::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: left 0.4s ease;
}

.cookie-reject:hover {
    background-color: #c0c0c0;
}

.cookie-reject:hover::before {
    left: 100%;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-section {
        max-width: 90%;
        bottom: 10px;
        right: 5%;
        padding: 15px;
    }
    .cookie-title {
        font-size: 1em;
    }
    .cookie-text {
        font-size: 0.65em;
    }
    .cookie-buttons {
        gap: 15px;
    }
    .cookie-accept, .cookie-reject {
        width: 70px;
        height: 25px;
        font-size: 0.8em;
    }
}

@media (min-width: 320px) and (max-width: 360px) {
    .cookie-section {
        max-width: 95%;
        padding: 10px;
        bottom: 5px;
        right: 2.5%;
    }
    #cookieSvg {
        width: 35px;
    }
    .cookie-title {
        font-size: 0.9em;
    }
    .cookie-text {
        font-size: 0.6em;
    }
    .cookie-buttons {
        gap: 10px;
    }
    .cookie-accept, .cookie-reject {
        width: 60px;
        height: 22px;
        font-size: 0.7em;
        border-radius: 15px;
    }
}

/* -------------------------pages--------------------------- */

.main-content {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    padding: clamp(50px, 10vh, 80px) 0;
}

.policy-section {
    position: relative;
    z-index: 1;
    padding: clamp(40px, 8vh, 60px) 0;
}

.policy-heading {
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 32px;
    text-align: center;
    color: #2a2a4e;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease-out forwards;
}

.policy-content {
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.8;
    color: #4a4a4a;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.policy-content p {
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.policy-content p:hover {
    color: #2a2a4e;
}

.policy-content h2 {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: 16px;
    color: #2a2a4e;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.policy-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #4da8ff;
    transition: width 0.3s ease;
}

.policy-content h2:hover::after {
    width: 100px;
}

.policy-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.policy-content li:hover {
    transform: translateX(5px);
}

.policy-content a {
    color: #4da8ff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.policy-content a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #4da8ff;
    transition: width 0.3s ease;
}

.policy-content a:hover {
    color: #2a2a4e;
}

.policy-content a:hover::after {
    width: 100%;
}

.policy-action-btn {
    max-width: 180px;
    width: 100%;
    margin: 32px auto 0;
    padding: 12px 0;
    background: linear-gradient(90deg, #2a2a4e 0%, #4da8ff 100%);
    color: #ffffff;
    text-align: center;
    display: block;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.policy-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(77, 168, 255, 0.4);
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-heading {
        font-size: clamp(24px, 6vw, 32px);
    }
    .policy-content {
        font-size: 14px;
    }
    .policy-content h2 {
        font-size: 20px;
    }
    .policy-action-btn {
        padding: 10px 0;
    }
}

@media (min-width: 320px) and (max-width: 360px) {
    .policy-section {
        padding: 30px 0;
    }
    .policy-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .policy-content {
        font-size: 13px;
    }
    .policy-content h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .policy-content ul {
        margin-left: 15px;
    }
    .policy-content li {
        margin-bottom: 8px;
    }
    .policy-action-btn {
        max-width: 160px;
        margin-top: 20px;
        padding: 8px 0;
    }
}