/* ==========================================================================
   Conrep webinar landing pages — shared styles.

   Used by conrep_ats.html, conrep_benchsales.html, conrep_psa.html,
   conrep_taskorders.html and conrep_hrms.html. These pages render inside the
   iframe on webinar_register.php, so they intentionally carry no navigation,
   logo or register/demo buttons — the parent frame supplies those.

   Per-page accent colour is driven by --accent / --accent-2 / --accent-soft,
   set in a small <style> block on each page.
   ========================================================================== */

:root {
  --accent: #2563eb;
  --accent-2: #4f46e5;
  --accent-soft: #eef4ff;
  --ink: #0f172a;
  --body: #64748b;
  --line: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f8fafc;
  color: var(--ink);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 55px 0 60px;
  background: linear-gradient(135deg, var(--accent-soft), #ffffff);
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 60px;
}

.badge {
  display: inline-block;
  padding: 10px 18px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 31px;
  line-height: 44px;
  font-weight: 600;
  margin-bottom: 22px;
  color: var(--ink);
}

.gradient {
  /* background: linear-gradient(135deg, var(--accent), var(--accent-2)); */
  background:linear-gradient(135deg, #9333ea, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 17px;
  line-height: 1.9;
  color: #334155;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, .05);
}

.hero-stat strong {
  display: block;
  font-size: 22px;
  color: var(--accent);
}

.hero-stat span {
  font-size: 13px;
  color: var(--body);
}

/* ── Section headings ───────────────────────────────────────────────────── */
.section {
  padding: 80px 0;
}

.section.alt {
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.step-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 700;
}

.section-title p {
  color: var(--body);
  max-width: 820px;
  margin: auto;
  line-height: 1.85;
  font-size: 16px;
}

/* ── Feature cards ──────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: #fff;
  border: 1px solid #eef2f7;
  padding: 32px 28px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
  transition: .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center; flex-direction:column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(37, 99, 235, .12);
}

.icon-box {
  width: 62px;
  height: 62px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--ink);
}

.feature-card p {
  color: var(--body);
  line-height: 1.75;
  font-size: 15px;
}

/* ── Two-column detail blocks ───────────────────────────────────────────── */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.two-column.reverse .col-visual {
  order: -1;
}

.col-text h2 {
  font-size: 32px;
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 700;
}

.col-text p {
  line-height: 1.9;
  color: var(--body);
  font-size: 16px;
  margin-bottom: 26px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.65;
  color: #1e293b;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 11px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ── Stacked mini cards (used opposite a checklist) ─────────────────────── */
.mini-grid {
  display: grid;
  gap: 16px;
}

.mini-card {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, .05);
  transition: .3s;
}

.mini-card:hover {
  transform: translateX(8px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, .10);
}

.mini-card i {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  line-height: 52px;
  text-align: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
}

.mini-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--ink);
}

.mini-card p {
  color: var(--body);
  line-height: 1.7;
  font-size: 14px;
}

/* ── CSS product mock panel (stands in for a screenshot) ────────────────── */
.mock {
  background: #fff;
  border: 1px solid #dfe3ff;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(79, 70, 229, .10);
  overflow: hidden;
}

.mock-top {
  background: var(--accent-soft);
  border-bottom: 1px solid #dbe3ff;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  height: 11px;
  width: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red { background: #ff6b6b; }
.dot.yellow { background: #ffd43b; }
.dot.green { background: #51cf66; }

.mock-tab {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.mock-body {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-head h4 {
  font-size: 15px;
  color: var(--ink);
}

.pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  background: #ecfdf5;
  color: #059669;
}

.pill.info { background: var(--accent-soft); color: var(--accent); }
.pill.warn { background: #fff7ed; color: #ea580c; }

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  color: #334155;
}

.mock-row span:last-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.bar {
  height: 9px;
  border-radius: 20px;
  background: #e8eefc;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mock-kpi {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.mock-kpi strong {
  display: block;
  font-size: 20px;
  color: var(--accent);
}

.mock-kpi span {
  font-size: 11px;
  color: var(--body);
}

/* ── Pipeline / timeline strip ──────────────────────────────────────────── */
.flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.flow-step {
  width: 165px;
  text-align: center;
}

.flow-step .circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
  font-size: 26px;
}

.flow-step h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--ink);
}

.flow-step p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
}

.flow-line {
  height: 3px;
  width: 46px;
  background: #cbd5e1;
  margin-top: 33px;
  border-radius: 3px;
}

/* ── Capability chips ───────────────────────────────────────────────────── */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.capability {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: .3s;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.capability:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 34px rgba(37, 99, 235, .14);
}

.capability i {
  width: 54px;
  height: 54px;
  line-height: 54px;
  border-radius: 50%;
  font-size: 19px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}

.capability h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

/* ── Closing band ───────────────────────────────────────────────────────── */
.band {
  padding: 30px 0 70px;
}

.band-box {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: 26px;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 28px 55px rgba(37, 99, 235, .20);
}

.band-box h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.band-box p {
  max-width: 820px;
  margin: auto;
  line-height: 1.9;
  font-size: 17px;
  opacity: .95;
}

.band-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 11px 22px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

/* ── Compliance / note strip ────────────────────────────────────────────── */
.note-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 40px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, .05);
}

.note-strip i {
  font-size: 26px;
  color: var(--accent);
}

.note-strip p {
  color: var(--body);
  line-height: 1.75;
  font-size: 15px;
}

.note-strip strong {
  color: var(--ink);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-wrapper,
  .two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-column.reverse .col-visual {
    order: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .container {
    width: 94%;
  }

  .flow-line {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 40px 0 45px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section {
    padding: 55px 0;
  }

  .section-title h2 {
    font-size: 27px;
  }

  .col-text h2 {
    font-size: 26px;
  }

  .band-box {
    padding: 42px 24px;
  }

  .band-box h2 {
    font-size: 26px;
  }

  .mock-kpis {
    grid-template-columns: 1fr;
  }

  .mini-card {
    flex-direction: column;
  }

  .flow-step {
    width: 100%;
  }
}
