:root {
  --green: #0da574;
  --green-dark: #0a8a60;
  --green-light: #e6f7f2;
  --ink: #0f1a14;
  --ink-mid: #2e3d35;
  --muted: #6b7c74;
  --border: #d8e4de;
  --surface: #f5f9f7;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────── */
.display {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-xl { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.display-lg { font-size: clamp(2rem, 4vw, 3.4rem); }
.display-md { font-size: clamp(1.5rem, 2.5vw, 2rem); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.body-lg { font-size: 1.125rem; line-height: 1.7; color: var(--ink-mid); }
.body-md { font-size: 1rem; line-height: 1.65; color: var(--muted); }

/* ─── LAYOUT ─────────────────────────────────────── */
.container-pl {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAV ─────────────────────────────────────────── */
#pl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.3s, box-shadow 0.3s;
}

#pl-nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo img { height: 32px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--ink); background: var(--surface); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,165,116,0.28);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 12px;
}

.btn-white {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ─── HERO ─────────────────────────────────────────── */
#hero {
  padding-top: 140px;
  padding-bottom: 0;
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(13,165,116,0.15);
}

.hero-badge span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-headline {
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}

.hero-note svg {
  display: inline;
  vertical-align: middle;
  margin-right: 4px;
}

/* Hero screenshot */
.hero-screenshot {
  margin-top: 60px;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-screenshot-wrap {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 0 4px var(--border), 0 -30px 80px rgba(13,165,116,0.08), 0 -60px 160px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--surface);
}

.hero-screenshot img {
  width: 100%;
  display: block;
}

/* Browser chrome mockup */
.browser-chrome {
  background: #f0f4f2;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-bar {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
}

/* ─── SOCIAL PROOF STRIP ─────────────────────────── */
#social-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
}

.proof-stat strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.proof-stat span {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── FEATURES ─────────────────────────────────────── */
#features {
  padding: 100px 0 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.section-header p {
  margin-top: 16px;
}

/* Alternating feature rows */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--border);
}

.feat-row:last-child {
  border-bottom: 1px solid var(--border);
}

.feat-row-body {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feat-row-visual {
  background: var(--surface);
  border-left: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.feat-row.reverse .feat-row-body { order: 2; }
.feat-row.reverse .feat-row-visual { order: 1; border-left: none; border-right: 1px solid var(--border); }

.feat-row-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
  display: block;
}

.feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}

.feat-row-body h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.feat-row-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
}

.feat-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feat-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.5;
}

.feat-bullets li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230da574' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 860px) {
  .feat-row {
	grid-template-columns: 1fr;
  }
  .feat-row-visual {
	border-left: none !important;
	border-right: none !important;
	border-top: 1px solid var(--border);
	padding: 32px 24px;
  }
  .feat-row-body { padding: 48px 24px; order: 1 !important; }
  .feat-row.reverse .feat-row-visual { order: 2 !important; }
}

/* ─── HOW IT WORKS ──────────────────────────────────── */
#how-it-works {
  padding: 120px 0;
  background: var(--ink);
  color: #fff;
}

#how-it-works .section-header { color: #fff; }
#how-it-works .section-header p { color: rgba(255,255,255,0.6); }
#how-it-works .eyebrow { color: var(--green); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}

.step {
  padding: 48px 40px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.step:hover { background: var(--ink-mid); }

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 24px;
}

.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}

.step-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(13,165,116,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg { color: var(--green); }

/* ─── PRICING ────────────────────────────────────────── */
#plans {
  padding: 120px 0;
  background: var(--surface);
}

.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.18);
}

.pricing-header {
  padding: 48px 48px 40px;
  background: linear-gradient(135deg, #1a2e22 0%, var(--ink) 100%);
  position: relative;
}

.pricing-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 20px;
}

.pricing-amount .dollar {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

.pricing-amount .price {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.pricing-amount .period {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.pricing-body {
  padding: 40px 48px 48px;
}

.pricing-highlight {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.45;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
  border-radius: 12px;
}

.pricing-note {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}

/* ─── CTA SECTION ────────────────────────────────────── */
#cta-section {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,165,116,0.08) 0%, transparent 70%);
  pointer-events: none;
}

#cta-section .display-lg { max-width: 640px; margin: 0 auto 16px; }

#cta-section p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ─── FOOTER ─────────────────────────────────────────── */
#pl-footer {
  padding: 64px 0 40px;
  background: var(--ink);
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand img { height: 28px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; max-width: 280px; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── MODAL OVERRIDES ────────────────────────────────── */
.modal-content {
  border-radius: var(--radius-lg) !important;
  border: none !important;
  box-shadow: 0 40px 100px rgba(0,0,0,0.2) !important;
  overflow: hidden;
}

.modal-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border) !important;
  padding: 24px 28px !important;
}

.modal-title {
  font-family: 'Fraunces', serif !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
}

.modal-body {
  padding: 28px !important;
}

.modal-body .form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.modal-body .form-control {
  border-radius: 10px !important;
  border: 1.5px solid var(--border) !important;
  padding: 12px 14px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.95rem !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.modal-body .form-control:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(13,165,116,0.15) !important;
  outline: none !important;
}

.modal-footer {
  padding: 20px 28px !important;
  border-top: 1px solid var(--border) !important;
  background: var(--surface);
}

/* modal CTA button */
.modal-footer .btn-primary,
.modal-body .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 14px !important;
  font-size: 0.95rem !important;
  border-radius: 10px !important;
  background: var(--green) !important;
  border: none !important;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s !important;
}

.modal-footer .btn-primary:hover,
.modal-body .btn-primary:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px) !important;
}

/* ─── MOBILE NAV ────────────────────────────────────── */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  z-index: 1001;
  position: relative;
}

#mobile-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1002;
}

#mobile-drawer.open { display: block; }

.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,26,20,0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-header img { height: 26px; }

.mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--muted);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-drawer-close:hover { background: var(--surface); color: var(--ink); }

.mobile-drawer-links {
  list-style: none;
  padding: 16px 12px;
  flex: 1;
}

.mobile-drawer-links li a,
.mobile-drawer-links li button {
  display: block;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  background: none;
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.mobile-drawer-links li a:hover,
.mobile-drawer-links li button:hover {
  background: var(--surface);
  color: var(--ink);
}

.mobile-drawer-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 16px;
}

.mobile-drawer-footer {
  padding: 16px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.mobile-drawer-footer .btn-ghost,
.mobile-drawer-footer .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 0.95rem;
}

/* ─── ANIMATIONS ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 991px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-nav-toggle { display: flex; }
  .features-bento .feat-card.col-7,
  .features-bento .feat-card.col-5,
  .features-bento .feat-card.col-4,
  .features-bento .feat-card.col-8 {
	grid-column: span 12;
  }
  .feat-card.horizontal { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .pricing-features { grid-template-columns: 1fr; }
  .pricing-header, .pricing-body { padding: 32px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .proof-divider { display: none; }
}