/* Elite PC Cleaner — Main Stylesheet */

:root {
  --epc-bg: #030914;
  --epc-bg-secondary: #07111F;
  --epc-card: #0B1625;
  --epc-surface: #101C2C;
  --epc-blue: #009DFF;
  --epc-green: #63E600;
  --epc-deep-blue: #0067D9;
  --epc-white: #FFFFFF;
  --epc-muted: #AAB7C7;
  --epc-border: rgba(255, 255, 255, 0.10);
  --epc-border-soft: rgba(255, 255, 255, 0.08);
  --epc-radius: 12px;
  --epc-radius-lg: 16px;
  --epc-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --epc-glow-blue: 0 0 48px rgba(0, 157, 255, 0.18);
  --epc-glow-green: 0 0 40px rgba(99, 230, 0, 0.14);
  --epc-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --epc-container: 1240px;
  --epc-header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--epc-header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body,
.epc-body {
  margin: 0;
  font-family: var(--epc-font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--epc-white);
  background: var(--epc-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

a {
  color: var(--epc-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--epc-green); }

:focus-visible {
  outline: 2px solid var(--epc-blue);
  outline-offset: 3px;
}

.container {
  max-width: var(--epc-container);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header */
.epc-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(3, 9, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--epc-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.epc-header.scrolled {
  background: rgba(3, 9, 20, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.epc-navbar {
  padding: 0.75rem 0;
  min-height: var(--epc-header-h);
}

.epc-brand {
  padding: 0;
  margin-right: 1rem;
  flex-shrink: 0;
}

.epc-logo {
  width: auto;
  max-width: 240px;
  max-height: 52px;
  height: auto;
}

@media (max-width: 991px) {
  .epc-logo {
    max-width: 180px;
    max-height: 44px;
  }
}

.epc-nav-links .nav-link {
  color: var(--epc-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.65rem !important;
  transition: color 0.2s ease;
}

.epc-nav-links .nav-link:hover,
.epc-nav-links .nav-link.active {
  color: var(--epc-white);
}

.epc-dropdown {
  background: var(--epc-card);
  border: 1px solid var(--epc-border);
  border-radius: var(--epc-radius);
  padding: 0.5rem;
  box-shadow: var(--epc-shadow);
}

.epc-dropdown .dropdown-item {
  color: var(--epc-muted);
  border-radius: 8px;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.epc-dropdown .dropdown-item:hover {
  background: var(--epc-surface);
  color: var(--epc-white);
}

.epc-btn-login {
  color: var(--epc-muted) !important;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  white-space: nowrap;
}

.epc-btn-login:hover { color: var(--epc-white) !important; }

.epc-btn-download-sm {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.epc-nav-actions {
  margin-top: 1rem;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .epc-nav-actions { margin-top: 0; }
}

.navbar-toggler {
  border-color: var(--epc-border);
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 157, 255, 0.25);
}

/* Button system */
.btn-epc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--epc-green);
  border: 1px solid var(--epc-green);
  color: #030914;
  font-weight: 700;
  border-radius: 12px;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(99, 230, 0, 0.25);
}

.btn-epc-primary:hover,
.btn-epc-primary:focus {
  background: #72ff0a;
  border-color: #72ff0a;
  color: #030914;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(99, 230, 0, 0.35);
}

.btn-microsoft-store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(16, 28, 44, 0.85);
  border: 1px solid rgba(0, 157, 255, 0.35);
  color: var(--epc-white);
  border-radius: 12px;
  text-align: left;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-microsoft-store:hover,
.btn-microsoft-store:focus {
  background: var(--epc-surface);
  border-color: rgba(0, 157, 255, 0.55);
  color: var(--epc-white);
  transform: translateY(-1px);
  box-shadow: var(--epc-glow-blue);
}

.epc-btn-direct,
.epc-btn-ms { /* legacy aliases */ }

.epc-btn-icon {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.epc-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.epc-btn-label {
  font-size: 0.9375rem;
  font-weight: 700;
}

.epc-btn-sublabel {
  font-size: 0.6875rem;
  opacity: 0.85;
  font-weight: 500;
}

.epc-btn-sublabel-lg {
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 1;
}

.epc-btn-lg { padding: 0.9rem 1.5rem; min-height: 58px; }
.epc-btn-md { padding: 0.7rem 1.25rem; min-height: 50px; }

.epc-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 575px) {
  .epc-hero-ctas {
    flex-direction: column;
  }

  .epc-hero-ctas .btn-epc-primary,
  .epc-hero-ctas .btn-microsoft-store {
    width: 100%;
    justify-content: center;
  }
}

/* Hero */
.epc-hero {
  position: relative;
  padding: 6rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(0, 157, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 70%, rgba(99, 230, 0, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--epc-bg) 0%, var(--epc-bg-secondary) 100%);
  overflow: hidden;
}

.epc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  pointer-events: none;
}

.epc-hero .container {
  position: relative;
  z-index: 1;
}

.epc-hero-content { max-width: 620px; }

.epc-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--epc-blue);
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 157, 255, 0.1);
  border: 1px solid rgba(0, 157, 255, 0.25);
  border-radius: 999px;
}

.epc-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--epc-white);
}

.epc-text-green { color: var(--epc-green); }

.epc-hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--epc-muted);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.epc-benefits { margin-bottom: 2rem; }

