/* Zinom AI — shared styles (home, privacy, terms).
   Palette in the spirit of clevertap.com: white canvas, deep navy, bright blue
   primary, blue→violet hero gradient, soft grey and light-blue panels. */
:root {
  --navy-950: #060B1C;
  --navy-900: #000D26;
  --navy-800: #0B1530;
  --ink: #0B1530;
  --heading: #133B58;
  --text: #50596A;
  --muted: #6B7385;
  --blue: #1076FB;
  --blue-600: #0B62D6;
  --blue-50: #E9F5FD;
  --violet: #6C3BE4;
  --coral: #F0384F;
  --grey-50: #F4F7F9;
  --grey-100: #EFF0F2;
  --line: #E1E5EB;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 21, 48, .08);
  --shadow-lg: 0 24px 60px rgba(11, 21, 48, .18);
  --hero: linear-gradient(120deg, #1C2FD6 0%, #3B4CF0 38%, #6C3BE4 72%, #9B3FD0 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 10px; font-weight: 700; font-size: .95rem;
  text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(16, 118, 251, .28); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--blue); box-shadow: 0 8px 24px rgba(6, 11, 28, .25); }
.btn-white:hover { transform: translateY(-1px); }
.btn-link-light { color: var(--white); padding-left: .5rem; padding-right: .5rem; }
.btn-link-light:hover { text-decoration: underline; }
.btn-block { width: 100%; }

