/* ==========================================================================
   Pocket Guide — Custom Styles
   ========================================================================== */

* {
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 90px;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #2563EB;
  color: #fff;
}

/* ---------- Header ---------- */
#site-header {
  background: transparent;
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}
.nav-link:hover {
  color: #111827;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #2563EB;
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link.active {
  color: #111827;
}
.nav-link.active::after {
  width: 100%;
}

.mobile-link {
  padding: 12px 4px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.mobile-link.active {
  color: #2563EB;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563EB;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.5);
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  color: #111827;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.4);
  color: #2563EB;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 12px;
  color: rgba(17, 24, 39, 0.55);
  transition: color 0.25s ease;
}
.btn-ghost:hover {
  color: #111827;
}

/* ---------- Section titles ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 16px;
}
.section-title {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}
@media (min-width: 768px) {
  .section-title { font-size: 40px; }
}

/* ---------- Hero ---------- */
.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(59, 130, 246, 0.04) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.phone-blob {
  position: absolute;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), rgba(59, 130, 246, 0.05) 60%, transparent 75%);
  border-radius: 50%;
  filter: blur(10px);
}

.phone-frame {
  position: relative;
  width: 305px;
  height: 625px;
  background: #111827;
  border-radius: 48px;
  padding: 15px;
  box-shadow: 0 44px 90px -20px rgba(17, 24, 39, 0.38), 0 0 0 1px rgba(17,24,39,0.05);
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 124px;
  height: 26px;
  background: #111827;
  border-radius: 0 0 18px 18px;
  z-index: 5;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}
.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.phone-ui-top {
  position: absolute;
  top: 46px;
  left: 20px;
  right: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.phone-ui-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.25);
}

/* ---------- Phone app screen (Hero) ---------- */
.phone-screen-app {
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  padding: 40px 16px 14px;
}
.app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.app-greeting {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}
.app-date {
  font-size: 10.5px;
  color: rgba(17, 24, 39, 0.45);
  font-weight: 500;
}
.app-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.35);
  margin-bottom: 8px;
}
.schedule-card {
  position: relative;
  width: 100%;
  height: 132px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px -10px rgba(17, 24, 39, 0.25);
}
.schedule-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.schedule-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,24,39,0.82) 0%, rgba(17,24,39,0.15) 55%, transparent 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 14px;
}
.schedule-time {
  display: inline-block;
  width: fit-content;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(37, 99, 235, 0.85);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.schedule-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.notif-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 11px 12px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px -10px rgba(17, 24, 39, 0.18);
  border: 1px solid rgba(17,24,39,0.05);
}
.notif-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notif-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #111827;
}
.notif-desc {
  font-size: 10.5px;
  color: rgba(17, 24, 39, 0.45);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-new {
  font-size: 8.5px;
  font-weight: 800;
  color: #2563EB;
  background: rgba(37, 99, 235, 0.1);
  padding: 3px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}
.notif-card-highlight {
  border-color: rgba(37, 99, 235, 0.35);
  animation: notifPulse 2.4s ease-in-out infinite;
}
@keyframes notifPulse {
  0%, 100% { box-shadow: 0 6px 18px -10px rgba(17, 24, 39, 0.18), 0 0 0 0 rgba(37, 99, 235, 0.25); }
  50% { box-shadow: 0 6px 18px -10px rgba(17, 24, 39, 0.18), 0 0 0 6px rgba(37, 99, 235, 0); }
}
.app-stat-row {
  display: flex;
  gap: 8px;
  margin-bottom: auto;
}
.app-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.06);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.6);
}
.phone-tabbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 18px;
  padding: 10px 6px;
  margin-top: 14px;
  box-shadow: 0 -2px 12px -6px rgba(17,24,39,0.08);
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.35);
}
.tab-active {
  color: #2563EB;
}

/* ---------- Communication flow: 여행 리더 → 여행객 → 운영 현황 ---------- */
.connector-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: none;
}

.flow-card {
  position: static;
  display: block;
  width: 100%;
  max-width: 305px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 16px 34px -18px rgba(17, 24, 39, 0.2);
  z-index: 3;
}
.flow-card-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.4);
  margin-bottom: 11px;
}
.flow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.flow-dot-blue { background: #2563EB; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); }
.flow-dot-green { background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16); }
.flow-dot-amber { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16); }

.flow-card-msg {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 4px;
}
.flow-card-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.45);
  margin-bottom: 12px;
}
.flow-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: #2563EB;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 9px 0;
  border-radius: 10px;
  margin-bottom: 11px;
}
.flow-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.55);
  padding-top: 11px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}
.flow-status-center { justify-content: center; }

