:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2235;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --border-accent: rgba(59, 130, 246, 0.3);
  --green: #22c55e;
}

@import url('https://fonts.cdnfonts.com/css/trajan-pro');

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

.font-trajan {
  font-family: 'Trajan Pro', 'Trajan', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-weight: 700;
  text-transform: none;
  font-variant: normal;
  font-feature-settings: normal;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(147deg, #ffffff 8%, #e2e8f0 18%, #94a3b8 30%, #475569 45%, #1e293b 65%, #0f1729 85%, #0a0e17 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Acquisition Banner */
.acquisition-banner {
  background: linear-gradient(90deg, var(--accent), #6366f1);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.acquisition-banner a { color: #fff; text-decoration: underline; font-weight: 700; }
.acquisition-banner a:hover { text-decoration: none; }

/* Header */
header {
  background: transparent;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
}
/* Fog layer sits behind header content but covers scrolling content */
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -60px;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}
.header-inner {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.logo-icon {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo-text h1 { font-size: 1.5rem; font-weight: 700; color: #0f172a; line-height: 1.2; }
.logo-text span { font-size: 0.85rem; color: #475569; text-transform: none; letter-spacing: 0.08em; font-family: 'Trajan Pro', 'Trajan', 'Palatino Linotype', 'Book Antiqua', Palatino, serif; font-weight: 700; }

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
}
nav > a, .dropdown > .dropdown-toggle {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.05rem;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
nav > a:hover, .dropdown > .dropdown-toggle:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700;
  font-family: 'Trajan Pro', 'Trajan', 'Times New Roman', serif;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
  transition: transform 0.2s;
}
.dropdown:hover .dropdown-toggle::after,
.dropdown.open .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 200;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  border-radius: 6px;
  transition: all 0.15s;
  line-height: 1.4;
}
.dropdown-menu a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.dropdown-menu .dd-label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}
.dropdown-menu .dd-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.dropdown-menu .dd-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  padding: 80px 24px;
  text-align: center;
  background: transparent;
}
.hero-inner {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 60px 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(59, 130, 246, 0.06);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.hero h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h2 .gradient-text {
  background: linear-gradient(90deg, var(--accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.3);
}
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--text-muted); background: rgba(255,255,255,0.03); }

/* Sections */
.section {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 0;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h3 { font-size: clamp(1.5rem,3.5vw,2.2rem); font-weight: 700; margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Acquisition notice */
.acquisition-notice {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.acquisition-notice h3 { font-size: 1.4rem; margin-bottom: 12px; }
.acquisition-notice p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }
.acquisition-notice a { color: var(--accent); text-decoration: none; font-weight: 600; }
.acquisition-notice a:hover { text-decoration: underline; }

/* Archive badge */
.archive-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.25);
  color: #fbbf24;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Service page content */
.service-hero {
  padding: 80px 24px 0;
  background: transparent;
}
.service-hero-inner {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(59, 130, 246, 0.06);
}
.service-hero .archive-badge { margin-bottom: 20px; }
.service-hero h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.service-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.7;
}
.service-content {
  width: 80%;
  max-width: 1000px;
  margin: 60px auto 80px;
  padding: 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.service-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-primary);
}
.service-content h3:first-child { margin-top: 0; }
.service-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.service-content ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.service-content ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
}
.service-content ul li:last-child { border-bottom: none; }
.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.tech-tag {
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Service page CTA */
.service-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
.service-cta h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-cta p { color: var(--text-secondary); margin-bottom: 20px; }
.service-cta .btn { margin: 0 6px; }

/* Infrastructure table */
.infra-table-wrapper { overflow-x: auto; margin-top: 40px; }
.infra-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-width: 600px;
}
.infra-table th {
  text-align: left;
  padding: 16px 24px;
  background: rgba(59,130,246,0.06);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}
.infra-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.infra-table tr:last-child td { border-bottom: none; }
.infra-table td:first-child { color: var(--text-primary); font-weight: 600; white-space: nowrap; }

/* CTA Section */
.cta-section { background: transparent; padding: 0 24px 80px; }
.cta-inner {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 60px 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.cta-inner h3 { font-size: clamp(1.5rem,3.5vw,2rem); font-weight: 700; margin-bottom: 14px; }
.cta-inner p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 32px; }
.cta-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; text-align: left; }
.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.cta-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.cta-card .cta-card-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent); margin-bottom: 8px;
}
.cta-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.cta-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* Footer */
footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 24px;
  text-align: center;
}
footer .footer-inner {
  width: 80%; max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
footer p { color: var(--text-muted); font-size: 0.85rem; }
footer a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; }
footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 20px; }

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .header-inner { width: 90%; }
  .section { width: 90%; }
  .hero-inner { width: 90%; }
  .service-hero-inner { width: 90%; }
  .service-content { width: 90%; }
  .cta-inner { width: 90%; }
  footer .footer-inner { width: 90%; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .header-inner {
    width: 92%;
    padding: 12px 0;
  }
  .logo-icon { width: 56px; height: 56px; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 16px;
    gap: 2px;
  }
  nav.open { display: flex; }
  nav > a, .dropdown > .dropdown-toggle {
    padding: 12px 14px;
    width: 100%;
    text-align: left;
    color: var(--text-primary);
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    min-width: unset;
    padding: 4px 0 4px 12px;
  }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 10px 12px; }
  .hero { padding: 32px 16px; }
  .hero-inner { width: 92%; padding: 36px 24px; }
  .hero h2 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .section { width: 92%; padding: 40px 0; }
  .section-header { margin-bottom: 32px; }
  .acquisition-notice { padding: 24px 20px; }
  .service-hero { padding: 32px 16px 0; }
  .service-hero-inner { width: 92%; padding: 32px 24px; }
  .service-hero h2 { font-size: 1.6rem; }
  .service-content { width: 92%; padding: 32px 24px; margin-top: 24px; margin-bottom: 48px; }
  .service-content h3 { font-size: 1.25rem; margin-top: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 16px; }
  .stat-card .stat-number { font-size: 1.5rem; }
  .service-cta { padding: 28px 20px; }
  .service-cta .btn { display: block; width: 100%; max-width: 280px; margin: 6px auto; text-align: center; }
  .cta-section { padding: 0 16px 48px; }
  .cta-inner { width: 92%; padding: 36px 24px; }
  .cta-cards { grid-template-columns: 1fr; }
  .infra-table-wrapper { margin: 24px -8px; }
  .infra-table td, .infra-table th { padding: 12px 14px; font-size: 0.85rem; }
  .tech-tags { gap: 6px; }
  .tech-tag { font-size: 0.72rem; padding: 4px 10px; }
  footer { padding: 24px 20px; }
  footer .footer-inner { width: 92%; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Responsive - Small mobile */
@media (max-width: 400px) {
  .logo-icon { width: 44px; height: 44px; }
  .logo-text h1 { font-size: 1.05rem; }
  .hero h2 { font-size: 1.5rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card .stat-number { font-size: 1.2rem; }
}
