:root{
  --bg:#f4f7fb;
  --surface:#ffffff;
  --text:#101828;
  --muted:#667085;
  --line:#d9e2ec;
  --accent:#4f46e5;
  --accent-2:#06b6d4;
  --accent-soft:#eef2ff;
  --shadow:0 24px 70px rgba(16,24,40,.10);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}

body{
  font-family:Inter, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(79,70,229,.16), transparent 26%),
    radial-gradient(circle at 10% 30%, rgba(6,182,212,.12), transparent 26%),
    var(--bg);
  line-height:1.6;
}

a{color:inherit;text-decoration:none}

.site-header,
main,
.footer{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:850;
  font-size:20px;
  letter-spacing:-.03em;
}

.brand-mark{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:white;
  font-size:14px;
  font-weight:900;
}

.menu{
  display:flex;
  gap:26px;
  color:var(--muted);
  font-weight:700;
  font-size:15px;
}

.menu a:hover{color:var(--accent)}

.hero{
  min-height:calc(100vh - 82px);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:70px;
  align-items:center;
  padding:50px 0 90px;
}

.eyebrow,
.section-label{
  color:var(--accent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:18px;
}

h1{
  max-width:760px;
  font-size:clamp(46px, 7vw, 78px);
  line-height:.98;
  letter-spacing:-.06em;
  margin-bottom:24px;
}

.lead{
  max-width:680px;
  color:var(--muted);
  font-size:20px;
  line-height:1.75;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:32px;
}

.button,
button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:14px;
  background:var(--accent);
  color:white;
  padding:14px 20px;
  font:inherit;
  font-weight:850;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(79,70,229,.22);
  transition:.2s;
}

.button:hover,
button:hover{transform:translateY(-2px)}

.button.secondary{
  background:white;
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}

.system-card{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.95);
  border-radius:32px;
  padding:28px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
  min-height:460px;
}

.system-top{
  display:flex;
  gap:8px;
  margin-bottom:26px;
}

.system-top span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#cbd5e1;
}

.system-label{
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  margin-bottom:6px;
}

.system-card h3{
  font-size:30px;
  letter-spacing:-.04em;
  margin-bottom:8px;
}

.system-card > p:not(.system-label){
  color:var(--muted);
  margin-bottom:22px;
}

.system-preview{
  min-height:240px;
  display:grid;
  gap:12px;
}

.status-row,
.invoice-line,
.invoice-summary,
.ticket,
.task,
.portal-header,
.portal-grid div,
.stamp-card,
.request-card{
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:16px;
  padding:15px 16px;
}

.status-row,
.invoice-line,
.invoice-summary,
.stamp-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.status-row span,
.invoice-line span,
.invoice-summary span,
.stamp-card span{
  color:var(--muted);
  font-weight:750;
}

.status-row strong,
.invoice-line strong,
.invoice-summary strong{
  font-size:20px;
}

.calendar-mini,
.vacation-ui,
.requests-ui{
  display:grid;
  gap:12px;
}

.calendar-mini{
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
}

.calendar-head,
.vacation-head,
.request-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.vacation-head,
.request-toolbar{
  padding:14px 15px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:white;
}

.calendar-head span,
.vacation-head span,
.request-toolbar span{
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}

.vacation-head span,
.request-toolbar span{
  color:white;
  opacity:.9;
}

.calendar-days,
.calendar-slots,
.vacation-week,
.vacation-calendar{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:8px;
}

.calendar-days span,
.vacation-week span{
  color:var(--muted);
  font-size:12px;
  font-weight:900;
}

.calendar-slots div,
.vacation-calendar div{
  min-height:52px;
  border-radius:12px;
  background:white;
  border:1px solid var(--line);
}

.calendar-slots .booking{
  background:var(--accent-soft);
  color:var(--accent);
  font-size:11px;
  font-weight:900;
  padding:8px;
}

.vacation-calendar .vacation{
  padding:8px;
  font-size:11px;
  font-weight:900;
  line-height:1.25;
}

.vacation.approved{
  background:#ecfdf3;
  color:#047857;
}

.vacation.pending{
  background:#fff7ed;
  color:#c2410c;
}

