/* Primitive tokens */
:root {
  --primitive-ink-950: #05060a;
  --primitive-ink-900: #080a10;
  --primitive-navy-850: #0b0e18;
  --primitive-navy-800: #101522;
  --primitive-white: #f8f9fd;
  --primitive-cloud-200: #d8dce7;
  --primitive-cloud-400: #a3aabc;
  --primitive-violet-400: #ad6cff;
  --primitive-violet-500: #914cf4;
  --primitive-cyan-400: #63d7e9;
  --primitive-mint-400: #72d9c2;
  --primitive-gold-400: #e5bd66;
  --primitive-orange-400: #ff7843;

  /* Semantic tokens */
  --surface-page: var(--primitive-ink-950);
  --surface-raised: var(--primitive-navy-850);
  --surface-card: color-mix(in srgb, var(--primitive-navy-800) 91%, transparent);
  --text-primary: var(--primitive-white);
  --text-secondary: var(--primitive-cloud-200);
  --text-muted: var(--primitive-cloud-400);
  --accent-brand: var(--primitive-violet-400);
  --accent-cyan: var(--primitive-cyan-400);
  --border-subtle: rgba(255, 255, 255, .12);
  --border-soft: rgba(255, 255, 255, .07);
  --focus-ring: 0 0 0 3px rgba(99, 215, 233, .34);

  /* Component tokens */
  --shell-width: 1440px;
  --shell-gutter: clamp(20px, 4vw, 64px);
  --header-height: 76px;
  --product-card-width: min(39vw, 560px);
  --product-card-height: clamp(224px, 27vh, 292px);
  --product-card-radius: 22px;
  --ease-premium: cubic-bezier(.2, .72, .2, 1);
  --duration-deck: 360ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--surface-page); overflow-x: clip; }
body.saas-body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--surface-page); color: var(--text-primary); font-family: "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.single-stage-body { height: 100dvh; overflow: hidden; }
.single-stage-body main { position: absolute; inset: var(--header-height) 0 0; height: calc(100dvh - var(--header-height)); overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { background: rgba(173, 108, 255, .36); color: var(--text-primary); }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; transform: translateY(-160%); padding: 10px 16px; border-radius: 10px; background: var(--primitive-white); color: var(--primitive-ink-900); font-weight: 800; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 8px; }

.saas-shell { width: min(var(--shell-width), calc(100% - (var(--shell-gutter) * 2))); margin-inline: auto; }
.saas-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-height); border-bottom: 1px solid var(--border-soft); background: rgba(5, 6, 10, .78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.saas-nav { display: flex; height: 100%; align-items: center; gap: 24px; }
.saas-brand { display: inline-flex; min-height: 44px; align-items: center; margin-right: auto; }
.saas-brand-mark { font-family: "Outfit", sans-serif; font-size: 29px; font-weight: 700; letter-spacing: -.06em; }
.saas-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding-inline: 22px; border: 1px solid transparent; border-radius: 13px; background: linear-gradient(135deg, var(--primitive-violet-400), var(--primitive-violet-500)); color: var(--primitive-ink-900); font-size: 13px; font-weight: 800; box-shadow: 0 12px 38px rgba(145, 76, 244, .3); transition: transform .24s var(--ease-premium), box-shadow .24s ease; }
.saas-button:hover { transform: translateY(-2px); box-shadow: 0 17px 48px rgba(145, 76, 244, .42); }
.saas-button-small { min-height: 44px; padding-inline: 19px; }

