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

:root {
  --primary-25: #f6f8ff;
  --primary-50: #edf1ff;
  --primary-100: #dde6ff;
  --primary-200: #c3cfff;
  --primary-300: #9eaeff;
  --primary-500: #575afd;
  --primary-700: #3a2cd6;
  --primary-800: #3027ac;
  --primary-900: #2c2788;
  --primary-950: #1b174f;

  --vivid-cyan-blue: #0693e3;
  --vivid-purple: #9b51e0;
  --we-blue: #087fc4; /* span color used in the WETAP logotype */

  --neutral-0: #ffffff;
  --neutral-50: #f8f9fb;
  --neutral-100: #f1f3f7;
  --neutral-200: #e6e8ed;
  --neutral-300: #d3d6dd;
  --neutral-500: #8a92a4;
  --neutral-600: #5a6378;
  --neutral-700: #3a4053;
  --neutral-800: #1f2433;
  --neutral-900: #11152a;
  --neutral-950: #07091a;

  /* --- Brand gradients --- */
  --grad-vivid: linear-gradient(
    135deg,
    rgb(6, 147, 227) 0%,
    rgb(155, 81, 224) 100%
  );
  --grad-vivid-soft: linear-gradient(
    135deg,
    rgba(7, 146, 227, 0.11) 0%,
    rgba(155, 81, 224, 0.14) 100%
  );
  --grad-primary-light: linear-gradient(
    135deg,
    var(--primary-200) 0%,
    var(--primary-100) 100%
  );
  --grad-primary-fade: linear-gradient(
    180deg,
    transparent 0%,
    var(--primary-100) 100%
  );

  /* --- Layout --- */
  --container: 1200px;
  --gap: 24px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  /* --- Typography --- */
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading:
    "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-hero-video: 0 10px 60px 0.1px rgba(0, 0, 0, 0.18);
  --shadow-phone: 0 39px 60px -15px rgba(15, 23, 42, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-700);
  background-color: var(--neutral-0);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--neutral-800);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 72px;
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}

.btn-dark {
  background-color: var(--neutral-800);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.btn-dark:hover {
  background-color: var(--neutral-900);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--neutral-800);
  border-color: var(--neutral-300);
}
.btn-outline:hover {
  border-color: var(--neutral-800);
}

/* =============================================================
   Top bar (sticky announcement gradient)
   ============================================================= */
.top-bar {
  background: linear-gradient(
    135deg,
    rgb(6, 147, 227) 0%,
    rgb(155, 81, 224) 50%,
    rgb(6, 147, 227) 100%
  );
  background-size: 200% 200%;
  animation: shimmer 8s linear infinite;
  color: var(--primary-100);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

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

/* =============================================================
   Header
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--neutral-0);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

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

.logo img {
  width: 104px;
  height: auto;
}

.header-nav .btn {
  padding: 9px 18px;
  font-size: 13px;
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0 96px;
  background: var(--neutral-0);
}

/* Soft blurred glow blobs in the hero, slowly drifting */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: var(--grad-primary-light);
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.85;
  animation: drift 12s ease-in-out infinite alternate;
}
.hero::before {
  top: -160px;
  left: -120px;
  width: 460px;
  height: 460px;
}
.hero::after {
  bottom: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: linear-gradient(135deg, var(--primary-100) 0%, #f0e6ff 100%);
  animation-delay: -6s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(20px, -20px, 0) scale(1.05);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* "New Product Launch" pill */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 22px;
}
.pill-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-vivid);
  opacity: 0.1;
  border-radius: inherit;
  z-index: -1;
}
.pill-label {
  background: var(--grad-vivid);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.pill-label a {
  color: #fff;
}

.hero-lead {
  color: var(--neutral-600);
  font-size: 15px;
  margin-bottom: 18px;
  max-width: 480px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--neutral-800);
  margin-bottom: 28px;
}

.we {
  color: var(--we-blue);
}

