/* EmailPilot Landing (Elementor) - minimal overrides */

.page-id-17 body,
.page-id-17 .site {
  background: linear-gradient(125deg, #ffffff 0%, #f0f2f5 50%, #ffffff 100%);
  color: var(--text-primary);
}

.page-id-17 .ep-landing {
  position: relative;
  overflow: hidden;
}

.page-id-17 .ep-landing::before,
.page-id-17 .ep-landing::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.page-id-17 .ep-landing::before {
  inset: -10% auto auto -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(51, 105, 220, 0.18) 0%, transparent 65%);
  filter: blur(10px);
}

.page-id-17 .ep-landing::after {
  inset: auto -10% -15% auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(138, 108, 247, 0.16) 0%, transparent 65%);
  filter: blur(10px);
}

.page-id-17 .ep-landing > * {
  position: relative;
  z-index: 1;
}

.page-id-17 .ep-hero-title {
  font-family: 'Red Hat Display', 'Poppins', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--ep-blue), var(--ep-purple), #0f172a, var(--ep-blue));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ep-hero-gradient 8s ease infinite;
}

@keyframes ep-hero-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.page-id-17 .ep-subtitle,
.page-id-17 .ep-muted {
  color: var(--text-secondary);
}

.page-id-17 .ep-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(51, 105, 220, 0.08);
  color: var(--ep-blue);
  border: 1px solid rgba(51, 105, 220, 0.2);
}

.page-id-17 .ep-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-id-17 .ep-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(51, 105, 220, 0.2);
}

.page-id-17 .ep-section-surface {
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
}

.page-id-17 .ep-integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  align-items: center;
}

.page-id-17 .ep-integration-name {
  font-family: 'Red Hat Display', 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #334155;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-id-17 .ep-integration-name:hover {
  color: #0f172a;
  transform: translateY(-1px);
  border-color: rgba(51, 105, 220, 0.2);
}

/* Waitlist form */
.page-id-17 .ep-waitlist {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-sm);
}

.page-id-17 .ep-waitlist input[type="email"] {
  height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
}

.page-id-17 .ep-waitlist button {
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .page-id-17 .ep-waitlist {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}

/* Laptop mockup */
.page-id-17 .ep-laptop {
  background: #0f1115;
  border-radius: 18px;
  padding: 8px;
  border: 1px solid #20232a;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
}

.page-id-17 .ep-laptop-screen {
  background: #0b0d12;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1f2330;
}

/* Pricing */
.page-id-17 .ep-pricing-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.page-id-17 .ep-pricing-toggle {
  position: relative;
  width: 64px;
  height: 32px;
  background: rgba(203, 213, 225, 0.8);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.page-id-17 .ep-pricing-toggle.active {
  background: var(--ep-blue);
}

.page-id-17 .ep-pricing-toggle .ep-pricing-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.page-id-17 .ep-pricing-toggle.active .ep-pricing-knob {
  transform: translateX(32px);
}

/* Video modal */
.page-id-17 .ep-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.page-id-17 .ep-modal.active {
  display: flex;
}

.page-id-17 .ep-modal-card {
  width: min(900px, 92vw);
  background: #0f1115;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.page-id-17 .ep-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .page-id-17 * {
    animation: none !important;
    transition: none !important;
  }
}

/* Shared feature-page look to match front-page typography and spacing */
.ep-feature-page {
  position: relative;
  overflow: hidden;
}

.ep-feature-page .ep-hero-title {
  font-family: 'Red Hat Display', 'Poppins', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 10px;
  background: linear-gradient(120deg, var(--ep-blue), var(--ep-purple), #0f172a, var(--ep-blue));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ep-hero-gradient 8s ease infinite;
}

.ep-feature-page .ep-subtitle,
.ep-feature-page .ep-muted {
  color: var(--text-secondary);
}

.ep-feature-page .elementor-widget-heading h1 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

.ep-feature-page .elementor-widget-heading h2 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.12;
  margin: 18px 0 10px;
}

.ep-feature-page .elementor-widget-text-editor p,
.ep-feature-page .elementor-widget-html p,
.ep-feature-page li {
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.65;
  color: var(--text-secondary);
}

.ep-feature-page .ep-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.ep-feature-page .elementor-widget-image img {
  border-radius: 14px;
}

.ep-feature-page .ep-integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.ep-feature-page .ep-integration-name {
  font-family: 'Red Hat Display', 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: #334155;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Marketing pages: consistent typography/spacing without relying on Elementor custom class output */
body.ep-marketing .site {
  background: linear-gradient(125deg, #ffffff 0%, #f0f2f5 50%, #ffffff 100%);
}

body.ep-marketing .elementor-heading-title {
  font-family: 'Red Hat Display', 'Poppins', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

body.ep-marketing h1.elementor-heading-title {
  font-weight: 900;
  line-height: 1.06;
  margin: 0 0 12px;
  background: linear-gradient(120deg, var(--ep-blue), var(--ep-purple), #0f172a, var(--ep-blue));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ep-hero-gradient 8s ease infinite;
}

body.ep-marketing h2.elementor-heading-title {
  font-weight: 900;
  line-height: 1.12;
  margin: 22px 0 10px;
}

body.ep-marketing .elementor-widget-text-editor p,
body.ep-marketing .elementor-widget-html p,
body.ep-marketing li {
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.65;
}

body.ep-marketing .elementor-widget-image img {
  border-radius: 14px;
}
