/* main.css — landing page only. */

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 100px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFA 100%);
  text-align: center;
}
.hero-tag {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-primary-dark);
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--c-text);
  margin-bottom: 32px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .accent { color: var(--c-primary); }

.hero p {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--c-text-soft);
  max-width: 760px;
  margin: 0 auto 18px;
}
.hero p.first-line {
  font-size: var(--fs-xl);
  color: var(--c-text);
  font-weight: 500;
}

.hero .cta {
  margin-top: 42px;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Disclaimer — visually separated from CTA. */
.hero-disclaimer {
  margin-top: 3rem;
  font-size: var(--fs-xs);
  color: var(--c-text-mute);
  letter-spacing: 0.02em;
}

/* ---------- Generic sections ---------- */
.section {
  padding: 90px 0;
}
.section-soft { background: var(--c-bg-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: var(--fs-3xl);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  font-weight: 700;
}
.section-head p { color: var(--c-text-soft); font-size: var(--fs-lg); }

/* ---------- About (single-column stack) ---------- */
.about-stack {
  max-width: 760px;
  margin: 0 auto;
}
.about-stack p {
  font-size: var(--fs-lg);
  color: var(--c-text-soft);
  line-height: 1.7;
}
.about-stack p + p { margin-top: 22px; }

/* ---------- Roadmap (5-stage horizontal timeline) ---------- */
.roadmap {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
  padding: 24px 0 0;
}
/* Track line behind the cards */
.roadmap::before {
  content: "";
  position: absolute;
  top: 38px;             /* aligns with center of 28px icon (24px pad + 14px) */
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--c-primary) 0%,
    var(--c-primary) 22%,
    var(--c-primary-light) 22%,
    var(--c-primary-light) 40%,
    #D1D5DB 40%,
    #D1D5DB 100%
  );
  z-index: 0;
}
.rm-stage {
  position: relative;
  z-index: 1;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  min-width: 0;
}
.rm-stage.rm-live:hover,
.rm-stage.rm-dev:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary);
  box-shadow: var(--shadow);
}
.rm-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
/* Live: filled teal circle, white check */
.rm-live .rm-icon {
  background: var(--c-primary);
  color: #FFFFFF;
}
/* In dev: light teal background, pulsing dot */
.rm-dev .rm-icon {
  background: #CCFBF1;
}
.rm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 0 rgba(13,148,136,0.55);
  animation: rmPulse 1.8s ease-out infinite;
}
@keyframes rmPulse {
  0%   { box-shadow: 0 0 0 0   rgba(13,148,136,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(13,148,136,0); }
  100% { box-shadow: 0 0 0 0   rgba(13,148,136,0); }
}
/* Planned: gray ring */
.rm-planned .rm-icon {
  background: var(--c-bg);
  border: 1px solid #D1D5DB;
}
.rm-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #9CA3AF;
}

.rm-name {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--c-text);
  margin-top: 4px;
}
.rm-sub {
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
  line-height: 1.4;
  min-height: 2.6em;
}
.rm-status {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: 4px;
}
.rm-live    .rm-status { background: rgba(13,148,136,0.10); color: var(--c-primary-dark); }
.rm-dev     .rm-status { background: rgba(13,148,136,0.10); color: var(--c-primary-dark); }
.rm-planned .rm-status { background: var(--c-bg-mute);      color: var(--c-text-mute); }

@media (max-width: 768px) {
  .roadmap {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-left: 28px;
    padding-top: 8px;
  }
  /* Vertical track line on the left */
  .roadmap::before {
    top: 12px;
    bottom: 12px;
    left: 12px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(
      to bottom,
      var(--c-primary) 0%,
      var(--c-primary) 18%,
      var(--c-primary-light) 18%,
      var(--c-primary-light) 36%,
      #D1D5DB 36%,
      #D1D5DB 100%
    );
  }
  .rm-stage {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }
  .rm-icon { position: absolute; left: -32px; top: 14px; }
  .rm-name { margin-top: 0; flex: 1 1 100%; }
  .rm-sub  { flex: 1 1 100%; min-height: 0; }
  .rm-status { margin-top: 0; }
}

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cap {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cap:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cap .ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #CCFBF1;
  color: var(--c-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 22px;
}
.cap h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
}
.cap p { color: var(--c-text-soft); line-height: 1.5; font-size: var(--fs-base); }

