/* =====================================================
   DeepScience Tech — ERPNext by Frappe
   Font: sofia-pro (loaded by your theme)
   ===================================================== */

@font-face {
    font-family: sofia-pro;
    src: url(../fonts/SofiaProLight.ttf)
}
:root {
  /* Uses your site's existing sofia-pro font */
  --font-heading: sofia-pro;
  --font-body:    sofia-pro;

  --erp-dark:        #000000;
  --erp-dark-2:      #0d0d0d;
  --erp-dark-card:   #111111;
  --erp-dark-card-2: #161616;
  --erp-accent:      #f3c326;
  --erp-accent-dim:  rgba(243,195,38,0.10);
  --erp-green:       #16a34a;
  --erp-green-dim:   rgba(22,163,74,0.12);
  --erp-orange:      #f59e0b;
  --erp-red:         #ef4444;
  --erp-text-white:  #ffffff;
  --erp-text-muted:  #a3a6ad;
  --erp-text-dark:   #0a0a0a;
  --erp-text-gray:   #555770;
  --erp-bg-light:    #ffffff;
  --erp-bg-offwhite: #f6f7fb;
  --erp-border-dark: #222222;
  --erp-border-light: rgba(0,0,0,0.08);
  --erp-radius-card: 12px;
  --erp-radius-btn: 6px;
  --erp-section-pad: 90px 0;
  --erp-container: 1296px;
}

.erp-page * { box-sizing: border-box; margin: 0; padding: 0; }
.erp-page { font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--erp-text-dark); }
.erp-container { max-width: var(--erp-container); margin: 0 auto; padding: 0 40px; }

/* labels & titles */
.erp-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--erp-accent); margin-bottom: 14px;
}
.erp-label.dark { color: var(--erp-text-gray); }
.erp-label.green { color: var(--erp-green); }

.erp-title { font-family: var(--font-heading); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
.erp-title.light { color: #fff; }
.erp-title.dark  { color: var(--erp-text-dark); }
.erp-desc { font-size: 15px; line-height: 1.75; }
.erp-desc.light { color: var(--erp-text-muted); }
.erp-desc.dark  { color: var(--erp-text-gray); }

/* buttons */
.erp-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  padding: 14px 30px; border-radius: var(--erp-radius-btn);
  cursor: pointer; text-decoration: none; border: none;
  transition: opacity .2s, transform .15s;
}
.erp-btn:hover { opacity: .88; transform: translateY(-2px); }
.erp-btn-primary { background: var(--erp-accent); color: #000; }
.erp-btn-outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,0.28); color: #fff; }
.erp-btn-outline-light:hover { border-color: var(--erp-accent); color: var(--erp-accent); }
.erp-btn-outline-dark { background: transparent; border: 1.5px solid rgba(0,0,0,0.15); color: var(--erp-text-dark); }
.erp-btn-outline-dark:hover { border-color: var(--erp-accent); }

/* ============== HERO ============== */
.erp-hero { background: var(--erp-dark); padding: 110px 0 90px; position: relative; overflow: hidden; }
.erp-hero::before {
  content: ''; position: absolute; top: -200px; right: -100px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,195,38,0.07) 0%, transparent 70%); pointer-events: none;
}
.erp-hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }

.erp-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,0.10); border: 1px solid rgba(22,163,74,0.3);
  border-radius: 100px; padding: 6px 14px;
  font-size: 11px; font-weight: 700; color: var(--erp-green);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px;
}
.erp-hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--erp-green); }