.vacation-summary{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.vacation-summary span{
  padding:8px 10px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}

.invoice-ui{
  display:grid;
  gap:12px;
}

.invoice-ui button{
  width:max-content;
  margin:0;
  padding:10px 14px;
  border-radius:12px;
  font-size:13px;
}

.invoice-line strong{
  color:var(--accent);
}

.invoice-summary{
  background:#eef2ff;
}

.invoice-summary strong{
  color:var(--accent);
}

.ticket,
.request-card{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

.ticket span{
  color:var(--accent);
  font-weight:800;
}

.task{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}

.task input{
  width:auto;
}

.portal-header{
  display:flex;
  justify-content:space-between;
  gap:14px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:white;
}

.portal-header div{
  display:grid;
}

.portal-header span,
.portal-header small{
  opacity:.85;
  font-size:13px;
}

.portal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.portal-grid div{
  font-weight:850;
  color:var(--accent);
}

.portal-grid strong{
  display:block;
  color:var(--text);
  font-size:22px;
  margin-top:6px;
}

.stamp-time{
  font-size:34px;
  font-weight:900;
  letter-spacing:-.05em;
}

.request-card p{
  color:var(--muted);
  font-size:13px;
  margin-top:2px;
}

.request-card > span{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.request-card.new > span{
  background:#eef2ff;
  color:var(--accent);
}

.request-card.progress > span{
  background:#fff7ed;
  color:#c2410c;
}

.request-card.done > span{
  background:#ecfdf3;
  color:#047857;
}

.system-dots{
  display:flex;
  gap:8px;
  margin-top:20px;
}

.system-dots button{
  width:9px;
  height:9px;
  min-width:9px;
  padding:0;
  margin:0;
  border-radius:999px;
  background:#cbd5e1;
  box-shadow:none;
}

.system-dots button.active{
  width:28px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}

.tools,
.process,
.contact{
  padding:76px 0;
  border-top:1px solid var(--line);
}

.tool-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.tool-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  min-height:260px;
  box-shadow:0 16px 50px rgba(16,24,40,.05);
}

.tool-card span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:13px;
  font-weight:900;
  margin-bottom:22px;
}

.tool-card h2{
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.03em;
  margin-bottom:12px;
}

.tool-card p{
  color:var(--muted);
  font-size:16px;
}

.process,
.contact{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
}

.process h2,
.contact h2{
  font-size:clamp(34px,5vw,52px);
  line-height:1.05;
  letter-spacing:-.05em;
}

.process > p{
  color:var(--muted);
  font-size:19px;
  line-height:1.75;
  max-width:660px;
}

.contact{
  gap:60px;
  align-items:start;
}

.contact-text p:not(.section-label){
  color:var(--muted);
  font-size:18px;
  margin-top:16px;
}

.contact-form{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:28px;
  padding:26px;
  box-shadow:var(--shadow);
  display:grid;
  gap:14px;
}

input,
textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f9fafb;
  color:var(--text);
  padding:15px 16px;
  font:inherit;
  outline:none;
}

textarea{
  min-height:130px;
  resize:vertical;
}

input:focus,
textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(79,70,229,.10);
}

.footer{
  padding:30px 0;
  color:var(--muted);
  text-align:center;
  border-top:1px solid var(--line);
}

/* Demoer-side */
.demo-hero{
  padding:70px 0 42px;
}

.demo-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px;
}

.demo-tabs button{
  margin:0;
  background:white;
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}

.demo-tabs button.active{
  background:var(--accent);
  color:white;
}

.demo-shell{
  background:white;
  border:1px solid var(--line);
  border-radius:30px;
  padding:28px;
  box-shadow:var(--shadow);
  margin-bottom:70px;
}

.demo-layout{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:30px;
}

.demo-panel{
  background:#f9fafb;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
}

.demo-panel h2{
  font-size:30px;
  letter-spacing:-.04em;
  margin-bottom:10px;
}

.demo-panel p{
  color:var(--muted);
  margin-bottom:20px;
}

.demo-form{
  display:grid;
  gap:12px;
}

.demo-list{
  display:grid;
  gap:12px;
}

.demo-item{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:15px 16px;
}

.demo-item span{
  color:var(--muted);
}

.demo-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:6px 10px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:13px;
  font-weight:850;
}

.demo-calendar{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
}

.demo-day{
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  min-height:140px;
}

.demo-day strong{
  display:block;
  margin-bottom:10px;
}

.demo-event{
  background:var(--accent-soft);
  color:var(--accent);
  border-radius:10px;
  padding:8px;
  font-size:13px;
  font-weight:800;
  margin-bottom:8px;
}

.demo-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.demo-actions button{
  margin:0;
}

/* Takk-side */
.thanks-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:28px;
}

.thanks-card{
  width:min(640px,100%);
  padding:36px;
  border:1px solid var(--line);
  border-radius:28px;
  background:white;
  box-shadow:var(--shadow);
}

.thanks-card h1{
  font-size:clamp(34px,5vw,52px);
  line-height:1.05;
  letter-spacing:-.05em;
  margin:18px 0;
}

