
:root {
  --background: 260 87% 3%;
  --foreground: 40 6% 95%;
  --hero-sub: 40 6% 82%;
}

@font-face {
  font-family: 'HarmonyOS Sans SC Local';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('HarmonyOS Sans SC Bold'),
       local('HarmonyOS Sans SC'),
       local('HarmonyOS Sans Bold'),
       local('HarmonyOS Sans'),
       local('HarmonyOS Bold');
}

@font-face {
  font-family: 'HarmonyOS Sans SC Light';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('HarmonyOS Sans SC Light'),
       local('HarmonyOS Sans Light'),
       local('HarmonyOS Light');
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.aura-page,
.aura-page * {
  box-sizing: border-box;
}
.aura-page {
  font-family: 'HarmonyOS Sans SC Local', 'HarmonyOS Sans SC', 'HarmonyOS Sans',
               'PingFang SC', 'Microsoft YaHei', 'Geist Sans', 'Inter',
               system-ui, sans-serif;
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: hsl(var(--background));

  /* Increased height: video is displayed more completely */
  height: 1080px;
  min-height: 640px;
}

/* ========================= Background Video ========================= */
.aura-proof-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  will-change: opacity;
  z-index: 1;
}

/* ============================ Overlay ============================
   Extended solid top area:
   0-20% is fully opaque #020d2c; gradual fade starts after 20%,
   fully transparent by 88%
   ------------------------------------------------------------------ */
.aura-page-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to bottom,
    #020d2c 0%,
    #020d2c 20%,
    rgba(2, 13, 44, 0.95) 28%,
    rgba(2, 13, 44, 0.85) 36%,
    rgba(2, 13, 44, 0.72) 44%,
    rgba(2, 13, 44, 0.58) 52%,
    rgba(2, 13, 44, 0.44) 60%,
    rgba(2, 13, 44, 0.3) 68%,
    rgba(2, 13, 44, 0.18) 76%,
    rgba(2, 13, 44, 0.08) 84%,
    rgba(2, 13, 44, 0) 92%,
    rgba(2, 13, 44, 0) 96%,
    rgba(2, 13, 44, 0.2) 98%,
    rgba(2, 13, 44, 0.5) 100%);
}

/* ============================== Hero ============================== */
.aura-hero-section {
  position: relative;
  z-index: 10;
  width: 100%;
  background: transparent;
}

.aura-hero-content {
  padding: 100px 16px 0; /* moved down 20px (was 80px) */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.aura-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.aura-headline {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.aura-line {
  display: block;
  font-family: 'HarmonyOS Sans SC Local', 'HarmonyOS Sans SC', 'HarmonyOS Sans',
               'PingFang SC', 'Microsoft YaHei', 'Geist Sans', 'Inter',
               system-ui, sans-serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;

  background-image: linear-gradient(
    to right,
    #0A1F4D 0%,
    #0B2551 12.5%,
    #A4F4FD 32.5%,
    #00d2ff 50%,
    #0B2551 67.5%,
    #0A1F4D 87.5%,
    #0A1F4D 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  filter: url(#aura-noise);
  animation: aura-shiny 14s linear infinite;
}

.aura-line-1 { animation-delay: 0s; }
.aura-line-2 { animation-delay: -3.5s; }

@keyframes aura-shiny {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.aura-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  color: hsl(var(--foreground));
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 12px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}
.aura-btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.aura-btn-secondary:hover { background: rgba(255, 255, 255, 0.05); }

.aura-cta-wrap {
  margin-top: 24px;
}

/* ============================ Responsive ============================ */
@media (max-width: 1024px) {
  .aura-page { height: 880px; }
  .aura-line { font-size: 3.75rem; }
}
@media (max-width: 640px) {
  .aura-page { height: 640px; min-height: 520px; }
  .aura-hero-content { padding-top: 68px; } /* moved down 20px (was 48px) */
  .aura-line { font-size: 2rem; }
  .aura-btn-secondary { padding: 10px 28px; font-size: 0.85rem; }
}
