
/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Colors */
  --pe-bg-body: #080a12;
  --pe-pill-bg: rgba(12, 14, 26, 0.65);
  --pe-pill-border: rgba(255, 255, 255, 0.04);
  --pe-pill-border-top: rgba(255, 255, 255, 0.08);
  --pe-pill-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 16px 48px -12px rgba(0, 0, 0, 0.8),
    0 4px 24px -4px rgba(0, 0, 0, 0.4);

  --pe-text-primary: #f0f0f6;
  --pe-text-secondary: rgba(195, 195, 218, 0.60);
  --pe-text-hover: #ffffff;

  --pe-accent: #7C3AED;
  --pe-accent-start: #7C3AED;
  --pe-accent-end: #4F46E5;
  --pe-accent-hover-start: #8B5CF6;
  --pe-accent-hover-end: #6366F1;

  --pe-logo-text-color: #eeeef6;

  /* Spacing */
  --pe-header-top: 24px;
  --pe-pill-height: 68px;
  --pe-pill-px: 32px;
  --pe-pill-max-w: 1300px;
  --pe-pill-radius: 10px;

  /* Typography */
  --pe-font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --pe-font-sm: 0.875rem;
  /* 14px */
  --pe-font-base: 0.9375rem;
  /* 15px */

  /* Transitions — 260ms ease-out across the board */
  --pe-ease: cubic-bezier(0.25, 0, 0.15, 1);
  --pe-transition: all 0.26s var(--pe-ease);
  --pe-transition-fast: all 0.16s var(--pe-ease);
}

/* ─── Base Reset for Navbar ──────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--pe-font-family);
  background-color: var(--pe-bg-body);
  min-height: 100vh;
}

/* ─── Header Wrapper ─────────────────────────────────────────── */
.pe-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: var(--pe-header-top) 16px 0;
  pointer-events: none;
  /* Allow clicking through the transparent area */
}

/* ─── Navbar ─────────────────────────────────────────────────── */
.pe-navbar {
  width: 100%;
  max-width: var(--pe-pill-max-w);
  pointer-events: all;
}

/* ─── Pill Container ─────────────────────────────────────────── */
.pe-navbar__pill {
  height: var(--pe-pill-height);
  padding: 0 var(--pe-pill-px);
  border-radius: var(--pe-pill-radius);
  border: 1px solid var(--pe-pill-border);
  background: var(--pe-pill-bg);
  backdrop-filter: blur(28px) saturate(200%) brightness(1.04);
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.04);
  box-shadow: var(--pe-pill-shadow);
  transition: var(--pe-transition);
  position: relative;
  z-index: 10000;
}

/* Hairline highlight on top edge — adds the glass "rim" */
.pe-navbar__pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  border-radius: var(--pe-pill-radius) var(--pe-pill-radius) 0 0;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--pe-pill-border-top) 30%,
      var(--pe-pill-border-top) 70%,
      transparent 100%);
  pointer-events: none;
}

/* ─── Logo ───────────────────────────────────────────────────── */
.pe-navbar__logo {
  flex-shrink: 0;
  gap: 11px;
  /* wider gap between icon and wordmark */
  transition: var(--pe-transition);
}

.pe-navbar__logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.pe-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pe-logo-icon svg {
  filter:
    drop-shadow(0 0 6px rgba(124, 58, 237, 0.45)) drop-shadow(0 2px 10px rgba(79, 70, 229, 0.30));
  transition: filter 0.30s var(--pe-ease), transform 0.30s var(--pe-ease);
}

.pe-navbar__logo:hover .pe-logo-icon svg {
  filter:
    drop-shadow(0 0 14px rgba(124, 58, 237, 0.80)) drop-shadow(0 2px 18px rgba(79, 70, 229, 0.55));
  transform: scale(1.05);
}

.pe-logo-text {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--pe-logo-text-color);
  line-height: 1;
}

/* ─── Desktop Nav Links ──────────────────────────────────────── */
.pe-navbar__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /* ensure it stays truly centered regardless of logo/CTA width */
  white-space: nowrap;
}

.pe-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  border-radius: 999px;
  font-size: var(--pe-font-base);
  font-weight: 500;
  color: var(--pe-text-secondary);
  text-decoration: none;
  letter-spacing: 0.01em;
  /* slightly open — improves readability */
  transition: color 0.26s var(--pe-ease);
  position: relative;
  white-space: nowrap;
  overflow: visible;
}

/* Underline that grows from the center */
.pe-nav-link::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: calc(100% - 46px);
  /* shorter */
  height: 1px;
  /* thinner */
  border-radius: 1px;
  background: var(--pe-accent);
  opacity: 0;
  transition:
    transform 0.26s var(--pe-ease),
    opacity 0.26s var(--pe-ease);
}

/* Subtle background pill on hover */
.pe-nav-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0);
  transition: background 0.26s var(--pe-ease);
}

.pe-nav-link:hover {
  color: var(--pe-text-hover);
}

.pe-nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
  opacity: 0.55;
}

.pe-nav-link:hover::after {
  background: rgba(255, 255, 255, 0.045);
}

/* Active state — current page (Features) highlighted in brand purple */
.pe-nav-link.is-active {
  color: #a78bfa;
  /* violet-400 — readable against dark bg */
}

.pe-nav-link.is-active::before {
  transform: translateX(-50%) scaleX(1);
  opacity: 0.8;
  background: var(--pe-accent);
}

.pe-nav-link:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.65);
  outline-offset: 3px;
  color: var(--pe-text-hover);
}

/* ─── CTA Primary Button ─────────────────────────────────────── */
/* ─── Global Button Design System ────────────────────────────── */
.pe-btn-primary,
.pe-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  /* Height: 48px */
  padding: 0 24px;
  /* Consistent horizontal padding */
  border-radius: 10px;
  /* Border Radius: 7px */
  font-family: var(--pe-font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  /* Font Weight: 600 */
  letter-spacing: 0.005em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Smooth hover transition (0.3s) */
  flex-shrink: 0;
}

/* PRIMARY BUTTON: Purple gradient, soft purple glow, translateY(-2px) */
.pe-btn-primary {
  background: linear-gradient(135deg, #7C4DFF 0%, #4F46E5 100%);
  box-shadow: 0 4px 14px rgba(124, 77, 255, 0.25);
}

.pe-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(124, 77, 255, 0.45);
}

.pe-btn-primary:active {
  transform: translateY(0);
}

.pe-btn-primary:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.72);
  outline-offset: 3px;
}


/* ─── Nav User Dropdown (logged-in state) ───────────────────────── */
.nav-user-dropdown {
  position: relative;
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--pe-pill-border);
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
  cursor: pointer;
  font-family: var(--pe-font-family);
  font-size: var(--pe-font-sm);
  font-weight: 600;
  color: var(--pe-text-primary);
  transition: var(--pe-transition);
}

.nav-user-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.nav-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C4DFF 0%, #4F46E5 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-user-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: rgba(10, 12, 24, 0.98);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  z-index: 10006;
  overflow: hidden;
}

.nav-user-menu.open {
  display: block;
}

.num-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.num-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--pe-text-primary);
}

.num-plan {
  font-size: 12px;
  color: var(--pe-text-secondary);
  margin-top: 2px;
}

.num-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pe-text-primary);
  text-decoration: none;
  transition: background 0.15s;
}

.num-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #a78bfa;
}

.num-item-danger {
  color: #f87171;
}

.num-item-danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}

.num-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

/* ─── Hamburger Button ───────────────────────────────────────── */
.pe-hamburger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--pe-pill-border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  transition: var(--pe-transition);
}

.pe-hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.pe-hamburger:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.6);
  outline-offset: 2px;
}

.pe-hamburger__bar {
  display: block;
  width: 20px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--pe-text-primary);
  transition: var(--pe-transition);
  transform-origin: center;
}

/* Hamburger → X animation */
.pe-hamburger.is-open .pe-hamburger__bar:nth-child(1) {
  transform: translateY(6.75px) rotate(45deg);
}

.pe-hamburger.is-open .pe-hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.pe-hamburger.is-open .pe-hamburger__bar:nth-child(3) {
  transform: translateY(-6.75px) rotate(-45deg);
}

/* ─── Mobile Menu ────────────────────────────────────────────── */
.pe-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  margin-top: 0 !important;
  border-radius: 0 !important;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 24, 0.96);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.6);
  padding: 100px 24px 32px !important;
  overflow-y: auto;
  z-index: 10005;
  /* Above header pill */

  /* Flex layout */
  display: flex;
  flex-direction: column;

  /* Slide-in animation */
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    opacity 0.4s cubic-bezier(0.25, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.25, 1, 0.3, 1),
    visibility 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}

.pe-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.pe-mobile-close {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--pe-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.pe-mobile-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.pe-mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.pe-mobile-link {
  display: block;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: var(--pe-font-base);
  font-weight: 500;
  color: var(--pe-text-secondary);
  text-decoration: none;
  transition: var(--pe-transition-fast);
}

.pe-mobile-link:hover {
  color: var(--pe-text-hover);
  background: rgba(255, 255, 255, 0.05);
}

.pe-mobile-link:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.6);
  outline-offset: 2px;
  color: var(--pe-text-hover);
}

.pe-mobile-menu__cta {
  border-top: 1px solid var(--pe-pill-border);
  padding-top: 24px;
  margin-top: auto;
  /* pushes CTA to the bottom */
}

.pe-mobile-menu__cta .pe-btn-primary {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  font-size: var(--pe-font-base);
}


/* =============================================================
   PicsEdit – Hero Section Styles
   ============================================================= */

/* ─── Hero Section ───────────────────────────────────────────── */
.pe-hero {
  position: relative;
  width: 100%;
  /* navbar: 24px top + 78px height = 102px; gap spec = 64px */
  padding-top: calc(24px + 78px + 64px);
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Soft vignette to naturally focus attention */
.pe-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(8, 10, 18, 0.75) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Ambient Background Glows ──────────────────────────────── */
.pe-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

.pe-hero__glow--purple {
  width: 800px;
  height: 600px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
      rgba(124, 58, 237, 0.18) 0%,
      rgba(124, 58, 237, 0.05) 45%,
      transparent 80%);
  filter: blur(120px);
}

.pe-hero__glow--indigo {
  width: 600px;
  height: 500px;
  top: 100px;
  right: 5%;
  background: radial-gradient(ellipse at center,
      rgba(79, 70, 229, 0.12) 0%,
      transparent 70%);
  filter: blur(100px);
}

.pe-hero__glow--gallery {
  width: 900px;
  height: 450px;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
      rgba(124, 58, 237, 0.14) 0%,
      rgba(79, 70, 229, 0.06) 40%,
      transparent 75%);
  filter: blur(140px);
}

/* Fine noise texture over the glow for depth */
.pe-hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 1;
  /* Effective ~2.5% premium noise */
  z-index: 0;
  pointer-events: none;
}

/* All hero content above glows */
.pe-hero .container-xl {
  position: relative;
  z-index: 1;
}

/* Content column: constrain to ~1000px for premium editorial width */
.pe-hero__content {
  max-width: 1000px;
  margin-inline: auto;
}

/* ─── Announcement Badge ─────────────────────────────────────── */
.pe-hero__badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  /* Entrance animation */
  animation: heroFadeUp 0.65s var(--pe-ease) both;
  animation-delay: 0.05s;
}

.pe-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.15), rgba(79, 70, 229, 0.15));
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: rgba(196, 181, 253, 0.92);
  /* violet-300 */
  font-size: 0.8125rem;
  /* 13px */
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    background 0.26s var(--pe-ease),
    border-color 0.26s var(--pe-ease),
    color 0.26s var(--pe-ease);
  white-space: nowrap;
}

.pe-hero__badge:hover {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.25), rgba(79, 70, 229, 0.25));
  border-color: rgba(167, 139, 250, 0.6);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35);
}

/* Live pulse dot */
.pe-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.6);
  animation: pulseDot 2.2s ease-out infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.55);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(167, 139, 250, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0);
  }
}

.pe-hero__badge-spark {
  font-size: 0.875rem;
  line-height: 1;
}

.pe-hero__badge-label {
  line-height: 1;
}

.pe-hero__badge-arrow {
  opacity: 0.60;
  flex-shrink: 0;
  transition: transform 0.22s var(--pe-ease), opacity 0.22s var(--pe-ease);
}

.pe-hero__badge:hover .pe-hero__badge-arrow {
  transform: translateX(3px);
  opacity: 0.90;
}

/* ─── Headline ───────────────────────────────────────────────── */
.pe-hero__headline {
  font-size: clamp(2.75rem, 6.3vw, 4rem);
  /* 44px → 80px fluid */
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  /* slightly improved optical alignment */
  color: var(--pe-text-primary);
  margin: 0 0 32px;

  /* Entrance animation */
  animation: heroFadeUp 0.72s var(--pe-ease) both;
  animation-delay: 0.14s;
}

/* "Professional." — gradient highlight */
.pe-hero__headline-highlight {
  background: linear-gradient(120deg,
      #a78bfa 0%,
      /* violet-400 */
      #7C3AED 40%,
      #6366F1 80%,
      #818cf8 100%
      /* indigo-400 */
    );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Animate the gradient position on hover/load */
  background-size: 200% 100%;
  animation:
    heroFadeUp 0.72s var(--pe-ease) 0.14s both,
    gradientShift 5s ease-in-out 1s infinite alternate;
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 100% center;
  }
}

