/* ==========================================================================
   UnPas — Computer Systems Design & Integrated Systems
   Light azure theme · single stylesheet for the homepage
   ========================================================================== */

:root {
  --bg: #F6F9FB;
  --bg-soft: #EDF3F8;
  --surface: #FFFFFF;
  --ink: #16222B;
  --ink-soft: #33444F;
  --muted: #51616D;
  --azure: #0284C7;
  --azure-deep: #0369A1;
  --azure-dark: #075985;
  --sky: #E0F2FE;
  --sky-soft: #F0F9FF;
  --line: #D7E4ED;
  --line-strong: #B9D2E4;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 20px rgba(2, 132, 199, 0.10);
  --shadow-lg: 0 18px 44px rgba(2, 132, 199, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--azure);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--azure-dark);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Footstep Navigation (.step-nav)
   ========================================================================== */

.step-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 0 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand .wordmark {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 1.22rem;
  color: var(--ink);
}

/* CSS-drawn footstep mark */
.footstep {
  position: relative;
  width: 34px;
  height: 42px;
  flex-shrink: 0;
}

.footstep .sole-outline {
  position: absolute;
  inset: 0;
  border: 3px solid var(--azure);
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
}

.footstep .heel {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 12px;
  background: var(--azure);
  border-radius: 50%;
}

.footstep .toe {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--azure);
  border-radius: 50%;
  box-shadow: 8px 2px 0 -1px var(--azure), -8px 2px 0 -1px var(--azure);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  border-radius: 9px;
}

.nav-links a:hover {
  color: var(--azure);
  background: var(--sky-soft);
}

.nav-cta {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--azure);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--azure-deep);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: var(--surface);
  color: var(--azure);
  border-color: var(--azure);
}

.btn-ghost:hover {
  background: var(--sky-soft);
  color: var(--azure-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--azure);
  border-radius: 3px;
}

/* ==========================================================================
   Milestone Path Hero (.milestone-hero)
   ========================================================================== */

.milestone-hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% 0%, var(--sky-soft), transparent 60%),
    var(--bg);
  padding: 84px 0 92px;
  overflow: hidden;
}

.milestone-hero .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--sky);
  color: var(--azure-dark);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-copy h1 .accent {
  color: var(--azure);
}

.hero-copy .lede {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-trust .dot {
  width: 10px;
  height: 10px;
  background: var(--azure);
  border-radius: 50%;
}

/* Milestone scene (pure CSS illustration) */
.milestone-scene {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 5 / 4;
  margin: 0 auto;
}

.milestone-scene .glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  height: 82%;
  background: radial-gradient(circle, var(--sky) 0%, rgba(224, 242, 254, 0) 68%);
  border-radius: 50%;
}

.milestone-scene .star {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background: var(--azure);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.milestone-scene .post {
  position: absolute;
  bottom: 24%;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 118px;
  background: linear-gradient(180deg, #dbeafe, #bfdbfe);
  border: 3px solid var(--azure);
  border-radius: 12px 12px 9px 9px;
  box-shadow: var(--shadow-md);
}

.milestone-scene .post::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 34px;
  height: 15px;
  background: var(--azure);
  border-radius: 4px;
}

.milestone-scene .post::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 58px;
  height: 7px;
  background: var(--azure-deep);
  border-radius: 4px;
}

.milestone-scene .path {
  position: absolute;
  bottom: 21%;
  left: 6%;
  right: 46%;
  border-bottom: 5px dashed var(--azure);
  border-radius: 50%;
}

.milestone-scene .footprint {
  position: absolute;
  bottom: 18.5%;
  width: 20px;
  height: 25px;
  background: var(--azure);
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
}

.milestone-scene .footprint.f1 {
  left: 30%;
}

.milestone-scene .footprint.f2 {
  left: 13%;
}

.milestone-scene .ground {
  position: absolute;
  bottom: 16%;
  left: 6%;
  right: 6%;
  height: 8px;
  background: var(--sky);
  border-radius: 999px;
}