.erp-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  color: #fff; margin-bottom: 22px;
}
.erp-hero__heading em { font-style: normal; color: var(--erp-accent); }
.erp-hero__sub { font-size: 16px; color: var(--erp-text-muted); line-height: 1.75; max-width: 520px; margin-bottom: 36px; }
.erp-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero pricing card */
.erp-hero__price {
  background: var(--erp-dark-card); border: 1px solid var(--erp-border-dark);
  border-radius: 16px; padding: 32px;
  position: relative; overflow: hidden;
}
.erp-hero__price::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--erp-green), var(--erp-accent));
}
.erp-hero__price-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--erp-text-muted); margin-bottom: 22px; }
.erp-hero__price-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--erp-border-dark); gap: 14px; }
.erp-hero__price-row:last-child { border-bottom: none; padding-bottom: 0; }
.erp-hero__price-row.win { background: linear-gradient(90deg, var(--erp-green-dim), transparent); margin: 0 -32px; padding: 18px 32px; border: none; border-top: 1px solid rgba(22,163,74,0.25); border-bottom: 1px solid rgba(22,163,74,0.25); }
.erp-hero__price-name { font-size: 14px; color: #fff; font-weight: 600; }
.erp-hero__price-name.win { color: var(--erp-accent); font-weight: 700; }
.erp-hero__price-val { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.erp-hero__price-val.win { color: var(--erp-green); font-size: 22px; }
.erp-hero__price-val.high { color: var(--erp-red); }
.erp-hero__price-val.mid { color: var(--erp-orange); }
.erp-hero__price-foot { font-size: 11px; color: var(--erp-text-muted); margin-top: 18px; line-height: 1.5; padding-top: 16px; border-top: 1px solid var(--erp-border-dark); }

/* ============== STATS BAR ============== */
.erp-stats { background: var(--erp-dark-2); padding: 36px 0; border-bottom: 1px solid var(--erp-border-dark); }
.erp-stats__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.erp-stat { text-align: center; }
.erp-stat__val { font-family: var(--font-heading); font-size: clamp(22px,2.4vw,32px); font-weight: 800; color: var(--erp-accent); letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; }
.erp-stat__label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--erp-text-muted); }

/* ============== INTRO ============== */
.erp-intro { background: var(--erp-bg-light); padding: var(--erp-section-pad); }
.erp-intro__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.erp-intro__title { font-size: clamp(28px,3.2vw,44px); margin-bottom: 18px; }
.erp-intro__p { font-size: 15.5px; color: var(--erp-text-gray); line-height: 1.8; margin-bottom: 16px; }
.erp-intro__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.erp-intro__chip {
  font-size: 12px; font-weight: 600; padding: 7px 14px;
  background: var(--erp-bg-offwhite); border: 1px solid var(--erp-border-light);
  border-radius: 100px; color: var(--erp-text-dark);
}
.erp-intro__visual {
  background: var(--erp-bg-offwhite); border: 1px solid var(--erp-border-light);
  border-radius: 16px; padding: 36px;
}
.erp-intro__visual-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--erp-text-dark); margin-bottom: 22px; }
.erp-intro__stat-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--erp-border-light); gap: 14px; }
.erp-intro__stat-row:last-child { border-bottom: none; }
.erp-intro__stat-row strong { font-family: var(--font-heading); font-size: 16px; color: var(--erp-text-dark); font-weight: 700; }
.erp-intro__stat-row span { font-size: 13px; color: var(--erp-text-gray); }

/* ============== MODULES GRID ============== */
.erp-modules { background: var(--erp-dark-2); padding: var(--erp-section-pad); }
.erp-modules__header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.erp-modules__header .erp-title { font-size: clamp(28px,3.5vw,46px); }
.erp-modules__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.erp-module-card {
  background: var(--erp-dark-card); border: 1px solid var(--erp-border-dark);
  border-radius: var(--erp-radius-card); padding: 24px 20px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .2s;
  display: flex; flex-direction: column; gap: 10px;
}
.erp-module-card:hover { border-color: rgba(243,195,38,0.3); transform: translateY(-3px); }
.erp-module-card__num { font-family: var(--font-heading); font-size: 11px; font-weight: 700; color: var(--erp-accent); letter-spacing: 0.1em; }
.erp-module-card__title { font-family: var(--font-heading); font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.erp-module-card__desc { font-size: 12.5px; line-height: 1.6; color: var(--erp-text-muted); }

/* ============== COMPARISON TABLE ============== */
.erp-compare { background: var(--erp-bg-light); padding: var(--erp-section-pad); }
.erp-compare__header { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.erp-compare__header .erp-title { font-size: clamp(28px,3vw,44px); margin-bottom: 14px; }
.erp-compare__legend { display: inline-flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; padding: 10px 18px; background: var(--erp-bg-offwhite); border-radius: 100px; }
.erp-compare__legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--erp-text-gray); font-weight: 600; }
.erp-compare__legend-item .erp-pip { width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; }