.flow-card-ops { text-align: center; }

.ops-ring {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 6px auto 12px;
  background: conic-gradient(#2563EB calc(360deg * 11 / 12), rgba(37, 99, 235, 0.14) 0deg);
}
.ops-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: #fff;
  border-radius: 50%;
}
.ops-ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ops-ring-num {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}
.ops-ring-label {
  font-size: 7.5px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.45);
  margin-top: 3px;
}

.flow-footer {
  text-align: center;
  margin-top: 4px;
}
.flow-footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(17, 24, 39, 0.28);
  margin-bottom: 9px;
}
.flow-footer-sep {
  font-size: 10px;
  color: rgba(17, 24, 39, 0.2);
}
.flow-footer-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.45);
  letter-spacing: 0.01em;
}
.flow-footer-sub {
  font-size: 11px;
  color: rgba(17, 24, 39, 0.32);
  margin-top: 3px;
}

@media (min-width: 1024px) {
  .connector-line {
    display: block;
  }
  .flow-card {
    position: absolute;
    width: 196px;
    max-width: none;
    margin: 0;
  }
  .flow-card-leader { top: 1%; left: -9%; }
  .flow-card-traveler { bottom: 2%; left: -9%; }
  .flow-card-ops { top: 36%; right: -11%; width: 178px; }
  .flow-footer {
    margin-top: 22px;
  }
}

@media (max-width: 1023px) {
  .phone-frame { width: 230px; height: 470px; }
}
@media (max-width: 480px) {
  .phone-frame { width: 200px; height: 410px; }
}

/* ---------- Float animations ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-anim { animation: floatY 5s ease-in-out infinite; }
.float-anim-slow { animation: floatY 6.5s ease-in-out infinite; animation-delay: .4s; }
.float-anim-slower { animation: floatY 7.5s ease-in-out infinite; animation-delay: .8s; }

/* ---------- Problem cards ---------- */
.legacy-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: rgba(17, 24, 39, 0.5);
  font-weight: 500;
  transition: all 0.3s ease;
}
.legacy-card:hover {
  border-color: rgba(17, 24, 39, 0.12);
}

.pg-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: #111827;
  box-shadow: 0 10px 30px -14px rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.pg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -14px rgba(37, 99, 235, 0.28);
  border-color: rgba(37, 99, 235, 0.2);
}

/* ---------- Feature cards ---------- */
.feature-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(17, 24, 39, 0.18);
  border-color: rgba(37, 99, 235, 0.15);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(17, 24, 39, 0.55);
  margin-bottom: 24px;
}
.feature-mock {
  background: #F8FAFC;
  border-radius: 14px;
  padding: 16px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.mock-row { display: flex; align-items: center; gap: 8px; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-line { height: 6px; border-radius: 4px; background: rgba(17, 24, 39, 0.1); }
.map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37,99,235,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}
.map-pin-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}
.chat-bubble-left, .chat-bubble-right {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 75%;
}
.chat-bubble-left { background: #fff; color: #111827; border-bottom-left-radius: 3px; }
.chat-bubble-right { background: #2563EB; color: #fff; margin-left: auto; border-bottom-right-radius: 3px; }
.photo-tile {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(59,130,246,0.08));
}

/* ---------- Why section ---------- */
.why-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}
.stat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}
.stat-number {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .stat-number { font-size: 52px; }
}
.stat-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ---------- Tech cards ---------- */
.tech-card {
  background: #F8FAFC;
  border: 1px solid rgba(17, 24, 39, 0.05);
  border-radius: 22px;
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tech-card:hover {
  background: #fff;
  box-shadow: 0 20px 40px -18px rgba(17, 24, 39, 0.15);
  transform: translateY(-4px);
}
.tech-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0 8px;
}
.tech-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(17, 24, 39, 0.5);
}