/* SECONDARY BUTTON: Transparent background, 1px subtle border, border brightens on hover */
.pe-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.pe-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.40);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.pe-btn-secondary:active {
  transform: translateY(0);
}

.pe-btn-secondary:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.65);
  outline-offset: 3px;
}

/* Play icon pill inside secondary button */
.pe-btn-secondary__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pe-btn-secondary:hover .pe-btn-secondary__play {
  background: rgba(124, 58, 237, 0.30);
  border-color: rgba(124, 58, 237, 0.45);
  transform: scale(1.08);
}

/* SMALL BUTTON: Sized down sizing modifier class */
.pe-btn-small {
  height: 38px !important;
  padding: 0 16px !important;
  font-size: 0.8125rem !important;
}

/* ─── Description ────────────────────────────────────────────── */
.pe-hero__description {
  max-width: 640px;
  margin: 0 auto 50px;
  /* +10px gap before CTA buttons */
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  /* slightly larger */
  font-weight: 400;
  line-height: 1.75;
  /* enhanced readability rhythm */
  color: rgba(195, 195, 218, 0.7);
  letter-spacing: 0.005em;

  /* Entrance animation */
  animation: heroFadeUp 0.72s var(--pe-ease) both;
  animation-delay: 0.24s;
}

/* ─── CTA Button Group ───────────────────────────────────────── */
.pe-hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  /* wider spacing between primary and secondary */
  flex-wrap: wrap;
  margin-bottom: 42px;
  /* breathing room above trust section */
  animation: heroFadeUp 0.72s var(--pe-ease) both;
  animation-delay: 0.33s;
}

/* Hero primary button — inherits pe-btn-primary, sized up */
.pe-hero__cta-primary {
  padding: 14px 30px;
  font-size: 0.9375rem;
  gap: 10px;
}



/* ─── Reusable Section Header System ────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 72px;
  /* Spacing below header to content: 72px */
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #c4b5fd;
  font-family: var(--pe-font-family);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  /* Spacing below badge: 24px */
}

.section-title {
  font-family: var(--pe-font-family);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  /* Spacing below heading: 24px */
}

.section-highlight {
  background: linear-gradient(120deg, #a78bfa 0%, #7c3aed 50%, #4f46e5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
}

.section-description {
  font-family: var(--pe-font-family);
  font-size: 20px;
  color: rgba(195, 195, 218, 0.6);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: 38px;
  }

  .section-description {
    font-size: 18px;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 30px;
  }

  .section-description {
    font-size: 16px;
  }
}

/* ─── Trust Section ──────────────────────────────────────────── */
.pe-hero__trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;

  /* Entrance animation */
  animation: heroFadeUp 0.72s var(--pe-ease) both;
  animation-delay: 0.44s;
}

.pe-trust__avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pe-trust__avatars-img {
  height: 36px;
  width: auto;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

/* Vertical divider */
.pe-trust__divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 1px;
  flex-shrink: 0;
}

.pe-trust__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.pe-trust__stars {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #FBBF24;
  /* amber-400 — gold stars */
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.40));
}

.pe-trust__text {
  font-size: 0.8125rem;
  /* 13px */
  font-weight: 400;
  color: rgba(195, 195, 218, 0.58);
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
}

.pe-trust__text strong {
  font-weight: 600;
  color: rgba(215, 215, 235, 0.80);
}

/* ─── Gallery Placeholder (reserved space) ───────────────────── */
.pe-hero__gallery-placeholder {
  height: 120px;
  /* cleared space — the gallery sprint fills this */
}

/* ─── Hero Entrance Animation ────────────────────────────────── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =============================================================
   PicsEdit – Hero Gallery (Card Fan Design)
   ============================================================= */

/* ---------- Card fan ---------- */
.card-fan {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 6rem;
  height: clamp(380px, 45vw, 500px);
  --w-outer: clamp(120px, 14vw, 150px);
  --w-inner: clamp(160px, 18vw, 200px);
  --w-center: clamp(200px, 24vw, 260px);
  --pe-gallery-gap: clamp(12px, 2vw, 24px);
  perspective: 1200px;
}

.fan-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .35s var(--pe-ease);
}

.fan-item .photo {
  width: 100%;
  aspect-ratio: 1 / 1.65;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, .75),
    0 0 0 1px rgba(255, 255, 255, .05),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--pe-bg-body);
}

.fan-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card 3 (Center) */
.fan-3 {
  width: var(--w-center);
  left: 50%;
  margin-left: calc(var(--w-center) / -2);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.fan-3 .photo {
  box-shadow:
    0 40px 80px -10px rgba(0, 0, 0, .85),
    0 0 0 1px rgba(255, 255, 255, .08),
    0 0 50px rgba(124, 58, 237, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Subtle purple glow behind only the center card */
.fan-3::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 60%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

/* Card 2 (Inner Left) */
.fan-2 {
  width: var(--w-inner);
  left: 50%;
  margin-left: calc((var(--w-center) / -2) - var(--w-inner) - var(--pe-gallery-gap));
  top: 50%;
  transform: translateY(-50%) rotateY(-20deg);
  z-index: 2;
}

/* Card 4 (Inner Right) */
.fan-4 {
  width: var(--w-inner);
  left: 50%;
  margin-left: calc((var(--w-center) / 2) + var(--pe-gallery-gap));
  top: 50%;
  transform: translateY(-50%) rotateY(20deg);
  z-index: 2;
}

/* Card 1 (Outer Left) */
.fan-1 {
  width: var(--w-outer);
  left: 50%;
  margin-left: calc((var(--w-center) / -2) - var(--w-inner) - var(--w-outer) - (2 * var(--pe-gallery-gap)) + 1.2vw);
  top: 50%;
  transform: translateY(-50%) rotateY(-20deg);
  z-index: 1;
}

/* Card 5 (Outer Right) */
.fan-5 {
  width: var(--w-outer);
  left: 50%;
  margin-left: calc((var(--w-center) / 2) + var(--w-inner) + (2 * var(--pe-gallery-gap)) - 1.2vw);
  top: 50%;
  transform: translateY(-50%) rotateY(20deg);
  z-index: 1;
}

/* Hover Adjustments Disabled per Request */

/* Center card highlight border glow */
.fan-3::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--card-radius, 18px) + 1px);
  background: transparent;
  pointer-events: none;
  z-index: 6;
}

.tag {
  position: absolute;
  top: -16px;
  background: rgba(20, 16, 32, .9);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--pe-text-primary);
  font-family: var(--pe-font-family);
  font-size: .68rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.tag.bottom {
  top: auto;
  bottom: -16px;
}

.tag .ok {
  color: #4ade80;
}

/* checkerboard = transparent-bg look for the "AI Enhanced" cutout card */
.checker {
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  background-color: rgba(255, 255, 255, 0.02);
}

.checker img {
  object-fit: cover;
}






/* =====================================
   RIBBON
===================================== */
/* =============================================================
   PicsEdit – AI Capability Ribbon
   ribbon.css
   ─────────────────────────────────────────────────────────────
   Thin marquee ribbon between Hero and Features.
   Marquee engine: CSS @keyframes translateX(-50%) on a 2×
   duplicated pill list so the loop is perfectly seamless.
   ============================================================= */

/* ─── Ribbon Wrapper ─────────────────────────────────────────── */
.pe-ribbon {
  position: relative;
  width: 100%;
  padding-block: 48px;
  /* vertical breathing room */
  overflow: hidden;
  background: transparent;

  /* Edge fade masks — left and right vignette to blend into page */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%);
}

/* Optional: very faint top/bottom rule lines for editorial feel */
.pe-ribbon::before,
.pe-ribbon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(139, 92, 246, 0.12) 20%,
      rgba(139, 92, 246, 0.12) 80%,
      transparent 100%);
  pointer-events: none;
}

.pe-ribbon::before {
  top: 0;
}

.pe-ribbon::after {
  bottom: 0;
}

/* ─── Scrolling Track ────────────────────────────────────────── */
.pe-ribbon__track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  /* must not wrap */
  white-space: nowrap;
  animation: pe-marquee 20s linear infinite;
  will-change: transform;
}

/* Pause on hover — elegant, intentional */
.pe-ribbon:hover .pe-ribbon__track {
  animation-play-state: paused;
}

/* Respect user's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .pe-ribbon__track {
    animation: none;
  }
}

/* ─── Marquee Keyframe ───────────────────────────────────────── */
/*
  The track contains 2 identical sets of pills.
  Moving -50% of total width lands exactly at the
  start of set 2, which is visually identical to set 1.
  The browser loops seamlessly — no jump, no flicker.
*/
@keyframes pe-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── Pill ───────────────────────────────────────────────────── */
.pe-ribbon__pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding-inline: 20px;
  border-radius: 999px;

  /* Glassmorphism */
  background: rgba(14, 15, 28, 0.55);
  border: 1px solid rgba(139, 92, 246, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  /* Soft ambient purple glow */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 4px 24px -8px rgba(0, 0, 0, 0.45),
    0 0 20px -6px rgba(139, 92, 246, 0.10);

  /* Typography */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.008em;
  color: rgba(220, 215, 245, 0.82);
  white-space: nowrap;
  user-select: none;

  /* Hover: brighten single pill when track is paused */
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.pe-ribbon__pill:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.38);
  color: rgba(233, 230, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 4px 24px -8px rgba(0, 0, 0, 0.50),
    0 0 28px -4px rgba(139, 92, 246, 0.22);
}

/* ─── Live pulse dot inside each pill ───────────────────────── */
.pe-ribbon__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.55);
  animation: pe-ribbon-pulse 3s ease-out infinite;
}

/* Stagger the pulse so not all dots pulse at the same time */
.pe-ribbon__pill:nth-child(2n) .pe-ribbon__dot {
  animation-delay: -1.0s;
}

.pe-ribbon__pill:nth-child(3n) .pe-ribbon__dot {
  animation-delay: -2.0s;
}

.pe-ribbon__pill:nth-child(4n) .pe-ribbon__dot {
  animation-delay: -0.5s;
}

.pe-ribbon__pill:nth-child(5n) .pe-ribbon__dot {
  animation-delay: -1.5s;
}

@keyframes pe-ribbon-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.55);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(167, 139, 250, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0);
  }
}

/* Pause pulse dots too when ribbon is hovered */
.pe-ribbon:hover .pe-ribbon__dot {
  animation-play-state: paused;
}

/* ─── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pe-ribbon {
    padding-block: 36px;
  }

  .pe-ribbon__pill {
    height: 42px;
    padding-inline: 16px;
    font-size: 0.8125rem;
  }

  .pe-ribbon__track {
    gap: 12px;
  }
}


/* =====================================
   FEATURES
===================================== */
/* =============================================================
   PicsEdit – Features Section (Section 02)
   features.css  •  v3
   ─────────────────────────────────────────────────────────────
   Grid engine: CSS Grid with fr units.
   Proportions are pixel-exact because fr distributes space AFTER
   gaps are subtracted. No flex-basis percentage drift possible.

   Top row:    grid-template-columns: 50fr 25fr 25fr   (sum 100fr)
   Bottom row: grid-template-columns: 42fr 29fr 29fr   (sum 100fr)

   Border on all 6 cards: 1px solid rgba(255,255,255,.08)
   — hardcoded once via --pef-card-border and applied uniformly.
   ============================================================= */

/* ─── Section Token ──────────────────────────────────────────── */
.pef-section {
  --pef-card-border: 1px solid rgba(255, 255, 255, 0.08);
  --pef-card-radius: 7px;
  --pef-img-radius: 4px;
  --pef-card-pad: 28px;
  /* increased for better readability */
  --pef-gap-desktop: 24px;
  --pef-gap-tablet: 20px;
  --pef-gap-mobile: 16px;
  --pef-ease: cubic-bezier(0.25, 0, 0.15, 1);
}

/* ─── Section Wrapper ────────────────────────────────────────── */
.pef-section {
  position: relative;
  background: transparent;
  padding-top: 40px;
  /* ribbon handles the Hero gap now */
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}

/* ─── Ambient glow (one, centered behind grid) ───────────────── */
.pef-bg-glow {
  position: absolute;
  top: 30%;
  /* centered behind the grid, not header */
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse at center,
      rgba(139, 92, 246, 0.16) 0%,
      rgba(124, 58, 237, 0.06) 45%,
      transparent 72%);
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* ─── Container ─ 1320px, matches Hero container-xl ─────────── */
.pef-container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Refactored Section Header rules removed */

/* ─── Grid Wrapper ───────────────────────────────────────────── */
.pef-grid {
  display: flex;
  flex-direction: column;
  gap: var(--pef-gap-desktop);
}

/* ─── Row: CSS Grid engine ───────────────────────────────────── */
/*
  Using CSS Grid with fr units is the only way to guarantee exact
  proportional widths when a gap exists. flex-basis percentages
  cause overflow because the browser adds gap on top of the width.

  grid-template-columns with fr distributes the remaining space
  (after gaps) in the exact requested proportions. Gap-proof.
*/

.pef-row--top {
  display: grid;
  grid-template-columns: 50fr 25fr 25fr;
  gap: var(--pef-gap-desktop);
  align-items: stretch;
  min-height: 360px;
}

.pef-row--bottom {
  display: grid;
  grid-template-columns: 42fr 29fr 29fr;
  /* 42 % : 29 % : 29 % — sum=100fr */
  gap: var(--pef-gap-desktop);
  align-items: stretch;
  min-height: 340px;
  /* min desktop height — generous enough for content */
}

