:root {
  --pg-bg: #050814;
  --pg-bg-light: #f5f7fb;
  --pg-text: #f5f7ff;
  --pg-text-muted: #a7b0c5;
  --pg-accent: #23e5ff;
  --pg-accent-soft: rgba(35, 229, 255, 0.25);
  --pg-border-subtle: rgba(255, 255, 255, 0.08);
  --pg-glass: rgba(9, 14, 35, 0.88);
  --pg-radius-lg: 18px;
  --pg-shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.55);
  --pg-transition-fast: 180ms ease-out;
  --pg-transition-med: 260ms cubic-bezier(0.19, 1, 0.22, 1);
}

/* RESET (minimal) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #081127 0, #030513 45%, #02030a 100%);
  color: var(--pg-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* BACKGROUND GRADIENT SHEET */
.pg-gradient-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(35, 229, 255, 0.18), transparent 55%),
    radial-gradient(circle at top right, rgba(68, 96, 255, 0.23), transparent 55%),
    linear-gradient(to bottom, #050814 0%, #02030a 65%);
  z-index: -2;
}

/* LAYOUT */
.pg-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7vw 14px;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(4, 6, 18, 0.88), rgba(4, 6, 18, 0.4), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pg-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pg-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 10%, #23e5ff, #304fff);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 8px 16px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(35, 229, 255, 0.7);
}

.pg-logo-inner {
  position: absolute;
  inset: 5px;
  border-radius: 8px;
  border: 2px solid rgba(11, 21, 57, 0.8);
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.7),
    inset 0 0 20px rgba(35, 229, 255, 0.4);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 55%);
}

.pg-logo-text {
  display: flex;
  flex-direction: column;
}

.pg-logo-title {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
}

.pg-logo-sub {
  font-size: 0.7rem;
  color: var(--pg-text-muted);
}

.pg-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--pg-text-muted);
}

.pg-nav a {
  padding: 4px 0;
  position: relative;
}

.pg-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--pg-accent), transparent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity var(--pg-transition-fast), transform var(--pg-transition-fast);
}

.pg-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.pg-nav-cta {
  padding: 6px 12px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(35, 229, 255, 0.45), rgba(48, 79, 255, 0.7));
  color: #020308;
  font-weight: 500;
  box-shadow:
    0 8px 20px rgba(5, 11, 40, 0.8),
    0 0 20px rgba(35, 229, 255, 0.75);
}

/* HERO */
.pg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 60px 7vw 56px;
  align-items: center;
}

.pg-hero-left h1 {
  font-size: clamp(2.2rem, 4vw, 3.15rem);
  line-height: 1.08;
  margin: 0 0 16px;
}

.pg-accent {
  background: linear-gradient(120deg, #23e5ff, #52b5ff);
  -webkit-background-clip: text;
  color: transparent;
}

.pg-hero-sub {
  margin: 0 0 22px;
  max-width: 480px;
  color: var(--pg-text-muted);
  font-size: 0.98rem;
}

.pg-email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 8px;
}

.pg-email-field {
  flex: 1 1 220px;
  min-width: 0;
}

.pg-email-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(164, 178, 218, 0.4);
  background: rgba(5, 9, 30, 0.75);
  color: var(--pg-text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--pg-transition-fast), box-shadow var(--pg-transition-fast),
    background var(--pg-transition-fast);
}

.pg-email-field input::placeholder {
  color: rgba(171, 186, 222, 0.7);
}

.pg-email-field input:focus {
  border-color: rgba(35, 229, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(35, 229, 255, 0.6), 0 0 20px rgba(35, 229, 255, 0.35);
  background: rgba(4, 10, 32, 0.95);
}

.pg-primary-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at top left, #23e5ff, #304fff);
  color: #020308;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(35, 229, 255, 0.7);
  transition: transform var(--pg-transition-fast), box-shadow var(--pg-transition-fast),
    filter var(--pg-transition-fast);
}

.pg-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(35, 229, 255, 0.9);
  filter: brightness(1.05);
}

.pg-email-status {
  font-size: 0.78rem;
  color: var(--pg-text-muted);
  min-height: 1em;
}

.pg-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--pg-text-muted);
}

.pg-hero-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(163, 180, 220, 0.35);
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.03), rgba(7, 12, 40, 0.86));
}

/* PHONE MOCK */
.pg-hero-right {
  display: flex;
  justify-content: center;
}