.epc-benefit {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  height: 100%;
}

.epc-benefit-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.05rem;
  border: 1px solid transparent;
}

.epc-benefit-icon.blue {
  background: rgba(0, 157, 255, 0.1);
  color: var(--epc-blue);
  border-color: rgba(0, 157, 255, 0.25);
}

.epc-benefit-icon.green {
  background: rgba(99, 230, 0, 0.1);
  color: var(--epc-green);
  border-color: rgba(99, 230, 0, 0.25);
}

.epc-benefit h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--epc-white);
}

.epc-benefit p {
  font-size: 0.8125rem;
  color: var(--epc-muted);
  margin: 0;
  line-height: 1.5;
}

.epc-hero-meta {
  font-size: 0.875rem;
  color: var(--epc-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.epc-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dashboard mockup */
.epc-dashboard {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(145deg, rgba(11, 22, 37, 0.98) 0%, rgba(16, 28, 44, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--epc-shadow), var(--epc-glow-blue);
}

.epc-dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--epc-border);
}

.epc-dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.epc-dashboard-dot.red { background: #ff5f57; }
.epc-dashboard-dot.yellow { background: #febc2e; }
.epc-dashboard-dot.green { background: #28c840; }

.epc-dashboard-topbar-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--epc-muted);
  font-weight: 600;
}

.epc-dashboard-layout {
  display: flex;
  min-height: 360px;
}

.epc-dashboard-sidebar {
  width: 148px;
  flex-shrink: 0;
  padding: 0.75rem 0.5rem;
  background: rgba(0, 0, 0, 0.28);
  border-right: 1px solid var(--epc-border);
  display: none;
}

@media (min-width: 480px) {
  .epc-dashboard-sidebar { display: block; }
}

.epc-dash-nav {
  font-size: 0.68rem;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  color: var(--epc-muted);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.epc-dash-nav.active {
  background: rgba(0, 157, 255, 0.14);
  color: var(--epc-blue);
  border: 1px solid rgba(0, 157, 255, 0.2);
}

.epc-dashboard-panel {
  flex: 1;
  padding: 1.25rem;
  min-width: 0;
}

.epc-dashboard-status {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--epc-white);
  margin: 0 0 1.25rem;
}

.epc-dashboard-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 520px) {
  .epc-dashboard-main-grid {
    grid-template-columns: 160px 1fr;
    align-items: start;
  }
}

.epc-dashboard-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.epc-dashboard-gauge {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--epc-blue) 0deg, var(--epc-green) 220deg, rgba(255,255,255,0.08) 220deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 157, 255, 0.15), 0 0 30px rgba(0, 157, 255, 0.12);
}

.epc-dashboard-gauge::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--epc-card);
  border: 1px solid var(--epc-border);
}

.epc-dashboard-gauge-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.epc-gauge-label {
  font-size: 0.625rem;
  color: var(--epc-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.epc-gauge-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--epc-green);
}

.epc-dash-scan-btn {
  background: linear-gradient(135deg, var(--epc-deep-blue), var(--epc-blue));
  border: none;
  color: var(--epc-white);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.6rem 1.35rem;
  border-radius: 10px;
  box-shadow: var(--epc-glow-blue);
  white-space: nowrap;
}

.epc-dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.epc-stat-card {
  background: var(--epc-surface);
  border: 1px solid var(--epc-border-soft);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.epc-stat-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.epc-stat-icon.blue {
  background: rgba(0, 157, 255, 0.14);
  color: var(--epc-blue);
}

.epc-stat-icon.green {
  background: rgba(99, 230, 0, 0.14);
  color: var(--epc-green);
}

.epc-stat-label {
  font-size: 0.6875rem;
  color: var(--epc-muted);
  font-weight: 600;
}

.epc-stat-value {
  font-size: 0.625rem;
  color: var(--epc-white);
  font-weight: 600;
}

/* Sections */
.epc-section {
  padding: 5.5rem 0;
}

.epc-section-alt {
  background: var(--epc-bg-secondary);
}

.epc-section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
  color: var(--epc-white);
}

