:root {
  --bg-dark: #0a3d8f;
  --bg-mid: #0f63b8;
  --bg-light: #5fd8ff;
  --primary: #2fd1ef;
  --primary-deep: #18abd3;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --panel: rgba(255, 255, 255, 0.92);
  --panel-text: #123c7a;
  --shadow: 0 22px 48px rgba(4, 31, 74, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(112, 220, 255, 0.18), transparent 20%),
    radial-gradient(circle at 80% 18%, rgba(147, 226, 255, 0.24), transparent 22%),
    linear-gradient(180deg, #07337f 0%, #0a4ea1 28%, #1674c9 60%, #2eaee6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.12), rgba(0,0,0,0.4), transparent 92%);
}

.page-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 4px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
}

.diamond {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  transform: rotate(45deg);
  background: linear-gradient(145deg, #6bf0ff, #0e8bd4);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.diamond-b {
  inset: 8px;
  background: linear-gradient(145deg, #8cf7ff, #1ca6e4);
}

.brand-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  margin: auto;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #63f0ff, #18c8f3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-secondary,
.btn-card {
  background: linear-gradient(180deg, #46e4f9 0%, #19b7dd 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 64, 110, 0.28);
}

.btn-primary {
  min-width: 170px;
  padding: 16px 28px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 24px 58px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-grid {
  position: absolute;
  inset: auto -8% 0;
  height: 48%;
  opacity: 0.22;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 3px, transparent 3px 62px),
    linear-gradient(180deg, transparent, rgba(255,255,255,0.18));
  transform: perspective(420px) rotateX(74deg);
  transform-origin: bottom;
}

.hero-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.35;
}

.hero-glow-left {
  left: -120px;
  top: 30px;
  background: radial-gradient(circle, rgba(115, 230, 255, 0.48), transparent 65%);
}

.hero-glow-right {
  right: -140px;
  top: 20px;
  background: radial-gradient(circle, rgba(171, 235, 255, 0.42), transparent 65%);
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  letter-spacing: 0.14em;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.02;
  font-weight: 800;
}

.hero-subtitle {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 22px auto 0;
  font-size: clamp(1.1rem, 2vw, 2rem);
  color: var(--muted);
  font-weight: 500;
}

.hero-actions {
  position: relative;
  z-index: 1;
  margin-top: 34px;
}

.btn-secondary {
  padding: 18px 36px;
  border-radius: 14px;
  min-width: 210px;
  font-size: 1.2rem;
  font-weight: 800;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.card {
  display: flex;
  gap: 22px;
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(230,243,255,0.93));
  box-shadow: var(--shadow);
  min-height: 265px;
  color: var(--panel-text);
}

.card-icon {
  position: relative;
  width: 118px;
  min-width: 118px;
  height: 118px;
  margin-top: 6px;
}

.card-content h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2vw, 2.25rem);
  line-height: 1.1;
  color: #0f4f95;
}

.card-content h3 {
  margin: 16px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #244a83;
}

.card-content p {
  margin: 0 0 22px;
  font-size: 1.04rem;
  line-height: 1.68;
  color: #48658f;
}

.btn-card {
  min-width: 160px;
  padding: 14px 24px;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 800;
}

.icon-circle {
  position: absolute;
  top: 18px;
  left: 12px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2e8dea, #1662c8);
  box-shadow: inset 0 -12px 18px rgba(255,255,255,0.15);
}

.icon-circle::before,
.icon-circle::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.92);
}

.icon-circle::before {
  width: 30px;
  height: 4px;
  left: 17px;
  top: 30px;
}

.icon-circle::after {
  width: 4px;
  height: 30px;
  left: 30px;
  top: 17px;
}

.icon-gear {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(180deg, #4bc1ff, #1a80d5);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.gear-1 {
  width: 30px;
  height: 30px;
  left: 68px;
  top: 56px;
}

.gear-2 {
  width: 22px;
  height: 22px;
  left: 38px;
  top: 76px;
}

.heart {
  position: absolute;
  width: 70px;
  height: 70px;
  top: 24px;
  left: 12px;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, #ff6a6a, #da2a42);
  border-radius: 18px 18px 0 0;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  background: inherit;
  border-radius: 50%;
}

.heart::before { top: -34px; left: 0; }
.heart::after { top: 0; left: 34px; }

.plus {
  position: absolute;
  width: 14px;
  height: 44px;
  background: #fff;
  left: 44px;
  top: 36px;
  border-radius: 4px;
  z-index: 2;
}

.plus::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 14px;
  left: -15px;
  top: 15px;
  background: #fff;
  border-radius: 4px;
}

