:root {
  --home-primary: #2563eb;
  --home-primary-dark: #1d4ed8;
  --home-bg: #0f172a;
  --home-text: #0f172a;
  --home-muted: #64748b;
}

.home-page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: var(--home-text);
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, sans-serif;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 28%, #2563eb 52%, #dbeafe 78%, #eff6ff 100%);
}

.home-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.home-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 10%, transparent 85%);
}

.home-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.72;
}

.home-bg-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #38bdf8 0%, #0284c7 70%);
  top: -160px;
  right: -120px;
  animation: home-float 18s ease-in-out infinite;
}

.home-bg-orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #818cf8 0%, #4f46e5 70%);
  bottom: 5%;
  left: -140px;
  animation: home-float 22s ease-in-out infinite reverse;
}

.home-bg-orb-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #22d3ee 0%, #0891b2 70%);
  top: 42%;
  right: 10%;
  animation: home-float 16s ease-in-out infinite 2s;
}

.home-bg-orb-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #f472b6 0%, #db2777 60%);
  top: 8%;
  left: 35%;
  opacity: 0.35;
  animation: home-float 20s ease-in-out infinite 1s;
}

.home-bg-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.14);
  font-size: 72px;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

.home-bg-icon-1 {
  top: 18%;
  left: 8%;
  transform: rotate(-25deg);
  animation: home-drift 24s ease-in-out infinite;
}

.home-bg-icon-2 {
  top: 12%;
  right: 12%;
  font-size: 80px;
  animation: home-drift 20s ease-in-out infinite reverse;
}

.home-bg-icon-3 {
  bottom: 22%;
  right: 8%;
  font-size: 48px;
  animation: home-drift 26s ease-in-out infinite 3s;
}

@keyframes home-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.05); }
}

@keyframes home-drift {
  0%, 100% { transform: translateY(0) rotate(-25deg); }
  50% { transform: translateY(-16px) rotate(-15deg); }
}

.home-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-nav {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.home-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.home-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 40px;
  text-align: center;
  flex: 0 0 auto;
}

.home-hero-tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.home-hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 4px 24px rgba(15, 23, 42, 0.35);
}

.home-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.home-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  flex: 1;
}

.home-feature {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.home-feature i {
  font-size: 24px;
  color: var(--home-primary);
  margin-bottom: 12px;
  display: block;
}

.home-feature h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.home-feature p {
  font-size: 13px;
  color: var(--home-muted);
  margin: 0;
  line-height: 1.75;
}

.home-feature-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1d4ed8;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border: 1px solid #93c5fd;
  border-radius: 999px;
}

.home-feature-highlight {
  border-color: #93c5fd;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.home-feature-highlight i {
  color: #1d4ed8;
}

.home-footer {
  margin-top: auto;
  text-align: center;
  padding: 32px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
}

.home-footer-brand {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.home-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.home-footer-links span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-footer-links i {
  color: #93c5fd;
}

.home-footer-icp {
  margin: 0;
  font-size: 12px;
}

.home-footer-icp a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.home-footer-icp a:hover {
  color: #bfdbfe;
}

@media (max-width: 576px) {
  .home-footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
