/*
  ERPS landing overrides for KOVADG-style theme
  - Keeps the overall look & components
  - Removes mega-menu hover expansion (1-page landing)
  - Replaces remote section backgrounds with local high-quality images
  - Adds ERPS buttons / screenshot cards / pricing / contact styling
*/

:root {
  --primary-color: #326bff;
  --accent-color: #7c4dff;
  --footer-bg: #0b1220;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-light: #64748b;
  --bg-light: #f6f7fb;
  --max-width: 1280px;
  --header-height: 90px;
}

html { scroll-behavior: smooth; }
section { scroll-margin-top: 110px; }

/* Logo */
.erps-logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color);
  display: inline-block;
  margin-right: 10px;
}
.erps-logo-text { letter-spacing: 0.5px; }

/* Disable mega-menu hover expansion for this one-page landing */
header:not(.scrolled):hover {
  height: var(--header-height) !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}
#header.main-type.scrolled:hover {
  height: 80px !important;
  background: rgba(255, 255, 255, 0.85) !important;
}

/* Utility primary button */
.header-util-btn.erps-util-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
}
.header-util-btn.erps-util-primary:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.mobile-menu-btn { font-size: 24px; cursor: pointer; padding: 6px; }

/* Mobile CTA area */
.erps-mobile-cta {
  margin-top: 24px;
  border-top: 1px solid #eee;
  padding-top: 18px;
  display: grid;
  gap: 12px;
}
.erps-mobile-primary,
.erps-mobile-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
}
.erps-mobile-primary { background: var(--primary-color); color: #fff; }
.erps-mobile-secondary { background: #f1f5f9; color: #111; }

/* Hero: add CTAs & keyword chips */
.erps-hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.erps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.erps-btn--primary {
  background: var(--primary-color);
  color: #fff;
}
.erps-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.erps-btn--ghost {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.10);
}
.erps-btn--ghost:hover { background: rgba(255,255,255,.18); }

.erps-hero-chips {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.erps-hero-chips span {
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
}

/* Slightly tune hero title size for ERPS copy */
.slide-title { font-size: 64px; }
@media (max-width: 1024px) { .slide-title { font-size: 48px; } }
@media (max-width: 768px) { .slide-title { font-size: 34px; } }

/* Replace section backgrounds - 로컬 이미지 없을 시 unsplash fallback */
.quick-menu-section {
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1920&auto=format&fit=crop') no-repeat center center / cover;
  background-attachment: fixed;
}
.quick-menu-section::before { background: rgba(255, 255, 255, 0.90); }

.notice-card-section.erps-screens {
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=1920&auto=format&fit=crop') no-repeat center center / cover;
  background-attachment: fixed;
}

/* Section sub text */
.erps-sub {
  font-size: 18px;
  color: #444;
  font-weight: 600;
  max-width: 760px;
}
.erps-sub--light {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  font-weight: 600;
  max-width: 760px;
}

/* Screens: reuse notice-card grid, but optimized for screenshots */
.erps-screens .nc-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1200px) { .erps-screens .nc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .erps-screens .nc-grid { grid-template-columns: 1fr; } }

.erps-screen-card {
  padding: 22px;
  height: auto;
  min-height: 380px;
}
.erps-screen-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.20);
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
}
.erps-screen-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.erps-screen-content { margin-top: 16px; }
.erps-tags {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}

/* Pricing */
.erps-pricing-section {
  padding: 120px 0;
  background: #fff;
}
.erps-section-head h2 {
  font-family: var(--font-eng);
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 18px;
}
.erps-section-head p {
  font-size: 18px;
  color: #555;
  font-weight: 600;
  max-width: 820px;
}

.erps-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}
.erps-plan {
  border: 1px solid #e7eaf3;
  border-radius: 18px;
  padding: 34px 28px;
  background: linear-gradient(180deg, #ffffff, #f8f9fb);
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.erps-plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}
.erps-plan.featured {
  border-color: rgba(50,107,255,0.45);
  box-shadow: 0 20px 55px rgba(50,107,255,0.18);
}
.erps-plan h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #111;
}
.erps-price {
  font-size: 36px;
  font-weight: 900;
  color: #111;
  margin-bottom: 6px;
}
.erps-hint { color: #555; font-weight: 700; }
.erps-plan ul {
  margin-top: 16px;
  padding-left: 18px;
  color: #222;
}
.erps-plan li { margin: 8px 0; font-weight: 700; color: #334155; }

@media (max-width: 1024px) {
  .erps-pricing-grid { grid-template-columns: 1fr; }
}

/* Contact */
.erps-contact-section {
  padding: 120px 0;
  background: var(--bg-light);
}
.erps-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 42px;
}
.erps-card {
  background: #fff;
  border: 1px solid #e7eaf3;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}
.erps-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
  color: #111;
}

.erps-form .erps-input {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid #d7dce8;
  border-radius: 12px;
  font-size: 15px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  background: #fff;
}
.erps-form .erps-input:focus {
  outline: none;
  border-color: rgba(50,107,255,0.75);
  box-shadow: 0 0 0 3px rgba(50,107,255,0.12);
}
.erps-form textarea.erps-input {
  min-height: 150px;
  resize: vertical;
}

.erps-submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.erps-submit-row .erps-btn { border-radius: 12px; padding: 12px 18px; }
.erps-small-note { color: #64748b; font-size: 13px; font-weight: 600; }

@media (max-width: 1024px) {
  .erps-contact-grid { grid-template-columns: 1fr; }
}

/* Feedback messages */
.erps-notice {
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  margin-top: 18px;
}
.erps-notice.ok {
  background: rgba(46,125,50,0.12);
  color: #1b5e20;
  border: 1px solid rgba(46,125,50,0.25);
}
.erps-notice.err {
  background: rgba(220,53,69,0.12);
  color: #b02a37;
  border: 1px solid rgba(220,53,69,0.25);
}