.erp-compare__wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--erp-border-light); background: #fff; }
.erp-compare__table { width: 100%; border-collapse: collapse; min-width: 900px; }
.erp-compare__table thead th {
  background: var(--erp-dark); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  padding: 18px 18px; text-align: left; vertical-align: bottom;
  border-right: 1px solid #1a1a1a;
}
.erp-compare__table thead th.win {
  background: linear-gradient(180deg, #1f1305 0%, #000 100%);
  color: var(--erp-accent); border-bottom: 3px solid var(--erp-accent);
}
.erp-compare__table thead th:last-child { border-right: none; }
.erp-compare__table thead th small { display: block; font-size: 11px; font-weight: 500; color: var(--erp-text-muted); margin-top: 2px; letter-spacing: 0.04em; }
.erp-compare__table thead th.win small { color: rgba(243,195,38,0.7); }

.erp-compare__table tbody tr { border-bottom: 1px solid var(--erp-border-light); }
.erp-compare__table tbody tr:nth-child(even) { background: var(--erp-bg-offwhite); }
.erp-compare__table tbody tr:hover { background: rgba(243,195,38,0.05); }

.erp-compare__table tbody td {
  padding: 14px 18px; font-size: 13.5px; color: var(--erp-text-dark);
  vertical-align: middle; line-height: 1.5;
  border-right: 1px solid var(--erp-border-light);
}
.erp-compare__table tbody td:last-child { border-right: none; }
.erp-compare__table tbody td.feat { font-weight: 700; color: var(--erp-text-dark); font-family: var(--font-heading); }
.erp-compare__table tbody td.win-col { background: rgba(243,195,38,0.04); border-right: 1px solid rgba(243,195,38,0.2); border-left: 1px solid rgba(243,195,38,0.2); }
.erp-compare__table tbody tr:hover td.win-col { background: rgba(243,195,38,0.10); }

.erp-pip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 11px; font-weight: 800; flex-shrink: 0; margin-right: 8px;
}
.erp-pip.yes { background: var(--erp-green-dim); color: var(--erp-green); }
.erp-pip.partial { background: rgba(245,158,11,0.15); color: var(--erp-orange); }
.erp-pip.no { background: rgba(239,68,68,0.12); color: var(--erp-red); }
.erp-cell-text { display: inline-flex; align-items: center; }

/* ============== PRICING ============== */
.erp-pricing { background: var(--erp-dark); padding: var(--erp-section-pad); }
.erp-pricing__header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.erp-pricing__header .erp-title { font-size: clamp(28px,3.2vw,46px); margin-bottom: 14px; }
.erp-pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.erp-price-card {
  background: var(--erp-dark-card); border: 1px solid var(--erp-border-dark);
  border-radius: 14px; padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
}
.erp-price-card.win {
  background: linear-gradient(180deg, rgba(243,195,38,0.08), var(--erp-dark-card));
  border-color: rgba(243,195,38,0.4);
  box-shadow: 0 0 60px rgba(243,195,38,0.08);
}
.erp-price-card.win::after {
  content: 'Recommended';
  position: absolute; top: 12px; right: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--erp-accent); color: #000; padding: 4px 10px; border-radius: 4px;
}

.erp-price-card__name { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff; }
.erp-price-card__price { font-family: var(--font-heading); font-size: clamp(28px,3vw,40px); font-weight: 800; color: var(--erp-accent); letter-spacing: -0.02em; line-height: 1; }
.erp-price-card.high .erp-price-card__price { color: var(--erp-red); }
.erp-price-card.mid .erp-price-card__price { color: var(--erp-orange); }
.erp-price-card.midlight .erp-price-card__price { color: #f59e0b; }
.erp-price-card__per { font-size: 12px; color: var(--erp-text-muted); margin-top: -10px; }
.erp-price-card__detail { font-size: 12.5px; color: var(--erp-text-muted); line-height: 1.6; padding: 12px 0; border-top: 1px solid var(--erp-border-dark); }
.erp-price-card__bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.erp-price-card__bullets li { font-size: 12.5px; color: var(--erp-text-muted); line-height: 1.5; padding-left: 22px; position: relative; }
.erp-price-card__bullets li.yes::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--erp-green); font-weight: 800; }
.erp-price-card__bullets li.no::before  { content: '✗'; position: absolute; left: 0; top: 0; color: var(--erp-red); font-weight: 800; }

/* ============== TECHNOLOGY DEEP DIVE ============== */
.erp-tech { background: var(--erp-bg-offwhite); padding: var(--erp-section-pad); }
.erp-tech__header { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.erp-tech__header .erp-title { font-size: clamp(28px,3vw,44px); margin-bottom: 14px; }

.erp-tech__highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.erp-tech-card {
  background: #fff; border: 1px solid var(--erp-border-light);
  border-radius: 12px; padding: 24px;
  transition: box-shadow .2s, transform .2s;
}
.erp-tech-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); transform: translateY(-3px); }
.erp-tech-card__icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--erp-accent-dim); color: var(--erp-accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 13px;
  margin-bottom: 14px;
}
.erp-tech-card__title { font-family: var(--font-heading); font-size: 15px; font-weight: 700; color: var(--erp-text-dark); margin-bottom: 8px; }
.erp-tech-card__desc { font-size: 13px; color: var(--erp-text-gray); line-height: 1.6; }