.hero-media video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* =============================================================
   Section header
   ============================================================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  background: var(--grad-vivid);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  font-size: 36px;
  max-width: 720px;
  margin-inline: auto;
}
.section-title.h3-style {
  font-size: 30px;
}

/* =============================================================
   Reusable icon pill (rounded gradient bg + colored SVG)
   ============================================================= */
.icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-vivid-soft);
  border-radius: var(--radius-pill);
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.icon-pill svg {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}
.feature-card:hover .icon-pill,
.industry:hover .icon-pill {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 24px rgba(155, 81, 224, 0.18);
}
.feature-card:hover .icon-pill svg,
.industry:hover .icon-pill svg {
  transform: rotate(-6deg);
}

/* =============================================================
   Features grid (3 columns)
   ============================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
}
.feature-card .icon-pill {
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--neutral-800);
}
.feature-card p {
  font-size: 14px;
  color: var(--neutral-600);
  line-height: 1.65;
  max-width: 320px;
}

/* =============================================================
   Split rows (text + media, alternating)
   ============================================================= */
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-text {
  position: relative;
  isolation: isolate;
}
.split-text h2 {
  font-size: 32px;
  margin-bottom: 14px;
}
.split-text p {
  color: var(--neutral-600);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* Glow blob removed — kept selector to safely no-op the empty span */
.split-text .glow {
  display: none;
}

/* Checklist with gradient circle + check */
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--neutral-800);
  margin-bottom: 12px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-vivid);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Media side */
.split-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-video {
  width: 50%;
  max-width: 320px;
  height: auto;
  border-radius: 28px;
}

.split-inner.reverse .split-media {
  order: 1;
}
.split-inner.reverse .split-text {
  order: 2;
}

/* =============================================================
   Onboarding step cards
   ============================================================= */
.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  width: 90%;
  align-self: flex-start;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.step:nth-child(2) {
  align-self: center;
}
.step:nth-child(3) {
  align-self: flex-end;
}
.step:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.step .icon-pill {
  width: 44px;
  height: 44px;
}
.step .icon-pill svg {
  width: 22px;
  height: 22px;
}

.step-body h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--neutral-800);
}
.step-body p {
  font-size: 13.5px;
  color: var(--neutral-600);
  line-height: 1.6;
  margin: 0;
}

/* =============================================================
   Industries grid (3 cols × 2 rows)
   ============================================================= */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
}
.industry {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  transition: transform 0.3s ease;
}
.industry:hover {
  transform: translateY(-4px);
}
.industry .icon-pill {
  margin-bottom: 12px;
}
.industry h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--neutral-800);
}
.industry p {
  font-size: 14px;
  color: var(--neutral-600);
}

/* =============================================================
   FAQ accordion (2-col grid)
   ============================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: min-content;
  align-items: start;
  gap: 14px 32px;
  max-width: 1000px;
  margin-inline: auto;
}
.faq-item {
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  color: var(--neutral-800);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary strong {
  font-weight: 600;
}

.chevron {
  width: 16px;
  height: 16px;
  position: relative;
  flex: 0 0 auto;
}
.chevron::before,
.chevron::after {
  content: "";
  position: absolute;
  background: var(--neutral-600);
  border-radius: 1px;
  transition: transform 0.2s ease;
}
.chevron::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}
.chevron::after {
  left: 7px;
  top: 0;
  width: 2px;
  height: 16px;
}
.faq-item[open] .chevron::after {
  transform: scaleY(0);
}

.faq-body {
  padding: 0 18px 16px;
  color: var(--neutral-600);
  font-size: 14px;
  line-height: 1.7;
}

.faq-foot {
  text-align: center;
  margin-top: 32px;
  color: var(--neutral-600);
  font-size: 14px;
}
.faq-foot a {
  color: var(--vivid-purple);
  font-weight: 600;
  margin-left: 6px;
}
.faq-foot a:hover {
  text-decoration: underline;
}

/* =============================================================
   CTA card
   ============================================================= */
