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

:root {
  --bg: #0b1121;
  --bg-alt: #0f172a;
  --bg-warm: #131c31;
  --surface: #1a2332;
  --surface-hover: #1e293b;
  --border: #1e293b;
  --border-light: #1a2332;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --blue: #3b82f6;
  --blue-light: #1e3a5f;
  --teal: #22d3ee;
  --teal-light: #164e63;
  --violet: #8b5cf6;
  --violet-light: #2e1a5e;
  --amber: #f59e0b;
  --amber-light: #4a3a0a;
  --cyan: #06b6d4;
  --cyan-light: #164e63;
  --gradient: linear-gradient(135deg, #3b82f6, #22d3ee);
  --gradient-violet: linear-gradient(135deg, #8b5cf6, #06b6d4);
  --gradient-subtle: linear-gradient(135deg, #1e3a5f, #164e63);
  --gradient-warm: linear-gradient(180deg, #131c31 0%, #0b1121 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 17, 33, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav--scrolled { border-color: var(--border); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav__logo-icon { width: 28px; height: 28px; }

.nav__links { display: flex; align-items: center; gap: 32px; }

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__link:hover { color: var(--blue); }

.nav__cta {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav__cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav__toggle { display: none; background: none; border: none; color: var(--text-secondary); padding: 4px; }

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--gradient-warm);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  color: var(--bg);
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.hero__blob--1 {
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: var(--blue);
}

.hero__blob--2 {
  bottom: -100px;
  left: -60px;
  width: 400px;
  height: 400px;
  background: var(--teal);
}

.hero__content {
  position: relative;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet);
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.08);
}

.hero__title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__title-gradient {
  background: var(--gradient-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn--ghost { border-color: rgba(139, 92, 246, 0.3); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}

.btn--ghost:hover { color: var(--blue); border-color: var(--blue); }

.btn--lg { padding: 14px 32px; font-size: 16px; }

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section__accent {
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient);
  margin-bottom: 20px;
}

.section__header { max-width: 600px; margin-bottom: 56px; }

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section__desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.intro-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.intro-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

.intro-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.intro-card__icon svg { width: 24px; height: 24px; }

.intro-card__icon--blue { background: var(--blue-light); color: var(--blue); }
.intro-card__icon--violet { background: var(--violet-light); color: var(--violet); }

.intro-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.intro-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.intro-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.intro-card__link:hover { gap: 8px; }

.segment-header { margin-bottom: 48px; }

.segment-badge {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.segment-badge--blue { background: var(--blue-light); color: var(--blue); }
.segment-badge--violet { background: var(--violet-light); color: var(--violet); }

.product-pair {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

.product-card--secondary { opacity: 0.85; }
.product-card--secondary:hover { opacity: 1; }

.product-card__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__icon svg { width: 28px; height: 28px; }

.product-card__body { flex: 1; }

.product-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.product-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.product-card__link:hover { gap: 8px; }

.connector-bridge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}

.connector-bridge__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-muted), transparent);
}

.connector-bridge__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
}

.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  font-size: 13px;
  font-weight: 700;
  padding: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table__label {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  width: 140px;
}

.compare-table__col--blue { color: var(--blue); }
.compare-table__col--violet { color: var(--violet); }
.compare-table__col--amber { color: var(--amber); }
.compare-table__col--emerald { color: #10b981; }
.compare-table__col--cyan { color: var(--cyan); }

.cta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cta-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cta-card--blue:hover { border-color: var(--blue); }
.cta-card--violet:hover { border-color: var(--violet); }
.cta-card--amber:hover { border-color: var(--amber); }
.cta-card--emerald { border-color: rgba(16, 185, 129, 0.2); }
.cta-card--emerald:hover { border-color: #10b981; }
.cta-card--emerald .cta-card__icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }

.cta-card--cyan:hover { border-color: var(--cyan); }

.cta-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.cta-card__icon svg { width: 24px; height: 24px; }

.cta-card--blue .cta-card__icon { background: var(--blue-light); color: var(--blue); }
.cta-card--violet .cta-card__icon { background: var(--violet-light); color: var(--violet); }
.cta-card--amber .cta-card__icon { background: var(--amber-light); color: var(--amber); }
.cta-card--cyan .cta-card__icon { background: var(--cyan-light); color: var(--cyan); }

.cta-card__name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-card__action {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.cta-card:hover .cta-card__action { color: var(--text-secondary); }

.product-card, .intro-card, .cta-card {
  position: relative;
  z-index: 0;
}

.product-card::after, .intro-card::after, .cta-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--blue), transparent, var(--teal));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  padding: 1.5px;
}

.product-card:hover::after, .intro-card:hover::after, .cta-card:hover::after { opacity: 1; }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
}

.footer__brand { max-width: 260px; }

.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

.footer__links { display: flex; gap: 48px; }

.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--blue); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero__wave {
  animation: wave-drift 8s ease-in-out infinite alternate;
}

@keyframes wave-drift {
  from { transform: translateX(-2%) scaleX(1.02); }
  to { transform: translateX(2%) scaleX(0.98); }
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -70px) scale(1.1); }
  50% { transform: translate(-30px, -130px) scale(0.95); }
  75% { transform: translate(40px, -50px) scale(1.05); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-60px, 50px) scale(0.9); }
  50% { transform: translate(40px, 90px) scale(1.15); }
  75% { transform: translate(-30px, 30px) scale(1); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero__blob--1 { animation: float-1 20s ease-in-out infinite; }
.hero__blob--2 { animation: float-2 25s ease-in-out infinite; }

.hero__badge {
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
  50% { box-shadow: 0 0 24px 0 rgba(139, 92, 246, 0.12); }
}

@media (max-width: 1024px) {
  .cta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(11, 17, 33, 0.98);
    backdrop-filter: blur(16px);
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .hero__title { font-size: clamp(36px, 10vw, 52px); }

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

  .product-card { flex-direction: column; }

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

  .section { padding: 64px 0; }

  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 32px; }
  .cta-grid { grid-template-columns: 1fr; }
}