/* ==========================================================================
   Statement row
   ========================================================================== */

.statement-row {
  background: var(--azure);
  padding: 60px 0;
}

.statement-row .statement {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  max-width: 960px;
}

.statement-row .statement em {
  font-style: normal;
  color: var(--sky);
}

/* ==========================================================================
   Stat columns
   ========================================================================== */

.stat-section {
  padding: 88px 0;
}

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

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--azure);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}

.stat-card .stat-num {
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--azure);
  letter-spacing: -0.02em;
}

.stat-card .stat-label {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 6px;
}

.stat-card .stat-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ==========================================================================
   Process list
   ========================================================================== */

.process-section {
  background: var(--bg-soft);
  padding: 88px 0;
}

.section-head {
  max-width: 660px;
  margin-bottom: 52px;
}

.section-head .kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.process-list {
  list-style: none;
  counter-reset: step;
  position: relative;
  padding-left: 44px;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--line-strong);
}

.process-list li {
  position: relative;
  padding: 0 0 34px 22px;
}

.process-list li:last-child {
  padding-bottom: 0;
}

.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -44px;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--azure);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--bg-soft);
}

.process-list h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.process-list p {
  color: var(--muted);
  max-width: 640px;
}

/* ==========================================================================
   Tier comparison table
   ========================================================================== */

.tier-section {
  padding: 88px 0;
}

.tier-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.tier-table th,
.tier-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.tier-table thead th {
  background: var(--sky-soft);
  color: var(--ink);
  font-size: 0.98rem;
}

.tier-table thead th .tier-name {
  color: var(--azure);
  font-size: 1.1rem;
}

.tier-table tbody th {
  font-weight: 700;
  color: var(--ink-soft);
  width: 28%;
}

.tier-table tbody td {
  color: var(--muted);
  font-size: 0.95rem;
}

.tier-table tr:last-child td,
.tier-table tr:last-child th {
  border-bottom: none;
}

.tier-table .yes {
  color: var(--azure-deep);
  font-weight: 700;
}

.tier-table .dash {
  color: var(--muted);
}

.tier-highlight {
  background: var(--sky-soft);
}

/* ==========================================================================
   Quote row
   ========================================================================== */

.quote-section {
  background: var(--bg-soft);
  padding: 88px 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.quote-card {
  background: var(--surface);
  border-left: 5px solid var(--azure);
  border-radius: 10px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}

.quote-card .quote-text {
  font-size: 1.06rem;
  color: var(--ink-soft);
  font-style: normal;
  margin-bottom: 18px;
}

.quote-card .quote-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-card .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--azure-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.quote-card .quote-meta strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.quote-card .quote-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   Split CTA band
   ========================================================================== */

.cta-section {
  padding: 88px 0;
}

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.cta-split .cta-main {
  background: var(--azure);
  padding: 56px 48px;
  color: var(--white);
}

.cta-split .cta-main h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 16px;
}

.cta-split .cta-main p {
  color: var(--sky);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 420px;
}

.cta-split .btn-primary {
  background: var(--white);
  color: var(--azure);
  box-shadow: none;
}

.cta-split .btn-primary:hover {
  background: var(--sky);
  color: var(--azure-dark);
}

.cta-split .cta-side {
  background: var(--sky-soft);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.cta-split .cta-side h3 {
  font-size: 1.2rem;
  color: var(--azure-dark);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-line .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--azure);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--surface);
  border-top: 4px solid var(--azure);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--azure-dark);
}

.footer-col p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--azure);
}

.footer-col .brand {
  margin-bottom: 16px;
}

.footer-col .brand .wordmark {
  font-size: 1.05rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--azure);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .milestone-hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .milestone-scene {
    max-width: 440px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .cta-split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
    border-radius: 9px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .step-nav .nav-inner {
    position: relative;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process-list {
    padding-left: 40px;
  }
}