/* ============== WHY WINS ============== */
.erp-wins { background: var(--erp-dark); padding: var(--erp-section-pad); }
.erp-wins__header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.erp-wins__header .erp-title { font-size: clamp(28px,3.2vw,46px); margin-bottom: 14px; }

.erp-wins__group { margin-bottom: 60px; }
.erp-wins__group:last-child { margin-bottom: 0; }
.erp-wins__group-title {
  font-family: var(--font-heading); font-size: clamp(22px,2.2vw,30px); font-weight: 800;
  color: #fff; letter-spacing: -0.02em; margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.erp-wins__group-title::before {
  content: ''; width: 6px; height: 26px; background: var(--erp-accent); border-radius: 2px;
}
.erp-wins__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.erp-win-card {
  background: var(--erp-dark-card); border: 1px solid var(--erp-border-dark);
  border-radius: 12px; padding: 26px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .2s;
}
.erp-win-card:hover { border-color: rgba(243,195,38,0.3); transform: translateY(-3px); }
.erp-win-card__num {
  font-family: var(--font-heading); font-size: 38px; font-weight: 800;
  color: rgba(243,195,38,0.10); line-height: 1; margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.erp-win-card__title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.3; }
.erp-win-card__desc { font-size: 13.5px; color: var(--erp-text-muted); line-height: 1.7; }

/* ============== VERDICT ============== */
.erp-verdict { background: var(--erp-bg-light); padding: var(--erp-section-pad); }
.erp-verdict__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.erp-verdict__title { font-size: clamp(28px,3.4vw,48px); margin-bottom: 22px; }
.erp-verdict__p { font-size: 15.5px; color: var(--erp-text-gray); line-height: 1.8; margin-bottom: 16px; }

.erp-verdict__quote {
  background: var(--erp-bg-offwhite); border-left: 4px solid var(--erp-accent);
  border-radius: 0 12px 12px 0; padding: 28px 30px;
  font-family: var(--font-heading); font-size: 18px; line-height: 1.5;
  color: var(--erp-text-dark); font-weight: 600; font-style: italic;
}
.erp-verdict__quote-attr { display: block; margin-top: 14px; font-size: 12px; font-weight: 600; font-style: normal; color: var(--erp-text-gray); letter-spacing: 0.04em; text-transform: uppercase; }

.erp-verdict__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.erp-verdict__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; color: var(--erp-text-gray); line-height: 1.55;
}
.erp-verdict__list li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--erp-green-dim); margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2316a34a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.erp-verdict__list li strong { color: var(--erp-text-dark); font-weight: 700; }

/* ============== FINAL CTA ============== */
.erp-cta-final { background: var(--erp-dark); padding: 90px 0; }
.erp-cta-final__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.erp-cta-final__title {
  font-family: var(--font-heading);
  font-size: clamp(28px,4vw,56px); font-weight: 800;
  color: #fff; line-height: 1.1; letter-spacing: -0.03em;
  max-width: 700px; margin-bottom: 22px;
}
.erp-cta-final__sub { font-size: 15px; color: var(--erp-text-muted); line-height: 1.7; max-width: 560px; margin-bottom: 34px; }
.erp-cta-final__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.erp-cta-final__arrow {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  background: var(--erp-accent);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s; align-self: flex-start; margin-top: 12px; text-decoration: none;
}
.erp-cta-final__arrow:hover { transform: scale(1.08) rotate(-5deg); }
.erp-compare__wrap table{display: table !important;}
/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .erp-modules__grid { grid-template-columns: repeat(3, 1fr); }
  .erp-pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .erp-stats__row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
}
@media (max-width: 768px) {
  :root { --erp-section-pad: 60px 0; }
  .erp-container { padding: 0 20px; }
  .erp-hero__inner,
  .erp-intro__inner,
  .erp-modules__header,
  .erp-verdict__inner,
  .erp-cta-final__inner { grid-template-columns: 1fr; gap: 32px; }
  .erp-modules__grid { grid-template-columns: repeat(2, 1fr); }
  .erp-pricing__grid { grid-template-columns: 1fr; }
  .erp-stats__row { grid-template-columns: repeat(2, 1fr); }
  .erp-tech__highlights { grid-template-columns: 1fr; }
  .erp-wins__grid { grid-template-columns: 1fr; }
  .erp-hero__heading { font-size: 36px; }
}