.product-stage { position: relative; height: calc(100dvh - var(--header-height)); overflow: hidden; isolation: isolate; background: radial-gradient(circle at 72% 24%, rgba(51, 56, 101, .4), transparent 28%), linear-gradient(140deg, var(--primitive-ink-950) 0%, #070910 58%, #0d1020 100%); }
.stage-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 72% 35%, rgba(143, 72, 245, .16), transparent 27%), radial-gradient(ellipse at 82% 58%, rgba(70, 199, 220, .1), transparent 30%); }
.stage-grid { position: absolute; z-index: -1; right: -8%; bottom: 4%; width: 85%; height: 44%; transform: perspective(520px) rotateX(62deg); transform-origin: bottom; opacity: .34; background-image: linear-gradient(rgba(173, 108, 255, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 215, 233, .11) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: linear-gradient(to top, #000, transparent 90%); mask-image: linear-gradient(to top, #000, transparent 90%); }

.stage-copy { position: absolute; z-index: 4; top: clamp(44px, 8vh, 94px); right: 0; left: 0; pointer-events: none; }
.stage-copy > * { max-width: min(620px, 45vw); }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; color: #c99cff; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-brand); box-shadow: 0 0 18px var(--accent-brand); content: ""; }
.stage-copy h1 { margin: 22px 0 18px; font-family: "Outfit", sans-serif; font-size: clamp(54px, 5.4vw, 88px); font-weight: 590; letter-spacing: -.065em; line-height: .91; }
.stage-copy h1 em { font-style: normal; color: transparent; background: linear-gradient(104deg, var(--primitive-white) 7%, #d2b7ff 52%, #7be4ef 102%); -webkit-background-clip: text; background-clip: text; }
.stage-copy p { margin: 0; color: var(--text-muted); font-size: clamp(14px, 1.15vw, 17px); line-height: 1.65; }

.spline-shell { position: absolute; z-index: 1; inset: 0; overflow: hidden; }
.spline-mount, .spline-mount spline-viewer { position: absolute; inset: 0; width: 100%; height: 100%; }
.spline-mount spline-viewer { transform: translateX(17%); opacity: 0; transition: opacity .45s ease; }
.spline-shell.is-loaded .spline-mount spline-viewer { opacity: 1; }
.spline-poster { position: absolute; inset: 0 0 0 42%; display: grid; place-items: center; opacity: 1; transition: opacity .45s ease; }
.spline-shell.is-loaded .spline-poster { opacity: 0; pointer-events: none; }
.poster-core { position: relative; z-index: 2; display: grid; width: min(30vw, 360px); aspect-ratio: 1; place-items: center; border: 1px solid var(--border-subtle); border-radius: 44% 56% 50% 50%; background: radial-gradient(circle at 42% 35%, #29304b, var(--primitive-navy-850) 55%, var(--primitive-ink-950) 72%); box-shadow: inset 0 0 60px rgba(173, 108, 255, .18), 0 0 110px rgba(99, 215, 233, .09); }
.poster-core span { color: rgba(255, 255, 255, .09); font: 700 clamp(80px, 10vw, 170px) "Outfit", sans-serif; letter-spacing: -.08em; }
.poster-orbit { position: absolute; border: 1px solid rgba(173, 108, 255, .18); border-radius: 50%; }
.poster-orbit-one { width: min(45vw, 620px); aspect-ratio: 1; transform: rotate(-14deg); }
.poster-orbit-two { width: min(38vw, 500px); aspect-ratio: 1; border-color: rgba(99, 215, 233, .13); transform: rotate(22deg); }
.spline-status { position: absolute; z-index: 30; top: 20px; right: var(--shell-gutter); max-width: 260px; padding: 9px 12px; border: 1px solid var(--border-soft); border-radius: 10px; background: rgba(5, 6, 10, .68); color: var(--text-muted); font-size: 10px; opacity: 0; transition: opacity .2s ease; }
.spline-shell.is-loading .spline-status, .spline-shell.is-error .spline-status { opacity: 1; }
.spline-enable { position: absolute; z-index: 31; top: 56px; right: var(--shell-gutter); display: none; min-height: 44px; padding: 0 15px; border: 1px solid var(--border-subtle); border-radius: 12px; background: rgba(8, 10, 16, .78); color: var(--text-primary); font-size: 11px; font-weight: 800; }
.spline-shell.is-manual .spline-enable, .spline-shell.is-error .spline-enable { display: inline-flex; align-items: center; gap: 8px; }
.spline-shell.is-loaded .spline-enable, .spline-shell.is-loading .spline-enable { display: none; }

.product-deck { position: absolute; z-index: 20; right: 0; bottom: clamp(12px, 2.2vh, 24px); left: 0; }
.product-card-stack { position: relative; height: var(--product-card-height); touch-action: pan-y; perspective: 1100px; }
.product-card { --card-offset: 0; --card-distance: 0; --card-x: 0%; --card-y: 0px; --card-scale: 1; --card-depth: 20; --product-accent: var(--accent-brand); position: absolute; z-index: var(--card-depth); bottom: 0; left: 50%; width: var(--product-card-width); height: var(--product-card-height); overflow: hidden; transform: translate3d(calc(-50% + var(--card-x)), var(--card-y), 0) scale(var(--card-scale)); transform-origin: center bottom; border: 1px solid color-mix(in srgb, var(--product-accent) 58%, transparent); border-radius: var(--product-card-radius); background: linear-gradient(145deg, color-mix(in srgb, var(--product-accent) 11%, rgba(14, 17, 28, .96)), rgba(8, 10, 17, .97)); box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 22px 64px rgba(0, 0, 0, .38); opacity: calc(1 - var(--card-distance) * .17); transition: transform var(--duration-deck) var(--ease-premium), opacity .3s ease, border-color .3s ease, box-shadow .3s ease; }
.product-card::after { position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 10, .92) 0%, rgba(5, 6, 10, .7) 48%, transparent 76%); content: ""; pointer-events: none; }
.product-card.is-active { z-index: 30; border-color: color-mix(in srgb, var(--product-accent) 86%, var(--primitive-white) 10%); opacity: 1; box-shadow: 0 28px 80px color-mix(in srgb, var(--product-accent) 15%, rgba(0, 0, 0, .46)); }
.product-workspace { --product-accent: var(--primitive-mint-400); }
.product-invite { --product-accent: var(--primitive-gold-400); }
.product-ustabi { --product-accent: var(--primitive-orange-400); }
.product-erp { --product-accent: var(--primitive-violet-400); }
.product-card-select { position: absolute; z-index: 2; inset: 0; width: 100%; padding: 24px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.product-card-select:active { opacity: .88; }
.product-index { position: absolute; top: 21px; left: 23px; color: var(--product-accent); font: 700 clamp(27px, 2.2vw, 36px) "Outfit", sans-serif; letter-spacing: -.05em; }
.product-card-copy { position: absolute; z-index: 2; top: 72px; left: 24px; width: 45%; }
.product-card-copy small { color: var(--text-muted); font-size: 10px; }
.product-card-copy h2 { margin: 7px 0 10px; font-family: "Outfit", sans-serif; font-size: clamp(21px, 2vw, 30px); font-weight: 650; letter-spacing: -.035em; }
.product-card-copy p { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }
.product-card-select img { position: absolute; z-index: 1; right: -8%; bottom: 0; width: 64%; height: 72%; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px 0 0; object-fit: cover; object-position: top left; box-shadow: 0 18px 34px rgba(0, 0, 0, .38); }
.product-link { position: absolute; z-index: 4; bottom: 19px; left: 24px; display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--text-primary); font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(5px); transition: opacity .22s ease, transform .22s ease; }
.product-card.is-active .product-link { opacity: 1; pointer-events: auto; transform: translateY(0); }

.product-controls { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px; margin-top: 9px; }
.product-controls button { min-width: 44px; min-height: 44px; }
.product-controls > button { display: grid; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid var(--border-subtle); border-radius: 50%; background: rgba(8, 10, 16, .76); color: var(--text-secondary); cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.product-controls > button:hover { border-color: rgba(173, 108, 255, .5); background: rgba(173, 108, 255, .1); color: var(--text-primary); }
.product-dots { display: flex; align-items: center; gap: 7px; padding: 5px; border: 1px solid var(--border-soft); border-radius: 999px; background: rgba(8, 10, 16, .68); }
.product-dots button { display: grid; min-width: 44px; min-height: 36px; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--text-muted); font-size: 9px; font-weight: 800; cursor: pointer; transition: background .2s ease, color .2s ease; }
.product-dots button[aria-current="true"] { background: rgba(173, 108, 255, .2); color: var(--text-primary); }

.saas-cookie { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: flex; max-width: 560px; align-items: center; gap: 24px; padding: 18px; border: 1px solid var(--border-subtle); border-radius: 17px; background: rgba(10, 12, 20, .95); box-shadow: 0 24px 70px rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.saas-cookie[hidden] { display: none !important; }
.single-stage-body .saas-cookie { top: calc(var(--header-height) + 14px); bottom: auto; }
.saas-cookie strong { font-size: 12px; }
.saas-cookie p { margin: 4px 0 0; color: var(--text-muted); font-size: 10px; line-height: 1.5; }
.saas-cookie p a { text-decoration: underline; }
.saas-cookie-actions { display: flex; gap: 8px; }
.saas-cookie button { min-height: 38px; white-space: nowrap; padding: 8px 11px; border: 1px solid var(--border-subtle); border-radius: 9px; background: rgba(255, 255, 255, .06); color: var(--text-primary); font-size: 10px; }

/* KVKK shares the same minimal chrome without the viewport lock. */
.legal-hero { padding: 170px 0 70px; background: radial-gradient(circle at 60% 20%, rgba(173, 108, 255, .12), transparent 32%), var(--surface-page); }
.legal-hero .container, .legal-section .container { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.legal-hero h1 { max-width: 860px; margin: 18px 0; font: 600 clamp(46px, 7vw, 84px)/.98 "Outfit", sans-serif; letter-spacing: -.055em; }
.legal-hero p { max-width: 760px; color: var(--text-muted); line-height: 1.75; }
.legal-section { padding: 40px 0 120px; background: var(--surface-page); }
.legal-card { padding: clamp(28px, 5vw, 58px); border: 1px solid var(--border-subtle); border-radius: 24px; background: rgba(255, 255, 255, .035); }
.legal-card h2 { margin: 32px 0 8px; font: 600 24px "Outfit", sans-serif; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: var(--text-muted); line-height: 1.8; }
.legal-card a { color: #d4b5ff; text-decoration: underline; }

@media (max-width: 1100px) {
  :root { --shell-gutter: 28px; --product-card-width: min(48vw, 520px); }
  .stage-copy > * { max-width: 52vw; }
  .stage-copy h1 { font-size: clamp(50px, 6.5vw, 76px); }
  .spline-mount spline-viewer { transform: translateX(22%); }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; --shell-gutter: 20px; --product-card-width: calc(100vw - 48px); --product-card-height: min(39dvh, 322px); --product-card-radius: 19px; }
  .saas-brand-mark { font-size: 25px; }
  .nav-contact { min-height: 44px; padding-inline: 16px; font-size: 12px; }
  .stage-copy { top: clamp(24px, 4.5vh, 42px); }
  .stage-copy > * { max-width: 100%; }
  .stage-copy h1 { max-width: 390px; margin: 15px 0 11px; font-size: clamp(38px, 11.5vw, 52px); line-height: .92; }
  .stage-copy p { max-width: 330px; font-size: 13px; line-height: 1.5; }
  .section-kicker { font-size: 9px; }
  .spline-mount spline-viewer { transform: translate(20%, 3%) scale(.92); opacity: 0; }
  .spline-poster { inset: 5% -14% 30% 28%; opacity: .62; }
  .poster-core { width: min(58vw, 270px); }
  .poster-orbit-one { width: min(78vw, 360px); }
  .poster-orbit-two { width: min(66vw, 310px); }
  .spline-status { top: 12px; right: 20px; max-width: 210px; }
  .spline-enable { top: 48px; right: 20px; }
  .product-deck { bottom: max(8px, env(safe-area-inset-bottom)); width: 100%; }
  .product-card-stack { touch-action: pan-y; }
  .product-card { opacity: calc(1 - var(--card-distance) * .34); }
  .product-card::after { background: linear-gradient(180deg, rgba(5, 6, 10, .88) 0%, rgba(5, 6, 10, .44) 58%, rgba(5, 6, 10, .92) 100%); }
  .product-card-select { padding: 18px; }
  .product-index { top: 16px; left: 18px; font-size: 26px; }
  .product-card-copy { top: 52px; left: 18px; width: calc(100% - 36px); }
  .product-card-copy h2 { margin: 5px 0 7px; font-size: clamp(21px, 6.4vw, 27px); }
  .product-card-copy p { max-width: 76%; font-size: 11px; }
  .product-card-select img { right: -6%; bottom: 0; width: 68%; height: 58%; border-radius: 9px 0 0; opacity: .82; }
  .product-link { bottom: 8px; left: 18px; font-size: 11px; }
  .product-controls { gap: 9px; margin-top: 5px; }
  .product-controls > button { min-width: 44px; min-height: 44px; }
  .product-dots { gap: 2px; padding: 4px; }
  .product-dots button { min-width: 44px; min-height: 44px; }
  .single-stage-body .saas-cookie { top: calc(var(--header-height) + 8px); right: 10px; left: 10px; display: grid; gap: 10px; padding: 13px; }
  .saas-cookie-actions { justify-content: flex-end; }
}

@media (max-width: 420px) {
  :root { --shell-gutter: 16px; --product-card-width: calc(100vw - 34px); }
  .nav-contact { padding-inline: 13px; }
  .stage-copy p { max-width: 285px; }
  .product-dots button { min-width: 44px; }
}

@media (max-height: 680px) {
  :root { --product-card-height: min(39dvh, 236px); }
  .stage-copy { top: 18px; }
  .stage-copy h1 { margin-block: 10px 8px; font-size: clamp(36px, 7vh, 56px); }
  .stage-copy p { display: none; }
  .product-card-copy { top: 57px; }
  .product-card-copy p { display: none; }
  .product-card.is-expanded .product-card-copy p { display: -webkit-box; max-height: 34px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}

@media (max-height: 500px) {
  .stage-copy { display: none; }
  .spline-poster { opacity: .34; }
  .product-deck { bottom: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .product-card, .product-link, .spline-poster, .spline-mount spline-viewer, .saas-button { transition-duration: .01ms !important; }
  .saas-button:hover { transform: none; }
}

/* Tek viewport içinde ürünler ve çözümler için ikinci yüz. */
:root {
  --stage-deck-height: clamp(316px, 45vh, 414px);
  --stage-tab-height: 44px;
}

.saas-nav { gap: 12px; }
.nav-contact { border-color: var(--border-subtle); background: rgba(8, 10, 16, .72); color: var(--text-primary); box-shadow: none; }
.nav-contact:hover { background: rgba(173, 108, 255, .13); box-shadow: none; }
.nav-quote { border-color: rgba(255, 255, 255, .42); background: linear-gradient(130deg, #a94dff 0%, #8852ff 45%, #55d9f0 100%); color: var(--primitive-white); text-shadow: 0 1px 8px rgba(22, 8, 50, .42); box-shadow: 0 8px 28px rgba(147, 76, 244, .52), inset 0 1px 0 rgba(255, 255, 255, .38); }
.nav-quote:hover { color: var(--primitive-white); box-shadow: 0 13px 36px rgba(147, 76, 244, .62), inset 0 1px 0 rgba(255, 255, 255, .44); }

.product-deck { height: var(--stage-deck-height); }
.stage-mode-switch { position: absolute; z-index: 60; top: 0; left: 0; display: inline-flex; min-height: var(--stage-tab-height); padding: 3px; border: 1px solid var(--border-soft); border-radius: 14px; background: rgba(7, 9, 16, .72); box-shadow: 0 16px 46px rgba(0, 0, 0, .2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.stage-mode-switch button { min-width: 104px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--text-muted); font-size: 11px; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: color .24s ease, background .24s ease, box-shadow .24s ease; }
.stage-mode-switch button[aria-selected="true"] { background: linear-gradient(135deg, rgba(173, 108, 255, .3), rgba(99, 215, 233, .16)); color: var(--primitive-white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13); }

.stage-panel { position: absolute; inset: calc(var(--stage-tab-height) + 8px) 0 0; min-height: 0; overflow: hidden; transition: transform .36s var(--ease-premium), opacity .28s ease, visibility .28s ease; }
[data-stage-view="products"] .solutions-panel, [data-stage-view="solutions"] .products-panel { pointer-events: none; opacity: 0; visibility: hidden; }
[data-stage-view="products"] .solutions-panel { transform: translateY(18px); }
[data-stage-view="solutions"] .products-panel { transform: translateY(-18px); }
.products-panel { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 4px; }
.products-panel .product-card-stack { height: auto; min-height: 0; }
.products-panel .product-card { height: 100%; }
.products-panel .product-controls { margin-top: 0; }

.product-card-copy { z-index: 3; }
.product-card-copy p { max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-5px); transition: max-height .28s var(--ease-premium), opacity .2s ease, transform .28s var(--ease-premium); }
.product-card.is-expanded { z-index: 40; border-color: color-mix(in srgb, var(--product-accent) 86%, var(--primitive-white) 18%); box-shadow: 0 30px 88px color-mix(in srgb, var(--product-accent) 22%, rgba(0, 0, 0, .52)); }
.product-card.is-expanded .product-card-copy p { max-height: 46px; opacity: 1; transform: translateY(0); }
.product-details { position: absolute; z-index: 4; bottom: 51px; left: 24px; display: grid; width: min(50%, 270px); gap: 4px; color: var(--text-secondary); font-size: 10px; line-height: 1.4; opacity: 0; pointer-events: none; transform: translateY(7px); transition: opacity .22s ease, transform .28s var(--ease-premium); }
.product-details-label { color: var(--product-accent); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card.is-active.is-expanded .product-details { opacity: 1; transform: translateY(0); }
.product-card.is-active:not(.is-expanded) .product-link { opacity: 0; pointer-events: none; transform: translateY(5px); }
.product-card.is-active.is-expanded .product-link { opacity: 1; pointer-events: auto; transform: translateY(0); }

.solutions-panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 8px; }
.solutions-heading { display: flex; min-width: 0; align-items: end; justify-content: space-between; }
.solutions-heading .section-kicker { font-size: 8px; letter-spacing: .14em; }
.solutions-heading .section-kicker::before { width: 5px; height: 5px; }
.solutions-heading h2 { margin: 4px 0 2px; font: 620 clamp(18px, 1.8vw, 28px)/1.02 "Outfit", sans-serif; letter-spacing: -.045em; }
.solutions-heading p { max-width: 690px; margin: 0; color: var(--text-muted); font-size: 10px; line-height: 1.45; }
.solutions-bento { display: grid; min-height: 0; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 9px; }
.solution-card { display: grid; min-width: 0; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: start; padding: 11px 12px; border: 1px solid var(--border-soft); border-radius: 16px; background: linear-gradient(145deg, rgba(18, 22, 36, .9), rgba(8, 10, 17, .88)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); transition: transform .22s var(--ease-premium), border-color .22s ease, background .22s ease; }
.solution-card > div { min-width: 0; }
.solution-card > div > span { display: block; margin-bottom: 3px; color: var(--text-muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.solution-card h3 { margin: 0 0 4px; font: 650 clamp(12px, 1vw, 15px)/1.1 "Outfit", sans-serif; letter-spacing: -.02em; }
.solution-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--text-muted); font-size: 9px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.solution-icon { display: grid; width: 30px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(173, 108, 255, .28); border-radius: 10px; background: rgba(173, 108, 255, .1); color: #d2b7ff; }
.solution-icon svg { width: 16px; height: 16px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.solution-card-erp { grid-column: span 4; }
.solution-card-crm { grid-column: span 3; }
.solution-card-b2b { grid-column: span 5; }
.solution-card-commerce { grid-column: span 5; }
.solution-card-web { grid-column: span 3; }
.solution-card-custom { grid-column: span 4; border-color: rgba(99, 215, 233, .24); background: linear-gradient(145deg, rgba(99, 215, 233, .11), rgba(145, 76, 244, .13) 56%, rgba(8, 10, 17, .9)); }
.solution-card-custom .solution-icon { border-color: rgba(99, 215, 233, .34); background: rgba(99, 215, 233, .1); color: var(--accent-cyan); }

.capability-strip { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; padding: 0 3px; color: var(--text-muted); font-size: 9px; line-height: 1.25; }
.capability-strip strong { overflow: hidden; color: var(--text-secondary); font-size: 10px; letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.capability-strip span { white-space: nowrap; }
.project-cta { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px 10px 15px; border: 1px solid rgba(173, 108, 255, .36); border-radius: 17px; background: linear-gradient(110deg, rgba(145, 76, 244, .2), rgba(14, 18, 32, .9) 45%, rgba(99, 215, 233, .12)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.project-cta h3 { margin: 0 0 3px; font: 650 clamp(14px, 1.2vw, 18px)/1.1 "Outfit", sans-serif; letter-spacing: -.025em; }
.project-cta p { margin: 0; color: var(--text-secondary); font-size: 10px; line-height: 1.35; }
.project-cta-actions { display: flex; flex-shrink: 0; align-items: center; gap: 12px; }
.project-cta .saas-button { min-height: 44px; padding-inline: 15px; font-size: 10px; }
.project-cta-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--text-secondary); font-size: 10px; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }

@media (hover: hover) {
  .stage-mode-switch button:not([aria-selected="true"]):hover { color: var(--text-primary); background: rgba(255, 255, 255, .05); }
  .solution-card:hover { border-color: rgba(173, 108, 255, .42); background: linear-gradient(145deg, rgba(31, 35, 56, .96), rgba(11, 13, 23, .94)); transform: translateY(-2px); }
  .product-card.is-active:hover { border-color: color-mix(in srgb, var(--product-accent) 92%, var(--primitive-white) 14%); }
}

@media (max-width: 1100px) {
  :root { --stage-deck-height: clamp(296px, 42vh, 368px); }
  .solutions-heading h2 { font-size: clamp(17px, 2.4vw, 24px); }
  .capability-strip span { display: none; }
}

@media (max-width: 768px) {
  :root { --stage-deck-height: min(47dvh, 366px); }
  .saas-nav { gap: 7px; }
  .nav-contact, .nav-quote { padding-inline: 10px; font-size: 10px; }
  .stage-mode-switch { width: 100%; justify-content: center; }
  .stage-mode-switch button { flex: 1; min-width: 0; }
  .stage-panel { inset-block-start: 52px; }
  .product-card-copy p { max-width: 68%; }
  .product-card.is-expanded .product-card-copy p { max-height: 36px; }
  .product-card.is-expanded::after { background: linear-gradient(90deg, rgba(5, 6, 10, .96) 0%, rgba(5, 6, 10, .88) 64%, rgba(5, 6, 10, .42) 100%); }
  .product-card.is-expanded .product-card-select img { opacity: .48; }
  .product-details { bottom: 47px; left: 18px; width: calc(100% - 36px); font-size: 9px; }
  .product-details-label { font-size: 8px; }
  .solutions-panel { gap: 6px; }
  .solutions-heading .section-kicker { display: none; }
  .solutions-heading h2 { margin: 0 0 2px; font-size: clamp(15px, 4.3vw, 19px); }
  .solutions-heading p { display: -webkit-box; overflow: hidden; font-size: 8px; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
  .solutions-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .solution-card, .solution-card-erp, .solution-card-crm, .solution-card-b2b, .solution-card-commerce, .solution-card-web, .solution-card-custom { grid-column: span 1; }
  .solution-card { grid-template-columns: 22px minmax(0, 1fr); gap: 6px; padding: 7px; border-radius: 12px; }
  .solution-icon { width: 22px; border-radius: 8px; }
  .solution-icon svg { width: 12px; height: 12px; }
  .solution-card > div > span { margin-bottom: 1px; font-size: 6px; }
  .solution-card h3 { margin-bottom: 2px; font-size: clamp(10px, 3vw, 12px); }
  .solution-card p { font-size: 7px; line-height: 1.3; }
  .capability-strip { gap: 4px; padding: 0; font-size: 7px; }
  .capability-strip strong { font-size: 8px; }
  .capability-strip span { display: block; font-size: 7px; }
  .project-cta { min-height: 55px; gap: 8px; padding: 7px 8px 7px 10px; border-radius: 13px; }
  .project-cta h3 { margin-bottom: 2px; font-size: 12px; }
  .project-cta p { font-size: 8px; line-height: 1.25; }
  .project-cta-actions { gap: 7px; }
  .project-cta .saas-button { min-height: 44px; padding-inline: 9px; font-size: 8px; line-height: 1.15; text-align: center; }
  .project-cta-link { min-height: 44px; font-size: 8px; }
}

@media (max-width: 420px) {
  .saas-brand-mark { font-size: 23px; }
  .nav-contact, .nav-quote { padding-inline: 8px; }
  .capability-strip span { display: none; }
  .project-cta p { display: none; }
  .project-cta-link { display: none; }
  .project-cta .saas-button { padding-inline: 12px; font-size: 9px; }
}

@media (max-height: 680px) {
  :root { --stage-deck-height: min(53dvh, 310px); }
  .solutions-heading p { display: none; }
  .solution-card p { -webkit-line-clamp: 1; }
  .project-cta { min-height: 54px; }
}

@media (max-height: 500px) {
  :root { --stage-deck-height: min(76dvh, 300px); }
  .solutions-heading { display: none; }
  .capability-strip { display: none; }
  .project-cta p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-panel, .stage-mode-switch button, .product-card-copy p, .product-details, .solution-card { transition-duration: .01ms !important; }
  .solution-card:hover { transform: none; }
}
