:root {
  --bg: #0b0e12;
  --card: #141922;
  --muted: #9aa3b2;
  --text: #edf1f6;
  --line: #242b38;
  --accent: #7f95b5;
}
* { box-sizing: border-box; }
html, body { margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }

.header {
  position: fixed; top: 0; width: 100%; z-index: 30; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem; backdrop-filter: blur(10px); background: rgba(11, 14, 18, 0.72); border-bottom: 1px solid rgba(255,255,255,.06);
}
.logo { letter-spacing: .22em; font-weight: 700; }
.header nav { display: flex; gap: 1rem; color: var(--muted); font-size: .92rem; }
.header nav a:hover, .header nav a:focus-visible { color: var(--text); outline: none; }

#deck { height: 100vh; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
.slide {
  min-height: 100vh; scroll-snap-align: start; display: grid; place-items: center; padding: 5rem 1.25rem 2rem; position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(127,149,181,0.08), transparent 40%), linear-gradient(180deg, #0d1118, #0b0e12);
}
.noise { position: absolute; inset: 0; pointer-events: none; opacity: .14; background-image: linear-gradient(transparent 96%, rgba(255,255,255,.04) 97%), linear-gradient(90deg, transparent 96%, rgba(255,255,255,.03) 97%); background-size: 7px 7px, 6px 6px; transform: translateY(var(--parallax)); }
.slide-content { width: min(1080px, 100%); border: 1px solid rgba(255,255,255,.08); background: rgba(20,25,34,.68); border-radius: 20px; padding: clamp(1.25rem, 4vw, 3rem); box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.slide-number { color: var(--accent); font-size: .78rem; letter-spacing: .12em; margin: 0 0 .6rem; }
h2 { margin: 0 0 .85rem; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.1; }
.subtitle { color: var(--muted); max-width: 60ch; }

.list { margin: 1.2rem 0 0; padding-left: 1.1rem; display: grid; gap: .62rem; color: #d5dbe5; }
.cards, .tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .9rem; margin-top: 1rem; }
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card, .tile, .timeline article {
  border: 1px solid var(--line); background: rgba(11,14,18,.75); border-radius: 14px; padding: .95rem; transition: transform .6s ease, border-color .35s ease;
}
.card:hover, .tile:hover, .timeline article:hover { transform: translateY(-4px); border-color: rgba(127,149,181,.5); }
.card h3 { margin: .1rem 0 .4rem; }
.card p, .tile { color: #c8d0dc; line-height: 1.45; font-size: .96rem; }

.hero-actions { margin-top: 1.4rem; display: flex; gap: .7rem; flex-wrap: wrap; }
.btn { border-radius: 10px; border: 1px solid var(--line); padding: .72rem 1rem; cursor: pointer; transition: all .4s ease; font-weight: 600; }
.btn-primary { background: #e8edf4; color: #0b0e12; }
.btn-primary:hover, .btn-primary:focus-visible { transform: translateY(-2px); background: #fff; }
.btn-secondary { background: transparent; color: var(--text); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: rgba(127,149,181,.14); }

.dot-nav { position: fixed; right: .9rem; top: 50%; transform: translateY(-50%); z-index: 35; display: grid; gap: .45rem; }
.dot { width: 2.3rem; height: 2.3rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(20,25,34,.7); color: var(--muted); font-size: .72rem; }
.dot.active { border-color: var(--accent); color: #fff; }

.floating-cta { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; }

.timeline { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .9rem; margin-top: 1rem; }
.mini-flow { margin-top: 1rem; display: flex; align-items: center; gap: .5rem; color: var(--muted); }
.mini-flow span:nth-child(even) { flex: 1; height: 1px; background: var(--line); }
.highlight { color: #d7deea; border-left: 2px solid var(--accent); padding-left: .8rem; margin: 1rem 0; }

.dashboard-mock { margin-top: 1rem; height: 180px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: end; gap: .8rem; padding: .8rem; position: relative; }
.bar { width: 14%; height: var(--h); background: linear-gradient(180deg, rgba(127,149,181,.78), rgba(127,149,181,.2)); border-radius: 8px 8px 4px 4px; }
.line { position: absolute; left: .8rem; right: .8rem; top: 34%; height: 1px; background: rgba(255,255,255,.2); }

.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; margin-top: 1rem; }
.contact-form label { display: grid; gap: .32rem; font-size: .88rem; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #0f141d; color: var(--text); padding: .62rem .72rem; }
.contact-form textarea, .contact-form button, .contact-form .footer-links { grid-column: 1 / -1; }
.footer-links { margin-top: .4rem; display: flex; gap: .8rem; color: var(--muted); font-size: .86rem; }

.modal { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; background: rgba(4,7,10,.62); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.modal.open { opacity: 1; pointer-events: all; }
.modal-panel { width: min(540px, 92%); background: #101620; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; }
.close-modal { float: right; border: 0; background: transparent; color: var(--muted); font-size: 1.1rem; cursor: pointer; }

#toast { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%) translateY(24px); padding: .8rem 1rem; background: #e8edf4; color: #111; border-radius: 999px; opacity: 0; transition: all .4s ease; z-index: 50; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

:focus-visible { outline: 2px solid #a9b9d4; outline-offset: 2px; }

@media (max-width: 920px) {
  .cards, .cards.cols-2, .cards.cols-3, .tiles, .timeline, .contact-form { grid-template-columns: 1fr; }
  .header nav { display: none; }
  .dot-nav { right: .4rem; }
  .dot { width: 2rem; height: 2rem; font-size: .66rem; }
}
