/* Mukar Software Solutions: landing page styles */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); }

:root {
  --bg: #0c0a1d;
  --bg-2: #13102b;
  --bg-3: #1a1638;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f1ff;
  --muted: #b1acd2;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --purple: #a855f7;
  --fuchsia: #d946ef;
  --pink: #ec4899;
  --grad: linear-gradient(120deg, #6366f1 0%, #a855f7 48%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(99, 102, 241, .55), rgba(168, 85, 247, .25) 45%, rgba(236, 72, 153, .5));
  --grad-text: linear-gradient(100deg, #a5b4fc 0%, #d8b4fe 40%, #f0abfc 70%, #f9a8d4 100%);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1200px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -.025em; }
h1, h2 { font-weight: 800; }
h3 { font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

:focus-visible { outline: 3px solid #f0abfc; outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--bg); border-radius: 12px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .85em 1.5em;
  border: 1px solid transparent; border-radius: 14px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; color: #fff;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gradient { background: var(--grad); box-shadow: 0 10px 30px -10px rgba(168, 85, 247, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-gradient:hover { box-shadow: 0 16px 40px -10px rgba(236, 72, 153, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-outline { background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.btn-outline:hover { border-color: rgba(216, 180, 254, .6); background: rgba(255, 255, 255, .07); }
.btn-light { background: #fff; color: #2e1065; }
.btn-light:hover { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.btn-glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-sm { min-height: 42px; padding: .65em 1.15em; font-size: .95rem; border-radius: 12px; }

.kicker { margin-bottom: 1rem; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #c4b5fd; }
.kicker-light { color: rgba(255, 255, 255, .85); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 10, 29, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(12, 10, 29, .88); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand-text { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; }
.brand-dot { color: var(--fuchsia); }

.nav-desktop { display: none; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.nav-desktop a { padding: .45em .95em; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .2s, background-color .2s; }
.nav-desktop a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.header-cta { display: none; }

.nav-toggle { position: relative; }
.nav-toggle summary {
  list-style: none; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: #fff; cursor: pointer;
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-toggle[open] .icon-open { display: none; }
.nav-toggle[open] .icon-close { display: block; }
.nav-mobile {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 40px));
  display: grid; gap: 4px; padding: 12px;
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.nav-mobile a:not(.btn) { padding: .75em 1em; border-radius: 12px; text-decoration: none; font-weight: 600; color: #fff; }
.nav-mobile a:not(.btn):hover { background: rgba(255, 255, 255, .06); }
.nav-mobile .btn { margin-top: 6px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-desktop, .header-cta { display: inline-flex; }
  .nav-desktop { margin-right: 8px; }
}

/* Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; text-align: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-1 { width: 520px; height: 520px; left: -160px; top: -120px; background: #4f46e5; }
.orb-2 { width: 460px; height: 460px; right: -140px; top: 40px; background: #c026d3; opacity: .45; }
.orb-3 { width: 600px; height: 380px; left: 30%; top: 46%; background: #7c3aed; opacity: .35; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .orb-1 { animation: drift 18s ease-in-out infinite alternate; }
  .orb-2 { animation: drift 22s ease-in-out infinite alternate-reverse; }
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }

.hero-inner { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.6rem;
  padding: .35em 1em .35em .35em; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  font-size: .88rem; font-weight: 600; color: var(--muted);
}
.badge-tag { padding: .3em .8em; border-radius: 999px; background: var(--grad); color: #fff; font-size: .8rem; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 5.4rem); letter-spacing: -.04em; max-width: 14ch; margin: 0 auto; }
.br-lg { display: none; }
@media (min-width: 900px) { .hero h1 { max-width: none; } .br-lg { display: inline; } }
.lead { margin: 1.5rem auto 0; max-width: 40em; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2.2rem; }

.hero-showcase { position: relative; margin: 56px auto 0; max-width: 1120px; }
.showcase-frame {
  position: relative; padding: 8px; border-radius: 30px;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 40px 100px -30px rgba(168, 85, 247, .55);
}
.showcase-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 23px; }
@media (min-width: 560px) { .showcase-frame img { aspect-ratio: 16 / 9; } }
@media (min-width: 760px) { .showcase-frame img { aspect-ratio: 2.2 / 1; } }
.float-chip {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: .6em;
  padding: .7em 1.1em; border-radius: 14px;
  background: rgba(19, 16, 43, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .7);
  font-size: .9rem; font-weight: 600; color: #fff; white-space: nowrap;
}
.float-chip strong { font-weight: 800; }
.float-chip .icon { color: #f0abfc; }
.chip-a { left: 16px; top: 16px; }
.chip-b { right: 16px; bottom: 16px; }
@media (max-width: 559px) { .float-chip { padding: .55em .85em; font-size: .8rem; border-radius: 12px; } }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
@media (min-width: 960px) {
  .chip-a { left: -26px; top: 40px; }
  .chip-b { right: -22px; bottom: 44px; }
}

/* Live strip */
.strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; padding-block: 22px; text-align: center; }
.strip p { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.strip a { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: #e9e5ff; text-decoration: none; transition: color .2s; }
.strip a:hover { color: #f0abfc; }

/* Sections */
.section { position: relative; padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
.section-head > p:not(.kicker) { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.section-head-split { max-width: none; display: grid; gap: 16px; align-items: end; }
.section-head-split > p { color: var(--muted); font-size: 1.08rem; max-width: 26em; }
@media (min-width: 900px) { .section-head-split { grid-template-columns: 1.4fr 1fr; } .section-head-split > p { justify-self: end; } }
@media (min-width: 960px) { .section { padding: 120px 0; } }

/* Gradient-bordered card base */
.tile, .case, .why-card {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 40%, rgba(168, 85, 247, .35)) border-box;
  border-radius: var(--radius);
}

/* Services bento */
.bento { display: grid; gap: 16px; }
.tile { position: relative; padding: 28px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(168, 85, 247, .6); }
.tile-icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px;
  border-radius: 14px; background: var(--grad-soft); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
}
.tile-icon .icon { width: 24px; height: 24px; }
.tile p { margin-top: .6rem; color: var(--muted); font-size: 1rem; }
.tile-hero {
  background: radial-gradient(120% 90% at 100% 0%, rgba(236, 72, 153, .35), transparent 55%), radial-gradient(100% 90% at 0% 100%, rgba(99, 102, 241, .45), transparent 60%), linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
              var(--grad) border-box;
  display: flex; flex-direction: column;
}
.tile-hero h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tile-hero p { color: #d9d4f5; font-size: 1.06rem; max-width: 28em; }
.tile-hero .tile-icon { width: 60px; height: 60px; background: rgba(255, 255, 255, .12); }
.tile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.tile-tags li { padding: .35em .9em; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; font-weight: 600; }
.tile-wide { display: grid; gap: 20px; align-items: end; }
.tile-wide p { max-width: 40em; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile-hero, .tile-wide { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .tile-hero { grid-column: 1 / 3; grid-row: 1 / 3; padding: 40px; }
  .tile-wide { grid-column: 1 / -1; grid-template-columns: 1fr auto; padding: 32px 40px; }
}

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: #fff; text-decoration: none; }
.link-arrow .icon { width: 1.1em; height: 1.1em; color: #f0abfc; transition: transform .2s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #f0abfc; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Case studies */
.case { display: grid; overflow: hidden; }
.case-media { display: block; position: relative; overflow: hidden; background: var(--bg-3); }
.case-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s ease; }
.case:hover .case-media img { transform: scale(1.03); }
.case-body { padding: 28px; display: flex; flex-direction: column; gap: .85rem; }
.case-body h3 { font-size: 1.55rem; }
.case-body > p:not(.case-tag) { color: var(--muted); font-size: 1rem; }
.case-tag { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f0abfc; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .3em .85em; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-size: .85rem; font-weight: 600; color: #ddd8f7; }
.case .link-arrow { margin-top: auto; padding-top: .4rem; }
.case-featured {
  margin-bottom: 18px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(99, 102, 241, .28), transparent 60%), linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
}
.case-featured .case-media { order: -1; }
.case-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .case-featured { grid-template-columns: 1fr 1.3fr; }
  .case-featured .case-media { order: 0; margin: 14px 14px 14px 0; border-radius: 18px; }
  .case-featured .case-media img { height: 100%; }
  .case-featured .case-body { padding: 48px; justify-content: center; }
  .case-featured .case-body h3 { font-size: 2.3rem; }
  .case-featured .link-arrow { margin-top: .6rem; }
}

/* Process timeline */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: var(--grad); opacity: .7; }
.timeline li { position: relative; padding-left: 72px; }
.node {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; font-weight: 800; color: #fff;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; border: 2px solid transparent;
  box-shadow: 0 0 0 6px var(--bg), 0 0 30px -4px rgba(168, 85, 247, .7);
}
.timeline h3 { padding-top: 10px; }
.timeline p { margin-top: .5rem; color: var(--muted); font-size: 1rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .timeline::before { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .timeline li { padding-left: 0; padding-top: 76px; }
  .timeline h3 { padding-top: 0; }
}

/* Why us bento */
.why-bento { display: grid; gap: 16px; }
.why-photo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 29, .7)); }
.why-photo .float-chip { left: 16px; right: 16px; bottom: 16px; white-space: normal; }
.why-card { padding: 28px; }
.why-card .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--grad-soft); border: 1px solid rgba(255, 255, 255, .16); color: #fff; margin-bottom: 18px; }
.why-card p { margin-top: .5rem; color: var(--muted); font-size: 1rem; }
.why-card-accent { background: var(--grad) padding-box, var(--grad) border-box; }
.why-card-accent p { color: rgba(255, 255, 255, .92); }
.why-card-accent .icon { background: rgba(255, 255, 255, .18); }
@media (min-width: 640px) { .why-bento { grid-template-columns: repeat(2, 1fr); } .why-photo { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .why-bento { grid-template-columns: 1.3fr 1fr 1fr; }
  .why-photo { grid-column: 1; grid-row: 1 / 3; }
}

/* Contact CTA */
.cta-panel {
  position: relative; overflow: hidden; display: grid; gap: 32px; padding: 40px 24px;
  border-radius: 32px;
  background: radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(125deg, #4338ca 0%, #7e22ce 50%, #be185d 100%);
  box-shadow: 0 40px 100px -40px rgba(190, 24, 93, .7);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-copy, .cta-action { position: relative; }
.cta-copy h2 { font-size: clamp(2rem, 5.4vw, 3.4rem); }
.cta-copy > p:not(.kicker) { margin-top: 1rem; max-width: 32em; color: rgba(255, 255, 255, .9); }
.cta-action { align-self: center; padding: 26px 22px; border-radius: 22px; background: rgba(12, 10, 29, .35); border: 1px solid rgba(255, 255, 255, .22); }
.contact-label { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.contact-email { display: inline-block; margin-top: .4rem; font-size: clamp(1.15rem, 4.6vw, 1.6rem); font-weight: 800; color: #fff; text-decoration: none; word-break: break-all; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.contact-note { min-height: 1.6em; margin-top: .8rem; font-size: .92rem; font-weight: 600; color: #fff; }
@media (min-width: 960px) {
  .cta-panel { grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 64px; }
  .cta-action { padding: 36px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 56px; color: var(--muted); }
.footer-inner { display: grid; gap: 28px; padding-bottom: 36px; }
.footer-brand p { margin-top: .9rem; max-width: 28em; font-size: .97rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a, .footer-mail a { color: #e9e5ff; text-decoration: none; font-weight: 600; font-size: .97rem; }
.footer-nav a:hover, .footer-mail a:hover { color: #f0abfc; }
.footer-bottom { padding-block: 22px 28px; font-size: .9rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.4fr 1fr auto; align-items: start; } }

/* Reveal on scroll: only when JS is running, content stays visible otherwise */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 404 page */
.not-found { min-height: 100vh; display: grid; align-items: center; text-align: center; }
.not-found .section-head { margin: 0 auto; }
.not-found .brand { margin: 0 auto 2rem; }
.not-found h1 { font-size: clamp(2rem, 5vw, 3rem); }
.not-found .btn { margin-top: 1.5rem; }