.epc-section-lead {
  font-size: 1.0625rem;
  color: var(--epc-muted);
  max-width: 720px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.epc-section-header { margin-bottom: 2.5rem; }
.epc-section-header.center { text-align: center; }
.epc-section-header.center .epc-section-lead {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .epc-section { padding: 3.75rem 0; }
  .epc-hero { padding: 4rem 0 3rem; }
}

/* Trust strip */
.epc-trust-strip {
  padding: 1.75rem 0;
  background: var(--epc-bg-secondary);
  border-top: 1px solid var(--epc-border);
  border-bottom: 1px solid var(--epc-border);
}

.epc-trust-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
}

@media (min-width: 768px) {
  .epc-trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
  }
}

.epc-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--epc-muted);
}

.epc-trust-item i {
  color: var(--epc-blue);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.epc-trust-item.green i { color: var(--epc-green); }

/* Cards */
.epc-card {
  background: var(--epc-card);
  border: 1px solid var(--epc-border-soft);
  border-radius: var(--epc-radius-lg);
  padding: 1.65rem 1.75rem;
  height: 100%;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.epc-card:hover {
  border-color: rgba(0, 157, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--epc-glow-blue);
}

.epc-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  background: rgba(0, 157, 255, 0.12);
  color: var(--epc-blue);
}

.epc-card-icon.green {
  background: rgba(99, 230, 0, 0.12);
  color: var(--epc-green);
}

.epc-card h2,
.epc-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--epc-white);
}

.epc-card p {
  font-size: 0.9rem;
  color: var(--epc-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.epc-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--epc-blue);
}

.epc-card-link:hover { color: var(--epc-green); }

.epc-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .epc-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .epc-feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Steps */
.epc-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .epc-steps { grid-template-columns: repeat(3, 1fr); }
}

.epc-step {
  padding: 1.5rem;
  background: var(--epc-card);
  border: 1px solid var(--epc-border-soft);
  border-radius: var(--epc-radius-lg);
}

.epc-step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 157, 255, 0.12);
  color: var(--epc-blue);
  font-weight: 800;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.epc-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--epc-white);
}

.epc-step p {
  font-size: 0.875rem;
  color: var(--epc-muted);
  margin: 0;
}

/* FAQ */
.epc-faq .accordion-item {
  background: var(--epc-card);
  border: 1px solid var(--epc-border-soft);
  margin-bottom: 0.75rem;
  border-radius: var(--epc-radius-lg) !important;
  overflow: hidden;
}

.epc-faq .accordion-button {
  background: var(--epc-card);
  color: var(--epc-white);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 1.15rem 1.25rem;
  box-shadow: none;
}

.epc-faq .accordion-button:not(.collapsed) {
  background: var(--epc-surface);
  color: var(--epc-blue);
}

.epc-faq .accordion-button::after {
  filter: invert(1);
}

.epc-faq .accordion-body {
  color: var(--epc-muted);
  font-size: 0.9rem;
  padding: 0 1.25rem 1.25rem;
  line-height: 1.65;
}

/* Download CTA */
.epc-download-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--epc-card) 0%, var(--epc-surface) 100%);
  border: 1px solid var(--epc-border);
  border-radius: var(--epc-radius-lg);
  box-shadow: var(--epc-glow-green);
}

.epc-download-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.epc-download-note {
  font-size: 0.875rem;
  color: var(--epc-muted);
  margin: 0;
}

.epc-download-note a { color: var(--epc-blue); }

/* Breadcrumbs */
.epc-breadcrumbs {
  padding: 1rem 0;
  background: var(--epc-bg-secondary);
  border-bottom: 1px solid var(--epc-border);
}

.epc-breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.epc-breadcrumb-item { color: var(--epc-muted); }
.epc-breadcrumb-item a { color: var(--epc-muted); }
.epc-breadcrumb-item a:hover { color: var(--epc-blue); }

.epc-breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.epc-breadcrumb-item.active { color: var(--epc-white); }

/* Page hero */
.epc-page-hero {
  padding: 3.5rem 0 2.5rem;
  background: var(--epc-bg-secondary);
  border-bottom: 1px solid var(--epc-border);
}

.epc-page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--epc-white);
}

.epc-page-hero .lead {
  color: var(--epc-muted);
  font-size: 1.0625rem;
  max-width: 760px;
  line-height: 1.7;
}

