/* saas.dad-look.com - Inventory Management */
html { scroll-behavior: smooth; }
body { margin: 0; background: #1c1c1c; }
a { color: #ec6e6a; }
a:hover { color: #f39a96; }
button:focus-visible, a:focus-visible { outline: 3px solid #6e9cf4; outline-offset: 2px; }

.si-page { box-sizing: border-box; background: #1c1c1c; color: #ffffff; font-family: Helvetica, Arial, sans-serif; padding: 28px 24px 64px; }
.si-wrap { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.si-page h2 { margin: 0; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.si-card { background: #2c2c2c; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.si-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: #b5b5b5; }
.si-text { margin: 0; font-size: 14px; color: #d0d0d0; }
.red { color: #ec6e6a; }
section[id] { scroll-margin-top: 16px; }

/* Header */
.si-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.si-title { display: flex; flex-direction: column; gap: 4px; }
.si-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: #b5b5b5; }
.si-title h1 { margin: 0; font-size: 48px; line-height: 0.95; font-weight: 800; color: #ec6e6a; text-transform: uppercase; }
.si-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.si-badge { background: #2c2c2c; border-radius: 8px; padding: 10px 16px; display: flex; flex-direction: column; gap: 2px; }
.si-badge.right { text-align: right; }
.si-badge-label { font-size: 13px; font-weight: 700; color: #b5b5b5; letter-spacing: 0.04em; }
.si-badge-label.red { color: #ec6e6a; }
.si-badge-plan { font-size: 20px; font-weight: 800; line-height: 1.1; }
.si-badge-offer { font-size: 30px; font-weight: 800; line-height: 1; }
.si-badge-sub { font-size: 11px; color: #c9c9c9; }

/* Navigation */
.si-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.si-nav a { text-decoration: none; background: #2c2c2c; color: #ffffff; font-weight: 700; font-size: 14px; padding: 12px 16px; text-transform: uppercase; transition: background-color 0.2s ease, color 0.2s ease; }
.si-nav a:hover { background: #3a3a3a; color: #ffffff; }
.si-nav a.is-active { background: #ec6e6a; color: #1c1c1c; font-weight: 800; }

/* Low stock alert */
.si-alert { background: #ec6e6a; color: #1c1c1c; font-weight: 800; font-size: 16px; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.si-alert-sub { font-weight: 700; font-size: 14px; }
.si-alert-icon { display: inline-block; }

/* Inventory */
.si-inventory { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.si-stat { gap: 6px; }
.si-stat-value { font-size: 56px; font-weight: 800; line-height: 1; }
.si-stat-value.medium { font-size: 30px; line-height: 1.1; }
.si-stat-sub { font-size: 14px; color: #d0d0d0; }

/* SaaS metrics */
.si-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.si-metric { background: #1c1c1c; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.si-metric-value { font-size: 30px; font-weight: 800; }
.si-metric-sub { font-size: 13px; color: #d0d0d0; }

/* Two-column rows */
.si-row { display: flex; flex-wrap: wrap; gap: 16px; }
.si-wide { flex: 999 1 560px; min-width: 0; }
.si-narrow { flex: 1 1 300px; min-width: 0; }

/* Revenue forecast */
.si-chart { height: 220px; border-left: 2px solid #4a4a4a; border-bottom: 2px solid #4a4a4a; display: flex; align-items: flex-end; gap: 6px; padding: 0 8px; }
.si-chart-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.si-chart-label { font-size: 12px; font-weight: 800; color: #6e9cf4; white-space: nowrap; }
.si-chart-spike { width: 100%; height: 170px; background: #6e9cf4; }
.si-chart-flat { width: 100%; height: 3px; background: #5a5a5a; }
.si-chart-axis { display: flex; justify-content: space-between; font-size: 12px; color: #b5b5b5; }

/* Scale */
.si-button { background: #6e9cf4; color: #ffffff; border: 0; font: inherit; font-size: 18px; font-weight: 800; text-transform: uppercase; padding: 18px; min-height: 56px; cursor: pointer; }
.si-refusal { background: #1c1c1c; border: 2px solid #ec6e6a; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.si-refusal[hidden] { display: none; }
.si-refusal strong { color: #ec6e6a; font-size: 16px; }
.si-refusal > span { font-size: 13px; color: #c9c9c9; }
.si-refund { border-top: 1px solid #444444; padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.si-refund-value { font-size: 28px; font-weight: 800; }

/* Supply chain */
.si-supply { gap: 16px; }
.si-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.si-steps li { flex: 1 1 180px; background: #1c1c1c; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.si-steps strong { font-size: 18px; }
.si-step-num { font-size: 12px; color: #b5b5b5; font-weight: 700; }
.si-step-text { font-size: 14px; color: #d0d0d0; }
.si-steps li.is-you { background: #ec6e6a; color: #1c1c1c; }
.si-steps li.is-you .si-step-num { color: #1c1c1c; font-weight: 800; }
.si-steps li.is-you .si-step-text { color: #1c1c1c; font-weight: 700; }

/* Audit log */
.si-log-scroll { overflow-x: auto; }
.si-log { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.si-log th { text-align: left; padding: 10px 12px; font-size: 12px; color: #b5b5b5; letter-spacing: 0.08em; border-bottom: 1px solid #444444; }
.si-log td { padding: 10px 12px; border-bottom: 1px solid #383838; }
.si-log td.time { font-family: Menlo, Consolas, monospace; color: #c9c9c9; white-space: nowrap; }
.si-log td.result { font-weight: 800; color: #6e9cf4; }

/* Head of Security */
.si-cat { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* Call to action */
.si-cta { background: #ec6e6a; color: #1c1c1c; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.si-cta-kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; }
.si-page .si-cta h2 { font-size: 34px; line-height: 1.05; max-width: 760px; }
.si-cta p { margin: 0; font-size: 17px; font-weight: 700; }
.si-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; box-sizing: border-box; width: 100%; max-width: 640px; min-height: 84px; padding: 22px 32px; background: #1c1c1c; color: #ffffff; font-size: 30px; font-weight: 800; text-transform: uppercase; text-decoration: none; letter-spacing: 0.02em; }
.si-cta-button:hover { color: #ffffff; background: #000000; }
.si-cta-button:focus-visible { outline-color: #1c1c1c; outline-offset: 4px; }
.si-cta-arrow { display: inline-block; }

/* Footer */
.si-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #b5b5b5; }

@media (max-width: 600px) {
	.si-page { padding: 20px 16px 48px; }
	.si-title h1 { font-size: 38px; }
	.si-stat-value { font-size: 48px; }
	.si-cta { padding: 36px 16px; }
	.si-page .si-cta h2 { font-size: 26px; }
	.si-cta-button { font-size: 22px; min-height: 72px; padding: 18px 20px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.js .si-header .si-title { animation: si-slide-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .si-badge { animation: si-drop-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.3) both; }
	.js .si-badge:nth-child(1) { animation-delay: 0.15s; }
	.js .si-badge:nth-child(2) { animation-delay: 0.3s; }
	.js .si-nav a { animation: si-fade-up 0.4s ease both; }
	.js .si-nav a:nth-child(1) { animation-delay: 0.3s; }
	.js .si-nav a:nth-child(2) { animation-delay: 0.38s; }
	.js .si-nav a:nth-child(3) { animation-delay: 0.46s; }
	.js .si-nav a:nth-child(4) { animation-delay: 0.54s; }

	.js .si-alert { animation: si-fade-up 0.5s 0.5s ease both, si-alert-pulse 2.4s 1.2s ease-in-out infinite; }
	.si-alert-icon { animation: si-blink 1.2s steps(2, start) infinite; }

	.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
	.js .reveal.is-in { opacity: 1; transform: none; }

	.js .si-metric { opacity: 0; transform: scale(0.92); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.3); transition-delay: calc(0.2s + var(--d, 0) * 80ms); }
	.js .is-in .si-metric { opacity: 1; transform: none; }

	.js .si-chart-flat { transform: scaleX(0); transition: transform 0.4s ease; transition-delay: calc(0.2s + var(--d, 0) * 60ms); }
	.js .is-in .si-chart-flat { transform: scaleX(1); }
	.js .si-chart-spike { transform: scaleY(0); transform-origin: bottom; transition: transform 0.9s 0.9s cubic-bezier(0.2, 0.8, 0.2, 1.2); }
	.js .is-in .si-chart-spike { transform: scaleY(1); }
	.js .si-chart-label { opacity: 0; transition: opacity 0.4s 1.6s ease; }
	.js .is-in .si-chart-label { opacity: 1; animation: si-bob 2s 2s ease-in-out infinite; }

	.js .si-steps li { opacity: 0; transform: translateX(-20px); transition: opacity 0.45s ease, transform 0.45s ease; transition-delay: calc(0.15s + var(--d, 0) * 180ms); }
	.js .is-in .si-steps li { opacity: 1; transform: none; }
	.js .is-in .si-steps li.is-you { animation: si-glow-red 2.2s 1.4s ease-in-out infinite; }

	.js .si-log tbody tr { opacity: 0; transition: opacity 0.4s ease; transition-delay: calc(0.2s + var(--d, 0) * 120ms); }
	.js .is-in .si-log tbody tr { opacity: 1; }

	.js .si-stat.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }

	.si-nav a:active, .si-button:active { transform: scale(0.97); }
	.si-button { transition: transform 0.12s ease, background-color 0.2s ease; }
	.si-button:hover { background-color: #84acf6; }
	.si-cat.is-alert { animation: si-shake 0.45s; }
	.si-refusal.is-popping { animation: si-pop 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.4); }
	.si-button.is-denied { animation: si-shake 0.4s; }

	.si-cta-button { animation: si-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease, background-color 0.2s ease; }
	.si-cta-button:hover { transform: scale(1.03); }
	.si-cta-arrow { animation: si-nudge 1.1s ease-in-out infinite; }
}

@keyframes si-slide-in { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes si-drop-in { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes si-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes si-alert-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 8px rgba(236, 110, 106, 0); } }
@keyframes si-blink { to { visibility: hidden; } }
@keyframes si-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }
@keyframes si-glow-red { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.55); } 50% { box-shadow: 0 0 0 10px rgba(236, 110, 106, 0); } }
@keyframes si-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px) rotate(-1.5deg); } 40% { transform: translateX(5px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
@keyframes si-pop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes si-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(28, 28, 28, 0.45); } 50% { box-shadow: 0 0 0 12px rgba(28, 28, 28, 0); } }
@keyframes si-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