.pg-phone-frame {
  position: relative;
  width: 320px;
  max-width: 100%;
  padding: 14px 12px 18px;
  border-radius: 32px;
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.2), rgba(3, 7, 24, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(35, 229, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pg-phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pg-pill {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  color: var(--pg-text-muted);
  background: rgba(2, 4, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pg-pill-accent {
  color: #020308;
  background: radial-gradient(circle at top left, rgba(35, 229, 255, 0.9), rgba(78, 118, 255, 0.9));
  box-shadow: 0 0 16px rgba(35, 229, 255, 0.8);
}

.pg-phone-card {
  border-radius: 22px;
  padding: 14px 14px 16px;
  background: radial-gradient(circle at top left, rgba(35, 229, 255, 0.1), rgba(5, 8, 28, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

.pg-phone-main h3 {
  margin: 0 0 6px;
  font-size: 0.94rem;
}

.pg-phone-main p {
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: var(--pg-text-muted);
}

.pg-phone-charts {
  display: flex;
  gap: 12px;
  align-items: center;
}

.pg-chart-circle {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 10%, rgba(35, 229, 255, 0.9), rgba(17, 31, 91, 0.9));
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 10px 22px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(35, 229, 255, 0.9);
}

.pg-chart-circle-inner {
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: radial-gradient(circle at bottom, rgba(0, 0, 0, 0.85), rgba(1, 4, 20, 0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--pg-text);
  font-size: 1.6rem;
  font-weight: 600;
}

.pg-chart-circle-inner small {
  font-size: 0.7rem;
  color: rgba(185, 199, 235, 0.85);
}

.pg-chart-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pg-chart-bar span {
  display: block;
  font-size: 0.7rem;
  color: var(--pg-text-muted);
  margin-bottom: 2px;
}

.pg-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(13, 19, 51, 0.9);
  overflow: hidden;
}

.pg-bar-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  border-radius: inherit;
  background: linear-gradient(90deg, #23e5ff, #4c8fff, #7f5cff);
}

.pg-bar-fill-1 { width: 88%; }
.pg-bar-fill-2 { width: 72%; }
.pg-bar-fill-3 { width: 61%; }

.pg-phone-ai {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: linear-gradient(
    135deg,
    rgba(35, 229, 255, 0.14),
    rgba(124, 86, 255, 0.32)
  );
}

.pg-ai-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 0, #23e5ff, #304fff);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 16px rgba(35, 229, 255, 0.9);
}

.pg-phone-ai-text {
  font-size: 0.76rem;
}

.pg-ai-name {
  font-weight: 600;
  margin-right: 4px;
}

.pg-ai-line-secondary {
  margin: 4px 0 0;
  color: rgba(212, 221, 254, 0.9);
}

/* SECTIONS */
.pg-section {
  padding: 40px 7vw;
}

.pg-section-light {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), rgba(2, 4, 14, 0.98));
}

.pg-section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.pg-section-header {
  text-align: center;
  margin-bottom: 24px;
}

.pg-section-header h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}

.pg-section-header p {
  margin: 0;
  color: var(--pg-text-muted);
  font-size: 0.95rem;
}

.pg-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pg-step-card {
  position: relative;
  border-radius: var(--pg-radius-lg);
  padding: 16px 16px 14px;
  background: linear-gradient(145deg, rgba(6, 11, 37, 0.96), rgba(18, 23, 65, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.78);
  font-size: 0.88rem;
}

.pg-step-badge {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #020308;
  padding: 3px 8px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #23e5ff, #304fff);
  box-shadow: 0 0 16px rgba(35, 229, 255, 0.8);
}

.pg-step-card h3 {
  margin-top: 20px;
  margin-bottom: 6px;
  font-size: 1rem;
}

.pg-step-card p {
  margin: 0;
  color: var(--pg-text-muted);
}

/* TWO COLUMN */
.pg-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.pg-section-copy h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.pg-section-copy p {
  margin: 0 0 14px;
  color: var(--pg-text-muted);
  font-size: 0.96rem;
}

.pg-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pg-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--pg-text-muted);
}

.pg-bullets li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: radial-gradient(circle, #23e5ff, #4f7cff);
}

.pg-section-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pg-feature-card {
  border-radius: var(--pg-radius-lg);
  padding: 12px 14px;
  background: linear-gradient(130deg, rgba(6, 10, 31, 0.96), rgba(19, 26, 79, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.76);
  font-size: 0.88rem;
}

.pg-feature-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.pg-feature-card p {
  margin: 0;
  color: var(--pg-text-muted);
}

/* PROS PILL GRID */
.pg-pro-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(152, 168, 211, 0.6);
  background: linear-gradient(130deg, rgba(4, 9, 30, 0.95), rgba(18, 26, 77, 0.96));
  color: var(--pg-text);
  font-size: 0.86rem;
  margin: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

/* CTA */
.pg-section-cta {
  padding-bottom: 72px;
}

.pg-cta-inner {
  border-radius: 26px;
  padding: 24px 22px;
  background:
    radial-gradient(circle at top left, rgba(35, 229, 255, 0.3), rgba(79, 117, 255, 0.2)),
    linear-gradient(135deg, rgba(4, 7, 28, 0.98), rgba(3, 6, 20, 0.98));
  border: 1px solid rgba(190, 204, 255, 0.32);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.9),
    0 0 38px rgba(35, 229, 255, 0.6);
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.pg-cta-copy h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.pg-cta-copy p {
  margin: 0;
  color: var(--pg-text-muted);
  max-width: 460px;
  font-size: 0.95rem;
}

.pg-cta-form-wrap {
  flex: 1 1 260px;
}

/* FOOTER */
.pg-footer {
  padding: 18px 7vw 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, rgba(15, 22, 57, 0.85), #02030a);
}

.pg-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--pg-text-muted);
}

