/* Loov Invoice website: motion layer. Brand gradient waves, animated type, infographics.
   Gradient: Loov purple #A00CDA → violet #7B2FF7 → indigo #4F46E5. Everything is readable at rest;
   motion only adds to it, and switches off with prefers-reduced-motion. */
:root {
  --g1: #a00cda; --g2: #7b2ff7; --g3: #4f46e5;
  --grad: linear-gradient(115deg, var(--g1) 0%, var(--g2) 52%, var(--g3) 100%);
  --night-1: #12061a; --night-2: #2a0a3d;
}

/* ---------- Hero banner ---------- */
.hx { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1100px 600px at 80% 0%, #3d0f5c 0%, transparent 60%), radial-gradient(900px 500px at 0% 100%, #1d0b4a 0%, transparent 60%), linear-gradient(160deg, var(--night-1), var(--night-2)); padding-block: clamp(56px, 9vw, 120px) clamp(150px, 16vw, 230px); isolation: isolate; }
.hx .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 2; }
.hx .wrap > * { min-width: 0; }
@media (max-width: 980px) { .hx .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .stage .mock .kpis { grid-template-columns: 1fr 1fr; } .stage .mock .kpi:last-child { display: none; } .stage { min-height: 0; } }
.hx .grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; animation: drift 16s ease-in-out infinite; }
.orb.o1 { width: 420px; height: 420px; background: var(--g1); opacity: .45; top: -120px; right: 8%; }
.orb.o2 { width: 360px; height: 360px; background: var(--g3); opacity: .35; bottom: 60px; left: -100px; animation-delay: -6s; }
.orb.o3 { width: 220px; height: 220px; background: #ff4ecd; opacity: .22; top: 40%; right: 40%; animation-delay: -10s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 25px) scale(.95); } }

.hx .tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 14px; backdrop-filter: blur(8px); }
.hx .tag b { background: var(--grad); padding: 3px 10px; border-radius: 99px; font: 600 12px var(--display); letter-spacing: .04em; }
.hx h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.05; margin-top: 22px; letter-spacing: -.03em; }
.hx .lead { color: rgba(255,255,255,.78); font-size: clamp(17px, 1.6vw, 20px); margin-top: 22px; max-width: 34em; }
.hx .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hx .btn.ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.hx .btn.ghost-light:hover { border-color: #fff; }
.hx .btn.glow { background: var(--grad); border: 0; color: #fff; box-shadow: 0 10px 40px rgba(160, 12, 218, .55); background-size: 200% 200%; animation: gradshift 6s ease infinite; }
.hx .proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: rgba(255,255,255,.7); font-size: 14px; }
.hx .proof span { display: inline-flex; align-items: center; gap: 7px; }
.hx .proof svg { width: 18px; height: 18px; color: #7cf5c4; }
@keyframes gradshift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Animated headline: words rise in, then the keyword cycles in gradient ink */
.word { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: wordUp .8s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes wordUp { to { opacity: 1; transform: none; } }
.grad-text { background: linear-gradient(100deg, #e9a8ff, #c56bff 35%, #8f8bff 70%, #e9a8ff); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: 220% center; } }
.cycler, .cycler.word { display: inline-grid; vertical-align: bottom; }
.cycler > span { grid-area: 1 / 1; opacity: 0; transform: translateY(70%); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); white-space: nowrap; }
.cycler > span.on { opacity: 1; transform: none; }
.cycler > span.out { opacity: 0; transform: translateY(-70%); }

/* Floating glass cards and the 3D mockup */
.stage { position: relative; perspective: 1400px; min-height: 420px; }
.stage .tilt { transform-style: preserve-3d; transition: transform .25s ease-out; }
.stage .mock .screen { background: #fff; color: #1d2033; border-color: rgba(255,255,255,.2); box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.stage .mock .kpi b { color: #1d2033; } .stage .mock .kpi small { color: #6b7088; }
.stage .mock .kpi, .stage .mock .chart { border-color: #eee8f3; }
.stage .mock .bar { background: #f6f2fa; border-color: #eee8f3; }
.stage .mock .chart span { background: var(--grad); }
.glass { position: absolute; z-index: 3; display: flex; gap: 10px; align-items: center; padding: 11px 15px; border-radius: 16px; background: rgba(22, 8, 34, .78); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); color: #fff; font-size: 13.5px; box-shadow: 0 16px 40px rgba(0,0,0,.25); animation: bob 6s ease-in-out infinite; }
.glass small { display: block; color: rgba(255,255,255,.7); font-size: 12px; }
.glass .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); }
.glass .ico svg { width: 18px; height: 18px; }
.glass.g-a { top: -18px; left: -26px; }
.glass.g-b { bottom: 70px; left: -40px; animation-delay: -2s; }
.glass.g-c { top: 34%; right: -22px; animation-delay: -4s; }
@media (max-width: 600px) { .glass.g-a { left: 0; } .glass.g-b { left: 0; } .glass.g-c { right: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.ring { width: 44px; height: 44px; }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: rgba(255,255,255,.2); }
.ring .fg { stroke: #7cf5c4; stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; transform: rotate(-90deg); transform-origin: center; animation: ringFill 2s 1s ease-out forwards; }
@keyframes ringFill { to { stroke-dashoffset: 9; } }

/* ---------- Waves (layered SVG strips drifting at different speeds) ---------- */
.waves { position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(110px, 14vw, 200px); z-index: 1; pointer-events: none; }
.hx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--bg); z-index: 1; }
.waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; left: 0; }
.waves .w1 { animation: waveX 18s linear infinite; opacity: .45; }
.waves .w2 { animation: waveX 12s linear infinite reverse; opacity: .6; }
.waves .w3 { animation: waveX 22s linear infinite; }
@keyframes waveX { to { transform: translateX(-50%); } }
.wave-divider { display: block; width: 100%; height: clamp(50px, 7vw, 100px); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; padding-block: 18px; border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker .track { display: flex; gap: 14px; width: max-content; animation: tick 40s linear infinite; }
.ticker.rev .track { animation-direction: reverse; animation-duration: 46s; }
.ticker span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font: 500 14.5px var(--display); white-space: nowrap; }
.ticker span i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.ticker:hover .track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Counters band ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -70px; position: relative; z-index: 3; }
.counter { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.counter b { font: 700 clamp(30px, 3.4vw, 42px)/1.05 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.counter span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .counters { grid-template-columns: repeat(2, 1fr); margin-top: -50px; } }

/* ---------- Flow infographic (how it works) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
/* Dashed gradient connector; the dashes march from step to step */
.flow .line { position: absolute; top: 37px; left: 12%; right: 12%; height: 3px; z-index: 0; background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 18px); mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 18px);
  -webkit-mask-size: 18px 100%; mask-size: 18px 100%; animation: dashmove 1s linear infinite; }
@keyframes dashmove { to { -webkit-mask-position: 18px 0; mask-position: 18px 0; } }
.step { position: relative; z-index: 1; text-align: center; display: grid; gap: 12px; justify-items: center; }
.step .bubble { width: 76px; height: 76px; border-radius: 24px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(123, 47, 247, .35); position: relative; }
.step .bubble svg { width: 32px; height: 32px; }
.step .bubble::after { content: attr(data-n); position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); color: var(--brand); font: 700 13px/26px var(--display); border: 2px solid var(--brand); }
.step h3 { font-size: 18px; font-weight: 600; }
.step p { color: var(--muted); font-size: 14.5px; max-width: 22ch; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 36px; } .flow .line { display: none; } }