.thanks-card p:not(.eyebrow){
  color:var(--muted);
  font-size:18px;
  margin-bottom:24px;
}

@media(max-width:900px){
  .hero,
  .tool-grid,
  .process,
  .contact,
  .demo-layout,
  .demo-calendar{
    grid-template-columns:1fr;
  }

  .hero{
    min-height:auto;
    gap:40px;
  }
}

@media(max-width:600px){
  .site-header,
  main,
  .footer{
    width:min(100% - 30px,1120px);
  }

  .site-header{
    height:auto;
    padding:20px 0;
    align-items:flex-start;
    gap:18px;
  }

  .menu{
    gap:14px;
    font-size:14px;
  }

  h1{
    font-size:42px;
  }

  .lead{
    font-size:17px;
  }

  .hero{
    padding:42px 0 64px;
  }

  .system-card{
    min-height:auto;
  }

  .portal-grid,
  .calendar-days,
  .calendar-slots,
  .vacation-week,
  .vacation-calendar{
    grid-template-columns:1fr 1fr;
  }

  .tool-card{
    min-height:auto;
  }
}






.demo-shell {
  max-width: 1150px;
  margin: 40px auto;
  padding: 0 20px;
}

.pc-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pc-screen {
  width: 100%;
  max-width: 1050px;
  min-height: 610px;
  background: #0f172a;
  border: 12px solid #111827;
  border-radius: 28px;
  box-shadow: 0 35px 90px rgba(0,0,0,.28);
  overflow: hidden;
}

.pc-topbar {
  height: 54px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: white;
}

.pc-dots {
  display: flex;
  gap: 8px;
}

.pc-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #64748b;
}

.pc-dots span:nth-child(1) { background: #fb7185; }
.pc-dots span:nth-child(2) { background: #facc15; }
.pc-dots span:nth-child(3) { background: #4ade80; }

.pc-title {
  font-weight: 700;
  letter-spacing: .02em;
}

.pc-user {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 800;
}

.pc-body {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 556px;
  background: #f8fafc;
}

.pc-sidebar {
  background: #111827;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pc-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: white;
  color: #111827;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.pc-sidebar button {
  border: 0;
  text-align: left;
  padding: 13px 14px;
  border-radius: 14px;
  background: transparent;
  color: #cbd5e1;
  font-weight: 700;
  cursor: pointer;
}

.pc-sidebar button:hover,
.pc-sidebar button.active {
  background: rgba(255,255,255,.1);
  color: white;
}

.pc-app {
  padding: 30px;
}

.pc-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.pc-app-header h2 {
  margin: 4px 0 0;
  font-size: 32px;
}

.pc-app-header button {
  border: 0;
  padding: 13px 18px;
  border-radius: 14px;
  background: #2563eb;
  color: white;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(37,99,235,.25);
}

.pc-app-header button:hover {
  transform: translateY(-2px);
}

.pc-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.pc-stats div {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15,23,42,.07);
}

.pc-stats strong {
  display: block;
  font-size: 38px;
  color: #0f172a;
}

.pc-stats span {
  color: #64748b;
  font-weight: 700;
}

.pc-window {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.pc-window-head {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  background: #f1f5f9;
  font-weight: 800;
}

.pc-window-head b {
  color: #2563eb;
}

.pc-list {
  padding: 12px;
}

.pc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 10px;
  background: #f8fafc;
  font-weight: 700;
}

.pc-row b {
  background: #dbeafe;
  color: #1d4ed8;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.pc-row.new {
  animation: popIn .25s ease;
  background: #eff6ff;
}

.pc-stand {
  width: 120px;
  height: 55px;
  background: #111827;
}

.pc-foot {
  width: 260px;
  height: 24px;
  background: #111827;
  border-radius: 999px;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 800px) {
  .pc-screen {
    border-width: 7px;
    border-radius: 22px;
    min-height: auto;
  }

  .pc-body {
    grid-template-columns: 1fr;
  }

  .pc-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 14px;
  }

  .pc-logo {
    display: none;
  }

  .pc-app {
    padding: 20px;
  }

  .pc-app-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pc-stats {
    grid-template-columns: 1fr;
  }

  .pc-app-header h2 {
    font-size: 26px;
  }
}


.pc-form {
  margin-bottom: 20px;
}

.pc-form.big {
  margin-bottom: 0;
}

.demo-actions button {
  border: 0;
  padding: 13px 18px;
  border-radius: 14px;
  background: #2563eb;
  color: white;
  font-weight: 800;
  cursor: pointer;
  margin-right: 10px;
  box-shadow: 0 12px 28px rgba(37,99,235,.25);
}