/* AI GUIDE FLOATING CHAT */
.pg-ai-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  border: none;
  cursor: pointer;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg-ai-orb {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.9), rgba(35, 229, 255, 0.2)),
    radial-gradient(circle at 30% 100%, #23e5ff, #304fff);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(35, 229, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.pg-ai-orb::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.9),
    inset 0 0 32px rgba(35, 229, 255, 0.8);
}

.pg-ai-toggle-label {
  font-size: 0.8rem;
  color: var(--pg-text-muted);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(5, 9, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pg-ai-chat {
  position: fixed;
  right: 18px;
  bottom: 82px;
  width: min(360px, 90vw);
  max-height: 70vh;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(7, 11, 33, 0.98), rgba(10, 15, 45, 0.98));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.92),
    0 0 40px rgba(35, 229, 255, 0.5);
  border: 1px solid rgba(211, 223, 255, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity var(--pg-transition-med), transform var(--pg-transition-med);
  z-index: 45;
}

.pg-ai-chat.pg-ai-chat-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.pg-ai-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, rgba(35, 229, 255, 0.22), rgba(10, 14, 39, 0.98));
}

.pg-ai-chat-title {
  font-size: 0.94rem;
  font-weight: 600;
}

.pg-ai-chat-subtitle {
  font-size: 0.76rem;
  color: var(--pg-text-muted);
}

.pg-ai-close {
  margin-left: auto;
  border: none;
  background: transparent;
  color: var(--pg-text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.pg-ai-messages {
  flex: 1;
  padding: 10px 10px 8px;
  overflow-y: auto;
  scroll-behavior: smooth;
  font-size: 0.8rem;
}

.pg-ai-message {
  display: flex;
  margin-bottom: 8px;
}

.pg-ai-message-user {
  justify-content: flex-end;
}

.pg-ai-message-bubble {
  max-width: 80%;
  padding: 8px 10px;
  border-radius: 14px;
  line-height: 1.3;
}

.pg-ai-message-assistant .pg-ai-message-bubble {
  border-radius: 14px 14px 14px 4px;
  background: rgba(7, 11, 31, 0.96);
  border: 1px solid rgba(35, 229, 255, 0.35);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.8);
}

.pg-ai-message-user .pg-ai-message-bubble {
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(120deg, #23e5ff, #4b7eff);
  color: #020308;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.85);
}

.pg-ai-form {
  display: flex;
  padding: 8px 8px 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 24, 0.98);
  gap: 6px;
}

.pg-ai-form input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(160, 176, 214, 0.5);
  padding: 7px 10px;
  background: rgba(6, 10, 32, 0.9);
  color: var(--pg-text);
  font-size: 0.8rem;
  outline: none;
}

.pg-ai-form input::placeholder {
  color: rgba(159, 175, 215, 0.8);
}

.pg-ai-send-btn {
  border-radius: 999px;
  border: none;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  background: radial-gradient(circle at top left, #23e5ff, #304fff);
  color: #020308;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .pg-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 38px;
  }
  .pg-hero-right {
    order: -1;
    margin-bottom: 18px;
  }
  .pg-steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-two-column {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .pg-header {
    padding-inline: 5vw;
  }
  .pg-nav {
    display: none;
  }
}