/* ─── Card Base — identical for ALL 6 ───────────────────────── */
/*
  Every style that could cause visual inconsistency between rows
  (border, radius, padding, shadow, background) is declared once
  here and never overridden per-card-size class.
*/
.pef-card {
  /* Layout */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* clips the hover image scale only */
  position: relative;

  /* Spacing — identical on every card regardless of size */
  padding: var(--pef-card-pad);

  /* Visual — identical on every card */
  border-radius: var(--pef-card-radius);
  border: var(--pef-card-border);
  /* 1px solid rgba(255,255,255,.08) — ALL 6 */
  background: rgba(14, 15, 26, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 60px -18px rgba(0, 0, 0, 0.70),
    0 4px 20px -8px rgba(0, 0, 0, 0.40);

  /* Hover — no layout shift allowed */
  cursor: default;
  transition:
    transform 0.30s var(--pef-ease),
    box-shadow 0.30s var(--pef-ease),
    border-color 0.30s var(--pef-ease);
}

/* Hover: lift + soft purple border glow (no reflow) */
.pef-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.32);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 36px 80px -18px rgba(0, 0, 0, 0.80),
    0 0 0 1px rgba(139, 92, 246, 0.14),
    0 0 44px -8px rgba(139, 92, 246, 0.22);
}

/* Keyboard focus ring */
.pef-card:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.65);
  outline-offset: 3px;
  border-color: rgba(139, 92, 246, 0.32);
}

/* ─── Primary card (top-left, largest) — slightly more prominent ── */
.pef-row--top .pef-card:first-child {
  background: rgba(16, 17, 30, 0.80);
  /* marginally richer background */
  border-color: rgba(255, 255, 255, 0.11);
  /* border 1 step brighter than siblings */
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.07) inset,
    0 32px 70px -18px rgba(0, 0, 0, 0.80),
    0 0 0 1px rgba(139, 92, 246, 0.08);
  /* faint ambient purple ring */
}

.pef-row--top .pef-card:first-child:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 40px 90px -18px rgba(0, 0, 0, 0.90),
    0 0 0 1px rgba(139, 92, 246, 0.20),
    0 0 52px -8px rgba(139, 92, 246, 0.30);
}

/* ─── Preview Image Container ────────────────────────────────── */
.pef-card__preview {
  border-radius: var(--pef-img-radius);
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 16px;
  background: rgba(8, 10, 18, 0.60);

  /* Top row: more generous preview height */
  .pef-row--top & {
    flex: 1;
    /* fill remaining card height */
  }

  /* Bottom row: fixed preview proportion */
  .pef-row--bottom & {
    height: 120px;
  }
}

/* Fallback for browsers without nesting — use explicit selectors */
.pef-row--top .pef-card__preview {
  height: 240px;
  /* slightly taller to better showcase demo images */
  flex: none;
}

.pef-row--bottom .pef-card__preview {
  height: 140px;
  /* slightly taller for demo image legibility */
  flex-shrink: 0;
}

.pef-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--pef-img-radius);
  transition: transform 0.35s var(--pef-ease);
}

.pef-card:hover .pef-card__img {
  transform: scale(1.02);
  /* 102% clipped by overflow:hidden on preview */
}

/* ─── Card Body ──────────────────────────────────────────────── */
.pef-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

/* ─── Icon — 40×40, 12px radius, purple gradient, identical ─── */
.pef-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  /* spec: 12px */
  background: linear-gradient(135deg,
      #7c3aed 0%,
      #8b5cf6 60%,
      #a78bfa 100%);
  box-shadow:
    0 4px 16px rgba(139, 92, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  color: #ffffff;
  flex-shrink: 0;
  margin-bottom: 2px;
}

/* ─── Card Typography ────────────────────────────────────────── */
.pef-card__title {
  font-family: var(--pe-font-family);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--pe-text-primary);
  margin: 0;
}

.pef-card__desc {
  font-family: var(--pe-font-family);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.62;
  color: #9d97b3;
  /* WCAG AA verified: 4.53:1 on #090B14 */
  margin: 0;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* ── Tablet  <992px — 2-column collapse ── */
@media (max-width: 991px) {
  .pef-section {
    padding-bottom: 64px;
  }

  .pef-grid {
    gap: var(--pef-gap-tablet);
  }

  .pef-row--top,
  .pef-row--bottom {
    /* Re-declare as 2-col grid with explicit widths */
    display: grid;
    gap: var(--pef-gap-tablet);
    height: auto;
    /* release fixed desktop heights */
  }

  /* Top row: large card spans both columns, then 2 mediums side by side */
  .pef-row--top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .pef-row--top .pef-card:first-child {
    grid-column: 1 / -1;
    /* large card: full width */
  }

  /* Bottom row: upscaler full-width, then 2 smalls side by side */
  .pef-row--bottom {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .pef-row--bottom .pef-card:first-child {
    grid-column: 1 / -1;
    /* upscaler: full width */
  }

  /* Release fixed preview heights */
  .pef-row--top .pef-card__preview,
  .pef-row--bottom .pef-card__preview {
    height: 200px;
    flex: none;
  }
}

/* ── Mobile  <768px — single column ── */
@media (max-width: 767px) {
  .pef-section {
    padding-bottom: 40px;
  }

  .pef-container {
    padding-inline: 20px;
  }



  .pef-grid {
    gap: var(--pef-gap-mobile);
  }

  .pef-row--top,
  .pef-row--bottom {
    grid-template-columns: 1fr;
    /* single column */
    gap: var(--pef-gap-mobile);
  }

  /* All cards full width — reset any column-span rules */
  .pef-card {
    grid-column: auto;
  }

  /* Image heights become auto, aspect-ratio driven */
  .pef-row--top .pef-card__preview,
  .pef-row--bottom .pef-card__preview {
    height: auto;
    aspect-ratio: 16 / 9;
    flex: none;
  }

  .pef-bg-glow {
    width: 400px;
    height: 300px;
    filter: blur(80px);
  }
}


/* =====================================
   TRUSTED
===================================== */
/* =============================================================
   PicsEdit – Trusted by Creators Section
   css/trusted.css
   ─────────────────────────────────────────────────────────────
   Center-aligned social proof section positioned between Features
   and How It Works. Contains 4 animated statistic cards, featured
   testimonial, and audience category pills.
   ============================================================= */

/* ─── Section Token Defaults ─────────────────────────────────── */
.pe-trust-section {
  --pe-trust-radius: 7px;
  --pe-trust-border: 1px solid rgba(255, 255, 255, 0.08);
  --pe-trust-border-hover: 1px solid rgba(139, 92, 246, 0.4);
  --pe-trust-bg-card: rgba(15, 17, 30, 0.75);
  --pe-trust-bg-testi: rgba(17, 19, 34, 0.85);
  --pe-trust-ease: cubic-bezier(0.25, 0, 0.15, 1);
}

/* ─── Section Outer Wrapper ──────────────────────────────────── */
.pe-trust-section {
  position: relative;
  background: #00000040;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
  isolation: isolate;
}

/* ─── Radial Purple Ambient Glow ────────────────────────────── */
.pe-trust-bg-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center,
      rgba(139, 92, 246, 0.16) 0%,
      rgba(124, 58, 237, 0.05) 50%,
      transparent 75%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* ─── Container ──────────────────────────────────────────────── */
.pe-trust-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ─── Section Header (Center Aligned) ────────────────────────── */
.pe-trust-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 56px;
}

/* Badge */
.pe-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  background: rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(196, 181, 253, 0.92);
  font-family: var(--pe-font-family);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* Heading */
.pe-trust-heading {
  font-family: var(--pe-font-family);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--pe-text-primary);
  margin: 0 0 18px;
}