/* ---------- Infographic cards ---------- */
.info-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; }
@media (max-width: 960px) { .info-grid { grid-template-columns: 1fr; } }
.icard { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: var(--bg); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.icard h3 { font-size: 18px; font-weight: 600; }
.icard .big { font: 700 44px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icard.dark { background: linear-gradient(160deg, var(--night-1), var(--night-2)); color: #fff; border-color: transparent; }
.icard.dark .muted { color: rgba(255,255,255,.7); }
.bars { display: grid; gap: 14px; }
.bars .b { display: grid; gap: 6px; }
.bars .b .lbl { display: flex; justify-content: space-between; font-size: 14px; }
.bars .b .track { height: 14px; border-radius: 99px; background: rgba(127,127,127,.15); overflow: hidden; }
.bars .b .fill { height: 100%; border-radius: 99px; background: var(--grad); width: var(--w); transform-origin: left; }
.in .bars .b .fill, .bars.in .b .fill { animation: barGrow 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.bars .b.muted-bar .fill { background: rgba(255,255,255,.35); }
@keyframes barGrow { from { transform: scaleX(0); } }
.donut { width: 168px; height: 168px; justify-self: center; position: relative; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 18; }
.donut .bg { stroke: var(--line); }
.donut .seg { stroke-linecap: round; stroke-dasharray: var(--len) 1000; }
.in .donut .seg { animation: donutIn 1.6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes donutIn { from { stroke-dasharray: 0 1000; } }
.donut .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 700 30px/1.1 var(--display); }
.donut .center small { display: block; font: 500 12.5px var(--body); color: var(--muted); }
.legend { display: grid; gap: 8px; font-size: 14px; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.spark { width: 100%; height: 90px; }
.spark path.area { fill: url(#sparkfill); }
.spark path.ln { fill: none; stroke: url(#flowgrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
.in .spark path.ln { animation: draw 2s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 600; } }

/* ---------- Gradient-border feature cards ---------- */
.fx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .fx-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fx-grid { grid-template-columns: 1fr; } }
.fx { position: relative; border-radius: 20px; padding: 26px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: transform .3s, box-shadow .3s; }
.fx::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.fx:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(123, 47, 247, .14); }
.fx:hover::before { opacity: 1; }
.fx .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--tint); color: var(--brand); transition: background .3s, color .3s, transform .3s; }
.fx:hover .ic { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.06); }
.fx h3 { font-size: 18px; font-weight: 600; }
.fx p { color: var(--muted); font-size: 15px; }

/* ---------- Global band ---------- */
.globe-band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .globe-band { grid-template-columns: 1fr; } }
.orbit { position: relative; width: min(420px, 78vw); aspect-ratio: 1; margin: 0 auto; }
@media (max-width: 560px) { .orbit .chip { font-size: 11.5px; padding: 5px 10px; } }
/* Dark core with a purple ring: keeps the icon's own purple visible */
.orbit .core { position: absolute; inset: 32%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2a1446, #120a22 70%); border: 2px solid rgba(160, 12, 218, .55); box-shadow: 0 0 80px rgba(160, 12, 218, .45), inset 0 0 40px rgba(123, 47, 247, .25); display: grid; place-items: center; }
.orbit .core img { width: 54%; }
.orbit .ringo { position: absolute; border-radius: 50%; border: 1px dashed rgba(160, 12, 218, .35); animation: spin 30s linear infinite; }
.orbit .r1 { inset: 16%; } .orbit .r2 { inset: 0; animation-duration: 46s; animation-direction: reverse; }
.orbit .chip { position: absolute; padding: 6px 12px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); font: 600 13px var(--display); white-space: nowrap; animation: spin 30s linear infinite reverse; }
.orbit .r2 .chip { animation-duration: 46s; animation-direction: normal; }
@keyframes spin { to { transform: rotate(360deg); } }
.flags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.flags span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 14.5px; }
.flags span i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------- Gradient download band ---------- */
.dl-band { position: relative; overflow: hidden; background: var(--grad); background-size: 200% 200%; animation: gradshift 12s ease infinite; color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 60px); }
.dl-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.25), transparent 60%); }
.dl-band > * { position: relative; }
.dl-band h2 { font-size: clamp(28px, 3.6vw, 42px); }
.dl-band p { opacity: .85; margin-top: 10px; max-width: 40em; }
.dl-band .downloads { margin-top: 28px; }
.dl-band .dl { background: rgba(18, 6, 26, .55); border-color: rgba(255,255,255,.18); backdrop-filter: blur(10px); }

