/* ============ ClockedIn showcase ============
   Palette from the brand mark:
   indigo  #4657a6   navy  #2b388f
   text    #0f172a   grey  #6b7280
*/

:root {
  --brand: #4657a6;
  --brand-dark: #2b388f;
  --brand-tint: #eef0f9;
  --ink: #0f172a;
  --grey: #6b7280;
  --surface: #ffffff;
  --surface-muted: #f7f8fa;
  --border: #e5e7eb;
  --radius: 16px;
  --shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-phone: 0 24px 60px rgba(43, 56, 143, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(70, 87, 166, 0.35);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  color: var(--brand-dark);
  border: 1.5px solid var(--border);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--brand); }
.btn-white {
  background: #fff;
  color: var(--brand-dark);
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo em { color: var(--brand); font-style: normal; }
.logo img { display: block; }

/* ============ Hero ============ */
.hero {
  text-align: center;
  padding: 88px 0 0;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--brand-tint) 0%, rgba(238, 240, 249, 0) 100%);
  overflow: hidden;
}
.pill {
  display: inline-block;
  background: var(--brand-tint);
  color: var(--brand-dark);
  border: 1px solid #d8dcf0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h1 .accent { color: var(--brand); }
.lede {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 1.15rem;
  color: var(--grey);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============ Phone frames (real screenshots) ============ */
.phone {
  position: relative;
  background: var(--ink);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
}
/* Dynamic-island pill — sits in the status-bar area baked into the screenshots */
.phone::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink);
}
.phone-side::after { top: 17px; width: 74px; height: 19px; }
.phone-mini::after { top: 16px; width: 64px; height: 16px; }
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}
.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-top: 64px;
  padding-bottom: 80px;
}
.phone-main { width: 300px; z-index: 3; }
.phone-side { width: 250px; margin-top: 56px; }
.phone-left { transform: rotate(-4deg); }
.phone-right { transform: rotate(4deg); }

/* ============ Trust strip ============ */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
  padding: 18px 0;
}
.strip-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section-muted { background: var(--surface-muted); }
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 56px;
}

/* steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  text-align: center;
  padding: 0 12px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--grey); font-size: 0.95rem; }

/* screens gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}
.shot { text-align: center; }
.phone-mini { width: 230px; margin: 0 auto; border-radius: 36px; }
.phone-mini .phone-screen { border-radius: 28px; }
.shot figcaption {
  margin-top: 18px;
  color: var(--grey);
  font-size: 0.92rem;
  font-weight: 600;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

/* feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.card-icon { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.card p { color: var(--grey); font-size: 0.92rem; }

/* ============ CTA ============ */
.cta {
  padding: 40px 24px 96px;
}
.cta .container {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  border-radius: 28px;
  text-align: center;
  color: #fff;
  padding: 72px 24px;
  box-shadow: 0 24px 60px rgba(43, 56, 143, 0.35);
}
.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}
.cta p { margin: 12px 0 28px; opacity: 0.85; }

/* ============ Footer ============ */
.footer { padding: 0 0 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--grey);
  font-size: 0.85rem;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .phone-side { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .showcase { margin-top: 48px; }
  .strip-inner { gap: 16px; font-size: 0.8rem; }
}
