:root {
  --bg: #020617;
  --bg-alt: #020617;
  --card-bg: rgba(15, 23, 42, 0.9);
  --accent: #22d3ee;
  --accent-soft: rgba(56, 189, 248, 0.25);
  --accent-strong: #38bdf8;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 999px;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.9);
  --blur-strong: blur(28px);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

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

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.9),
      rgba(15, 23, 42, 0.75),
      transparent
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 40%;
  background: radial-gradient(circle at 20% 20%, #22d3ee, #0f172a 60%, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #e0f2fe;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.75);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #22d3ee, #38bdf8);
  transition: width 0.18s ease;
}

.nav a:hover {
  color: #e5e7eb;
}

.nav a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, #22d3ee, #38bdf8);
  color: #0b1120;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.45);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.7);
}

.btn-outline:hover {
  border-color: #22d3ee;
  background: radial-gradient(circle at top left, #0f172a, #020617 60%);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.75);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-main);
}

/* Hero */
.hero {
  padding: 70px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-subtitle strong {
  color: #e5e7eb;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), transparent 60%);
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.glass-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #0f172a, #020617 60%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.glass-header {
  height: 32px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.4));
}

.glass-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fbbf24, #f97316);
  opacity: 0.8;
}

.glass-body {
  position: relative;
  padding: 18px 18px 20px;
  overflow: hidden;
}

.matrix-bg {
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(circle at top, rgba(34, 211, 238, 0.6), transparent 60%),
    linear-gradient(120deg, rgba(15, 23, 42, 0.7), #020617);
  opacity: 0.4;
  mix-blend-mode: screen;
  filter: blur(12px);
}

.stat {
  position: relative;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(18px);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-value {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 600;
  background: linear-gradient(120deg, #e0f2fe, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

/* Sections */
.section {
  padding: 40px 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617 60%);
}

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

.section-header h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.section-header p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: flex-start;
}

.section-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-text p + p {
  margin-top: 10px;
}

.section-cards {
  display: grid;
  gap: 10px;
}

.info-card {
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 14px 14px 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
}

.info-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.info-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Grid cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.adv-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 14px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.92);
  position: relative;
  overflow: hidden;
}

.service-card::before,
.adv-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.12),
    transparent 55%
  );
  opacity: 0.9;
  pointer-events: none;
}

.service-card h3,
.adv-card h3 {
  position: relative;
  margin: 0 0 8px;
  font-size: 15px;
}

.service-card p,
.adv-card p {
  position: relative;
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.service-card ul {
  position: relative;
  margin: 0;
  padding-left: 16px;
  list-style: none;
}

.service-card li {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, #22d3ee, transparent);
}

/* Contact */
.contact {
  max-width: 960px;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 10px;
}

.contact-info,
.contact-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
}

.contact-info h3,
.contact-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.contact-info p,
.contact-card p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-card ul {
  margin: 0 0 6px;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-card li {
  margin-bottom: 4px;
}

.contact-email a {
  color: var(--accent-strong);
  font-weight: 500;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, #020617, #000 70%);
  padding: 18px 0 20px;
  margin-top: 30px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-brand {
  font-size: 13px;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.footer-icp {
  margin-top: 6px;
  font-size: 12px;
}

.footer-icp a {
  color: var(--text-muted);
}

.footer-icp a:hover {
  color: #e5e7eb;
}

.footer-right a {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-right a:hover {
  color: #e5e7eb;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    justify-content: center;
  }

  .glass-card {
    max-width: 320px;
  }

  .two-column,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 56px;
  }

  .section {
    padding: 32px 0;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    padding: 10px 0;
  }
}