/* Content */
.epc-content {
  padding: 3.5rem 0 4.5rem;
}

.epc-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
  color: var(--epc-white);
}

.epc-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--epc-white);
}

.epc-content p,
.epc-content li {
  color: var(--epc-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.epc-content ul,
.epc-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.epc-content li { margin-bottom: 0.4rem; }

.epc-content a { font-weight: 500; }

.epc-content strong { color: var(--epc-white); }

.epc-tip-box {
  background: var(--epc-card);
  border: 1px solid var(--epc-border);
  border-left: 3px solid var(--epc-blue);
  border-radius: var(--epc-radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.epc-tip-box.green { border-left-color: var(--epc-green); }

/* Pricing */
.epc-page-hero--compact {
  padding: 2.25rem 0 1.25rem;
}

.epc-pricing-page .epc-content {
  padding-top: 2rem;
}

.epc-pricing-grid {
  margin-bottom: 3.5rem;
}

.epc-pricing-grid > [class*="col-"] {
  display: flex;
}

.epc-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--epc-card);
  border: 1px solid var(--epc-border-soft);
  border-radius: var(--epc-radius-lg);
  padding: 1.75rem 1.65rem 1.5rem;
  box-shadow: var(--epc-shadow);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.epc-plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
}

.epc-plan-card--recommended {
  border-color: rgba(0, 157, 255, 0.45);
  box-shadow: var(--epc-shadow), var(--epc-glow-blue);
  background: linear-gradient(180deg, rgba(0, 157, 255, 0.08) 0%, var(--epc-card) 120px);
}

.epc-plan-card--recommended::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--epc-radius-lg) var(--epc-radius-lg) 0 0;
  background: linear-gradient(90deg, var(--epc-blue), #00d4ff);
}

.epc-plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 157, 255, 0.15);
  border: 1px solid rgba(0, 157, 255, 0.35);
  color: var(--epc-blue);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.epc-plan-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-right: 4.5rem;
}

.epc-plan-card--recommended .epc-plan-header {
  padding-right: 5.5rem;
}

.epc-plan-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 157, 255, 0.12);
  color: var(--epc-blue);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.epc-plan-card--recommended .epc-plan-icon {
  background: rgba(0, 157, 255, 0.18);
  box-shadow: 0 0 20px rgba(0, 157, 255, 0.15);
}

.epc-plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: var(--epc-white);
  line-height: 1.2;
}

.epc-plan-license {
  margin: 0.2rem 0 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--epc-muted);
}

.epc-plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.epc-plan-price {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  color: var(--epc-white);
}

.epc-plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.epc-plan-amount {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.epc-plan-access {
  font-size: 0.9375rem;
  color: var(--epc-muted);
  font-weight: 500;
}

.epc-plan-validity {
  font-size: 0.8125rem;
  color: var(--epc-muted);
  margin: 0 0 1.25rem;
}

.epc-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.epc-plan-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.epc-plan-feature:last-child {
  border-bottom: none;
}

.epc-plan-feature.is-included {
  color: var(--epc-white);
}

.epc-plan-feature.is-excluded {
  color: var(--epc-muted);
}

.epc-plan-feature.is-excluded span {
  opacity: 0.75;
}

.epc-feature-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.epc-feature-icon--yes {
  color: var(--epc-blue);
}

.epc-plan-card--recommended .epc-feature-icon--yes {
  color: #00d4ff;
}

.epc-feature-icon--no {
  color: rgba(170, 183, 199, 0.55);
}

.epc-plan-description {
  background: var(--epc-surface);
  border: 1px solid var(--epc-border-soft);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.epc-plan-description p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--epc-muted);
}

.epc-plan-cta-wrap {
  margin-top: auto;
}

.epc-plan-cta {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.epc-plan-cta-note {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--epc-muted);
  text-align: center;
}

.epc-pricing-grid-note {
  margin: -2rem 0 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--epc-muted);
}

.epc-plan-cta--recommended {
  box-shadow: 0 6px 24px rgba(99, 230, 0, 0.3);
}

.epc-pricing-section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--epc-white);
}

.epc-pricing-section-lead {
  color: var(--epc-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.epc-pricing-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 3rem;
  border: 1px solid var(--epc-border-soft);
  border-radius: var(--epc-radius-lg);
  background: var(--epc-card);
}

.epc-pricing-compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin: 0;
}

.epc-pricing-compare th,
.epc-pricing-compare td {
  padding: 0.9rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--epc-border-soft);
  font-size: 0.875rem;
}