.cta {
  padding-block: 64px 96px;
}

.cta-wrap {
  position: relative;
  isolation: isolate;
}

.cta-glow {
  position: absolute;
  z-index: -1;
  left: 25%;
  right: 25%;
  top: 0;
  bottom: 0;
  background: var(--grad-vivid);
  filter: blur(80px);
  opacity: 0.2;
  border-radius: 999px;
  pointer-events: none;
}

.cta-card {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: 72px 24px;
  text-align: center;
  border: 1px solid var(--neutral-200);
}
.cta-card h2 {
  font-size: 36px;
  max-width: 640px;
  margin: 0 auto 14px;
  color: var(--neutral-800);
}
.cta-card p {
  color: var(--neutral-600);
  font-size: 15px;
  margin-bottom: 26px;
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: var(--neutral-0);
  padding-block: 28px;
  border-top: 1px solid var(--neutral-200);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--neutral-600);
  font-size: 14px;
  text-align: center;
}

.footer-text a {
  color: var(--neutral-700);
}
.footer-text a:hover {
  color: var(--neutral-900);
}

.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.socials a:hover {
  color: var(--vivid-purple);
  background: var(--neutral-100);
}

/* =============================================================
   Responsive — Tablet (≤ 1024px)
   ============================================================= */
@media (max-width: 1024px) {
  .section {
    padding-block: 56px;
  }

  .hero {
    padding: 60px 0 80px;
  }
  .hero-title {
    font-size: 40px;
  }
  .hero-inner {
    gap: 40px;
  }

  .section-title {
    font-size: 30px;
  }
  .section-title.h3-style {
    font-size: 26px;
  }

  .features-grid {
    gap: 24px;
  }
  .split-inner {
    gap: 40px;
  }
  .split-text h2 {
    font-size: 26px;
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }

  .phone-video {
    max-width: 280px;
  }

  .cta-card {
    padding: 60px 24px;
  }
  .cta-card h2 {
    font-size: 30px;
  }
}

/* =============================================================
   Responsive — Mobile (≤ 768px)
   ============================================================= */
@media (max-width: 768px) {
  .container {
    padding-inline: 20px;
  }
  .section {
    padding-block: 48px;
  }

  .hero {
    padding: 40px 0 56px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-lead {
    font-size: 14px;
  }
  .hero-media {
    order: 2;
  }
  .hero-text {
    order: 1;
  }

  .section-header {
    margin-bottom: 36px;
  }
  .section-title {
    font-size: 26px;
  }
  .section-title.h3-style {
    font-size: 22px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-inner.reverse .split-media {
    order: 2;
  }
  .split-inner.reverse .split-text {
    order: 1;
  }
  .split-text h2 {
    font-size: 24px;
  }

  .step {
    width: 100% !important;
    align-self: stretch !important;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-card {
    padding: 48px 22px;
  }
  .cta-card h2 {
    font-size: 24px;
  }

  .phone-video {
    width: 70%;
    max-width: 280px;
  }
}

/* =============================================================
   Responsive — Small mobile (≤ 480px)
   ============================================================= */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  .section-title {
    font-size: 22px;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    font-size: 13px;
    padding: 11px 18px;
  }
  .header-nav .btn {
    padding: 8px 14px;
  }
  .top-bar {
    font-size: 11px;
  }
  .top-bar p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =============================================================
   FAQ open/close micro-animation
   ============================================================= */
.faq-item .faq-body {
  overflow: hidden;
  max-height: 0;
  padding-block: 0;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease,
    opacity 0.35s ease;
  opacity: 0;
}
.faq-item[open] .faq-body {
  max-height: 320px;
  padding-bottom: 16px;
  opacity: 1;
}
.faq-item summary {
  transition: color 0.2s ease;
}
.faq-item:hover summary {
  color: var(--vivid-purple);
}

/* =============================================================
   Reduced motion: kill all decorative animations
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
