:root {
  --bg: #070814;
  --bg-elevated: #101222;
  --bg-soft: #14172a;
  --accent: #2f7cf6;
  --accent-soft: rgba(47, 124, 246, 0.15);
  --accent-strong: #62a2ff;
  --text-main: #ffffff;
  --text-sub: #a4acc4;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top left, #1f2848 0, #070814 48%, #03040a 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(7, 8, 20, 0.92), rgba(7, 8, 20, 0.64), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

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

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 0, #61dafb 0, #2f7cf6 40%, #6e4bff 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(98, 162, 255, 0.75);
}

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

.logo-title {
  font-size: 15px;
  font-weight: 600;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-sub);
}

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

.nav a {
  color: var(--text-sub);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero */

.hero {
  padding: 40px 0 32px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: 34px;
  line-height: 1.18;
  margin: 0 0 14px;
}

.hero-text p {
  margin: 0 0 18px;
  color: var(--text-sub);
  font-size: 15px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #2f7cf6, #6e4bff);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(25, 102, 255, 0.45);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(25, 102, 255, 0.65);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn.full {
  width: 100%;
}

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

.hero-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--accent-strong);
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(98, 162, 255, 0.16), transparent 40%),
    linear-gradient(145deg, rgba(16, 18, 34, 0.98), rgba(11, 13, 26, 0.98));
  border-radius: 22px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
}

.hero-card li + li {
  margin-top: 6px;
}

.hero-card strong {
  color: var(--text-main);
}

/* Sections */

.section {
  padding: 26px 0;
}

.section-title {
  font-size: 22px;
  margin: 0 0 18px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: flex-start;
}

.cards {
  display: grid;
  gap: 14px;
}

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

.card {
  background: linear-gradient(145deg, rgba(18, 22, 44, 0.96), rgba(9, 10, 23, 0.98));
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

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

.card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-sub);
}

.card ul li + li {
  margin-top: 4px;
}

.about p {
  font-size: 14px;
  color: var(--text-sub);
}

.about p + p {
  margin-top: 6px;
}

/* Cases */

.cases .card {
  min-height: 150px;
}

/* Contact */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-sub);
}

.contact-list li + li {
  margin-top: 6px;
}

.contact-card {
  background: linear-gradient(160deg, rgba(18, 22, 44, 0.96), rgba(21, 46, 99, 0.9));
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.form-row label {
  color: var(--text-sub);
}

.form-row input,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 8, 20, 0.9);
  padding: 7px 10px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  transition: all 0.16s ease;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(98, 162, 255, 0.5);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(164, 172, 196, 0.7);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 18px;
  padding: 14px 0 16px;
  background: linear-gradient(to top, rgba(3, 4, 10, 0.96), transparent);
}

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

.footer-brand {
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-text {
  line-height: 1.5;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-right a {
  color: var(--text-sub);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.16s ease;
}

.footer-right a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

/* Responsive */

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

  .hero-card {
    order: -1;
  }

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

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

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav {
    gap: 10px;
    font-size: 13px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-card {
    padding: 16px 14px 14px;
  }

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

  .site-footer {
    padding-bottom: 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