/* ---------- PFI Engine extended ---------- */
.pfi-intro {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: var(--fs-lg);
  color: var(--c-text-soft);
  line-height: 1.6;
}
.pfi-domains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.pfi-domain {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.pfi-letter {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #CCFBF1;
  color: var(--c-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.pfi-domain h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 12px;
  padding-right: 32px;
  letter-spacing: -0.005em;
}
.pfi-domain ul {
  list-style: none;
  padding: 0;
}
.pfi-domain li {
  padding: 5px 0 5px 14px;
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  line-height: 1.45;
  position: relative;
}
.pfi-domain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-primary);
}

.pfi-cta-text {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: var(--fs-base);
  color: var(--c-text-soft);
  line-height: 1.6;
}
.pfi-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 1000px) { .pfi-domains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pfi-domains { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin: 0 auto;
}
.founder-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #CCFBF1 0%, #5EEAD4 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 2;
}
.founder-initials {
  z-index: 1;
  font-size: 60px;
  font-weight: 700;
  color: var(--c-primary-dark);
  letter-spacing: 0.02em;
}
.founder-body h3 { font-size: var(--fs-2xl); font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.founder-body .title {
  color: var(--c-primary);
  font-size: var(--fs-base);
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.founder-body p {
  color: var(--c-text-soft);
  line-height: 1.65;
  margin-bottom: 22px;
}

/* LinkedIn button — full pill, white-on-teal, icon + arrow */
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--c-primary);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-base);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(13,148,136,0.15);
}
.founder-link:hover {
  background: var(--c-primary-dark);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13,148,136,0.25);
}
.founder-link .li-ic {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.founder-link .li-arrow {
  font-size: 18px;
  margin-left: 2px;
  transition: transform 0.15s;
}
.founder-link:hover .li-arrow { transform: translateX(2px); }

/* ---------- Subscribe form ---------- */
.sub-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sub-input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sub-input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}
.sub-btn { padding: 12px 22px; flex-shrink: 0; }
.sub-btn:disabled {
  background: #9CA3AF;
  cursor: not-allowed;
}

.sub-status {
  max-width: 520px;
  margin: 14px auto 0;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 500;
  min-height: 22px;
}
.sub-status.is-success { color: var(--c-good); }
.sub-status.is-error   { color: var(--c-bad); }

.sub-privacy {
  max-width: 520px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--c-text-mute);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .sub-form { flex-direction: column; }
  .sub-btn  { width: 100%; }
}

/* ---------- Contact ---------- */
.contact {
  text-align: center;
}
.contact .section-head { margin-bottom: 28px; }
.contact-mail {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-primary);
}
.contact-mail:hover { color: var(--c-primary-dark); }
.contact-loc {
  margin-top: 18px;
  font-size: var(--fs-sm);
  color: var(--c-text-mute);
}

/* ---------- Long-form (privacy + terms) ---------- */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 0;
}
.doc h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.doc .meta {
  color: var(--c-text-mute);
  margin-bottom: 36px;
  font-size: var(--fs-sm);
}
.doc h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--c-text);
}
.doc p, .doc li {
  color: var(--c-text-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}
.doc ul { padding-left: 22px; }
.doc strong { color: var(--c-text); }

/* ---------- 404 ---------- */
.notfound {
  text-align: center;
  padding: 120px 0;
}
.notfound .code {
  font-size: 96px;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.notfound h1 {
  font-size: var(--fs-3xl);
  margin-top: 18px;
  font-weight: 700;
}
.notfound p {
  color: var(--c-text-soft);
  margin: 18px 0 32px;
  font-size: var(--fs-lg);
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; }
  .section { padding: 60px 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 24px;
    gap: 22px;
  }
  .founder-photo { margin: 0 auto; width: 160px; height: 160px; }
  .founder-initials { font-size: 48px; }
  .founder-body h3 { font-size: var(--fs-xl); }
  .founder-link {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .contact-mail { font-size: var(--fs-xl); word-break: break-word; }
}