.shield {
  position: absolute;
  right: 10px;
  top: 44px;
  width: 42px;
  height: 48px;
  background: linear-gradient(180deg, #73b9ff, #2d84e0);
  clip-path: polygon(50% 0%, 92% 16%, 92% 54%, 50% 100%, 8% 54%, 8% 16%);
  box-shadow: 0 8px 14px rgba(0,0,0,0.12);
}

.shield::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.home-shape {
  position: absolute;
  left: 8px;
  top: 22px;
  width: 86px;
  height: 70px;
  background: linear-gradient(180deg, #1d89e3, #125dbd);
  clip-path: polygon(0 45%, 50% 0, 100% 45%, 100% 100%, 67% 100%, 67% 62%, 33% 62%, 33% 100%, 0 100%);
  border-radius: 10px;
}

.home-shape::after {
  content: "$";
  position: absolute;
  left: 29px;
  top: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #1863c2;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.coin {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffdf73, #f1a822);
  box-shadow: 0 8px 12px rgba(0,0,0,0.12);
}

.coin-1 {
  width: 32px;
  height: 32px;
  right: 10px;
  top: 54px;
}

.coin-2 {
  width: 26px;
  height: 26px;
  right: 32px;
  top: 68px;
}

.briefcase {
  position: absolute;
  left: 8px;
  top: 34px;
  width: 92px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3f6eb3, #233d70);
  box-shadow: 0 10px 18px rgba(0,0,0,0.16);
}

.briefcase::before {
  content: "";
  position: absolute;
  left: 30px;
  top: -10px;
  width: 32px;
  height: 14px;
  border: 4px solid #304d83;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.ai-chip {
  position: absolute;
  left: 28px;
  top: 42px;
  width: 40px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #85e5ff, #44bdf0);
  color: #174576;
  font-size: 0.85rem;
  font-weight: 800;
  z-index: 2;
}

.bars {
  position: absolute;
  bottom: 14px;
  width: 10px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #4de1f9, #14b3dd);
}

.bar-1 { left: 80px; height: 18px; }
.bar-2 { left: 94px; height: 28px; }
.bar-3 { left: 108px; height: 40px; }

.value-strip {
  margin-top: 34px;
  padding: 26px 20px 8px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.22);
}

.value-strip h2 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.15;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-item {
  padding: 22px 16px 30px;
  position: relative;
}

.value-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: -9px;
  width: 1px;
  height: 64%;
  background: rgba(255,255,255,0.18);
}

.value-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  position: relative;
}

.shield-icon {
  background: linear-gradient(180deg, #93e8ff, #1cb0e1);
  clip-path: polygon(50% 0%, 90% 16%, 90% 58%, 50% 100%, 10% 58%, 10% 16%);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.18));
}

.shield-icon::after {
  content: "";
  position: absolute;
  inset: 18px;
  clip-path: inherit;
  background: rgba(255,255,255,0.34);
}

.gears-icon::before,
.gears-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #bfefff);
  box-shadow: 0 10px 18px rgba(0,0,0,0.16);
}

.gears-icon::before {
  width: 54px;
  height: 54px;
  left: 8px;
  top: 20px;
}

.gears-icon::after {
  width: 40px;
  height: 40px;
  right: 8px;
  top: 10px;
}

.support-icon {
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #8fe6ff, #189fd8 72%);
  box-shadow: 0 10px 18px rgba(0,0,0,0.18);
}

.support-icon::before,
.support-icon::after {
  content: "";
  position: absolute;
  background: #fff;
}

.support-icon::before {
  width: 16px;
  height: 44px;
  left: 8px;
  top: 18px;
  border-radius: 20px;
  box-shadow: 52px 0 0 #fff;
}

.support-icon::after {
  width: 48px;
  height: 10px;
  left: 18px;
  bottom: 14px;
  border-radius: 999px;
}

.value-item h3 {
  margin: 0;
  font-size: 1.45rem;
}

.footer {
  margin-top: 18px;
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-shell {
    width: min(100% - 24px, 1240px);
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 54px;
  }

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

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-item:not(:last-child)::after {
    display: none;
  }
}