/* ── Header ──────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 21, 48, .06); }
.topbar-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; color: var(--ink); }
.brand-word { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.brand-word b { color: var(--blue); font-weight: 800; margin-left: .3rem; }
.brand-light, .brand-light .brand-mark { color: var(--white); }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { padding: .65rem 1.2rem; }
.hamburger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 60; background: var(--navy-950); flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--white); text-decoration: none; font-size: 1.4rem; font-weight: 700; }
.mobile-menu .btn { font-size: 1.05rem; }
.mobile-close { position: absolute; top: 1.25rem; right: 1.5rem; background: none; border: 0; color: var(--white); font-size: 1.8rem; cursor: pointer; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { background: var(--hero); color: var(--white); padding: 5.5rem 0 0; overflow: hidden; position: relative; }
.hero::after { content: ''; position: absolute; inset: auto -10% -45% -10%; height: 70%; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent); pointer-events: none; }
.hero-inner { text-align: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #5EF0B5; box-shadow: 0 0 0 4px rgba(94, 240, 181, .25); }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; margin: 1.4rem auto 1.2rem; max-width: 900px; }
.hero h1 strong { font-weight: 800; background: linear-gradient(90deg, #FFFFFF, #FFC8D4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.15rem; max-width: 680px; margin: 0 auto; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-cards { display: flex; gap: 1.25rem; justify-content: center; align-items: flex-end; margin-top: 3.5rem; position: relative; z-index: 1; }
.float-card { background: var(--white); color: var(--text); border-radius: 18px 18px 0 0; padding: 1.25rem 1.4rem 1.6rem; width: 280px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: .35rem; transform: translateY(14px); }
.float-card b { color: var(--ink); font-size: 1rem; }
.float-card small { color: var(--muted); font-size: .82rem; }
.float-card--main { width: 340px; transform: none; padding-bottom: 2rem; }
.chip { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; }
.chip-blue { background: var(--blue-50); color: var(--blue); }
.chip-violet { background: #EFE8FF; color: var(--violet); }
.chip-coral { background: #FFE8EC; color: var(--coral); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: .8rem; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue), #6C8BFF); }

/* ── Stats ───────────────────────────────────────────────── */
.stats { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat { text-align: center; }
.stat-number { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; color: var(--blue); line-height: 1.1; letter-spacing: -.03em; }
.stat-label { color: var(--muted); font-weight: 600; margin-top: .3rem; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 6rem 0; }
.section-grey { background: var(--grey-50); }
.section-tint { background: var(--blue-50); }
.section-navy { background: var(--navy-950); color: rgba(255, 255, 255, .78); }
.section-navy h2 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; margin: .6rem 0 1rem; }
.section-head p { font-size: 1.08rem; }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-light { color: #8FB8FF; }

/* ── Cards ───────────────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-flat { background: rgba(255, 255, 255, .75); }
.card h3 { font-size: 1.15rem; font-weight: 700; margin: 1.1rem 0 .6rem; }
.card p { font-size: .95rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-blue { background: var(--blue-50); color: var(--blue); }
.icon-violet { background: #EFE8FF; color: var(--violet); }
.icon-teal { background: #E2F7F3; color: #0E9F86; }
.icon-coral { background: #FFE8EC; color: var(--coral); }
.icon-amber { background: #FFF2DE; color: #D9822B; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.tags span { font-size: .75rem; font-weight: 700; color: var(--heading); background: var(--grey-100); padding: .25rem .65rem; border-radius: 999px; }

/* ── Process ─────────────────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.step::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.step-num { font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -.03em; }
.step h3 { font-size: 1.08rem; margin: .6rem 0 .5rem; }
.step p { font-size: .93rem; }

/* ── Industries (navy) ───────────────────────────────────── */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.industry { display: flex; align-items: center; gap: .85rem; padding: 1.15rem 1.25rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: var(--white); font-weight: 600; transition: border-color .2s, background .2s; }
.industry:hover { border-color: rgba(16, 118, 251, .7); background: rgba(16, 118, 251, .1); }
.industry svg { width: 24px; height: 24px; fill: none; stroke: #8FB8FF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── Tech pills ──────────────────────────────────────────── */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; max-width: 900px; margin: 0 auto; }
.pills span { padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--heading); font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s; }
.pills span:hover { border-color: var(--blue); color: var(--blue); }

/* ── About ───────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: start; }
.about-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800; margin: .6rem 0 1.2rem; }
.about-text p { margin-bottom: 1rem; }
.about-text .btn { margin-top: .75rem; }
.values { display: grid; gap: 1rem; }
.value { display: flex; gap: 1rem; padding: 1.3rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.value h4 { font-size: 1rem; margin-bottom: .3rem; }
.value p { font-size: .92rem; }

/* ── Contact CTA ─────────────────────────────────────────── */
.cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; padding: 3.5rem; border-radius: 24px; background: var(--hero); color: rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg); }
.cta h2 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800; margin: .6rem 0 1rem; }
.cta-points { list-style: none; margin-top: 1.5rem; display: grid; gap: .6rem; }
.cta-points li { padding-left: 1.7rem; position: relative; font-weight: 600; }
.cta-points li::before { content: ''; position: absolute; left: 0; top: .35rem; width: 1rem; height: 1rem; border-radius: 50%; background: #5EF0B5; box-shadow: inset 0 0 0 4px rgba(6, 11, 28, .25); }
.cta-card { background: var(--white); color: var(--text); border-radius: 18px; padding: 2rem; }
.cta-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.cta-card p { margin-bottom: 1.4rem; }
.cta-note { margin: 1rem 0 0 !important; text-align: center; font-size: .85rem; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 3.5rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { margin-top: .8rem; font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.6rem; align-items: center; max-width: 620px; }
.footer-links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .92rem; font-weight: 500; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 1.5rem; font-size: .85rem; }

/* ── Legal pages ─────────────────────────────────────────── */
.legal-hero { background: var(--hero); color: var(--white); padding: 4rem 0 3rem; }
.legal-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.legal-hero p { color: rgba(255, 255, 255, .85); margin-top: .5rem; }
.legal { max-width: 820px; padding: 3.5rem 24px 5rem; }
.legal .info-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--grey-50); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.legal .row { display: flex; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.legal .row:last-child { border-bottom: 0; }
.legal .key { width: 160px; flex-shrink: 0; font-weight: 700; color: var(--heading); }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { margin-bottom: .8rem; }
.legal ul { padding-left: 1.3rem; }

/* ── Motion ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1020px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps, .industries { grid-template-columns: repeat(2, 1fr); }
  .about, .cta { grid-template-columns: 1fr; }
  .float-card:not(.float-card--main) { display: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .section { padding: 4.5rem 0; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .cta { padding: 2rem 1.4rem; }
  .float-card--main { width: 100%; max-width: 340px; }
  .legal .row { flex-direction: column; gap: .1rem; }
}
@media (max-width: 480px) {
  .industries { grid-template-columns: 1fr; }
  .brand-word { font-size: 1.25rem; }
}