/* Purple Gradient Highlight */
.pe-trust-heading-highlight {
  background: linear-gradient(120deg,
      #a78bfa 0%,
      #7c3aed 45%,
      #8b5cf6 80%,
      #a78bfa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Subtitle */
.pe-trust-subtitle {
  font-family: var(--pe-font-family);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: #9d97b3;
  margin-inline: auto;
  margin-bottom: 0;
  max-width: 640px;
}

/* ─── 4 Statistics Grid ──────────────────────────────────────── */
.pe-trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pe-trust-stat-card {
  position: relative;
  background: var(--pe-trust-bg-card);
  border: var(--pe-trust-border);
  border-radius: 7px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 50px -15px rgba(0, 0, 0, 0.70);
  transition:
    transform 0.3s var(--pe-trust-ease),
    border-color 0.3s var(--pe-trust-ease),
    box-shadow 0.3s var(--pe-trust-ease);
}

.pe-trust-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 28px 70px -15px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(139, 92, 246, 0.2);
}

.pe-trust-stat-num {
  font-family: var(--pe-font-family);
  font-size: clamp(2.2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pe-text-primary);
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.pe-trust-stat-suffix {
  color: #a78bfa;
}

.pe-trust-stat-star {
  color: #f59e0b;
  font-size: 0.85em;
  margin-left: 3px;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}

.pe-trust-stat-label {
  font-family: var(--pe-font-family);
  font-size: 0.875rem;
  font-weight: 500;
  color: #9d97b3;
}

/* ─── Featured Testimonial Card ──────────────────────────────── */
.pe-trust-testimonial-card {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 48px;
  background: var(--pe-trust-bg-testi);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 7px;
  padding: 38px 40px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 25px 65px -15px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(124, 58, 237, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pe-trust-testimonial-card:hover {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 32px 80px -15px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(139, 92, 246, 0.25);
}

.pe-trust-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 4px;
  margin-bottom: 18px;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.pe-trust-quote {
  font-family: var(--pe-font-family);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.55;
  color: var(--pe-text-primary);
  margin: 0 0 24px;
}

.pe-trust-author-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pe-trust-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pe-trust-author-name {
  font-family: var(--pe-font-family);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pe-text-primary);
}

.pe-trust-author-role {
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a78bfa;
}

/* ─── Horizontal Audience Badges Row ─────────────────────────── */
.pe-trust-audience-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pe-trust-audience-pill {
  font-family: var(--pe-font-family);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(15, 17, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(220, 215, 245, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s var(--pe-trust-ease);
}

.pe-trust-audience-pill:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(139, 92, 246, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ─── Responsive Styles ──────────────────────────────────────── */
@media (max-width: 991px) {
  .pe-trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pe-trust-testimonial-card {
    padding: 30px 24px;
  }
}

@media (max-width: 576px) {
  .pe-trust-section {
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .pe-trust-stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pe-trust-audience-row {
    gap: 8px;
  }

  .pe-trust-audience-pill {
    font-size: 0.78rem;
    padding: 6px 14px;
  }
}

/* =====================================
   WORKSPACE
===================================== */
/* =============================================================
   PicsEdit – AI Workspace Showcase (Minimalist Premium SaaS Edition)
   workspace.css
   ─────────────────────────────────────────────────────────────
   Clean, uncluttered product demonstration centered around ONE
   large interactive Before/After comparison preview.
   ============================================================= */

/* ─── Section Token Defaults ─────────────────────────────────── */
.pe-workspace-section {
  --pe-ws-radius: 24px;
  --pe-ws-inner-radius: 16px;
  --pe-ws-border: 1px solid rgba(255, 255, 255, 0.08);
  --pe-ws-bg-card: rgba(15, 17, 30, 0.85);
  --pe-ws-ease: cubic-bezier(0.25, 0, 0.15, 1);
}

/* ─── Section Outer Wrapper ──────────────────────────────────── */
.pe-workspace-section {
  position: relative;
  background: transparent;
  padding-top: 80px;
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}

/* ─── Soft Ambient Purple Radial Glow ───────────────────────── */
.pe-workspace-bg-glow {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse at center,
      rgba(124, 58, 237, 0.15) 0%,
      rgba(79, 70, 229, 0.05) 45%,
      transparent 75%);
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* ─── Container ──────────────────────────────────────────────── */
.pe-workspace-container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ─── Minimal Header Block ───────────────────────────────────── */
.pe-workspace-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Small Badge */
.pe-workspace-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  background: rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(196, 181, 253, 0.95);
  font-family: var(--pe-font-family);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Live Pulse Dot */
.pe-workspace-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pe-ws-live-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pe-ws-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* Strong Headline */
.pe-workspace-heading {
  font-family: var(--pe-font-family);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--pe-text-primary);
  margin: 0 0 20px;
}

/* Gradient highlight */
.pe-workspace-heading-highlight {
  background: linear-gradient(120deg,
      #a78bfa 0%,
      #7c3aed 45%,
      #8b5cf6 80%,
      #a78bfa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* One Short Supporting Sentence (Max 2 lines) */
.pe-workspace-desc {
  font-family: var(--pe-font-family);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: #9d97b3;
  margin-bottom: 32px;
  max-width: 600px;
}

/* One Primary CTA Button */
.pe-workspace-cta {
  width: fit-content;
}

/* ─── Large Showcase Comparison Window ───────────────────────── */
.pe-workspace-showcase {
  max-width: 1080px;
  margin-inline: auto;
}

/* Window Frame */
.pe-workspace-window {
  position: relative;
  background: var(--pe-ws-bg-card);
  border: var(--pe-ws-border);
  border-radius: var(--pe-ws-radius);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(124, 58, 237, 0.12);
  overflow: hidden;
  transition: border-color 0.3s var(--pe-ws-ease), box-shadow 0.3s var(--pe-ws-ease);
}

.pe-workspace-window:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 40px 100px -15px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(124, 58, 237, 0.2);
}

/* Minimal Window Topbar */
.pe-workspace-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: rgba(10, 11, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pe-workspace-topbar__dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pe-workspace-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pe-workspace-dot--red {
  background: #ff5f56;
}

.pe-workspace-dot--yellow {
  background: #ffbd2e;
}

.pe-workspace-dot--green {
  background: #27c93f;
}

.pe-workspace-topbar__title {
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(220, 215, 245, 0.6);
  letter-spacing: 0.01em;
}

/* ─── Large Canvas Area ──────────────────────────────────────── */
.pe-workspace-canvas-area {
  position: relative;
  width: 100%;
  height: 520px;
  background-color: #121422;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  overflow: hidden;
  user-select: none;
}

.pe-workspace-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: ew-resize;
}

/* Images */
.pe-workspace-img-after,
.pe-workspace-img-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Before image clipped dynamically */
.pe-workspace-img-before {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* Prominent Draggable Divider Line */
.pe-workspace-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.9) 0%, #7c3aed 50%, rgba(167, 139, 250, 0.9) 100%);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.9), 0 0 2px rgba(255, 255, 255, 0.8);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Slider Handle Button */
.pe-workspace-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.65), 0 0 24px rgba(124, 58, 237, 0.8);
  font-size: 11px;
  font-weight: 700;
}

.pe-workspace-slider-divider {
  opacity: 0.6;
  font-size: 10px;
}

/* Corner Badges */
.pe-workspace-canvas-tag {
  position: absolute;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 4;
  pointer-events: none;
}

.pe-workspace-canvas-tag--before {
  top: 18px;
  left: 18px;
  background: rgba(10, 11, 20, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.pe-workspace-canvas-tag--after {
  top: 18px;
  right: 18px;
  background: rgba(124, 58, 237, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
}

/* ─── Responsive Styles ──────────────────────────────────────── */
@media (max-width: 991px) {
  .pe-workspace-section {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .pe-workspace-header {
    margin-bottom: 40px;
  }

  .pe-workspace-canvas-area {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .pe-workspace-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .pe-workspace-canvas-area {
    height: 300px;
  }

  .pe-workspace-canvas-tag {
    padding: 4px 10px;
    font-size: 0.65rem;
  }
}


/* =====================================
   HOW IT WORKS
===================================== */
/* =============================================================
   PicsEdit – How It Works Section (Refined Guided Workflow v3)
   how-it-works.css
   ─────────────────────────────────────────────────────────────
   Guided alternating workflow with 3 vertical blocks (Z-pattern),
   reduced gaps, focal point Step 2 (~18% larger), floating glass app
   window mockups with realistic depth & topbars, staggered reveals.
   ============================================================= */

/* ─── Section Token Defaults ─────────────────────────────────── */
.pe-how-section {
  --pe-how-radius: 7px;
  --pe-how-border: 1px solid rgba(255, 255, 255, 0.09);
  --pe-how-border-hover: 1px solid rgba(139, 92, 246, 0.4);
  --pe-how-bg-window: rgba(13, 15, 27, 0.90);
  --pe-how-ease: cubic-bezier(0.25, 0, 0.15, 1);
}

/* ─── Section Outer Wrapper ──────────────────────────────────── */
.pe-how-section {
  position: relative;
  background: transparent;
  padding-top: 85px;
  padding-bottom: 140px;
  overflow: hidden;
  isolation: isolate;
}

/* ─── Container ──────────────────────────────────────────────── */
.pe-how-container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Refactored Section Header rules removed */

/* ─── Workflow Stack (3 Vertical Blocks with Reduced Gap) ───── */
.pe-how-workflow-stack {
  display: flex;
  flex-direction: column;
  gap: 68px;
  /* Reduced gap between blocks per spec #5 */
}

/* Block Base & Staggered Reveal Animations */
.pe-how-block {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s var(--pe-how-ease);
}

.pe-how-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pe-how-block--01.is-visible {
  transition-delay: 0.1s;
}

.pe-how-block--02.is-visible {
  transition-delay: 0.3s;
}

.pe-how-block--03.is-visible {
  transition-delay: 0.5s;
}

/* Text Content Side */
.pe-how-block-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pe-how-step-num {
  font-family: var(--pe-font-family);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: 7px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #a78bfa;
  width: fit-content;
  margin-bottom: 14px;
}

/* Increased Title Size & Stronger Hierarchy per spec #4 */
.pe-how-block-title {
  font-family: var(--pe-font-family);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--pe-text-primary);
  margin: 0 0 14px;
}

.pe-how-block-desc {
  font-family: var(--pe-font-family);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  color: #9d97b3;
  margin-bottom: 20px;
}

/* Feature Pills */
.pe-how-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pe-how-pill {
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 7px;
  background: rgba(15, 17, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(220, 215, 245, 0.9);
}

/* ─── Premium Floating Application Windows ───────────────────── */
.pe-how-block-visual {
  position: relative;
}

/* Radial Purple Glow behind mockups per spec #6 */
.pe-how-mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 360px;
  background: radial-gradient(ellipse at center,
      rgba(139, 92, 246, 0.20) 0%,
      rgba(124, 58, 237, 0.05) 55%,
      transparent 75%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.pe-how-mockup-glow--intense {
  width: 650px;
  height: 420px;
  background: radial-gradient(ellipse at center,
      rgba(167, 139, 250, 0.28) 0%,
      rgba(124, 58, 237, 0.08) 55%,
      transparent 75%);
  filter: blur(95px);
}

/* Software Window Container (Realistic Depth & Soft Glass Border) */
.pe-how-window {
  position: relative;
  z-index: 1;
  background: var(--pe-how-bg-window);
  border: var(--pe-how-border);
  border-radius: 7px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 28px 75px -16px rgba(0, 0, 0, 0.90);
  overflow: hidden;
  transition:
    transform 0.35s var(--pe-how-ease),
    border-color 0.35s var(--pe-how-ease),
    box-shadow 0.35s var(--pe-how-ease);
}

.pe-how-window:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 36px 90px -14px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(139, 92, 246, 0.22);
}

/* Focal Point Step 02 Window (~18% larger) */
.pe-how-window--focal {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 32px 85px -14px rgba(0, 0, 0, 0.92),
    0 0 30px rgba(124, 58, 237, 0.18);
}

/* Top Window Header Bar */
.pe-how-window-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(9, 10, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pe-how-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pe-how-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.pe-how-dot--red {
  background: #ff5f56;
}

.pe-how-dot--yellow {
  background: #ffbd2e;
}

.pe-how-dot--green {
  background: #27c93f;
}

.pe-how-window-title {
  font-family: var(--pe-font-family);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(220, 215, 245, 0.7);
}

.pe-how-status-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 7px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #a78bfa;
}

/* ─── MOCKUP 01: Upload Interface ────────────────────────────── */
.pe-how-upload-interface {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pe-how-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border-radius: 7px;
  border: 1.5px dashed rgba(139, 92, 246, 0.35);
  background: rgba(10, 11, 20, 0.45);
  text-align: center;
}

.pe-how-dropzone-icon {
  color: #a78bfa;
  margin-bottom: 8px;
}

.pe-how-dropzone-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pe-text-primary);
  margin-bottom: 4px;
}

.pe-how-dropzone-sub {
  font-size: 0.78rem;
  color: #9d97b3;
}

.pe-how-upload-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 7px;
  background: rgba(15, 17, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pe-how-upload-thumb {
  width: 46px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.pe-how-upload-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pe-how-upload-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pe-text-primary);
}

.pe-how-upload-meta {
  font-size: 0.75rem;
  color: rgba(195, 195, 218, 0.6);
}

.pe-how-status-green {
  color: #34d399;
  font-weight: 600;
}

.pe-how-bar-bg {
  width: 100%;
  height: 4px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 2px;
}

.pe-how-bar-fill--green {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
}

.pe-how-fmt-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.pe-how-fmt-label {
  font-size: 0.75rem;
  color: rgba(195, 195, 218, 0.5);
}

.pe-how-fmt-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(220, 215, 245, 0.85);
}

/* ─── MOCKUP 02: AI Workspace Interface (Focal Point) ────────── */
.pe-how-ai-workspace {
  display: flex;
  min-height: 310px;
  /* Increased canvas height for focal point per spec #2 */
}

.pe-how-tool-sidebar {
  width: 190px;
  background: rgba(10, 11, 20, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pe-how-tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(220, 215, 245, 0.7);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pe-how-tool-item.is-active {
  background: rgba(124, 58, 237, 0.16);
  border-color: rgba(139, 92, 246, 0.38);
  color: #ffffff;
  font-weight: 600;
}

.pe-how-canvas-viewport {
  flex: 1;
  position: relative;
  background-color: #121422;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 16px 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pe-how-canvas-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scanning Light Beam Animation */
.pe-how-scan-beam {
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(167, 139, 250, 0.3) 50%,
      transparent 100%);
  transform: skewX(-15deg);
  animation: pe-how-beam-scan 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pe-how-beam-scan {
  0% {
    left: -50%;
  }

  100% {
    left: 150%;
  }
}

.pe-how-canvas-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 5px 14px;
  border-radius: 7px;
  background: rgba(10, 11, 20, 0.88);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* ─── MOCKUP 03: Export Success Interface ────────────────────── */
.pe-how-export-interface {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pe-how-export-success-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 7px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.pe-how-success-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #34d399;
  color: #080a12;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.5);
}

.pe-how-success-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #34d399;
}

.pe-how-success-sub {
  font-size: 0.75rem;
  color: rgba(220, 215, 245, 0.7);
}

.pe-how-export-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 7px;
  background: rgba(15, 17, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pe-how-export-thumb {
  width: 56px;
  height: 56px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.pe-how-export-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: rgba(220, 215, 245, 0.85);
}

.pe-how-spec-lbl {
  color: rgba(195, 195, 218, 0.5);
  margin-right: 4px;
}

.pe-how-export-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}



/* ─── Responsive Styles ──────────────────────────────────────── */
@media (max-width: 991px) {
  .pe-how-section {
    padding-top: 55px;
    padding-bottom: 85px;
  }

  .pe-how-workflow-stack {
    gap: 48px;
  }



  .pe-how-ai-workspace {
    min-height: 250px;
  }

  .pe-how-tool-sidebar {
    width: 140px;
    padding: 12px 8px;
  }

  .pe-how-tool-item {
    font-size: 0.7rem;
    padding: 6px 8px;
  }
}

@media (max-width: 576px) {
  .pe-how-ai-workspace {
    flex-direction: column;
    min-height: auto;
  }

  .pe-how-tool-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .pe-how-export-actions {
    flex-direction: column;
  }

  .pe-how-export-actions .pe-btn-primary,
  .pe-how-export-actions .pe-btn-secondary {
    width: 100% !important;
    justify-content: center;
  }
}

/* =====================================
   COMPARISON
===================================== */
/* =============================================================
   PicsEdit – Before & After AI Comparison Slider Stylesheet
   css/comparison.css
   ============================================================= */

:root {
  --pe-cmp-bg-before: #1e293b;
  /* Dark navy/charcoal for BEFORE badge */
  --pe-cmp-bg-after: #3b82f6;
  /* Blue for AFTER badge */
  --pe-cmp-stat-value: #4f46e5;
  /* Bold indigo/blue for stat numbers */
  --pe-cmp-stat-sub: #6b7280;
  /* Muted gray for subtext */
  --pe-cmp-border-radius: 24px;
  /* Main container border radius */
  --pe-cmp-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  /* Premium drop shadow */
}

/* ─── Section Wrapper ────────────────────────────────────────── */
.pe-compare-section {
  position: relative;
  padding: 100px 0;
  background: transparent;
  overflow: hidden;
}

/* Refactored Section Header rules removed */

/* ─── Comparison Component Wrapper ────────────────────────────── */
.pe-compare-component {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

/* ─── Comparison Stage (Image Container) ──────────────────────── */
.pe-compare-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--pe-cmp-border-radius);
  overflow: hidden;
  box-shadow: var(--pe-cmp-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  background-color: #000000;
  margin: 0 !important;
  padding: 0 !important;
}

/* Common image behaviors to ensure pixel-perfect overlap alignment */
.pe-compare-img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* BEFORE Image (base layer / bottom) */
.pe-compare-img-before {
  left: 0;
  z-index: 1;
  object-position: center center;
  /* Original: slightly desaturated, lower contrast, darker, softer details */
  filter: brightness(0.75) saturate(0.6) contrast(0.85);
}

/* AFTER Wrapper (clipping layer / top) */
.pe-compare-after-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  /* initial */
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* AFTER Image (right aligned inside wrapper) */
.pe-compare-img-after {
  right: 0;
  /* Width dynamically updated to stage.offsetWidth by JS so it matches before image dimensions */
  object-position: right center;
  z-index: 2;
  /* Enhanced: brighter lighting, higher contrast, sharp, vibrant colors */
  filter: brightness(1.1) saturate(1.25) contrast(1.05);
}

/* ─── Divider Line ───────────────────────────────────────────── */
.pe-compare-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  /* initial */
  width: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), 0 0 15px rgba(59, 130, 246, 0.4);
  z-index: 10;
  pointer-events: none;
  transform: translateX(-50%);
  will-change: left;
}

/* ─── Circular Handle ────────────────────────────────────────── */
.pe-compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 0 20px rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: col-resize;
  pointer-events: auto;
  /* handle should receive pointer events */
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  z-index: 11;
}

.pe-compare-handle:hover,
.pe-compare-stage.is-dragging .pe-compare-handle {
  background-color: #f8fafc;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3), 0 0 25px rgba(59, 130, 246, 0.5);
}

.pe-compare-arrow {
  color: var(--pe-cmp-stat-value);
  flex-shrink: 0;
}

/* ─── Badge Pills ────────────────────────────────────────────── */
.pe-compare-badge-pill {
  position: absolute;
  top: 20px;
  z-index: 5;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--pe-font-family);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pe-compare-badge-before {
  left: 20px;
  background-color: var(--pe-cmp-bg-before);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pe-compare-badge-after {
  right: 20px;
  background-color: var(--pe-cmp-bg-after);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ─── Floating Stat Bar Card ──────────────────────────────────── */
.pe-compare-stat-bar {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  margin: -32px auto 0;
  /* floating overlap */
  position: relative;
  z-index: 10;
  padding: 24px;
}

.pe-compare-stat-col {
  border-right: 1px solid #e2e8f0;
}

.pe-compare-stat-col:last-child {
  border-right: none;
}

.pe-compare-stat-num {
  font-family: var(--pe-font-family);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pe-cmp-stat-value);
  line-height: 1.2;
}

.pe-compare-stat-label {
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pe-cmp-stat-sub);
  line-height: 1.3;
}

/* ─── Responsive Layout adjustments ──────────────────────────── */
@media (max-width: 767.98px) {
  .pe-compare-stage {
    aspect-ratio: 4 / 3;
    /* taller ratio on small screens */
  }

  .pe-compare-stat-bar {
    padding: 16px;
    margin-top: -24px;
    margin-inline: 12px;
  }

  .pe-compare-stat-col {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .pe-compare-stat-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .pe-compare-stat-num {
    font-size: 1.5rem;
  }

  .pe-compare-stat-label {
    font-size: 0.75rem;
  }
}


/* =====================================
   PRICING
===================================== */
/* =============================================================
   PicsEdit – Refined Minimalist Pricing Stylesheet
   css/pricing.css
   ============================================================= */

:root {
  --pe-price-bg: rgba(10, 11, 22, 0.45);
  /* Dark glass background */
  --pe-price-border: rgba(255, 255, 255, 0.08);
  /* Thin 1px border */
  --pe-price-radius: 7px;
  /* Border radius: 7px only */
  --pe-price-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --pe-price-shadow-featured: 0 16px 40px rgba(124, 58, 237, 0.15);
  --pe-price-glow-subtle: rgba(124, 58, 237, 0.06);
  --pe-price-glow-hover: rgba(124, 58, 237, 0.18);
  --pe-price-text-title: #ffffff;
  --pe-price-text-desc: rgba(195, 195, 218, 0.65);
}

/* ─── Pricing Section Wrapper ───────────────────────────────── */
.pe-pricing-section {
  position: relative;
  padding: 120px 0 100px;
  background: transparent;
  overflow: hidden;
}

/* Very soft background glow behind pricing area */
.pe-pricing-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, rgba(79, 70, 229, 0.01) 70%, transparent 100%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Refactored Section Header rules removed */

/* ─── Pricing Card Grid container ────────────────────────────── */
.pe-pricing-grid {
  position: relative;
  z-index: 1;
}

/* ─── Base Pricing Card Design (Minimal & Clean) ─────────────── */
.pe-pricing-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--pe-price-bg);
  border: 1px solid var(--pe-price-border);
  border-radius: var(--pe-price-radius);
  padding: 32px 28px;
  box-shadow: var(--pe-price-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: visible;
}

/* Consistent height and alignment inside row */
.pe-pricing-grid .row {
  align-items: stretch;
}

/* Card Hover Lift and Border Glow (Very subtle) */
.pe-pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.1);
}

/* ─── Gold Featured Plan Visual Highlight ────────────────────── */
.pe-pricing-card--gold {
  border-color: rgba(124, 58, 237, 0.6) !important;
  box-shadow: var(--pe-price-shadow-featured);
  background: rgba(14, 12, 28, 0.6);
}

.pe-pricing-card--gold:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 45px rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.8) !important;
}

/* Small Floating "Most Popular" Badge */
.pe-pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  font-family: var(--pe-font-family);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ─── Plan Typography Elements ─────────────────────────────── */
.pe-plan-header {
  margin-bottom: 20px;
}

.pe-plan-name {
  font-family: var(--pe-font-family);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pe-price-text-title);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pe-plan-desc {
  font-family: var(--pe-font-family);
  font-size: 0.82rem;
  color: var(--pe-price-text-desc);
  line-height: 1.45;
  margin-bottom: 0;
  min-height: 44px;
}

/* ─── Pricing Presentation Area ──────────────────────────────── */
.pe-price-area {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.pe-price-amount {
  font-family: var(--pe-font-family);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pe-price-period {
  font-family: var(--pe-font-family);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(195, 195, 218, 0.45);
  margin-top: 5px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

/* ─── Feature Lists ──────────────────────────────────────────── */
.pe-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pe-price-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pe-font-family);
  font-size: 0.85rem;
  color: rgba(220, 220, 240, 0.75);
}

.pe-price-check-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #c4b5fd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: bold;
  flex-shrink: 0;
}

.pe-pricing-card--gold .pe-price-check-icon {
  background: #7C3AED;
  border-color: #a78bfa;
  color: #ffffff;
}

/* Spacer push to ensure all buttons align nicely */
.pe-price-spacer {
  flex-grow: 1;
}



/* ─── Bottom Trust Section ───────────────────────────────────── */
.pe-pricing-trust-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent 100%);
  margin: 50px 0 24px;
}