/* ---------- Portfolio ---------- */
.portfolio-card {
  position: relative;
  display: block;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 50px -20px rgba(17, 24, 39, 0.2);
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover img {
  transform: scale(1.07);
}
.portfolio-card:hover .portfolio-mock,
.portfolio-card:hover .admin-mock,
.portfolio-card:hover .guide-mock {
  transform: scale(1.04);
}

/* Custom home-screen mockup (Pocket Guide app clearly installed) */
.portfolio-mock {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 25% 15%, rgba(37, 99, 235, 0.35), transparent 45%),
    linear-gradient(160deg, #1a2030 0%, #10131c 65%, #0b0d13 100%);
  padding: 22px 22px 108px;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mock-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
}
.mock-statusbar-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
}
.mock-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 10px;
  margin-bottom: 18px;
}
.mock-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.mock-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
}
.mock-app-label {
  font-size: 8.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
}
.mock-dock {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 12px 10px 10px;
  margin-top: 16px;
}
.mock-dock .mock-app-icon {
  width: 40px;
  height: 40px;
}
.mock-app-pg {
  position: relative;
  transform: translateY(-10px);
}
.mock-app-icon-pg {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(150deg, #3B82F6, #2563EB);
  color: #fff;
  box-shadow: 0 12px 26px -6px rgba(37, 99, 235, 0.65), 0 0 0 3px rgba(255, 255, 255, 0.18);
}
.mock-app-label-pg {
  color: #fff;
  font-weight: 700;
  font-size: 9px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .portfolio-mock { padding: 16px 16px 84px; }
  .mock-statusbar { margin-bottom: 14px; font-size: 10.5px; }
  .mock-app-grid { gap: 10px 6px; margin-bottom: 12px; }
  .mock-app-icon { width: 34px; height: 34px; border-radius: 10px; }
  .mock-app-label { font-size: 7.5px; }
  .mock-dock { padding: 9px 8px 8px; border-radius: 18px; margin-top: 10px; }
  .mock-dock .mock-app-icon { width: 32px; height: 32px; }
  .mock-app-icon-pg { width: 44px; height: 44px; border-radius: 13px; }
  .mock-app-label-pg { font-size: 8px; }
}

/* Admin system mockup (cards 02 dashboard + 04 analytics — same shell) */
.admin-mock {
  width: 100%;
  height: 100%;
  display: flex;
  background: #fff;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-sidebar {
  width: 96px;
  flex-shrink: 0;
  background: #12172B;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-sidebar-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 10px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  padding: 7px 8px;
  border-radius: 8px;
}
.admin-nav-active {
  background: #2563EB;
  color: #fff;
}
.admin-content {
  flex: 1;
  min-width: 0;
  background: #F8FAFC;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}
.admin-header h4 {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 3px;
}
.admin-header p {
  font-size: 9.5px;
  color: rgba(17, 24, 39, 0.45);
  margin-bottom: 14px;
}
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.admin-stat {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-stat-label {
  font-size: 7.5px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.4);
}
.admin-stat-num {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}
.admin-panel {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  flex: 1;
}
.admin-panel-title {
  font-size: 10px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 9px;
}
.admin-table {
  display: flex;
  flex-direction: column;
}
.admin-table-head, .admin-table-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.7fr;
  gap: 6px;
  padding: 6px 0;
  font-size: 9px;
}
.admin-table-head {
  color: rgba(17, 24, 39, 0.35);
  font-weight: 700;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.admin-table-row {
  color: rgba(17, 24, 39, 0.6);
  font-weight: 500;
  border-bottom: 1px solid rgba(17, 24, 39, 0.04);
}
.admin-dday {
  color: #2563EB;
  font-weight: 700;
}
.admin-charts-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
  flex: 1;
}
.admin-chart-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}
.admin-chart-card-center {
  align-items: center;
}
.admin-chart-title {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.admin-linechart {
  flex: 1;
  display: flex;
  align-items: center;
}
.admin-linechart svg {
  width: 100%;
  height: auto;
}
.admin-donut {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: auto;
}
.admin-donut-hole {
  position: absolute;
  inset: 11px;
  background: #fff;
  border-radius: 50%;
}

/* Guide app participant-list mockup (card 03) */
.guide-mock {
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: #2563EB;
  margin-bottom: 14px;
}
.guide-header-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}
.guide-header-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guide-filter-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.guide-filter {
  font-size: 9px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  background: #F1F5F9;
  color: rgba(17, 24, 39, 0.5);
}
.guide-filter-active {
  background: #2563EB;
  color: #fff;
}
.guide-list-label {
  font-size: 11px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}