/* ---------- Scroll reveal (visible at rest; animates when it enters) ---------- */
.rv.in { animation: riseIn .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes riseIn { from { opacity: .2; transform: translateY(26px); } }

@media (prefers-reduced-motion: reduce) {
  .word { opacity: 1; transform: none; }
  .cycler > span { transition: none; }
}

/* ================= Launch extras ================= */
/* Floating WhatsApp (bottom-left; Tawk.to chat sits bottom-right) */
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-radius: 99px; background: #25d366; color: #fff; font: 600 15px var(--display); text-decoration: none; box-shadow: 0 12px 30px rgba(37,211,102,.45); animation: wapulse 2.6s ease-in-out infinite; }
.wa-float:hover { text-decoration: none; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s; }
.wa-float:hover span { max-width: 140px; }
@keyframes wapulse { 0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); } }
@media (max-width: 600px) { .wa-float { left: 12px; bottom: 14px; height: 50px; padding: 0 13px; } }

/* Laptop + phone mockup with breathing chips (features page hero) */
.devices-mock { position: relative; padding: 20px 0 40px; }
.dm-laptop { width: 88%; animation: dmfloat 8s ease-in-out infinite; }
.dm-screen { background: #0d0b16; border: 10px solid #23202f; border-bottom-width: 14px; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.5); aspect-ratio: 16 / 10; }
.dm-screen img, .dm-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dm-base { height: 14px; margin: 0 -7%; background: linear-gradient(#d3d4de, #8d8fa1); border-radius: 0 0 16px 16px; }
.dm-phone { position: absolute; right: 0; bottom: 10px; width: 27%; aspect-ratio: 9 / 19; border: 7px solid #111018; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.55); animation: dmfloat 7s ease-in-out infinite reverse; }
.dm-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 9px 14px; border-radius: 99px; font: 600 13.5px var(--display); color: #fff; background: rgba(21,10,38,.78); border: 1px solid rgba(213,139,255,.45); backdrop-filter: blur(8px); box-shadow: 0 12px 30px rgba(0,0,0,.35); animation: chipbreathe 3.3s ease-in-out infinite; }
.dm-chip svg { width: 16px; height: 16px; color: #d58bff; }
.dm-chip.c1 { left: -4%; top: 4px; } .dm-chip.c2 { right: 22%; top: 30%; animation-delay: .8s; } .dm-chip.c3 { left: 6%; bottom: 0; animation-delay: 1.6s; }
@keyframes chipbreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 24px rgba(160,12,218,.5); } }
@keyframes dmfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 560px) { .dm-chip { font-size: 11.5px; padding: 6px 10px; } .dm-chip.c1 { left: 0; } }

/* Features page */
.feat-group { padding-block: clamp(48px, 7vw, 90px); }
.feat-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.feat-wrap.flip .feat-intro { order: 2; }
.feat-intro h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 8px 0 10px; }
.feat-shot { margin: 22px 0 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(40, 20, 80, .14); }
.feat-shot img { display: block; width: 100%; height: auto; }
.feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feat-list .fx { padding: 20px; }
@media (max-width: 900px) { .feat-wrap { grid-template-columns: minmax(0, 1fr); } .feat-wrap.flip .feat-intro { order: 0; } }
@media (max-width: 560px) { .feat-list { grid-template-columns: minmax(0, 1fr); } }

/* Demo page: videos only */
.demo-page { padding-block: 28px 70px; }
.demo-title { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 18px; }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 18px; }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0b0716; cursor: pointer; box-shadow: 0 20px 50px rgba(30, 10, 60, .2); }
.vid img, .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vid .vplay { position: absolute; inset: 0; display: grid; place-items: center; }
.vid .vplay svg { width: 72px; height: 72px; }
.vid-empty { grid-column: 1 / -1; display: grid; gap: 6px; text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); }
.vid-empty b { color: var(--ink); font-size: 18px; }