.pe-pricing-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.pe-pricing-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pe-font-family);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(195, 195, 218, 0.45);
}

.pe-pricing-trust-icon {
  color: #7C3AED;
  font-weight: 700;
}

/* ─── Responsive adjustments ─────────────────────────────────── */
@media (max-width: 991.98px) {
  .pe-pricing-section {
    padding: 80px 0 60px;
  }


}


/* =====================================
   FAQ
===================================== */
/* =============================================================
   PicsEdit – Refined Premium FAQ Section Stylesheet
   css/faq.css
   ============================================================= */

:root {
  --pe-faq-bg: #11121B;
  /* Background: #11121B */
  --pe-faq-bg-active: #181926;
  /* Background becomes slightly lighter on active open state */
  --pe-faq-border: rgba(255, 255, 255, 0.08);
  /* Thin 1px border */
  --pe-faq-border-active: rgba(124, 58, 237, 0.65);
  /* Purple border on open */
  --pe-faq-radius: 8px;
  /* Border radius: 8px */
  --pe-faq-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  --pe-faq-shadow-active: 0 16px 40px rgba(124, 58, 237, 0.12);
  /* Soft purple glow */
}

/* ─── FAQ Section Wrapper ───────────────────────────────────── */
.pe-faq-section {
  position: relative;
  padding: 120px 0;
  background: transparent;
  overflow: hidden;
}

/* Faint radial gradient background glow behind FAQ section */
.pe-faq-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, rgba(79, 70, 229, 0.01) 60%, transparent 80%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Refactored Section Header rules removed */

/* ─── Left Column Panel & Support Card ───────────────────────── */
.pe-faq-support-panel {
  position: relative;
  z-index: 1;
}

.pe-faq-support-title {
  font-family: var(--pe-font-family);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pe-faq-support-desc {
  font-family: var(--pe-font-family);
  font-size: 1rem;
  color: rgba(195, 195, 218, 0.65);
  margin-bottom: 24px;
}

/* Glass support card */
.pe-faq-support-card {
  background: rgba(17, 18, 27, 0.6);
  border: 1px solid var(--pe-faq-border);
  border-radius: var(--pe-faq-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pe-faq-support-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(124, 77, 255, 0.15);
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.pe-faq-support-card-title {
  font-family: var(--pe-font-family);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.pe-faq-support-card-text {
  font-family: var(--pe-font-family);
  font-size: 0.875rem;
  color: rgba(195, 195, 218, 0.65);
  line-height: 1.5;
  margin: 0;
}



/* ─── Right Column Accordion ─────────────────────────────────── */
.pe-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* Individual Accordion Card */
.pe-faq-item {
  background: var(--pe-faq-bg);
  border: 1px solid var(--pe-faq-border);
  border-radius: var(--pe-faq-radius);
  box-shadow: var(--pe-faq-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

/* Hover State - Border brighter, slight 2px lift */
.pe-faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* Open State - Purple active border, glow, background slightly lighter */
.pe-faq-item.is-active {
  background: var(--pe-faq-bg-active);
  border-color: var(--pe-faq-border-active);
  box-shadow: var(--pe-faq-shadow-active), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.pe-faq-item.is-active:hover {
  transform: translateY(-2px);
}

/* Header Trigger Button */
.pe-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--pe-font-family);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  outline: none;
  gap: 16px;
  user-select: none;
}

/* Plus/Minus Icon Inside a Circular Button */
.pe-faq-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.pe-faq-item.is-active .pe-faq-icon-wrap {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.4);
  color: #c4b5fd;
  transform: rotate(180deg);
  /* Icon rotation animation */
}

/* Arrow SVGs */
.pe-faq-icon-plus,
.pe-faq-icon-minus {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

/* Hide minus icon in closed state, hide plus in active open state */
.pe-faq-icon-minus {
  display: none;
}

.pe-faq-item.is-active .pe-faq-icon-plus {
  display: none;
}

.pe-faq-item.is-active .pe-faq-icon-minus {
  display: block;
}

/* Panel containing answer */
.pe-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: max-height;
}

.pe-faq-content {
  padding: 0 28px 24px;
  font-family: var(--pe-font-family);
  font-size: 0.92rem;
  color: rgba(195, 195, 218, 0.65);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Fade in answer when expanded */
.pe-faq-item.is-active .pe-faq-content {
  opacity: 1;
}

/* ─── Bottom CTA ────────────────────────────────────────────── */
.pe-faq-bottom-cta {
  text-align: center;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.pe-faq-bottom-title {
  font-family: var(--pe-font-family);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.pe-faq-bottom-desc {
  font-family: var(--pe-font-family);
  font-size: 0.95rem;
  color: rgba(195, 195, 218, 0.6);
  margin-bottom: 24px;
}



/* ─── Responsive adjustments ─────────────────────────────────── */
@media (max-width: 991.98px) {
  .pe-faq-section {
    padding: 80px 0 60px;
  }

  .pe-faq-support-panel {
    margin-bottom: 48px;
    text-align: center;
  }

  .pe-faq-support-card {
    max-width: 500px;
    margin: 0 auto;
  }

  .pe-faq-bottom-cta {
    margin-top: 60px;
  }
}


/* =====================================
   FOOTER
===================================== */
/* =============================================================
   PicsEdit – Premium Footer Section Stylesheet
   css/footer.css
   ============================================================= */

:root {
  --pe-footer-bg: #0B0C14;
  /* Background: #0B0C14 */
  --pe-footer-text: rgba(195, 195, 218, 0.6);
  /* Muted gray body text */
  --pe-footer-heading: #ffffff;
  /* White headings */
  --pe-footer-accent: #7C3AED;
  /* Purple color accent on hover */
  --pe-footer-border: rgba(255, 255, 255, 0.08);
  /* Faint divider border */
}

/* ─── Footer Wrapper ────────────────────────────────────────── */
.pe-footer {
  background-color: var(--pe-footer-bg);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 1px solid var(--pe-footer-border);
}

/* ─── Column Typography & Styling ───────────────────────────── */
.pe-footer-logo-link {
  margin-bottom: 24px;
}

.pe-footer-desc {
  font-family: var(--pe-font-family);
  font-size: 0.9rem;
  color: var(--pe-footer-text);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 320px;
}

/* Headings: White, Uppercase, Letter spacing */
.pe-footer-heading {
  font-family: var(--pe-font-family);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pe-footer-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 28px;
}

/* Lists and Links: Smooth hover with slight translateX animation */
.pe-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pe-footer-link {
  font-family: var(--pe-font-family);
  font-size: 0.9rem;
  color: var(--pe-footer-text);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.28s ease, color 0.28s ease;
}

.pe-footer-link:hover {
  color: var(--pe-footer-accent);
  transform: translateX(5px);
  /* TranslateX hover micro-interaction */
}

/* ─── Social Media Icons (Subtle purple hover) ──────────────── */
.pe-footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pe-footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pe-footer-text);
  transition: all 0.25s ease;
  text-decoration: none;
}

.pe-footer-social-icon:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.4);
  color: #c4b5fd;
  transform: translateY(-2px);
}

.pe-footer-social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ─── Column 4 (Contact info with line icons) ───────────────── */
.pe-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--pe-font-family);
  font-size: 0.9rem;
  color: var(--pe-footer-text);
  line-height: 1.5;
  margin-bottom: 20px;
}

.pe-footer-contact-item:last-child {
  margin-bottom: 0;
}

.pe-footer-contact-icon {
  color: var(--pe-footer-text);
  margin-top: 3px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.pe-footer-contact-item:hover .pe-footer-contact-icon {
  color: var(--pe-footer-accent);
}

.pe-footer-contact-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pe-footer-contact-text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.pe-footer-contact-text a:hover {
  color: var(--pe-footer-accent);
}

/* ─── Bottom Bar ────────────────────────────────────────────── */
.pe-footer-bottom-divider {
  border: none;
  height: 1px;
  background: var(--pe-footer-border);
  margin: 60px 0 30px;
}

.pe-footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pe-footer-copyright {
  font-family: var(--pe-font-family);
  font-size: 0.85rem;
  color: var(--pe-footer-text);
  line-height: 1.6;
  margin: 0;
}

.pe-footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Payment methods image monochrome on load, full color on hover */
.pe-footer-payment-img {
  height: 24px;
  width: auto;
  /* filter: grayscale(1) opacity(0.5); */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pe-footer-payment-img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.02);
}

/* ─── Responsive grid styles ────────────────────────────────── */
@media (max-width: 991.98px) {
  .pe-footer {
    padding: 80px 0 40px;
  }
}

@media (max-width: 767.98px) {
  .pe-footer {
    text-align: center;
  }

  .pe-footer-logo-link {
    justify-content: center;
  }

  .pe-footer-desc {
    margin-inline: auto;
  }

  .pe-footer-socials {
    justify-content: center;
    margin-bottom: 40px;
  }

  .pe-footer-contact-item {
    justify-content: center;
    text-align: left;
  }

  .pe-footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }

  .pe-footer-payments {
    justify-content: center;
  }
}