.guide-participant-card {
  background: #F8FAFC;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 14px;
  padding: 14px;
}
.guide-participant-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.guide-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guide-participant-info {
  flex: 1;
  min-width: 0;
}
.guide-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #111827;
}
.guide-meta {
  font-size: 9.5px;
  color: rgba(17, 24, 39, 0.45);
  font-weight: 600;
}
.guide-badge-health {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8.5px;
  font-weight: 700;
  color: #DC2626;
  background: rgba(220, 38, 38, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.guide-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.guide-action-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.guide-action-call { background: #22C55E; }
.guide-action-msg { background: #2563EB; }
.guide-info-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}
.guide-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
}
.guide-info-row span:first-child {
  color: rgba(17, 24, 39, 0.4);
  font-weight: 600;
}
.guide-info-row span:last-child {
  color: #111827;
  font-weight: 700;
}

@media (max-width: 640px) {
  .admin-sidebar { width: 78px; padding: 16px 9px; }
  .admin-sidebar-label { font-size: 7px; margin-bottom: 8px; }
  .admin-nav-item { font-size: 8.5px; padding: 6px 6px; gap: 5px; }
  .admin-content { padding: 16px 16px; }
  .admin-header h4 { font-size: 13px; }
  .admin-header p { font-size: 8.5px; margin-bottom: 11px; }
  .admin-stats-row { gap: 6px; margin-bottom: 11px; }
  .admin-stat { padding: 7px 8px; }
  .admin-stat-label { font-size: 6.8px; }
  .admin-stat-num { font-size: 12px; }
  .admin-panel { padding: 10px 11px; }
  .admin-table-head, .admin-table-row { font-size: 8px; }
  .admin-charts-row { gap: 8px; }
  .admin-chart-card { padding: 10px 11px; }
  .admin-donut { width: 52px; height: 52px; }

  .guide-mock { padding: 14px 14px 12px; }
  .guide-header { font-size: 12px; margin-bottom: 11px; }
  .guide-filter { font-size: 8px; padding: 5px 9px; }
  .guide-list-label { font-size: 10px; margin-bottom: 8px; }
  .guide-participant-card { padding: 11px; }
  .guide-name { font-size: 11.5px; }
  .guide-meta { font-size: 8.5px; }
  .guide-info-row { font-size: 8.5px; }
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,24,39,0.85) 0%, rgba(17,24,39,0.25) 45%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.portfolio-tag {
  display: inline-block;
  width: fit-content;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.portfolio-overlay h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.portfolio-overlay p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Our Project (3 business areas) ---------- */
.next-glow {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.op-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.op-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}
.op-card-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}
.op-index {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}
.op-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.op-category-blue { color: #3B82F6; }
.op-category-sky { color: #7DB4F5; }
.op-category-gold { color: #E8CE8F; }
.op-title {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.op-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
  flex: 1;
}
.op-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid;
}
.op-tag-blue {
  color: #93C5FD;
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
}
.op-tag-sky {
  color: #BFDBFE;
  background: rgba(125, 180, 245, 0.08);
  border-color: rgba(125, 180, 245, 0.2);
}
.op-tag-gold {
  color: #E8CE8F;
  background: rgba(232, 206, 143, 0.1);
  border-color: rgba(232, 206, 143, 0.25);
}

/* ---------- Company / Vision / Timeline ---------- */
.vision-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: #F8FAFC;
  border-radius: 18px;
}
.vision-item i { flex-shrink: 0; margin-top: 2px; }
.vision-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.vision-item p { font-size: 13.5px; color: rgba(17, 24, 39, 0.5); line-height: 1.55; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(17, 24, 39, 0.1);
  z-index: 0;
}
.timeline-item {
  position: relative;
  z-index: 1;
  padding-top: 30px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2563EB;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.3);
}
.timeline-year {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.timeline-text {
  font-size: 13.5px;
  color: rgba(17, 24, 39, 0.55);
  line-height: 1.6;
}
@media (max-width: 767px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { top: 0; bottom: 0; left: 6px; width: 1px; height: auto; right: auto; }
  .timeline-item { padding-top: 0; padding-left: 26px; }
  .timeline-item::before { top: 6px; left: 0; }
}

/* ---------- Contact ---------- */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: #111827;
  border: 1px solid rgba(17,24,39,0.06);
  transition: all 0.25s ease;
}
a.contact-info-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateX(4px);
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: rgba(17,24,39,0.6); }
.form-group input, .form-group textarea {
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: #111827;
  transition: all 0.25s ease;
  resize: none;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(17, 24, 39, 0.3);
}

/* ---------- Footer ---------- */
.footer-link {
  display: block;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}
.footer-link:hover {
  color: #fff;
}
.footer-operated {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.footer-operated-label {
  color: rgba(255, 255, 255, 0.32);
}
.footer-operated-icon {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  flex-shrink: 0;
  opacity: 0.9;
}
.footer-operated-brand {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* ---------- Scroll reveal ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within a grid slightly */
.grid .reveal-up:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal-up:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal-up:nth-child(4) { transition-delay: 0.24s; }
.grid .reveal-up:nth-child(5) { transition-delay: 0.32s; }
.grid .reveal-up:nth-child(6) { transition-delay: 0.4s; }
.grid .reveal-up:nth-child(7) { transition-delay: 0.48s; }
.grid .reveal-up:nth-child(8) { transition-delay: 0.56s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal-up { opacity: 1; transform: none; }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}
