/* PTC GROUP Portal Teknisi v2.3.0 | UI & Performance Optimization */
:root {
  color-scheme: light;
  --navy: #071a4a;
  --text: #0c285c;
  --muted: #51647f;
  --blue: #086ce9;
  --cyan: #08bdda;
  --line: #a3cef6;
  --shadow: 0 10px 27px rgba(36, 104, 183, .13), 0 2px 7px rgba(32, 122, 208, .05);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--navy);
  background: linear-gradient(132deg, #e7f4ff 0%, #fbfdff 37%, #e8f4ff 74%, #deefff 100%);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #ed802d; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 100; padding: 9px 15px; background: #fff; border-radius: 12px; color: #053b98; font-weight: 750; }
.skip-link:focus { top: 14px; }

/* Decorative layers are inert and cannot block navigation. */
.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.backdrop-aurora {
  position: absolute; inset: -18%;
  background: radial-gradient(ellipse at 0% 8%,rgba(38,144,251,.16), transparent 40%),
              radial-gradient(ellipse at 98% 27%,rgba(58,164,255,.22), transparent 38%),
              radial-gradient(ellipse at 51% 84%,rgba(114,208,250,.15), transparent 45%);
}
.top-swoosh { position:absolute; left:-9%; top:-20%; width:58%; height:34%; border-radius:0 0 88% 0; background:linear-gradient(135deg,#0377f1,#5dcafa 64%,transparent); transform:rotate(-7deg); opacity:.73; }
.top-swoosh::after {content:"";position:absolute;left:9%;right:0;top:73%;height:2px;background:linear-gradient(90deg,transparent,#fff,transparent);transform:rotate(-6deg);box-shadow:0 0 8px #a2f6ff;}
.right-swoosh {position:absolute;right:-17%;top:-12%;width:50%;height:83%;background:linear-gradient(226deg,rgba(74,170,252,.17),transparent 66%);border-radius:50%;transform:rotate(-12deg);}
.bottom-waves {position:absolute;left:0;bottom:-1px;width:100%;height:clamp(100px,19vh,190px);opacity:.67;}

/* Compact desktop canvas: designed for 1366 x 768 at browser zoom 100%. */
.site-shell {
  position: relative; z-index: 1;
  width: min(1030px, calc(100% - 54px));
  min-height: 100vh; min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
}
.site-header {display:flex; justify-content:center; align-items:center; padding: 11px 0 5px;}
.logo {display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;transition:transform .25s ease;}
.logo:hover {transform:translateY(-2px);}
.logo img {width: clamp(157px, 14vw, 199px); max-height:81px; height:auto; object-fit:contain; display:block;}
.logo span {font-size:11px;font-weight:850;letter-spacing:.43em;padding-left:.43em;margin-top:-1px;}
.content {display:flex;flex-direction:column;justify-content:center;gap:clamp(12px,2.1vh,20px);padding: 8px 0 13px;min-width:0;}
.hero {position:relative;display:flex;align-items:center;justify-content:space-between;min-height:clamp(190px,28.4vh,247px);isolation:isolate;}
.hero-copy {position:relative;z-index:2;width: min(72%, 735px);padding:3px 0 0 5px;}
.eyebrow {display:flex;align-items:center;gap:11px;margin:0 0 4px;color:#102f65;font-size:clamp(19px,2.1vw,28px);font-weight:800;letter-spacing:-.04em;}
.brand-streak {flex:none;width:30px;height:17px;background:linear-gradient(120deg,transparent 0 20%,#ff4b27 21% 50%,transparent 51% 57%,#078cfa 58% 85%,transparent 86%);transform:skew(-15deg);}
.hero h1 {margin:0;font-size:clamp(36px,4.2vw,55px);line-height:1.11;letter-spacing:-.055em;font-weight:880;}
.hero-pill {display:inline-flex;align-items:center;vertical-align:9%;padding:6px 13px 8px;margin-left:4px;border-radius:12px;background:linear-gradient(125deg,#0752d9,#087af1 70%,#14bae7);color:#fff;white-space:nowrap;font-size:.58em;font-style:italic;letter-spacing:-.035em;box-shadow:inset 0 1px 2px rgba(255,255,255,.75),0 4px 12px rgba(11,120,240,.24);}
.hero-caption {max-width:640px;margin:13px 0 0;color:#445979;font-size:clamp(13px,1.35vw,17px);line-height:1.48;font-weight:500;}
.hero-accent {margin-top:16px;width:80px;height:5px;border-radius:6px;background:linear-gradient(90deg,#096fe9,#14d3db);box-shadow:0 0 8px rgba(16,191,236,.2);}
.hero-visual {pointer-events:none;position:absolute;z-index:1;right:-4px;top:50%;width:min(40%,390px);height:clamp(194px,31vh,273px);transform:translateY(-50%);isolation:isolate;}
.visual-halo {position:absolute;inset:15% 10% 13% 15%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(105,201,251,.28),transparent 68%);filter:blur(17px);animation:halo-breathe 5s ease-in-out infinite;}
.technician {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center;transform-origin:51% 88%;filter:drop-shadow(0 6px 11px rgba(14,105,197,.08));animation:technician-idle 6.1s cubic-bezier(.4,0,.2,1) infinite;will-change:transform;}
.spark {position:absolute;background:#069afa;border-radius:20px;box-shadow:0 0 9px #47d3ff;animation:spark-idle 3.2s ease-in-out infinite;opacity:.62;}
.spark-one {width:5px;height:16px;left:19%;top:27%;transform:rotate(-27deg);}
.spark-two {width:4px;height:11px;left:13%;top:38%;transform:rotate(22deg);animation-delay:-1.3s;}

.menu-list {width:min(930px,100%);display:grid;gap:13px;margin:0 auto;}
.menu-item {position:relative;display:flex;align-items:center;gap:19px;min-height:88px;padding:12px 22px;overflow:hidden;isolation:isolate;border:1.5px solid rgba(91,168,248,.58);border-bottom-color:rgba(47,140,242,.7);border-radius:20px;background:linear-gradient(115deg,rgba(255,255,255,.95),rgba(246,251,255,.89) 70%,rgba(241,249,255,.93));box-shadow:var(--shadow);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;cursor:pointer;touch-action:manipulation;}
.menu-item::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 28%,rgba(255,255,255,.84) 49%,transparent 70%);transform:translateX(-130%);transition:transform .65s ease;pointer-events:none;}
.menu-item:hover {transform:translateY(-2px);border-color:#1f99fb;box-shadow:0 15px 29px rgba(28,99,185,.18),0 3px 10px rgba(50,135,205,.07);}
.menu-item:hover::before {transform:translateX(130%);}
.menu-item:active {transform:scale(.992);box-shadow:0 6px 15px rgba(25,105,195,.15);}
.menu-icon {display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:15px;background:linear-gradient(136deg,#14b7fa,#0655df);color:#fff;box-shadow:inset 0 1px 2px rgba(255,255,255,.48),0 4px 12px rgba(10,119,230,.16);}
.menu-icon svg {display:block;width:31px;height:31px;}
.item-maintenance .menu-icon {background:linear-gradient(132deg,#11d6c8,#008a9c);}
.menu-text {flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
.menu-text strong {font-size:clamp(22px,2.5vw,28px);font-weight:860;line-height:1.13;letter-spacing:-.045em;}
.menu-text > span {color:#425878;font-weight:480;font-size:clamp(12px,1.3vw,15.5px);line-height:1.34;}
.menu-arrow {width:34px;display:flex;align-items:center;justify-content:center;flex:none;color:#0658be;transition:transform .22s ease;}
.menu-arrow svg {width:27px;height:27px;}
.menu-item:hover .menu-arrow,.menu-item:focus-visible .menu-arrow {transform:translateX(5px);}

.site-footer {display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px;padding:7px 0 max(12px,env(safe-area-inset-bottom));}
.footer-line {height:1px;width:min(560px,78%);background:linear-gradient(90deg,transparent,rgba(74,154,224,.43),transparent);}
.developer {display:flex;align-items:center;gap:12px;color:#233b63;}
.developer>span:first-child {white-space:nowrap;font-size:13px;font-weight:520;}
.footer-divider {width:1px;height:27px;background:#75b1ec;}
.developer img {display:block;width:141px;max-height:47px;height:auto;object-fit:contain;}
.offline-message {position:fixed;z-index:300;bottom:max(20px,env(safe-area-inset-bottom));left:50%;width:max-content;max-width:calc(100% - 32px);transform:translateX(-50%);background:#071d46;color:#fff;padding:11px 17px;border-radius:12px;box-shadow:0 12px 28px rgba(11,31,70,.24);font-size:13px;line-height:1.4;text-align:center;}
.entrance {animation:enter .6s both;}.entrance-delay-1 {animation-delay:.08s}.entrance-delay-2 {animation-delay:.16s}.entrance-delay-3 {animation-delay:.23s}
@keyframes enter {from{opacity:0;transform:translateY(11px)}to{opacity:1;transform:translateY(0)}}
@keyframes technician-idle {0%,100%{transform:translate3d(0,2px,0) rotate(-.6deg)}22%{transform:translate3d(1px,-3px,0) rotate(.2deg)}43%{transform:translate3d(0,-8px,0) rotate(.75deg)}64%{transform:translate3d(-1px,-5px,0) rotate(0)}82%{transform:translate3d(0,0,0) rotate(-.45deg)}}
@keyframes halo-breathe {0%,100%{opacity:.57;transform:scale(.97)}50%{opacity:.92;transform:scale(1.06)}}
@keyframes spark-idle {0%,100%{opacity:.23;scale:.8}40%{opacity:.96;scale:1.14}70%{opacity:.52;scale:1}}

/* Shorter monitors get a tighter layout; never clip usable content. */
@media (min-width: 801px) and (max-height: 780px) {
  .site-header {padding:5px 0 2px;}
  .logo img {width:172px;max-height:68px;}
  .logo span {font-size:10px;}
  .content {gap:12px;padding:3px 0 5px;}
  .hero {min-height:190px;}
  .hero h1 {font-size:clamp(35px,3.9vw,49px);}
  .hero-visual {height:224px;}
  .hero-caption {margin-top:9px;font-size:14px;}
  .hero-accent {margin-top:11px;}
  .menu-list {gap:10px;}
  .menu-item {min-height:78px;padding:9px 18px;}
  .menu-icon {width:49px;height:49px;border-radius:13px;}
  .menu-icon svg {width:28px;height:28px;}
  .menu-text strong {font-size:24px;}
  .site-footer {gap:4px;padding:4px 0 8px;}
  .developer img {width:127px;}
}
@media (min-width:801px) and (max-height:600px) {
  .logo img {width:145px;max-height:58px;}
  .logo span {font-size:9px;}
  .hero {min-height:154px;}
  .hero-visual {height:180px;}
  .hero h1 {font-size:36px;}
  .eyebrow {font-size:19px;}
  .hero-caption {font-size:12px;margin-top:6px;}
  .menu-item {min-height:66px;padding:7px 15px;}
  .menu-icon {width:42px;height:42px;}
  .menu-icon svg {width:24px;height:24px;}
  .menu-text strong {font-size:21px;}
  .menu-text > span {font-size:12px;}
  .site-footer {padding-bottom:4px;}
}
@media (max-width:800px) {
  .site-shell {width:min(660px,calc(100% - 36px));}
  .site-header {padding:17px 0 4px;}
  .logo img {width:190px;}
  .content {gap:17px;}
  .hero {min-height:240px;}
  .hero-copy {width:70%;}
  .hero-visual {width:43%;height:244px;right:-22px;}
  .hero h1 {font-size:clamp(32px,5.3vw,43px);}
  .hero-pill {font-size:.59em;}
  .eyebrow {font-size:clamp(20px,3.2vw,24px);}
  .hero-caption {font-size:14px;}
  .menu-item {min-height:89px;padding:12px 17px;}
}
@media (max-width:520px) {
  .site-shell {width:calc(100% - 28px);}
  .site-header {padding:13px 0 1px;}
  .logo img {width:164px;}
  .logo span {font-size:10px;}
  .content {gap:14px;padding:8px 0 6px;}
  .hero {min-height:215px;}
  .hero-copy {width:61%;padding:0;}
  .eyebrow {gap:6px;font-size:clamp(15px,4vw,19px);}
  .brand-streak {width:22px;height:12px;}
  .hero h1 {font-size:clamp(27px,7.25vw,35px);line-height:1.09;}
  .hero-pill {display:table;width:max-content;margin:6px 0 0;font-size:.57em;padding:5px 9px 6px;border-radius:9px;}
  .hero-caption {max-width:245px;font-size:clamp(11px,2.98vw,13px);line-height:1.46;margin-top:9px;}
  .hero-accent {width:55px;height:4px;margin-top:11px;}
  .hero-visual {width:43%;height:205px;right:0;top:53%;}

  .spark {display:none;}
  .menu-list {gap:10px;}
  .menu-item {gap:12px;min-height:79px;padding:11px 12px;border-radius:17px;}
  .menu-icon {width:46px;height:46px;border-radius:13px;}
  .menu-icon svg {width:25px;height:25px;}
  .menu-text strong {font-size:21px;}
  .menu-text > span {font-size:12px;}
  .menu-arrow {width:22px;}
  .menu-arrow svg {width:22px;height:22px;}
  .site-footer {gap:7px;padding:15px 0 max(13px,env(safe-area-inset-bottom));}
  .developer {gap:9px;}
  .developer>span:first-child {font-size:11px;}
  .footer-divider {height:22px;}
  .developer img {width:122px;}
  .bottom-waves {height:165px;opacity:.53;}
}
@media (max-width:360px) {
  .site-shell {width:calc(100% - 22px);}
  .logo img {width:145px;}
  .hero {min-height:198px;}
  .hero-copy {width:61%;}
  .hero h1 {font-size:clamp(25px,7.5vw,29px);}
  .hero-caption {font-size:11px;}
  .hero-visual {height:180px;width:41%;right:0;}
  .menu-item {padding:9px;gap:10px;min-height:75px;}
  .menu-icon {width:42px;height:42px;}
  .menu-text strong {font-size:19px;}
  .menu-text > span {font-size:11px;}
  .menu-arrow {width:18px;}
  .developer img {width:112px;}
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {animation-duration:.01ms !important;animation-iteration-count:1 !important;scroll-behavior:auto !important;transition-duration:.01ms !important;}
  .technician {will-change:auto;}
}

/* Minimal branded splash only when installed as a PWA. */
.pwa-splash {position:fixed;z-index:999;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;background:linear-gradient(155deg,#fff,#e8f6ff 72%,#d3efff);transition:opacity .23s ease,visibility .23s ease;}
.pwa-splash.is-closing {opacity:0;visibility:hidden;pointer-events:none;}
.pwa-splash-ptc {width:190px;height:auto;object-fit:contain;}
.pwa-splash-group {font-size:14px;font-weight:880;letter-spacing:.44em;padding-left:.44em;}
.pwa-splash-title {margin:21px 0 0;font-size:21px;font-weight:800;}
.pwa-splash-credit {position:absolute;bottom:max(28px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:5px;color:#496079;font-size:12px;}
.pwa-splash-credit img {width:138px;height:auto;}
