/* ============================================
   Qiyu - 奇遇视界 · Unified Design System
   Inspired by premium tech/industrial branding
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #060606;
  --surface: rgba(22, 22, 22, 0.65);
  --surface2: rgba(30, 30, 30, 0.5);
  --blue: #586fff;
  --blue-l: #8e9eff;
  --blue-d: #3b52cc;
  --gold: #bf9a4a;
  --gold-l: #dcc06a;
  --gold-d: #9a7a2a;
  --green: #10b981;
  --orange: #f59e0b;
  --purple: #8b5cf6;
  --teal: #14b8a6;
  --rose: #f43f5e;
  --cyan: #22d3ee;
  --text: #f0f0f0;
  --text2: #9a9a9a;
  --text3: #555;
  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(88, 111, 255, 0.25);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.6);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

/* ---------- Background System ---------- */
.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(88, 111, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 111, 255, 0.015) 1px, transparent 1px);
  background-size: 72px 72px;
}

.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 25%, rgba(88, 111, 255, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 60%, rgba(191, 154, 74, 0.03) 0%, transparent 60%);
}

.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Content wrapper lifts above bg */
.content-wrap {
  position: relative;
  z-index: 1;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 5%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s;
}

.nav.transparent {
  background: transparent;
}

.nav.solid,
.nav.scrolled {
  background: rgba(6, 6, 6, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 76px;
}

.nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 3px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  border-radius: 8px;
}

/* 导航栏文字logo替换为图片logo */
.nav-logo .nav-logo-text {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
  align-self: center;
  transform: translate(8px, 5px);
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, #ffffff 0%, #dde8f8 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(88, 165, 255, 0.45);
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.nav-logo-icon svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text2);
  font-size: 16px;
  font-weight: 600;
  transition: color var(--transition-fast);
  letter-spacing: 1px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.nav-links .nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text2);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition-fast);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-lang:hover {
  color: #fff;
}

.nav-lang.active {
  color: var(--blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: var(--transition-fast);
}

.hamburger:hover span {
  background: var(--blue);
}

/* ---------- Hero Base ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 5% 100px;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.16;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.5) 0%, rgba(6, 6, 6, 0.85) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(88, 111, 255, 0.2);
  background: rgba(88, 111, 255, 0.06);
  font-size: 11px;
  color: var(--blue-l);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 2s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title em {
  font-style: normal;
  color: var(--blue);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Hero Vid Panel ---------- */
.hero-vid-wrap {
  position: relative;
  width: 100%;
  height: 68vh;
  min-height: 520px;
  max-height: 740px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
}

.hero-vid-wrap video {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
}

.hero-vid-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(0deg, rgba(6, 6, 6, 0.7) 0%, transparent 30%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.6) 0%, transparent 20%);
  z-index: 2;
  pointer-events: none;
}

/* Corner brackets */
.hero-vid-brackets .bracket {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 3;
  pointer-events: none;
}

.hero-vid-brackets .bracket::before,
.hero-vid-brackets .bracket::after {
  content: "";
  position: absolute;
  background: rgba(88, 111, 255, 0.4);
}

.bracket-tl {
  top: 16px;
  left: 16px;
}

.bracket-tr {
  top: 16px;
  right: 16px;
}

.bracket-bl {
  bottom: 16px;
  left: 16px;
}

.bracket-br {
  bottom: 16px;
  right: 16px;
}

.bracket-tl::before,
.bracket-tr::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.bracket-tl::after,
.bracket-bl::after {
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
}

.bracket-tr::after,
.bracket-br::after {
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
}

.bracket-bl::before,
.bracket-br::before {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

/* Grid overlay */
.hero-vid-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(88, 111, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 111, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Scan line */
.hero-vid-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 4;
  background: linear-gradient(90deg, transparent, rgba(88, 111, 255, 0.3), transparent);
  animation: scan-line 3s linear infinite;
  pointer-events: none;
}

@keyframes scan-line {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

/* HUD bottom bar */
.hero-vid-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text3);
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-left .rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hud-right {
  display: flex;
  gap: 20px;
}

.hud-right span {
  color: var(--text2);
}

/* ---------- Section ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: 130px 5%;
}

.section-alt {
  background: rgba(255, 255, 255, 0.01);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--blue);
}

.section-label::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--blue);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto;
}

.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Grid Systems ---------- */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 111, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(88, 111, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.7;
}

.card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* ---------- Feature Card (icon at top, bigger) ---------- */
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  text-align: center;
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.feat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: rgba(88, 111, 255, 0.08);
}

.feat-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.feat-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-l);
  box-shadow: 0 4px 20px rgba(88, 111, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  padding: 12px 20px;
}

.btn-ghost:hover {
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ---------- Tags / Badges ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  border: 1px solid var(--border);
}

.tag-blue {
  border-color: rgba(88, 111, 255, 0.3);
  color: var(--blue-l);
  background: rgba(88, 111, 255, 0.06);
}

.tag-gold {
  border-color: rgba(191, 154, 74, 0.3);
  color: var(--gold-l);
  background: rgba(191, 154, 74, 0.06);
}

.tag-green {
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--green);
  background: rgba(16, 185, 129, 0.06);
}

.tag-purple {
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--purple);
  background: rgba(139, 92, 246, 0.06);
}

.tag-orange {
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--orange);
  background: rgba(245, 158, 11, 0.06);
}

/* ---------- Stats ---------- */
.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text3);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--blue), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: -31px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--bg);
  box-shadow: 0 0 10px rgba(88, 111, 255, 0.4);
}