.epc-pricing-compare thead th {
  background: var(--epc-surface);
  color: var(--epc-white);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.epc-pricing-compare tbody th {
  text-align: left;
  color: var(--epc-white);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.15);
}

.epc-pricing-compare tbody td {
  color: var(--epc-muted);
}

.epc-pricing-compare tbody tr:last-child th,
.epc-pricing-compare tbody tr:last-child td {
  border-bottom: none;
}

.epc-compare-yes,
.epc-compare-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 600;
}

.epc-compare-yes {
  color: var(--epc-blue);
}

.epc-compare-no {
  color: rgba(170, 183, 199, 0.7);
}

.epc-compare-yes i,
.epc-compare-no i {
  font-size: 1rem;
}

@media (max-width: 767px) {
  .epc-plan-header {
    padding-right: 5rem;
  }

  .epc-plan-amount {
    font-size: 2.75rem;
  }
}

/* MS Store section */
.epc-ms-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--epc-card);
  border: 1px solid var(--epc-border-soft);
  border-radius: var(--epc-radius-lg);
}

.epc-ms-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--epc-surface);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--epc-muted);
}

/* Related links */
.epc-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.epc-related-links a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: var(--epc-surface);
  border: 1px solid var(--epc-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--epc-muted);
  transition: all 0.2s ease;
}

.epc-related-links a:hover {
  color: var(--epc-white);
  border-color: var(--epc-blue);
}

/* Footer */
.epc-footer {
  background: var(--epc-bg-secondary);
  border-top: 1px solid var(--epc-border);
  padding: 3.5rem 0 2rem;
}

.epc-footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--epc-white);
  margin-bottom: 1rem;
}

.epc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.epc-footer-links li { margin-bottom: 0.5rem; }

.epc-footer-links a {
  color: var(--epc-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.epc-footer-links a:hover { color: var(--epc-white); }

.epc-footer-brand {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--epc-border);
  text-align: center;
}

.epc-footer-logo {
  margin: 0 auto 0.75rem;
  opacity: 0.95;
  max-width: 180px;
}

.epc-footer-tagline {
  font-size: 0.875rem;
  color: var(--epc-muted);
  margin: 0;
}

.epc-footer-bottom {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--epc-muted);
}

.epc-footer-bottom p { margin: 0.25rem 0; }

/* 404 */
.epc-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 0;
}

.epc-404 h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--epc-blue);
  margin-bottom: 0.5rem;
}

/* Resource cards */
.epc-resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .epc-resource-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .epc-resource-grid { grid-template-columns: repeat(3, 1fr); }
}

.epc-resource-card {
  display: block;
  background: var(--epc-card);
  border: 1px solid var(--epc-border-soft);
  border-radius: var(--epc-radius-lg);
  padding: 1.5rem;
  transition: all 0.25s ease;
  color: inherit;
  height: 100%;
}

.epc-resource-card:hover {
  border-color: rgba(0, 157, 255, 0.35);
  transform: translateY(-3px);
  color: inherit;
  box-shadow: var(--epc-glow-blue);
}

.epc-resource-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--epc-white);
  margin-bottom: 0.5rem;
}

.epc-resource-card p {
  font-size: 0.875rem;
  color: var(--epc-muted);
  margin: 0;
}

/* Legal */
.epc-legal-notice {
  background: rgba(0, 157, 255, 0.08);
  border: 1px solid rgba(0, 157, 255, 0.2);
  border-radius: var(--epc-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--epc-muted);
}

/* Windows section */
.epc-windows-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .epc-windows-grid { grid-template-columns: repeat(3, 1fr); }
}

.epc-windows-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--epc-card);
  border: 1px solid var(--epc-border-soft);
  border-radius: var(--epc-radius-lg);
}

.epc-windows-item i {
  font-size: 1.5rem;
  color: var(--epc-blue);
  flex-shrink: 0;
}

.epc-windows-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--epc-white);
}

.epc-windows-item p {
  font-size: 0.85rem;
  color: var(--epc-muted);
  margin: 0;
}

/* Two column */
.epc-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .epc-two-col { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* Utility */
.text-muted-epc { color: var(--epc-muted) !important; }
.epc-inline-cta { margin-top: 2rem; }

.btn-outline-light {
  --bs-btn-color: var(--epc-muted);
  --bs-btn-border-color: var(--epc-border);
  --bs-btn-hover-bg: var(--epc-surface);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.2);
  --bs-btn-hover-color: var(--epc-white);
  border-radius: 10px;
  font-weight: 600;
}

code {
  color: var(--epc-green);
  background: rgba(99, 230, 0, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.875em;
}