/* Support page */
.support-cards-sec { padding-block: 0 50px; margin-top: -60px; position: relative; z-index: 3; }
.support-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sc { display: grid; gap: 6px; padding: 24px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(40, 20, 80, .12); color: var(--ink); transition: transform .25s; }
.sc:hover { transform: translateY(-5px); text-decoration: none; }
.sc .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin-bottom: 6px; }
.sc.wa .ic { background: #25d366; } .sc.chat .ic { background: var(--grad); } .sc.mail .ic { background: #4f46e5; }
.sc h3 { font-size: 19px; } .sc p { color: var(--muted); margin: 0; } .sc b { color: var(--brand); font-size: 17px; margin-top: 6px; } .sc small { color: var(--muted); }
.support-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.support-topics { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 20px; }
.support-topics li { display: flex; gap: 12px; align-items: center; font-weight: 600; } .support-topics svg { color: var(--brand); }
.support-form { display: grid; gap: 14px; padding: 26px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(40, 20, 80, .1); }
.support-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.support-form input, .support-form select, .support-form textarea { font: inherit; padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus { outline: none; border-color: var(--brand); }
.support-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { margin: 0; font-weight: 600; font-size: 14px; } .form-msg.ok { color: #12a150; } .form-msg.err { color: #e5484d; }
.two-help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.help-card { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg); } .help-card svg { width: 30px; height: 30px; color: var(--brand); } .help-card h3 { margin: 10px 0 6px; } .help-card p { color: var(--muted); }
@media (max-width: 860px) { .support-cards, .support-grid, .two-help { grid-template-columns: minmax(0, 1fr); } .support-form .two { grid-template-columns: 1fr; } }

/* GST calculator */
.gc-sec { padding-block: 0 70px; margin-top: -60px; position: relative; z-index: 3; }
.gc-wrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gc-card { display: grid; gap: 14px; padding: 26px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(40, 20, 80, .16); }
.gc-card label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.gc-card input { font: 600 20px var(--display); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.gc-card input:focus { outline: none; border-color: var(--brand); }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--tint); }
.seg2 button { border: 0; background: none; padding: 10px; border-radius: 9px; font: 600 14px var(--display); color: var(--muted); cursor: pointer; }
.seg2 button.on { background: var(--bg); color: var(--brand); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.rates { display: flex; flex-wrap: wrap; gap: 8px; }
.rates button { border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 99px; padding: 6px 13px; font: 600 13px var(--display); cursor: pointer; }
.rates button:hover { border-color: var(--brand); color: var(--brand); }
.gc-out { display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--tint); }
.gc-row { display: flex; justify-content: space-between; gap: 10px; } .gc-row span { color: var(--muted); }
.gc-row.total { border-top: 1px dashed var(--line); padding-top: 10px; font-size: 19px; } .gc-row.total b { color: var(--brand); }
.gc-help h2 { font-size: 22px; margin: 26px 0 8px; } .gc-help h2:first-child { margin-top: 0; } .gc-help p, .gc-help li { color: var(--muted); } .gc-help ul { padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 860px) { .gc-wrap { grid-template-columns: minmax(0, 1fr); } }

/* Contact: dotted India map with the Coimbatore marker */
.map-sec { padding-block: clamp(50px, 7vw, 90px); background: radial-gradient(700px 420px at 80% 30%, rgba(160,12,218,.10), transparent 70%), var(--tint); border-top: 1px solid var(--line); }
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.map-copy h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 10px 0 12px; line-height: 1.15; }
.map-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.map-facts span { padding: 10px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; color: var(--muted); } .map-facts b { color: var(--ink); display: block; font-size: 16px; }
.map-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.india-map svg { width: 100%; height: auto; max-height: 560px; display: block; overflow: visible; }
.india-map .mdots circle { opacity: .5; animation: dotwave 4s ease-in-out infinite; }
.india-map .mdots circle:nth-child(3n) { animation-delay: .7s; } .india-map .mdots circle:nth-child(3n+1) { animation-delay: 1.4s; }
@keyframes dotwave { 0%, 100% { opacity: .35; } 50% { opacity: .75; } }
.india-map .pulse { fill: rgba(160,12,218,.35); transform-box: fill-box; transform-origin: center; animation: pinpulse 2.4s ease-out infinite; }
.india-map .pulse.p2 { animation-delay: 1.2s; }
@keyframes pinpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(5.5); opacity: 0; } }
.india-map .tag { animation: tagin .8s .4s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes tagin { from { opacity: 0; } }
@media (max-width: 860px) { .map-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .wa-float, .dm-chip, .dm-laptop, .dm-phone, .india-map .mdots circle, .india-map .pulse { animation: none !important; } }
.screens-sec { padding-block: clamp(50px, 7vw, 90px); }
.screens-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.screens-wrap h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 10px 0 12px; }
@media (max-width: 860px) { .screens-wrap { grid-template-columns: minmax(0, 1fr); } }
.gc-help { padding-top: 84px; }
@media (max-width: 860px) { .gc-help { padding-top: 0; } }