.timeline-year {
  font-size: 0.8rem;
  color: var(--blue);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text2);
}

/* ---------- Team / People Cards ---------- */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: rgba(88, 111, 255, 0.05);
}

.team-info {
  padding: 24px 16px;
}

.team-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.team-role {
  font-size: 0.8rem;
  color: var(--blue);
  margin-top: 4px;
  letter-spacing: 1px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text2);
  margin-top: 8px;
  line-height: 1.6;
}

/* ---------- Product / Case Cards ---------- */
.prod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.prod-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.prod-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: rgba(88, 111, 255, 0.03);
}

.prod-info {
  padding: 24px;
}

.prod-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.prod-summary {
  font-size: 0.85rem;
  color: var(--text2);
  margin-top: 6px;
  line-height: 1.6;
}

/* Case card variant */
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.case-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.case-info {
  padding: 24px;
}

.case-industry {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 8px;
}

.case-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.case-desc {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ---------- Values List ---------- */
.value-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(88, 111, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.value-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text2);
}

/* ---------- Form ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 6px;
  letter-spacing: 1px;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--blue);
  background: rgba(88, 111, 255, 0.04);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text3);
}

/* Contact info card */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(88, 111, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-label {
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 1px;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 2px;
}

/* ---------- Trust / Partners Bar ---------- */
.trust-bar {
  position: relative;
  z-index: 1;
  padding: 48px 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 13px;
  color: var(--text3);
  letter-spacing: 2px;
  transition: color var(--transition-fast);
}

.trust-item:hover {
  color: var(--text2);
}

/* ---------- Page Hero (Generic subpage header) ---------- */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 160px 5% 80px;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(88, 111, 255, 0.06) 0%, transparent 70%);
}

.page-hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 16px;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero-desc {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.8;
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 120px 5%;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(88, 111, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212, 168, 83, 0.06), transparent 50%),
    linear-gradient(180deg, #0b0f1a 0%, #080b14 100%);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 70%);
  pointer-events: none;
}

.cta-card {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 64px 48px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(88, 165, 255, 0.6), rgba(212, 168, 83, 0.35), rgba(88, 165, 255, 0.15) 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.cta-card::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 50% 0%, rgba(88, 165, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.cta-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -1px;
  text-shadow: 0 0 40px rgba(88, 165, 255, 0.35);
}

.cta-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7ec8ff 0%, #58a5ff 40%, #d4a853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 auto 38px;
  line-height: 1.8;
}

.cta-glow-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #4f7cff 0%, #2b5eff 100%);
  border: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 8px 32px rgba(43, 94, 255, 0.35),
    0 0 40px rgba(88, 165, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-glow-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 12px 40px rgba(43, 94, 255, 0.45),
    0 0 60px rgba(88, 165, 255, 0.4);
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12) inset,
      0 8px 32px rgba(43, 94, 255, 0.35),
      0 0 40px rgba(88, 165, 255, 0.25);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.18) inset,
      0 8px 32px rgba(43, 94, 255, 0.45),
      0 0 60px rgba(88, 165, 255, 0.4);
  }
}

.cta-glow-btn {
  animation: cta-pulse 2.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 80px 5%;
  }
  .cta-card {
    padding: 44px 28px;
    border-radius: 24px;
  }
  .cta-card::before,
  .cta-card::after {
    border-radius: 24px;
  }
  .cta-desc {
    font-size: 0.95rem;
  }
  .cta-glow-btn {
    padding: 14px 30px;
    font-size: 15px;
  }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 0 0 32px;
  background: linear-gradient(180deg, #0c1020 0%, #070914 100%);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(88, 165, 255, 0.4) 20%,
    rgba(88, 165, 255, 0.95) 35%,
    rgba(212, 168, 83, 0.95) 50%,
    rgba(88, 165, 255, 0.95) 65%,
    rgba(88, 165, 255, 0.4) 80%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(88, 165, 255, 0.3);
}

.footer::after {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 240px;
  background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(88, 165, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 52px 5% 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: linear-gradient(135deg, rgba(88, 165, 255, 0.2), rgba(212, 168, 83, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 280px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item span:first-child {
  width: 22px;
  text-align: center;
  font-size: 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a::before {
  content: "›";
  margin-right: 8px;
  color: var(--blue-l);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.2);
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Text Highlights ---------- */
.text-blue {
  color: var(--blue);
}
.text-gold {
  color: var(--gold);
}
.text-green {
  color: var(--green);
}

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 16px auto;
}

/* ---------- Error / Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text2);
}

/* ---------- Responsive ---------- ---------- */
@media (max-width: 1200px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-vid-wrap {
    height: 50vh;
    min-height: 380px;
    max-height: 500px;
  }

  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    height: 76px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(6, 6, 6, 0.98);
    padding: 24px 5%;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 140px 5% 60px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-vid-wrap {
    aspect-ratio: 16/10;
    height: auto;
    min-height: 240px;
    max-height: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section {
    padding: 80px 5%;
  }

  .grid2,
  .grid3,
  .grid4 {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    gap: 32px;
    justify-content: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 5% 28px;
  }

  .footer-brand-col {
    align-items: center;
    text-align: center;
  }

  .footer-brand-desc {
    max-width: 100%;
  }

  .footer-col {
    align-items: center;
  }

  .footer-col-title {
    text-align: center;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .page-hero {
    padding: 140px 5% 60px;
  }
}
