:root {
  --bg: #f2effc;
  --surface: #ffffff;
  --ink: #1d1836;
  --muted: #5c5578;
  --accent: #5b3df0;
  --accent-dark: #452bc4;
  --border: #e2dcf5;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Sora", "Manrope", sans-serif; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(242, 239, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .nav-cta {
  color: #fff; background: var(--accent); padding: 8px 18px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

/* Hero */
.hero { padding: 96px 0 72px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
  font-weight: 700; color: var(--accent); margin-bottom: 20px;
}
.hero h1 { font-size: 3.1rem; font-weight: 800; max-width: 720px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin-top: 24px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: #ece7fa; }
.section-lede { color: var(--muted); max-width: 560px; margin-bottom: 36px; font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.card p { color: var(--muted); font-size: 0.98rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.step-num { font-family: "Sora", sans-serif; font-weight: 800; color: var(--accent); font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* Products */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
}
.product-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: var(--bg); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.product-line { font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.product-card p { color: var(--muted); }
.product-card .product-line { color: var(--ink); }
.product-link { display: inline-block; margin-top: 16px; font-weight: 700; }
.pricing-line { margin-top: 28px; color: var(--muted); font-size: 1rem; max-width: 640px; }
.pitch-line { margin-top: 32px; font-size: 1.08rem; font-weight: 600; max-width: 760px; }
.systems-list { list-style: none; margin-top: 12px; }
.systems-list li { color: var(--muted); font-size: 0.95rem; padding: 5px 0 5px 18px; position: relative; }
.systems-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Archive */
.archive-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.archive-grid p { color: var(--muted); margin-bottom: 16px; max-width: 520px; }
.archive-panel {
  background: var(--ink); color: #efeaff; border-radius: var(--radius); padding: 32px 28px;
}
.archive-stat { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 6px; }
.archive-note { color: #c9c0ee; font-size: 0.97rem; margin-bottom: 24px; }
.archive-note:last-child { margin-bottom: 0; }

/* Contact */
.contact-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px 40px; text-align: center;
}
.contact-box p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.contact-form { max-width: 520px; margin: 0 auto; text-align: left; }
.contact-form label { display: block; font-weight: 700; font-size: 0.92rem; margin: 16px 0 6px; }
.contact-form label span { color: var(--muted); font-weight: 500; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact-form .btn { margin-top: 22px; border: none; cursor: pointer; width: 100%; }
.honeypot { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer p { color: var(--muted); font-size: 0.92rem; }

/* Responsive */
@media (max-width: 820px) {
  .hero { padding: 64px 0 52px; }
  .hero h1 { font-size: 2.2rem; }
  .cards, .steps, .product-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
}


/* === Advanced gradient theme — Intalks Inc. signature background === */
:root {
  --accent-2: #00b7eb;
  --accent-3: #ff5ea8;
  --accent-4: #2ee6a8;
}

body { background: #edeafd; }

/* Animated mesh gradient field */
body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(42% 38% at 16% 20%, rgba(91, 61, 240, 0.36), transparent 62%),
    radial-gradient(38% 34% at 84% 14%, rgba(0, 183, 235, 0.32), transparent 62%),
    radial-gradient(46% 42% at 80% 84%, rgba(255, 94, 168, 0.26), transparent 64%),
    radial-gradient(40% 36% at 22% 86%, rgba(46, 230, 168, 0.22), transparent 62%),
    linear-gradient(135deg, #f5f2ff 0%, #eae7fd 45%, #e2f3fd 100%);
  animation: mesh-drift 15s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  from { transform: translate3d(-3.5%, -2%, 0) scale(1) rotate(0deg); filter: hue-rotate(0deg); }
  to   { transform: translate3d(3.5%, 2.5%, 0) scale(1.12) rotate(2.5deg); filter: hue-rotate(24deg); }
}

/* Fine blueprint grid over the mesh, fading toward the bottom */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 24, 54, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 24, 54, 0.05) 1px, transparent 1px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
}

/* Glass header with a gradient hairline */
.site-header {
  background: rgba(246, 244, 255, 0.78);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(91, 61, 240, 0.18), 0 10px 34px rgba(66, 44, 180, 0.08);
}

/* Gradient headline */
.hero { position: relative; }
.hero h1 {
  background: linear-gradient(93deg, #1d1836 5%, #5b3df0 42%, #008fc7 72%, #d63384 102%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headline-pan 8s ease-in-out infinite alternate;
}
@keyframes headline-pan {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
.eyebrow {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Gradient buttons with a glow */
.btn-primary {
  background: linear-gradient(120deg, #5b3df0 0%, #7b2ff7 48%, #0090c8 110%);
  box-shadow: 0 10px 26px rgba(91, 61, 240, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary:hover {
  background: linear-gradient(120deg, #452bc4 0%, #6a1fe0 48%, #007fb3 110%);
  box-shadow: 0 14px 32px rgba(91, 61, 240, 0.45);
  transform: translateY(-1px);
}
.btn-ghost { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(6px); }

/* Cards with gradient hairline borders and lift */
.card, .product-card, .step, .contact-box {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)) padding-box,
    linear-gradient(140deg, rgba(91, 61, 240, 0.45), rgba(0, 183, 235, 0.30) 52%, rgba(255, 94, 168, 0.32)) border-box;
  box-shadow: 0 12px 30px rgba(52, 36, 140, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover, .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(52, 36, 140, 0.16);
}

/* Let the mesh breathe through the alternate sections */
.section-alt { background: rgba(255, 255, 255, 0.42); }

/* Gradient tag pills */
.tag {
  background: linear-gradient(120deg, rgba(91, 61, 240, 0.13), rgba(0, 183, 235, 0.13));
  border-color: rgba(91, 61, 240, 0.25);
}

::selection { background: rgba(91, 61, 240, 0.28); }

@media (prefers-reduced-motion: reduce) {
  body::before, .hero h1 { animation: none; }
  .card, .product-card, .btn-primary { transition: none; }
}


/* === Center alignment pass === */
body { text-align: center; }
.hero h1, .lede, .section-lede, .pricing-line, .pitch-line { margin-left: auto; margin-right: auto; }
.hero-actions { justify-content: center; }
.contact-form { text-align: center; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea { text-align: center; }
.systems-list { display: inline-block; text-align: center; }
.systems-list li { padding-left: 0; }
.systems-list li::before {
  position: static; display: inline-block; margin-right: 8px; vertical-align: middle;
}
.footer-inner { justify-content: center; }


/* Three products across on wide screens */
@media (min-width: 821px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}


/* === Product tabs === */
.tab-bar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 30px 0 6px;
}
.tab-btn {
  font-family: "Sora", "Manrope", sans-serif; font-weight: 700; font-size: 1rem;
  padding: 11px 24px; border-radius: 999px; cursor: pointer;
  color: var(--muted); background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.tab-btn:hover { color: var(--ink); transform: translateY(-1px); }
.tab-btn[aria-selected="true"] {
  color: #fff; border-color: transparent;
  background: linear-gradient(120deg, #5b3df0 0%, #7b2ff7 48%, #0090c8 110%);
  box-shadow: 0 10px 26px rgba(91, 61, 240, 0.35);
}
.tab-panel { padding-top: 38px; }
.tab-panel[hidden] { display: none; }
.tab-panel .section-lede { margin-left: auto; margin-right: auto; }


/* === Compact contact band and popup form === */
.contact-band { max-width: 640px; margin: 0 auto; }
.contact-band p { color: var(--muted); margin-bottom: 26px; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(29, 24, 54, 0.5);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  position: relative; width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)) padding-box,
    linear-gradient(140deg, rgba(91, 61, 240, 0.45), rgba(0, 183, 235, 0.30) 52%, rgba(255, 94, 168, 0.32)) border-box;
  box-shadow: 0 30px 70px rgba(29, 24, 54, 0.35);
  padding: 40px 38px 36px;
}
.modal-card h2 { margin-bottom: 8px; }
.modal-lede { color: var(--muted); margin-bottom: 10px; }
.modal-close {
  position: absolute; top: 10px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 1.9rem; line-height: 1; color: var(--muted);
}
.modal-close:hover { color: var(--ink); }
