/* Purva Engineering Works digital card. Colours from the website's own tokens: deep navy and teal. */
:root {
  --navy-900: #0B192C;
  --navy-700: #112441;
  --navy-500: #1B3A6B;
  --teal: #00D4C8;
  --teal-light: #80FFF9;
  --ink: #EAF2FF;
  --muted: #9FB2D4;
  --line: rgba(159, 178, 212, .22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  background: var(--navy-900);
  color: var(--ink);
  font: 15px/1.5 "Plus Jakarta Sans", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}
a { color: inherit; }

.card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, var(--navy-500) 0%, var(--navy-900) 360px);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.card::before { /* faint concentric arcs */
  content: "";
  position: absolute;
  right: -180px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 212, 200, .18), 0 0 0 50px var(--navy-500), 0 0 0 51px rgba(0, 212, 200, .14), 0 0 0 100px var(--navy-500), 0 0 0 101px rgba(0, 212, 200, .10);
  pointer-events: none;
}

.hero { padding: 40px 24px 24px; position: relative; text-align: center; }

/* Logo shows first, then turns into the photo, and the photo stays.
   The photo is the default state, so it still shows if animations never run. */
.mark { width: 124px; height: 124px; margin: 0 auto 16px; position: relative; }
.mark .photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid rgba(0, 212, 200, .6); animation: photo-in .7s ease 1.2s backwards; }
.mark .logo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; background: #fff; padding: 14px; opacity: 0; animation: logo-out .6s ease 1.2s backwards; }
.mark .badge { position: absolute; right: -4px; bottom: -4px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); padding: 3px; animation: photo-in .5s ease 1.7s backwards; }
@keyframes logo-out { from { opacity: 1; } to { opacity: 0; transform: rotateY(90deg) scale(.8); } }
@keyframes photo-in { from { opacity: 0; transform: scale(.85); } }
@media (prefers-reduced-motion: reduce) {
  .mark .logo, .mark .photo, .mark .badge { animation: none; }
}

h1 { font: 800 28px/1.15 "Plus Jakarta Sans", sans-serif; letter-spacing: -.3px; }
.role { color: var(--teal); font-weight: 600; margin-top: 4px; }
.tag { color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; }
.pitch { margin: 18px auto 0; max-width: 340px; color: #c3d2ea; }

.actions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0 20px; position: relative; }
.actions a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-size: 12px; }
.actions span.ic { width: 50px; height: 50px; border-radius: 16px; background: var(--navy-700); border: 1px solid var(--line); display: grid; place-items: center; }
.actions a:active span.ic { transform: scale(.94); }
svg.i { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cta { padding: 22px 20px 6px; display: grid; gap: 10px; position: relative; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 14px; font: 600 15px "Plus Jakarta Sans", sans-serif; text-decoration: none; border: 0; cursor: pointer; width: 100%; }
.btn-primary { background: var(--teal); color: #03231f; }
.btn-wa { background: #25d366; color: #06210f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.small { min-height: 44px; width: auto; padding: 0 22px; margin: 16px auto 0; font-size: 14px; }
.btn svg { width: 20px; height: 20px; }

section { padding: 24px 20px 0; position: relative; }
h2 { font: 700 12px "Plus Jakarta Sans", sans-serif; letter-spacing: 1.8px; text-transform: uppercase; color: var(--teal-light); margin-bottom: 12px; }
.list { list-style: none; display: grid; gap: 8px; }
.list li { background: var(--navy-700); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.list b { display: block; font-weight: 600; }
.list small { color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--navy-700); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: #d5e2f5; }
.info { list-style: none; color: #c3d2ea; display: grid; gap: 10px; font-size: 14px; }
.info li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.info svg.i { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.info a.plain { text-decoration: none; color: #c3d2ea; }

.qr { text-align: center; }
#qr { display: inline-block; background: #fff; padding: 12px; border-radius: 14px; }
#qr img, #qr canvas { display: block; width: 160px; height: 160px; }

footer { text-align: center; color: var(--muted); font-size: 12px; padding: 28px 20px 36px; position: relative; }
footer a { color: var(--teal); text-decoration: none; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.products img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* Hover and keyboard-focus highlight on every button */
.actions a, .btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; }
.actions span.ic { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; }
@media (hover: hover) {
  .actions a:hover span.ic { background: var(--navy-500); border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 212, 200, .25); transform: translateY(-2px); }
  .actions a:hover { color: var(--teal-light); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 212, 200, .3); }
  .btn-primary:hover { background: var(--teal-light); }
  .btn-wa:hover { background: #3be67f; }
  .btn-ghost:hover { border-color: var(--teal); background: rgba(0, 212, 200, .1); }
  footer a:hover { text-decoration: underline; }
}
.actions a:focus-visible, .btn:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; }