/* ===== Sigmazo design tokens: white, matte, with violet / magenta / blue tones from the keynote image ===== */
:root {
  --bg: #FFFFFF;
  --bg-2: #F7F7FA;          /* alternate band, cool off-white */
  --bg-3: #FFFFFF;          /* card surface */
  --line: #E8E8EF;
  --line-2: #D6D6E0;
  --text: #15161C;
  --text-2: #3E4050;
  --muted: #6B6E80;
  --violet: #6D5BD0;        /* matte violet (stage haze) */
  --violet-deep: #5646B8;
  --magenta: #B86AA8;       /* dusty magenta (screen glow) */
  --blue: #6A8FD8;          /* soft screen blue */
  --violet-tint: #EFEDFA;
  --magenta-tint: #F6ECF3;
  --blue-tint: #EBF0FA;
  --radius: 18px;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; background: var(--bg); }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .font-display { font-family: var(--font-display); letter-spacing: -0.02em; }
::selection { background: rgba(109,91,208,.2); }

.container-x { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container-x { padding: 0 2rem; } }

/* ===== Text helpers ===== */
.text-gradient { color: var(--violet-deep); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-deep); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--violet); border-radius: 2px; }
.muted { color: var(--muted); }

/* ===== Buttons (flat, matte) ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .95rem; padding: .85rem 1.5rem; border-radius: 12px; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: var(--violet); }
.btn-primary:hover { background: var(--violet-deep); transform: translateY(-1px); }
.btn-ghost { color: var(--text); background: #fff; border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-link { font-size: .92rem; font-weight: 500; color: var(--muted); padding: .5rem .85rem; border-radius: 10px; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg-2); }
.menu-btn { border: 1px solid var(--line-2); color: var(--text); }
.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--line); }
.mobile-menu.open { display: block; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 520px at 88% 0%, rgba(184,106,168,.14), transparent 60%),
  radial-gradient(800px 500px at 5% 15%, rgba(109,91,208,.13), transparent 60%),
  radial-gradient(700px 400px at 60% 110%, rgba(106,143,216,.10), transparent 60%),
  var(--bg); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(21,22,28,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(21,22,28,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%); pointer-events: none; }
.hero-visual { position: relative; }
.hero-img { border-radius: 24px; object-fit: cover; width: 100%; height: 100%; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(86,70,184,.35); filter: saturate(.9); }
.hero-card { position: absolute; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(10px); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem; box-shadow: 0 16px 40px -20px rgba(21,22,28,.25); animation: float 6s ease-in-out infinite; }
.hero-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1rem; }
.hero-card b { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.1; }
.hero-card span { font-size: .75rem; color: var(--muted); }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .22; pointer-events: none; }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ===== Client marquee ===== */
.strip { padding: 2.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: scroll 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.client-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #A3A6B8; display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; transition: color .2s; }
.client-logo:hover { color: var(--text); }
.client-logo i { color: var(--violet); }

/* ===== Cards ===== */
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 20px 40px -28px rgba(21,22,28,.25); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; }
.tile-violet { background: var(--violet); }
.tile-magenta { background: var(--magenta); }
.tile-blue { background: var(--blue); }

/* ===== Pillars ===== */
.pillar { position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.pillar-digital::before { background: radial-gradient(600px 300px at 100% 0%, rgba(109,91,208,.10), transparent 60%); }
.pillar-offline::before { background: radial-gradient(600px 300px at 100% 0%, rgba(184,106,168,.10), transparent 60%); }
.pillar-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px; color: var(--violet-deep); background: var(--violet-tint); }
.pillar-offline .pillar-badge { color: #8E4D82; background: var(--magenta-tint); }
.group-title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--text); }
.group-note { font-size: .8rem; color: var(--muted); }
.chip-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .55rem; font-size: .86rem; font-weight: 500; color: var(--text-2); padding: .55rem .85rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--line-2); background: var(--bg-2); }
.chip i { color: var(--violet); font-size: .85rem; width: 1rem; text-align: center; }
.pillar-offline .chip i { color: var(--magenta); }
.group-box { border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.7); padding: 1.25rem; }

/* ===== Process ===== */
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(109,91,208,.5); }
.process-line { position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 15%, var(--line-2) 85%, transparent); }

/* ===== Customers ===== */
.work-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); border: 1px solid var(--line); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); filter: saturate(.85); }
.work-card:hover img { transform: scale(1.05); }
.work-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,22,28,0) 40%, rgba(21,22,28,.88)); }
.work-card .meta { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; color: #fff; }
.work-card h3 { font-size: 1.15rem; }

/* ===== About ===== */
.about-badge { position: absolute; bottom: -1.5rem; right: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; max-width: 240px; box-shadow: 0 20px 40px -24px rgba(21,22,28,.25); }
.feature-item { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .75rem 1rem; font-size: .9rem; font-weight: 500; }
.feature-item span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--violet-deep); background: var(--violet-tint); }

/* ===== FAQ ===== */
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--violet-tint); color: var(--violet-deep); transition: transform .2s; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }

/* ===== CTA / Contact ===== */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background:
  radial-gradient(700px 400px at 0% 0%, rgba(109,91,208,.14), transparent 60%),
  radial-gradient(600px 400px at 100% 100%, rgba(184,106,168,.12), transparent 60%),
  var(--bg-2); color: var(--text); }
.contact-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--violet-deep); }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.field { width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: .85rem 1rem; font-size: .95rem; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.field:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109,91,208,.12); }
.field::placeholder { color: #A3A6B8; }
label.lbl { display: block; font-size: .78rem; font-weight: 600; color: var(--text-2); margin-bottom: .4rem; }

/* ===== Footer ===== */
.footer { background: var(--bg-2); color: var(--muted); border-top: 1px solid var(--line); }
.footer h4 { color: var(--text); }
.footer a:hover { color: var(--text); }
.social { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--text); transition: border-color .2s; }
.social:hover { border-color: var(--text); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-card { animation: none; }
}

/* ===== Toast ===== */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: #fff; padding: .85rem 1.25rem; border-radius: 12px; font-size: .9rem; transition: all .3s; z-index: 100; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Contact honeypot (kept off-screen, not display:none, so bots still fill it) ===== */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