/* =====================================
   RESPONSIVE MEDIA QUERIES
===================================== */
/* =============================================================
   PicsEdit – Responsive Styles
   responsive.css
   ============================================================= */

/* ─── Large Desktop (≥ 1300px) ──────────────────────────────── */
@media (min-width: 1300px) {
  .pe-navbar__pill {
    padding: 0 36px;
  }
}

/* ─── Tablet / Medium (< 1024px) ────────────────────────────── */
@media (max-width: 1023px) {
  :root {
    --pe-header-top: 18px;
    --pe-pill-height: 68px;
    --pe-pill-px: 24px;
  }

  .pe-navbar__pill {
    border-radius: 10px;
    /* slightly softer pill on tablet */
  }

  .pe-logo-text {
    font-size: 1.1rem;
  }
}

/* ─── Small Mobile (≤ 640px) ─────────────────────────────────── */
@media (max-width: 640px) {
  :root {
    --pe-header-top: 12px;
    --pe-pill-height: 62px;
    --pe-pill-px: 18px;
  }

  .pe-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pe-navbar__pill {
    border-radius: 10px;
  }

  .pe-logo-text {
    font-size: 1.05rem;
  }

  .pe-mobile-menu {
    border-radius: 18px;
    padding: 14px;
  }

  .pe-hamburger {
    width: 40px;
    height: 40px;
  }
}

/* ─── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================
   Hero – Responsive
   ============================================================= */

/* ─── Tablet (< 1024px) ──────────────────────────────────────── */
@media (max-width: 1023px) {
  .pe-hero {
    /* navbar at tablet: 18px + 68px = 86px; + 56px gap */
    padding-top: calc(18px + 68px + 56px);
  }

  .pe-hero__headline {
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  }

  .pe-hero__glow--purple {
    width: 500px;
    height: 380px;
  }

  .pe-hero__glow--indigo {
    width: 350px;
    height: 300px;
    right: -5%;
  }
}

/* ─── Small Mobile (≤ 640px) ─────────────────────────────────── */
@media (max-width: 640px) {
  .pe-hero {
    /* navbar at mobile: 12px + 62px = 74px; + 48px gap */
    padding-top: calc(12px + 62px + 48px);
  }

  .pe-hero__badge-wrap {
    margin-bottom: 24px;
  }

  .pe-hero__headline {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
  }

  .pe-hero__description {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .pe-hero__cta-group {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .pe-hero__cta-primary,
  .pe-btn-ghost {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .pe-hero__trust {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 60px;
  }

  .pe-trust__divider {
    width: 40px;
    height: 1px;
    /* horizontal on mobile */
  }

  .pe-trust__rating {
    align-items: center;
  }

  .pe-hero__glow--purple {
    width: 340px;
    height: 260px;
  }

  .pe-hero__glow--indigo {
    display: none;
  }
}

/* =============================================================
   Gallery – Responsive (Card Fan Design)
   ============================================================= */

@media (max-width: 767px) {

  .fan-1,
  .fan-5 {
    display: none;
  }

  .card-fan {
    gap: .6rem;
  }
}









/* =============================================================
   PicsEdit – UI Refinement & Polish Pass
   ============================================================= */

/* ─── Global Card Design System ────────────────────────────── */
.pef-card,
.pe-pricing-card,
.pe-faq-item,
.pe-faq-support-card,
.pe-trust-stat-card {
  border-radius: 7px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(14, 15, 26, 0.72) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.4), 0 24px 60px -18px rgba(0, 0, 0, 0.7) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Global Card Hover */
.pef-card:hover,
.pe-pricing-card:hover,
.pe-faq-item:hover,
.pe-faq-support-card:hover,
.pe-trust-stat-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(124, 77, 255, 0.3) !important;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 30px 70px -15px rgba(124, 77, 255, 0.15) !important;
}

/* ─── Image Hover Micro-Interaction ─────────────────────────── */
.pef-card__img,
.pe-how-media-mockup img,
.pe-compare-img {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.pef-card:hover .pef-card__img,
.pe-how-block:hover .pe-how-media-mockup img,
.pe-compare-component:hover .pe-compare-img {
  transform: scale(1.02) !important;
}

/* ─── Scroll Reveal Animations ─────────────────────────────── */
.reveal-section {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out !important;
  will-change: opacity, transform;
}

.reveal-section.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ─── Premium Page Loader ─────────────────────────────────── */
.pe-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #090B14;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.pe-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.pe-loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: pulse 1.5s infinite ease-in-out;
}

.pe-loader-text {
  font-family: var(--pe-font-family);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.pe-loader-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(124, 77, 255, 0.1);
  border-top-color: #7C4DFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* ─── Back to Top Button ──────────────────────────────────── */
.pe-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C4DFF 0%, #4F46E5 100%);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124, 77, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 9999;
}

.pe-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pe-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(124, 77, 255, 0.5);
  color: #ffffff;
}

.pe-back-to-top svg {
  transition: transform 0.3s ease;
}

.pe-back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ─── Footer Polish & Link Animations ──────────────────────── */
.pe-footer-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.pe-footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--pe-footer-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pe-footer-link:hover {
  color: var(--pe-footer-accent) !important;
}

.pe-footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}



/* =============================================================
   PicsEdit – Comprehensive Responsive & Spacing Polish
   ============================================================= */

