/* Aurora Digital 極光數位 - 專業科技感主題 */
:root {
  --bg-primary: #040810;
  --bg-secondary: #0a1020;
  --bg-card: rgba(10, 18, 36, 0.8);
  --bg-card-hover: rgba(14, 26, 50, 0.95);
  --border: rgba(0, 200, 255, 0.12);
  --border-hover: rgba(0, 212, 255, 0.45);
  --text-primary: #eef4ff;
  --text-secondary: #8ba3c7;
  --text-muted: #5a7296;
  --accent: #00d4ff;
  --accent-purple: #7b61ff;
  --accent-green: #00ffaa;
  --accent-secondary: #4d7cff;
  --accent-glow: rgba(0, 212, 255, 0.3);
  --aurora-glow: rgba(123, 97, 255, 0.2);
  --gradient: linear-gradient(135deg, #00d4ff 0%, #7b61ff 50%, #00ffaa 100%);
  --gradient-text: linear-gradient(135deg, #00d4ff, #7b61ff, #00ffaa);
  --success: #00e676;
  --warning: #ffab00;
  --nav-height: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Microsoft JhengHei', 'PingFang TC', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(123, 97, 255, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(0, 212, 255, 0.1), transparent),
    radial-gradient(ellipse 50% 35% at 10% 70%, rgba(0, 255, 170, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 11, 20, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}

.logo-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-ring {
  transform-origin: 22px 22px;
  animation: logoSpin 12s linear infinite;
}

.logo-ring-2 {
  animation-direction: reverse;
  animation-duration: 8s;
}

.aurora-wave {
  animation: auroraWave 3s ease-in-out infinite;
}

.aurora-wave-2 {
  animation-delay: 1.5s;
}

.logo-core {
  animation: corePulse 2s ease-in-out infinite;
}

@keyframes logoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes auroraWave {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@keyframes corePulse {
  0%, 100% { r: 5; opacity: 1; }
  50% { r: 6; opacity: 0.85; }
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a,
.nav-menu > li > .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.nav-menu > li > a:hover,
.nav-menu > li > .nav-link:hover,
.nav-menu > li.active > a {
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
}

.nav-menu > li > a .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-menu > li:hover > a .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.nav-menu > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.dropdown a:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
}

.dropdown a .sub-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient);
  border-radius: 8px;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item .number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 550px;
  opacity: 0.9;
}

.server-node {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.node-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.node-ring:nth-child(1) { inset: 5%; }
.node-ring:nth-child(2) { inset: 20%; animation-direction: reverse; animation-duration: 15s; }
.node-ring:nth-child(3) { inset: 35%; animation-duration: 25s; }

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.node-center {
  position: absolute;
  inset: 42%;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 60px var(--accent-glow);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.node-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent);
}

.node-dot:nth-child(5) { top: 10%; left: 50%; }
.node-dot:nth-child(6) { top: 50%; right: 5%; }
.node-dot:nth-child(7) { bottom: 15%; left: 20%; }
.node-dot:nth-child(8) { top: 30%; left: 10%; }

/* ===== Sections ===== */
section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card.featured {
  border-color: var(--accent);
  position: relative;
}

.product-card.featured::before {
  content: '熱門';
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--gradient);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.product-header {
  padding: 28px 28px 0;
}

.product-header h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.product-header .product-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.product-specs {
  padding: 24px 28px;
  flex: 1;
}

.product-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-specs li:last-child {
  border-bottom: none;
}

.product-specs li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

.product-price {
  padding: 0 28px 28px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
}

.price-amount span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.product-price .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

/* Pricing table */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table td {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-table tr:hover td {
  background: rgba(0, 212, 255, 0.03);
}

.pricing-table .price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Page header (sub pages) */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero h1 .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.about-visual .big-number {
  font-size: 4rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.value-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.value-item .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-item h3 {
  margin-bottom: 8px;
}

.value-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 0 24px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Info boxes */
.info-box {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 40px;
}

.info-box h4 {
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.info-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-menu > li {
    width: 100%;
  }

  .nav-menu > li > a,
  .nav-menu > li > .nav-link {
    width: 100%;
    padding: 14px 16px;
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 4px;
    display: none;
  }

  .nav-menu > li.dropdown-open .dropdown {
    display: block;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .pricing-table {
    display: block;
    overflow-x: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr !important;
  }

  .hero-panel {
    max-width: 100%;
  }

  .infra-flow {
    flex-direction: column;
  }

  .infra-arrow {
    transform: rotate(90deg);
  }
}

/* ===== Homepage Enhanced ===== */
.hero-enhanced {
  min-height: 100vh;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

.aurora-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.aurora-band {
  position: absolute;
  width: 150%;
  height: 40%;
  left: -25%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: auroraDrift 8s ease-in-out infinite;
}

.aurora-band-1 {
  top: 5%;
  background: linear-gradient(90deg, transparent, #7b61ff, #00d4ff, transparent);
}

.aurora-band-2 {
  top: 25%;
  background: linear-gradient(90deg, transparent, #00ffaa, #7b61ff, transparent);
  animation-delay: 3s;
  animation-duration: 10s;
}

.aurora-band-3 {
  top: 50%;
  background: linear-gradient(90deg, transparent, #00d4ff, #4d7cff, transparent);
  animation-delay: 5s;
  animation-duration: 12s;
  opacity: 0.2;
}

@keyframes auroraDrift {
  0%, 100% { transform: translateX(-5%) skewY(-2deg); }
  50% { transform: translateX(5%) skewY(2deg); }
}

.hero-grid-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to top, black, transparent);
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom;
  z-index: 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height) - 60px);
  position: relative;
  z-index: 2;
  padding: 60px 0 40px;
}

.hero-content {
  max-width: none;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line span {
  display: inline-block;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title-line:nth-child(2) span { animation-delay: 0.15s; }
.hero-title-line:nth-child(3) span { animation-delay: 0.3s; }

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tag {
  padding: 6px 14px;
  background: rgba(123, 97, 255, 0.12);
  border: 1px solid rgba(123, 97, 255, 0.25);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--accent-purple);
  font-family: 'Consolas', 'Courier New', monospace;
}

.hero-tag.accent {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.25);
  color: var(--accent);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.stat-card {
  background: rgba(10, 18, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px var(--accent-glow);
}

.stat-card .number {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Dashboard Panel */
.hero-panel {
  position: relative;
}

.panel-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--aurora-glow), transparent 70%);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.dashboard {
  position: relative;
  z-index: 1;
  background: rgba(6, 12, 24, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.08);
  backdrop-filter: blur(20px);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Consolas', monospace;
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--success);
}

.dash-status .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.dashboard-body {
  padding: 20px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.metric-box {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}

.metric-box .val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Consolas', monospace;
}

.metric-box .lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.metric-box.purple .val { color: var(--accent-purple); }
.metric-box.green .val { color: var(--accent-green); }

.chart-area {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-secondary), var(--accent));
  border-radius: 3px 3px 0 0;
  animation: barGrow 1.5s ease-out both;
  opacity: 0.8;
}

.chart-bar:nth-child(1) { height: 45%; animation-delay: 0.1s; }
.chart-bar:nth-child(2) { height: 70%; animation-delay: 0.2s; }
.chart-bar:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.chart-bar:nth-child(4) { height: 90%; animation-delay: 0.4s; }
.chart-bar:nth-child(5) { height: 65%; animation-delay: 0.5s; }
.chart-bar:nth-child(6) { height: 80%; animation-delay: 0.6s; }
.chart-bar:nth-child(7) { height: 50%; animation-delay: 0.7s; }
.chart-bar:nth-child(8) { height: 95%; animation-delay: 0.8s; }

@keyframes barGrow {
  from { height: 0 !important; }
}

.terminal-body {
  background: #020508;
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.78rem;
  min-height: 90px;
}

.t-line {
  color: var(--accent-green);
  line-height: 1.7;
}

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent);
}

@keyframes blink {
  50% { opacity: 0; }
}

.float-card {
  position: absolute;
  background: rgba(10, 18, 36, 0.95);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 3;
  animation: floatCard 5s ease-in-out infinite;
}

.float-card-1 {
  top: -10px;
  right: -20px;
  border-color: rgba(0, 255, 170, 0.3);
}

.float-card-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 2s;
  border-color: rgba(123, 97, 255, 0.3);
}

.float-card .fc-icon {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.float-card .fc-val {
  font-weight: 700;
  color: var(--accent);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Ticker */
.ticker-bar {
  position: relative;
  z-index: 2;
  background: rgba(6, 12, 24, 0.8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.ticker-item .ti-label {
  color: var(--text-muted);
}

.ticker-item .ti-val {
  color: var(--accent);
  font-weight: 600;
  font-family: 'Consolas', monospace;
}

.ticker-item .ti-up {
  color: var(--success);
  font-size: 0.75rem;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Infrastructure */
.infra-section {
  background: linear-gradient(180deg, transparent, rgba(123, 97, 255, 0.04), transparent);
}

.infra-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.infra-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  min-width: 140px;
  transition: var(--transition);
  position: relative;
}

.infra-node:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 0 30px var(--accent-glow);
}

.infra-node.highlight {
  border-color: var(--accent-purple);
  background: rgba(123, 97, 255, 0.08);
}

.infra-node .in-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.infra-node h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.infra-node p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.infra-arrow {
  color: var(--accent);
  font-size: 1.5rem;
  opacity: 0.5;
}

/* Trust strip */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.trust-item .ti-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Feature card enhanced */
.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 212, 255, 0.05);
  line-height: 1;
}