/* ─── Global Container Sizing & Max-Widths ──────────────────── */
.container,
.pe-how-container {
  max-width: 1320px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 1200px) {

  .container,
  .pe-how-container {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

@media (max-width: 1199.98px) {

  .container,
  .pe-how-container {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}

@media (max-width: 767.98px) {

  .container,
  .pe-how-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 480px) {

  .container,
  .pe-how-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ─── Global Spacing ────────────────────────────────────────── */
.pef-section,
.pe-trust-section,
.pe-how-section,
.pe-compare-section,
.pe-pricing-section,
.pe-faq-section {
  padding-top: 120px !important;
  padding-bottom: 120px !important;
}

@media (max-width: 991.98px) {

  .pef-section,
  .pe-trust-section,
  .pe-how-section,
  .pe-compare-section,
  .pe-pricing-section,
  .pe-faq-section {
    padding-top: 96px !important;
    padding-bottom: 96px !important;
  }
}

@media (max-width: 575.98px) {

  .pef-section,
  .pe-trust-section,
  .pe-how-section,
  .pe-compare-section,
  .pe-pricing-section,
  .pe-faq-section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }
}

/* ─── Section Typography Sizing ──────────────────────────────── */
.section-title {
  font-size: 48px !important;
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: 38px !important;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 30px !important;
  }
}

body {
  font-size: 18px !important;
}

@media (max-width: 767.98px) {
  body {
    font-size: 16px !important;
  }
}

/* ─── Responsive Button Touches ────────────────────────────── */
@media (max-width: 991.98px) {

  .pe-btn-primary,
  .pe-btn-secondary {
    height: 48px !important;
    font-size: 0.9375rem !important;
  }

  .pe-btn-small {
    height: 44px !important;
    padding: 0 20px !important;
    font-size: 0.875rem !important;
  }
}

/* ─── Navigation Wrapping Prevention ───────────────────────── */
@media (max-width: 1200px) {
  .pe-nav-link {
    padding: 6px 12px !important;
    font-size: 0.875rem !important;
  }
}

/* ─── Hero Card Fan Mobile Overflow Polish ────────────────── */
@media (max-width: 767px) {
  .card-fan {
    --w-center: 185px !important;
    --w-inner: 135px !important;
    --pe-gallery-gap: 8px !important;
    height: 320px !important;
  }
}

@media (max-width: 480px) {

  .fan-1,
  .fan-2,
  .fan-4,
  .fan-5 {
    display: none !important;
  }

  .fan-3 {
    width: min(240px, 80vw) !important;
    left: 50% !important;
    margin-left: calc(min(240px, 80vw) / -2) !important;
    transform: translateY(-50%) !important;
  }

  .card-fan {
    height: 440px !important;
    margin-top: 32px !important;
  }
}

/* ─── Trusted Stats Columns Audit ───────────────────────────── */
@media (max-width: 991px) {
  .pe-trust-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .pe-trust-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* ─── Comparison Labels Scale-Down on Mobile ────────────────── */
@media (max-width: 575.98px) {
  .pe-compare-badge-pill {
    top: 12px !important;
    padding: 4px 10px !important;
    font-size: 0.65rem !important;
  }

  .pe-compare-badge-before {
    left: 12px !important;
  }

  .pe-compare-badge-after {
    right: 12px !important;
  }
}


/* =============================================================
   PicsEdit – Visual Background Refinement & Separation
   ============================================================= */

/* --- Hero Section Background: Primary Dark (#090A12) with subtle radial glow --- */
.pe-hero {
  background-color: #090A12 !important;
  background-image: radial-gradient(circle at 50% 25%, rgba(124, 77, 255, 0.08) 0%, transparent 65%) !important;
}

/* --- Features Section Background: Secondary Dark (#0D0E18) with vertical gradient --- */
.pef-section {
  background-color: #0D0E18 !important;
  background-image: linear-gradient(180deg, #090A12 0%, #0D0E18 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* --- Trusted Statistics Background: Primary Dark (#090A12) --- */
.pe-trust-section {
  background-color: #090A12 !important;
  background-image: linear-gradient(180deg, #0D0E18 0%, #090A12 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* --- How It Works Section Background: Accent Dark (#111322) with gentle radial highlight --- */
.pe-how-section {
  background-color: #111322 !important;
  background-image: radial-gradient(circle at 50% 50%, rgba(124, 77, 255, 0.07) 0%, transparent 60%), linear-gradient(180deg, #090A12 0%, #111322 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* --- Comparison Section Background: Primary Dark (#090A12) --- */
.pe-compare-section {
  /* border-top: 1px solid #fff; */
  background-color: #090A12 !important;
  background-image: linear-gradient(180deg, #111322 0%, #090A12 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* --- Pricing Section Background: Secondary Dark (#0D0E18) --- */
.pe-pricing-section {
  background-color: #0D0E18 !important;
  background-image: linear-gradient(180deg, #090A12 0%, #0D0E18 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* --- FAQ Section Background: Primary Dark (#090A12) --- */
.pe-faq-section {
  background-color: #090A12 !important;
  background-image: linear-gradient(180deg, #0D0E18 0%, #090A12 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* --- Footer Background: Deepest Dark (#07080F) --- */
.pe-footer {
  background-color: #07080F !important;
  background-image: linear-gradient(180deg, #090A12 0%, #07080F 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}


/* =============================================================
   PicsEdit – Compare Section Refinement & Visual Entrance
   ============================================================= */


/* --- Increased Component Width (80-85% content container) --- */
.pe-compare-component {
  max-width: 1120px !important;
  /* ~85% of 1320px container */
  width: 85% !important;
  margin-inline: auto !important;
}

@media (max-width: 991.98px) {
  .pe-compare-component {
    width: 100% !important;
  }
}

/* --- Soft radial glow behind the window --- */
.pe-compare-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.12) 0%, transparent 60%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

/* --- macOS Premium Desktop Application Window Frame --- */
.pe-compare-window {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 15, 26, 0.95);
  box-shadow:
    0 4px 20px -8px rgba(0, 0, 0, 0.4),
    0 30px 70px -15px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(124, 77, 255, 0.03);
  overflow: hidden;
  z-index: 2;
}

.pe-compare-window-topbar {
  display: flex;
  align-items: center;
  height: 40px;
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.pe-compare-dots {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 16px;
}

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

.pe-compare-dot--red {
  background-color: #FF5F56;
}

.pe-compare-dot--yellow {
  background-color: #FFBD2E;
}

.pe-compare-dot--green {
  background-color: #27C93F;
}

.pe-compare-window-title {
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-inline: auto;
  letter-spacing: 0.02em;
}

/* Make slider stage flush inside window frame */
.pe-compare-stage {
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* --- More Prominent & Pulse-Animated Handle --- */
.pe-compare-handle {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 20px rgba(124, 77, 255, 0.3) !important;
}

.pe-compare-handle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(124, 77, 255, 0.45);
  animation: handlePulse 2.5s infinite ease-out;
  pointer-events: none;
}

@keyframes handlePulse {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.pe-compare-handle:hover::after,
.pe-compare-stage.is-dragging .pe-compare-handle::after {
  display: none !important;
  /* hide pulse visual cue on interaction */
}

.pe-compare-handle:hover,
.pe-compare-stage.is-dragging .pe-compare-handle {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 30px rgba(124, 77, 255, 0.65) !important;
  background-color: #ffffff !important;
}

/* --- Helper Labels beneath the window --- */
.pe-compare-footer-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 14px;
  padding-inline: 4px;
}

.pe-compare-footer-label-left,
.pe-compare-footer-label-right {
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.pe-compare-footer-label-right {
  color: #a78bfa;
  /* Violet accent highlight */
}


/* =============================================================
   PicsEdit – Breadcrumbs Style Rules
   ============================================================= */
.pe-breadcrumbs {
  padding-top: calc(var(--pe-header-top) + var(--pe-pill-height) + 40px) !important;
  padding-bottom: 24px !important;
  background-color: #090A12 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

@media (max-width: 1023px) {
  .pe-breadcrumbs {
    padding-top: calc(18px + 68px + 30px) !important;
  }
}

@media (max-width: 640px) {
  .pe-breadcrumbs {
    padding-top: calc(12px + 62px + 24px) !important;
  }
}

.pe-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pe-font-family);
  font-size: 0.875rem;
  font-weight: 500;
}

.pe-breadcrumbs__link {
  color: rgba(195, 195, 218, 0.6) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.pe-breadcrumbs__link:hover {
  color: #ffffff !important;
}

.pe-breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.15) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pe-breadcrumbs__separator svg {
  width: 6px;
  height: 10px;
}

.pe-breadcrumbs__current {
  color: #a78bfa !important;
  /* violet-400 highlight */
  font-weight: 600;
}


/* =============================================================
   PicsEdit – Checkout Page Styles
   peco = PicsEdit Checkout prefix
   ============================================================= */

/* ── Checkout body override ─────────────────────────────────── */
.pe-checkout-body {
  background-color: #090A12;
  background-image: radial-gradient(circle at 50% 0%, rgba(124, 77, 255, 0.06) 0%, transparent 55%);
  color: var(--pe-text-primary);
  min-height: 100vh;
}

/* ── Main wrapper ───────────────────────────────────────────── */
.peco-main {
  padding-top: 0;
  padding-bottom: 80px;
  animation: pecoFadeIn 0.55s var(--pe-ease) both;
}

@keyframes pecoFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Page Header ────────────────────────────────────────────── */
.peco-page-header {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(9, 10, 18, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 100;
}

.peco-page-header__inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 1320px;
  margin-inline: auto;
  padding: 0 40px 24px;
  flex-wrap: wrap;
}

.peco-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.peco-logo .pe-logo-text {
  font-family: var(--pe-font-family);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pe-logo-text-color);
  letter-spacing: -0.02em;
}

.peco-page-header__titles {
  flex: 1;
  min-width: 0;
}

.peco-page-heading {
  font-family: var(--pe-font-family);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.peco-page-subtitle {
  font-family: var(--pe-font-family);
  font-size: 0.9375rem;
  color: var(--pe-text-secondary);
  margin: 0;
}

.peco-back-btn {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  .peco-page-header__inner {
    padding: 0 20px 20px;
    gap: 16px;
  }

  .peco-back-btn {
    order: -1;
    margin-left: auto;
  }
}

/* ── Main container & grid ──────────────────────────────────── */
.peco-container {
  max-width: 1320px;
  margin-inline: auto;
  padding: 40px 40px 0;
}

.peco-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1199.98px) {
  .peco-grid {
    grid-template-columns: 1fr 320px;
    gap: 20px;
  }
}

@media (max-width: 991.98px) {
  .peco-container {
    padding-inline: 32px;
  }

  .peco-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .peco-summary-col {
    order: -1;
    /* summary first on tablet */
  }
}

@media (max-width: 575.98px) {
  .peco-container {
    padding-inline: 16px;
    padding-top: 28px;
  }

  .peco-summary-col {
    order: 0;
    /* summary below on mobile */
  }
}

/* ── Cards ─────────────────────────────────────────────────── */
.peco-card {
  background: rgba(13, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 28px 28px 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: box-shadow 0.3s var(--pe-ease), border-color 0.3s var(--pe-ease);
}

.peco-card:hover {
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.peco-card--animate {
  animation: pecoCardIn 0.5s var(--pe-ease) both;
}

.peco-card--animate:nth-child(2) {
  animation-delay: 0.07s;
}

.peco-card--animate:nth-child(3) {
  animation-delay: 0.14s;
}

.peco-card--animate:nth-child(4) {
  animation-delay: 0.21s;
}

.peco-card--animate:nth-child(5) {
  animation-delay: 0.28s;
}

@keyframes pecoCardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .peco-card {
    padding: 20px 16px 18px;
    margin-bottom: 14px;
  }
}

/* ── Section header inside card ─────────────────────────────── */
.peco-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.peco-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(124, 77, 255, 0.12);
  border: 1px solid rgba(124, 77, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  flex-shrink: 0;
}

.peco-section-title {
  font-family: var(--pe-font-family);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ── Sub labels ─────────────────────────────────────────────── */
.peco-sub-label {
  font-family: var(--pe-font-family);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── Fields ─────────────────────────────────────────────────── */
.peco-field {
  margin-bottom: 16px;
}

.peco-field:last-child {
  margin-bottom: 0;
}

.peco-label {
  display: block;
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 7px;
  letter-spacing: 0.005em;
}

.peco-required {
  color: #f87171;
  margin-left: 2px;
}

.peco-optional {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  margin-left: 4px;
}

/* ── Inputs ─────────────────────────────────────────────────── */
.peco-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  color: var(--pe-text-primary);
  font-family: var(--pe-font-family);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.22s var(--pe-ease), box-shadow 0.22s var(--pe-ease), background 0.22s var(--pe-ease);
  appearance: none;
  -webkit-appearance: none;
}

.peco-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.peco-input:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.peco-input:focus {
  border-color: rgba(124, 77, 255, 0.55);
  background: rgba(124, 77, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.14);
}

.peco-input.is-valid {
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.10);
}

.peco-input.is-invalid {
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.10);
}

.peco-textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 110px;
}

.peco-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='rgba(255,255,255,0.35)' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.peco-select option {
  background-color: #111322;
  color: #f0f0f6;
}

/* ── Input with icon wrapper ────────────────────────────────── */
.peco-input-icon-wrap {
  position: relative;
}

.peco-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.peco-input--has-icon {
  padding-left: 42px;
}

.peco-input--has-icon-right {
  padding-right: 44px;
}

.peco-cvv-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.32);
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.peco-cvv-toggle:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Field message ──────────────────────────────────────────── */
.peco-field-msg {
  display: block;
  font-family: var(--pe-font-family);
  font-size: 0.75rem;
  margin-top: 5px;
  min-height: 18px;
  transition: color 0.2s;
  color: transparent;
}

.peco-field-msg.is-error {
  color: #f87171;
}

.peco-field-msg.is-success {
  color: #34d399;
}

/* ── jQuery Validate error messages (checkout, login, password forms) ── */
.error-msg {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-family: var(--pe-font-family);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  color: #f87171;
}

.error-msg::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.16);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.card-type-error.error-msg {
  margin-top: 8px;
}

/* ── Rows ───────────────────────────────────────────────────── */
.peco-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.peco-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

@media (max-width: 575.98px) {

  .peco-row-2,
  .peco-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ── Card Type Buttons ──────────────────────────────────────── */
.peco-card-type-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.peco-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.22s var(--pe-ease);
  min-width: 100px;
  color: var(--pe-text-primary);
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
}

.peco-card-btn:hover {
  border-color: rgba(124, 77, 255, 0.4);
  background: rgba(124, 77, 255, 0.06);
}

.peco-card-btn.is-selected {
  border-color: rgba(124, 77, 255, 0.7);
  background: rgba(124, 77, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(124, 77, 255, 0.18);
}

.peco-card-logo {
  width: 48px;
  height: 18px;
}

/* Mastercard circles */
.peco-mc-circles {
  position: relative;
  width: 30px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.peco-mc-left,
.peco-mc-right {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.peco-mc-left {
  left: 0;
  background: #EB001B;
  opacity: 0.9;
}

.peco-mc-right {
  right: 0;
  background: #F79E1B;
  opacity: 0.9;
  mix-blend-mode: normal;
}

.peco-card-label-text {
  font-style: italic;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* Discover badge */
.peco-discover-text {
  font-family: var(--pe-font-family);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #FF6B00, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Agreement / Checkbox ───────────────────────────────────── */
.peco-agree-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.peco-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.peco-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.peco-checkbox-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.22s var(--pe-ease);
}

.peco-checkbox-check {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.18s var(--pe-ease);
}

.peco-checkbox-input:checked~.peco-checkbox-box,
.peco-checkbox-wrap:has(.peco-checkbox-input:checked) .peco-checkbox-box {
  background: var(--pe-accent);
  border-color: var(--pe-accent);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.18);
}

.peco-checkbox-wrap:has(.peco-checkbox-input:checked) .peco-checkbox-check {
  opacity: 1;
  transform: scale(1);
}

.peco-checkbox-wrap.is-invalid .peco-checkbox-box {
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.10);
}

.peco-agree-body .error-msg {
  margin-top: 10px;
}

.peco-checkbox-text {
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  color: rgba(195, 195, 218, 0.65);
  line-height: 1.6;
}

.peco-agree-link {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.2s;
}

.peco-agree-link:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

/* ── Submit Button ──────────────────────────────────────────── */
.peco-submit-btn {
  width: 100%;
  height: 52px;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  border-radius: 7px !important;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  display: flex !important;
  align-items: center;
  cursor: pointer;
  border: none;
}

.btn-submit.loading {
  opacity: 0.85;
  cursor: not-allowed;
  pointer-events: none;
}

.pe-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   ORDER SUMMARY (Right Column)
════════════════════════════════════════════ */

.peco-summary-sticky {
  position: sticky;
  top: 120px;
  background: rgba(13, 14, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  animation: pecoCardIn 0.5s 0.1s var(--pe-ease) both;
}

@media (max-width: 991.98px) {
  .peco-summary-sticky {
    position: static;
  }
}

.peco-summary-header {
  margin-bottom: 18px;
}

.peco-summary-heading {
  font-family: var(--pe-font-family);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ── Plan block ─────────────────────────────────────────────── */
.peco-summary-plan {
  background: rgba(124, 77, 255, 0.08);
  border: 1px solid rgba(124, 77, 255, 0.2);
  border-radius: 7px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.peco-summary-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.peco-summary-plan-name {
  font-family: var(--pe-font-family);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}

.peco-summary-plan-badge {
  font-family: var(--pe-font-family);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
  background: rgba(124, 77, 255, 0.15);
  border: 1px solid rgba(124, 77, 255, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
}

.peco-summary-plan-price {
  font-family: var(--pe-font-family);
  font-size: 1.75rem;
  font-weight: 800;
  color: #a78bfa;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.peco-summary-plan-period {
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Features ───────────────────────────────────────────────── */
.peco-summary-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.peco-summary-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  color: rgba(195, 195, 218, 0.65);
  line-height: 1.5;
}

.peco-summary-check {
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Divider ────────────────────────────────────────────────── */
.peco-summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 16px 0;
}

/* ── Total ──────────────────────────────────────────────────── */
.peco-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.peco-summary-total-label {
  font-family: var(--pe-font-family);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.peco-summary-total-amount {
  font-family: var(--pe-font-family);
  font-size: 1.1875rem;
  font-weight: 800;
  color: #a78bfa;
  letter-spacing: -0.03em;
}

/* ── Security ───────────────────────────────────────────────── */
.peco-summary-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pe-font-family);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.36);
  margin-bottom: 16px;
}

.peco-summary-secure svg {
  color: rgba(52, 211, 153, 0.7);
  flex-shrink: 0;
}

/* ── Benefits ───────────────────────────────────────────────── */
.peco-summary-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.peco-summary-benefit-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  color: rgba(195, 195, 218, 0.6);
}

.peco-benefit-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
  font-size: 0.625rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ── Slim header variant (Logo + Back only) ─────────────────── */
.peco-page-header__inner--slim {
  align-items: center !important;
  padding-bottom: 5px !important;
}

/* ── Body heading block ─────────────────────────────────────── */
.peco-body-heading {
  padding: 36px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 32px;
}

.peco-body-heading .peco-page-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 8px;
}

.peco-body-heading .peco-page-subtitle {
  font-size: 1rem;
  color: var(--pe-text-secondary);
}

@media (max-width: 575.98px) {
  .peco-body-heading {
    padding: 24px 0 18px;
    margin-bottom: 20px;
  }
}


/* ── FAQ title single-line fix ───────────────────────────────── */
.pe-faq-section .section-title {
  max-width: 900px !important;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .pe-faq-section .section-title {
    white-space: normal;
  }
}


/* =============================================================
   PicsEdit – Thank You Page Styles
   pe-ty = PicsEdit Thank You prefix
   ============================================================= */

/* ── Body override ─────────────────────────────────────────── */
.pe-ty-body {
  background-color: #090A12;
  color: var(--pe-text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

/* ── Ambient Glow ───────────────────────────────────────────── */
.pe-ty-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  max-width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* ── Main wrapper ───────────────────────────────────────────── */
.pe-ty-main {
  width: 100%;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.pe-ty-container {
  width: 100%;
  max-width: 720px;
}

/* ── Animations ─────────────────────────────────────────────── */
.pe-ty-animate-up {
  opacity: 0;
  transform: translateY(20px);
  animation: peTyFadeInUp 0.6s var(--pe-ease) forwards;
}

@keyframes peTyFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Success Header ─────────────────────────────────────────── */
.pe-ty-header {
  text-align: center;
  margin-bottom: 40px;
}

.pe-ty-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(124, 77, 255, 0.15);
  border: 1px solid rgba(124, 77, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #a78bfa;
  box-shadow: 0 0 30px rgba(124, 77, 255, 0.2);
}

.pe-ty-heading {
  font-family: var(--pe-font-family);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.pe-ty-subtitle {
  font-family: var(--pe-font-family);
  font-size: 1.125rem;
  color: var(--pe-text-secondary);
  margin: 0;
}

.pe-ty-gradient-text {
  background: linear-gradient(120deg, #a78bfa 0%, #7c3aed 50%, #4f46e5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ── Cards ─────────────────────────────────────────────────── */
.pe-ty-card {
  background: rgba(13, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: box-shadow 0.3s var(--pe-ease), transform 0.3s var(--pe-ease);
}

.pe-ty-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.pe-ty-card--light {
  background: rgba(17, 19, 34, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ── Order Information ──────────────────────────────────────── */
.pe-ty-order-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pe-ty-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pe-ty-order-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pe-ty-order-label {
  font-family: var(--pe-font-family);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(195, 195, 218, 0.6);
}

.pe-ty-order-value {
  font-family: var(--pe-font-family);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: right;
  word-break: break-all;
  max-width: 60%;
}

.pe-ty-price-value {
  color: #a78bfa;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ── Email Notification ─────────────────────────────────────── */
.pe-ty-email-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pe-ty-mail-icon {
  color: #a78bfa;
}

.pe-ty-email-heading {
  font-family: var(--pe-font-family);
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.pe-ty-email-desc {
  font-family: var(--pe-font-family);
  font-size: 0.9375rem;
  color: var(--pe-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.pe-ty-email-desc .pe-ty-gradient-text {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.pe-ty-email-note {
  font-family: var(--pe-font-family);
  font-size: 0.8125rem;
  color: rgba(195, 195, 218, 0.45);
  margin: 0;
}

/* ── Next Actions ───────────────────────────────────────────── */
.pe-ty-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.pe-ty-btn {
  width: 100%;
  height: 52px;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 7px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pe-ty-btn-primary {
  /* Using global .pe-btn-primary */
}

.pe-ty-btn-secondary {
  /* Using global .pe-btn-secondary */
  background: transparent !important;
}

@media (max-width: 575.98px) {
  .pe-ty-actions {
    grid-template-columns: 1fr;
  }
}

/* ── Optional Success Badges ────────────────────────────────── */
.pe-ty-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pe-ty-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--pe-font-family);
  font-size: 0.75rem;
  font-weight: 500;
}

.pe-ty-badge-icon {
  color: #34d399;
  font-weight: 700;
  font-size: 0.875rem;
}

@media (max-width: 767.98px) {
  .pe-ty-card {
    padding: 24px;
  }
}


/* ── Enhanced Mobile Responsiveness for Thank You Page ── */
@media (max-width: 575.98px) {
  .pe-ty-main {
    padding: 32px 16px 60px;
  }

  .pe-ty-header {
    margin-bottom: 32px;
  }

  .pe-ty-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .pe-ty-check-icon {
    width: 26px;
    height: 26px;
  }

  .pe-ty-heading {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }

  .pe-ty-subtitle {
    font-size: 1rem;
  }

  .pe-ty-card {
    padding: 24px 20px;
  }

  /* Stack order items on very small screens for readability */
  .pe-ty-order-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 14px;
  }

  .pe-ty-order-value {
    text-align: left;
    max-width: 100%;
    font-size: 1.0625rem;
  }

  .pe-ty-email-heading {
    font-size: 1.0625rem;
  }

  .pe-ty-email-desc {
    font-size: 0.875rem;
  }

  .pe-ty-email-desc .pe-ty-gradient-text {
    font-size: 0.9375rem;
    word-break: break-all;
  }

  /* Badges stretch to full width on mobile */
  .pe-ty-badges {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pe-ty-badge {
    justify-content: center;
    padding: 10px 16px;
  }
}

@media (max-width: 380px) {
  .pe-ty-card {
    padding: 20px 16px;
  }
}


/* =============================================================
   PicsEdit – Login Page Styles
   pe-login = PicsEdit Login prefix
   ============================================================= */

/* ── Body & Main ────────────────────────────────────────────── */
.pe-login-body {
  background-color: #090A12;
  color: var(--pe-text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.pe-login-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  max-width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.pe-login-main {
  width: 100%;
  padding: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.pe-login-card {
  width: 100%;
  max-width: 500px;
  background: rgba(13, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 32px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.3s var(--pe-ease), box-shadow 0.3s var(--pe-ease);
}

.pe-login-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

/* ── Top Section ────────────────────────────────────────────── */
.pe-login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
}

.pe-login-logo .pe-logo-text {
  font-family: var(--pe-font-family);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.pe-login-heading {
  font-family: var(--pe-font-family);
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.pe-login-subtitle {
  font-family: var(--pe-font-family);
  font-size: 1rem;
  color: var(--pe-text-secondary);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── Form Inputs ────────────────────────────────────────────── */
.pe-login-group {
  margin-bottom: 14px;
  position: relative;
}

.pe-login-label {
  display: block;
  font-family: var(--pe-font-family);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(195, 195, 218, 0.9);
  margin-bottom: 8px;
}

.pe-login-input {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 0 16px;
  color: #ffffff;
  font-family: var(--pe-font-family);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pe-login-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.pe-login-input:focus {
  outline: none;
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

/* Error State */
.pe-login-group.has-error .pe-login-input {
  border-color: #ef4444;
}

/* Reserve space for the error line at all times so it never shifts
   the vertically-centered card's height when it appears. */
.pe-login-error {
  display: block;
  min-height: 15px;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}

.pe-login-group.has-error .pe-login-error {
  opacity: 1;
  visibility: visible;
}

/* Success State */
.pe-login-group.has-success .pe-login-input {
  border-color: #10b981;
}

/* Password Toggle */
.pe-login-pwd-toggle {
  position: absolute;
  right: 16px;
  top: 38px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pe-login-pwd-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Extra Options ──────────────────────────────────────────── */
.pe-login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pe-login-check-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.pe-login-check {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.pe-login-check:checked {
  background: #7c3aed;
  border-color: #7c3aed;
}

.pe-login-check:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pe-login-check-label {
  font-size: 0.875rem;
  color: var(--pe-text-secondary);
  user-select: none;
}

.pe-login-forgot {
  font-size: 0.875rem;
  color: var(--pe-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pe-login-forgot:hover {
  color: #a78bfa;
}

/* ── CTA Button ─────────────────────────────────────────────── */
.pe-login-btn {
  width: 100%;
  height: 48px;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

/* ── Divider ────────────────────────────────────────────────── */
.pe-login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.2);
}

.pe-login-divider::before,
.pe-login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pe-login-divider span {
  padding: 0 16px;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ── Social Buttons ─────────────────────────────────────────── */
.pe-login-social-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pe-login-social-btn {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pe-login-social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ── Bottom Section ─────────────────────────────────────────── */
.pe-login-bottom {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--pe-text-secondary);
}

.pe-login-link {
  color: #a78bfa;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.pe-login-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.pe-login-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.pe-login-link-gradient {
  background: linear-gradient(120deg, #a78bfa 0%, #7c3aed 50%, #4f46e5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Animations ─────────────────────────────────────────────── */
.pe-login-animate-up {
  opacity: 0;
  transform: translateY(20px);
  animation: peLoginFadeInUp 0.6s var(--pe-ease) forwards;
}

@keyframes peLoginFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .pe-login-card {
    padding: 32px;
  }
}

@media (max-width: 575.98px) {
  .pe-login-card {
    padding: 24px 20px;
    max-width: 420px;
  }

  .pe-login-main {
    padding: 20px 16px;
  }
}


/* =============================================================
   PicsEdit – Forgot Password Styles
   ============================================================= */

.pe-fp-body {
  background-color: #090A12;
  color: var(--pe-text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.pe-fp-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  max-width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.pe-fp-main {
  width: 100%;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.pe-fp-card {
  width: 100%;
  max-width: 500px;
  background: rgba(13, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.3s var(--pe-ease), box-shadow 0.3s var(--pe-ease);
}

.pe-fp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.pe-fp-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(124, 58, 237, 0.2));
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #a78bfa;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
  animation: peFpFloat 4s ease-in-out infinite;
}

@keyframes peFpFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.pe-fp-heading {
  font-family: var(--pe-font-family);
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.pe-fp-subtitle {
  font-family: var(--pe-font-family);
  font-size: 0.9375rem;
  color: var(--pe-text-secondary);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}

.pe-fp-btn {
  width: 100%;
  height: 48px;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.pe-fp-back-link {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: var(--pe-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  width: max-content;
  margin: 0 auto;
  position: relative;
}

.pe-fp-back-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #a78bfa;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.pe-fp-back-link:hover {
  color: #a78bfa;
}

.pe-fp-back-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.pe-fp-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 32px 0 24px;
}

.pe-fp-help {
  font-size: 0.8125rem;
  color: rgba(195, 195, 218, 0.6);
}

.pe-fp-help p {
  margin-bottom: 8px;
  font-weight: 500;
  color: rgba(195, 195, 218, 0.8);
}

.pe-fp-help ul {
  padding-left: 16px;
  margin: 0;
  list-style-type: disc;
}

.pe-fp-help li {
  margin-bottom: 4px;
}

.pe-fp-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* ── Animations ── */
.pe-fp-animate-up {
  opacity: 0;
  transform: translateY(20px);
  animation: peFpFadeInUp 0.6s var(--pe-ease) forwards;
}

@keyframes peFpFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pe-fp-fade-in {
  animation: peFpFadeIn 0.4s ease forwards;
}

@keyframes peFpFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .pe-fp-card {
    padding: 32px;
  }
}

@media (max-width: 575.98px) {
  .pe-fp-card {
    padding: 24px 20px;
    max-width: 420px;
  }

  .pe-fp-main {
    padding: 20px 16px;
  }
}
#my-widget-popup {
    top: auto !important;
    bottom: 20px !important;
}

#widget-content {
    bottom: 0px !important;
    top: auto !important;
}

/* ═══════════════════════════════════════════
   MODALS (Notice / Validation) — generic-modal, validation-modal
   Bootstrap ships its own `.modal { display:none; position:fixed; }`
   rule which otherwise keeps these dialogs hidden even when `.open`
   is added to the `.modal-overlay` wrapper, since Bootstrap only
   reveals `.modal` via its own `.show` class. The rules below are
   scoped under `.modal-overlay` so they win on specificity.
════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 12, 0.72);
  backdrop-filter: blur(3px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-overlay .modal {
  display: block;
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  overflow-y: auto;
  background: rgba(17, 18, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  font-family: var(--pe-font-family);
  color: #fff;
  animation: pecoModalIn 0.25s ease;
}

@keyframes pecoModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-overlay .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border-bottom: none;
  margin-bottom: 4px;
}

.modal-overlay .modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.modal-overlay .modal-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 4px;
}

.modal-overlay .modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.modal-overlay .modal-close:hover {
  color: #fff;
}

.modal-overlay .modal-icon {
  width: 52px;
  height: 52px;
  margin: 12px auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
}

.modal-overlay .modal-icon.error   { background: rgba(248, 113, 113, 0.14); }
.modal-overlay .modal-icon.success { background: rgba(52, 211, 153, 0.14); }
.modal-overlay .modal-icon.info    { background: rgba(124, 77, 255, 0.14); }

.modal-overlay .modal-message {
  text-align: center;
  line-height: 1.5;
}

.modal-overlay .validation-modal-hero {
  text-align: center;
  margin: 4px 0 12px;
}

.modal-overlay .validation-modal-hero p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
}

.modal-overlay .modal-error-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-overlay .modal-error-list li {
  font-size: 0.85rem;
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.18);
  border-radius: 7px;
  padding: 8px 12px;
}

.modal-overlay .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.modal-overlay .btn {
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-overlay .btn-primary {
  background: #7C4DFF;
  color: #fff;
}

.modal-overlay .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-overlay .btn:hover {
  opacity: 0.88;
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS
════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  width: 100%;
  padding: 0 16px;
}

.toast {
  background: rgba(17, 18, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #7C4DFF;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--pe-font-family);
  font-size: 0.875rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: pecoToastIn 0.25s ease;
  /* Bootstrap ships `.toast:not(.show) { display:none }`, which outranks a
     plain `.toast` rule on specificity and hides these toasts since they
     never get Bootstrap's own `.show` class. Force it back. */
  display: flex !important;
}

.toast.success { border-left-color: #34d399; }
.toast.error   { border-left-color: #f87171; }
.toast.info    { border-left-color: #7C4DFF; }

@keyframes pecoToastIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}