/* ===== RESET & BASE ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --bg: #FAF8F5;
  --bg2: #F3EFE8;
  --bg3: #EAE4D9;
  --card: #FFFFFF;
  --text: #2C2418;
  --text2: #7A7060;
  --text3: #A89E90;
  --accent: #B45A2B;
  --accent2: #D4763E;
  --accent-soft: #FCEEE5;
  --green: #3D7A4A;
  --green-soft: #EAF4EC;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}


/* ===== TRICK 4: SCROLL PROGRESS BAR ===== */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 0%;
  z-index: 1001;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}


/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

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

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-accent { color: var(--accent) }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text) }

.nav-cta {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  padding: 8px 20px;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}


/* ===== SECTIONS ===== */
section { padding: 0 24px }
.container { max-width: 1060px; margin: 0 auto }


/* ===== HERO ===== */
.hero {
  padding-top: 160px;
  padding-bottom: 120px;
  text-align: center;
}

.hero-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

/* TRICK 1: Rolling industry text */
.roll-wrap {
  display: inline-block;
  overflow: hidden;
  height: 1.12em;
  vertical-align: bottom;
  position: relative;
  min-width: 220px;
}

.roll-track {
  display: flex;
  flex-direction: column;
  animation: heroRoll 12s ease-in-out infinite;
}

.roll-track span {
  height: 1.12em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-style: italic;
  white-space: nowrap;
}

@keyframes heroRoll {
  0%,10%     { transform: translateY(0) }
  12.5%,22.5%  { transform: translateY(-1.12em) }
  25%,35%    { transform: translateY(-2.24em) }
  37.5%,47.5%  { transform: translateY(-3.36em) }
  50%,60%    { transform: translateY(-4.48em) }
  62.5%,72.5%  { transform: translateY(-5.6em) }
  75%,85%    { transform: translateY(-6.72em) }
  87.5%,97.5%  { transform: translateY(-7.84em) }
  100%       { transform: translateY(0) }
}

.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.hero-cta:hover svg { transform: translateX(3px) }

.hero-cta-sub {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text3);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-trust {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text3);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}


/* ===== STATS SECTION ===== */
.stats {
  padding: 80px 24px;
  background: var(--bg2);
}

.stats-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

/* TRICK 3: Animated counters */
.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text2);
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}


/* ===== FEATURES SECTION ===== */
.features {
  padding: 100px 24px;
}

.section-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 500px;
  line-height: 1.15;
}

/* TRICK 2: Staggered fade-in cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--bg3);
  border-radius: 16px;
  padding: 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(180, 90, 43, 0.06);
}

.feature-num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--bg3);
  margin-bottom: 16px;
  font-style: italic;
}

.feature-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}


/* ===== SHOWCASE RESULTS ===== */
.showcase-results {
  padding: 100px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--bg3);
}

.showcase-results-header {
  text-align: center;
  margin-bottom: 56px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.result-card {
  background: var(--card);
  border: 1px solid var(--bg3);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.result-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(180, 90, 43, 0.06);
  transform: translateY(-3px);
}

.result-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--bg3);
}

.result-url {
  flex: 1;
  font-size: 12px;
  color: var(--text3);
  margin-left: 8px;
}

.result-screenshot {
  aspect-ratio: 16 / 10;
  background: var(--bg);
  overflow: hidden;
}

.result-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.result-placeholder-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.result-placeholder-name {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text);
}

.result-placeholder-type {
  font-size: 13px;
  color: var(--text3);
}

.result-info {
  padding: 16px 20px;
}

.result-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 2px;
}

.result-type {
  font-size: 13px;
  color: var(--text3);
}

.result-carousel {
  position: relative;
}

.result-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.result-carousel-track::-webkit-scrollbar { display: none }
.result-carousel-track { -ms-overflow-style: none; scrollbar-width: none }

.result-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
  scroll-snap-align: start;
  display: block;
}

.result-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.result-carousel-dots .carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.result-carousel-dots .carousel-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

.result-review {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--bg2);
}

.result-review-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.result-review-quote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text2);
  font-style: italic;
  margin: 0 0 14px;
}

.result-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-review-author .review-avatar {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.result-review-author .review-name {
  font-size: 13px;
}

.result-review-author .review-role {
  font-size: 12px;
}

@media (max-width: 768px) {
  .results-grid { grid-template-columns: 1fr }
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--bg3);
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 24px;
}

.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  justify-content: center;
  padding: 0 max(24px, calc((100vw - 1060px) / 2));
  -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar { display: none }
.reviews-track { -ms-overflow-style: none; scrollbar-width: none }

.review-card {
  flex: 0 0 min(400px, 85vw);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--bg3);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.35s ease;
}

.review-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(180, 90, 43, 0.06);
  transform: translateY(-3px);
}

.review-stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
}

.review-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text2);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--bg2);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  font-family: var(--serif);
  flex-shrink: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.review-role {
  font-size: 13px;
  color: var(--text3);
}

@media (max-width: 768px) {
  .review-card { flex: 0 0 85vw }
}


.showcase {
  padding: 100px 24px;
  background: var(--bg2);
}

.showcase-header {
  text-align: center;
  margin-bottom: 48px;
}

/* TRICK 5: Rotating browser mockup */
.browser {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--bg3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.06);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--bg3);
}

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

.browser-dot.r { background: #E8655A }
.browser-dot.y { background: #E5C04B }
.browser-dot.g { background: #62B157 }

.browser-url {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--bg3);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text3);
  margin-left: 8px;
  transition: color 0.4s;
}

.browser-body {
  padding: 48px 40px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.browser-body .site-name {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  transition: opacity 0.4s;
}

.browser-body .site-desc {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 24px;
  transition: opacity 0.4s;
}

.browser-body .site-btns {
  display: flex;
  gap: 10px;
}

.site-btn-primary {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  font-family: var(--sans);
  font-weight: 500;
}

.site-btn-secondary {
  background: transparent;
  color: var(--text2);
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid var(--bg3);
  font-family: var(--sans);
}

.showcase-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg3);
  transition: all 0.3s;
  cursor: pointer;
}

.showcase-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}


/* ===== PRICING ===== */
.pricing {
  padding: 100px 24px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--bg3);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg3);
}

.price-card-featured {
  border-color: var(--accent);
}

.price-card-featured::before {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
}

.price-tier {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--serif);
  font-size: 48px;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.price-amount small {
  font-size: 18px;
  color: var(--text3);
  font-family: var(--sans);
  font-weight: 400;
}

.price-sub {
  font-size: 14px;
  color: var(--text2);
  margin: 8px 0 28px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.price-features li {
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--bg2);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text2);
}

.price-features li:last-child { border: none }

.check-icon {
  width: 20px;
  height: 20px;
  background: var(--green-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.price-cta {
  display: block;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.price-cta:hover { background: var(--accent2) }

.price-setup {
  font-size: 12px;
  color: var(--text3);
  margin-top: 14px;
}

.pricing-addon {
  max-width: 820px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--text3);
  padding: 16px 24px;
  background: var(--bg2);
  border-radius: 12px;
}

.pricing-addon strong {
  color: var(--text2);
  font-weight: 500;
}

.price-guarantee-note {
  max-width: 820px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}


/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 24px;
  background: var(--bg2);
  text-align: center;
}

.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-section p {
  font-size: 16px;
  color: var(--text2);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text2);
  padding: 14px 28px;
  border: 1.5px solid var(--bg3);
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s;
}

.cta-phone:hover {
  border-color: var(--text3);
  color: var(--text);
}


/* ===== FOOTER ===== */
footer {
  padding: 40px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text3);
}

footer a {
  color: var(--text2);
  text-decoration: none;
}

footer .footer-sep {
  margin: 0 8px;
  color: var(--bg3);
}


/* ===== TRICK 6: STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 12px 24px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--bg3);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.visible { transform: translateY(0) }

.sticky-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-text {
  font-size: 14px;
  color: var(--text2);
  transition: opacity 0.3s;
}

.sticky-text strong {
  color: var(--text);
  font-weight: 500;
}

.sticky-btn {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  padding: 10px 24px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s;
  white-space: nowrap;
}

.sticky-btn:hover { background: var(--accent2) }


/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===== CURSOR GLOW EFFECT ===== */
.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 118, 62, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

.cursor-glow.visible { opacity: 1 }

@media (hover: none) {
  .cursor-glow { display: none }
}


/* ===== KINETIC TYPOGRAPHY ===== */
.kinetic-word {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.kinetic-line .kinetic-word {
  opacity: 0;
  transform: translateY(32px) rotate(2deg);
}

.kinetic-line.visible .kinetic-word {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.kinetic-line.visible .kinetic-word:nth-child(1) { transition-delay: 0s }
.kinetic-line.visible .kinetic-word:nth-child(2) { transition-delay: 0.06s }
.kinetic-line.visible .kinetic-word:nth-child(3) { transition-delay: 0.12s }
.kinetic-line.visible .kinetic-word:nth-child(4) { transition-delay: 0.18s }
.kinetic-line.visible .kinetic-word:nth-child(5) { transition-delay: 0.24s }
.kinetic-line.visible .kinetic-word:nth-child(6) { transition-delay: 0.3s }
.kinetic-line.visible .kinetic-word:nth-child(7) { transition-delay: 0.36s }
.kinetic-line.visible .kinetic-word:nth-child(8) { transition-delay: 0.42s }


/* ===== UGLY NAV OVERLAY (synced with hero slider) ===== */
.ugly-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: 68px;
  overflow: hidden;
  z-index: 1001;
  pointer-events: none;
}

.ugly-nav-inner {
  width: 100vw;
  height: 100%;
}

.ugly-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
  background: #D0D0D0;
  border-bottom: 2px solid #999;
}

.ugly-nav-logo {
  font-family: 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: bold;
  color: #003399;
  white-space: nowrap;
}

.ugly-nav-links {
  font-size: 13px;
  font-family: 'Times New Roman', serif;
  white-space: nowrap;
}

.ugly-nav-links a {
  color: #0000EE;
  pointer-events: auto;
}

.ugly-nav-overlay.hidden {
  display: none;
}


/* ===== HERO SLIDER OVERLAY ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  touch-action: none;
}

.hero-after-content {
  position: relative;
  z-index: 1;
}

/* Before overlay - toggled full-page */
.hero-before {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.hero-before.active {
  opacity: 1;
  pointer-events: auto;
}

/* Before/After toggle */
.ba-toggle {
  display: flex;
  justify-content: center;
  margin: 24px auto 0;
  background: var(--bg2);
  border: 1px solid var(--bg3);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
}

/* Hide real nav when before is active */
body.before-active nav {
  opacity: 0;
  pointer-events: none;
}
.ba-toggle-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 24px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  background: transparent;
  color: var(--text3);
  transition: all 0.25s ease;
}
.ba-toggle-btn.active {
  background: var(--accent);
  color: #fff;
}
.ba-toggle-btn:hover:not(.active) {
  color: var(--text);
}

.hero-before-inner {
  width: 100vw;
  max-width: none;
  min-height: 300vh;
  background: #E8E8E8;
  font-family: 'Times New Roman', serif;
  color: #333;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Ugly content ── */
.hba-ugly-banner {
  background: #FFFF00;
  color: #FF0000;
  text-align: center;
  font-family: 'Comic Sans MS', cursive;
  font-size: 13px;
  font-weight: bold;
  padding: 6px;
  letter-spacing: 1px;
  animation: bannerBlink 1.2s infinite;
}

@keyframes bannerBlink {
  0%, 100% { opacity: 1 }
  50% { opacity: 0.6 }
}

.hba-ugly-nav {
  width: 100%;
  background: #D0D0D0;
  border-bottom: 2px solid #999;
  padding: 8px 16px;
  font-size: 13px;
}

.hba-ugly-nav td { vertical-align: middle }

.hba-ugly-logo {
  font-family: 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: bold;
  color: #003399;
  padding-right: 32px;
  white-space: nowrap;
}

.hba-ugly-nav a {
  color: #0000EE;
  font-size: 13px;
  pointer-events: auto;
  position: relative;
  z-index: 12;
}

.hba-ugly-hero {
  padding: 24px 24px 24px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hba-ugly-marquee {
  background: #FFFFCC;
  border: 2px dashed #CC9900;
  padding: 8px;
  font-family: 'Comic Sans MS', cursive;
  font-size: 14px;
  color: #CC0000;
  margin-bottom: 20px;
  width: 100%;
  max-width: 700px;
}

.hba-ugly-title {
  font-family: 'Comic Sans MS', cursive;
  font-size: clamp(22px, 4vw, 36px);
  color: #003399;
  text-shadow: 2px 2px #ccc;
  margin-bottom: 12px;
}

.hba-ugly-sub {
  font-size: 14px;
  color: #555;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.8;
}

.hba-ugly-buttons { margin: 0 auto }

.hba-ugly-btn {
  display: inline-block;
  background: #FF6600;
  color: #fff;
  font-family: 'Comic Sans MS', cursive;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 24px;
  border: 3px outset #CC5500;
  text-decoration: none;
  cursor: pointer;
  animation: btnPulse 0.8s infinite;
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

@keyframes btnPulse {
  0%, 100% { transform: scale(1) }
  50% { transform: scale(1.03) }
}

.hba-ugly-btn2 {
  display: inline-block;
  background: #009900;
  color: #FFFF00;
  font-family: 'Comic Sans MS', cursive;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 20px;
  border: 3px outset #006600;
  text-decoration: none;
  margin-left: 12px;
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

.hba-ugly-features {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
}

.hba-ugly-feature {
  background: #FFFFCC;
  border: 1px solid #CCCC00;
  padding: 12px;
  width: 180px;
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
}

.hba-ugly-icon {
  width: 32px;
  height: 32px;
  background: #D0D0D0;
  display: block;
  margin: 0 auto 8px;
}

.hba-ugly-footer {
  background: #C0C0C0;
  border-top: 2px solid #999;
  padding: 10px;
  font-size: 11px;
  color: #666;
  text-align: center;
  margin-top: auto;
}

/* ── Slider handle ── */
.hero-slider-handle {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 48px;
  margin-left: -24px;
  z-index: 999;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider-handle-btn {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(180, 90, 43, 0.4);
  transition: transform 0.2s;
}

.hero-slider-handle-btn:hover { transform: scale(1.1) }

.hero-slider-handle-btn svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

/* ── Slider labels ── */
.hero-slider-label {
  position: fixed;
  bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  z-index: 999;
  pointer-events: none;
}

.hero-slider-label-before {
  left: 24px;
  background: rgba(180, 50, 30, 0.9);
  color: #fff;
}

.hero-slider-label-after {
  right: 24px;
  background: rgba(61, 122, 74, 0.9);
  color: #fff;
}

@media (max-width: 768px) {
  .hero-before-inner { width: 100vw }
  .hba-ugly-features { flex-direction: column; align-items: center }
  .hba-ugly-feature { width: 90%; max-width: 240px }
  .hba-ugly-marquee { font-size: 11px }
  .hba-ugly-title { font-size: 20px }
  .hba-ugly-btn { font-size: 13px; padding: 8px 16px }
  .hba-ugly-btn2 { font-size: 12px; padding: 8px 14px; margin-left: 8px }
  .hba-ugly-sub { font-size: 12px }
  .hba-ugly-logo { font-size: 16px; padding-right: 12px }
  .hba-ugly-nav { padding: 6px 12px; font-size: 11px }
  .hba-ugly-nav a { font-size: 11px }
  .hero-slider-label { bottom: 16px; font-size: 11px }
  .ugly-nav-links { font-size: 11px }
  .ugly-nav-logo { font-size: 16px }
  .ugly-nav-bar { padding: 0 16px }
}


/* ===== BEFORE / AFTER SLIDER ===== */
.ba-section {
  padding: 100px 24px;
}

.ba-header {
  text-align: center;
  margin-bottom: 48px;
}

.ba-container {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bg3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.06);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.ba-side {
  width: 100%;
  display: block;
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  width: 50%;
  z-index: 2;
  border-right: 2px solid var(--accent);
}

.ba-before img {
  width: 720px;
  max-width: none;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-after img {
  width: 100%;
  display: block;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 40px;
  margin-left: -20px;
  z-index: 3;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-handle-btn {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(180, 90, 43, 0.3);
  transition: transform 0.2s;
}

.ba-handle-btn:hover { transform: scale(1.1) }

.ba-handle-btn svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.ba-label {
  position: absolute;
  bottom: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  z-index: 4;
  pointer-events: none;
}

.ba-label-before {
  left: 16px;
  background: rgba(180, 50, 30, 0.85);
  color: #fff;
}

.ba-label-after {
  right: 16px;
  background: rgba(61, 122, 74, 0.85);
  color: #fff;
}

.ba-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text3);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding-top: 120px; padding-bottom: 80px }
  .stats-grid { grid-template-columns: 1fr; gap: 32px }
  .features-grid { grid-template-columns: 1fr }
  .nav-links a:not(.nav-cta) { display: none }
  .browser-body { padding: 32px 24px }
  .pricing-grid { grid-template-columns: 1fr }
  .price-card { padding: 36px 28px }
  .sticky-text { display: none }
  .sticky-inner { justify-content: center }
  .ba-before img { width: 100vw }
  .ba-section { padding: 60px 24px }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px }
  .roll-wrap { min-width: 160px }
  .hero-trust { flex-direction: column; align-items: center; gap: 12px }
  .cta-actions { flex-direction: column; align-items: center }
}


/* ===== ONBOARDING WIZARD ===== */
.wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(44, 36, 24, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.wizard-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wizard-card {
  background: var(--card);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-overlay.active .wizard-card {
  transform: translateY(0) scale(1);
}

.wizard-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  transition: all 0.2s;
  z-index: 2;
}

.wizard-close:hover {
  background: var(--bg3);
  color: var(--text);
}

.wizard-progress {
  height: 4px;
  background: var(--bg2);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 0 2px 2px 0;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-body {
  padding: 40px 36px 0;
  position: relative;
  overflow: hidden;
}

.wizard-step {
  opacity: 0;
  transform: translateX(30px);
  position: absolute;
  top: 40px;
  left: 36px;
  right: 36px;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-step.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  pointer-events: auto;
}

.wizard-step.exit-left {
  opacity: 0;
  transform: translateX(-30px);
}

.wizard-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  font-weight: 500;
  margin-bottom: 8px;
}

.wizard-heading {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}

.wizard-sub {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 28px;
  line-height: 1.5;
}

.wizard-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wizard-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.wizard-field input {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 16px;
  border: 1.5px solid var(--bg3);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wizard-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.wizard-field input::placeholder {
  color: var(--text3);
}

.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wizard-option {
  cursor: pointer;
}

.wizard-option input[type="radio"],
.wizard-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wizard-option-card {
  border: 1.5px solid var(--bg3);
  border-radius: 12px;
  padding: 20px;
  background: var(--bg);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}

.wizard-option input:checked + .wizard-option-card {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(180, 90, 43, 0.1);
}

.wizard-option-card:hover {
  border-color: var(--accent);
}

.wizard-option-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(180, 90, 43, 0.1);
  padding: 2px 8px;
  border-radius: 100px;
  align-self: flex-start;
  margin-bottom: 4px;
}

.wizard-option-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text);
}

.wizard-option-price {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

.wizard-option-desc {
  font-size: 13px;
  color: var(--text3);
}

.wizard-option-free {
  border-color: var(--green);
  background: var(--green-soft);
}

.wizard-option input:checked + .wizard-option-free {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(61, 122, 74, 0.12);
}

.wizard-option-free:hover {
  border-color: var(--green);
}

.wizard-option-free .wizard-option-price {
  color: var(--green);
  font-size: 20px;
  font-family: var(--serif);
}

.wizard-option-badge-free {
  background: rgba(61, 122, 74, 0.12);
  color: var(--green);
}

.wizard-option-compact {
  padding: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  padding: 24px 36px 32px;
  gap: 12px;
}

.wizard-back {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.2s;
}

.wizard-back:hover {
  color: var(--text);
  background: var(--bg2);
}

.wizard-next {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
}

.wizard-next:hover {
  background: var(--accent2);
}

.wizard-success {
  text-align: center;
  padding: 20px 0 40px;
}

.wizard-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: wizardPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wizardPop {
  0% { transform: scale(0); opacity: 0 }
  100% { transform: scale(1); opacity: 1 }
}

@keyframes wizardShake {
  0%, 100% { transform: translateX(0) }
  20% { transform: translateX(-6px) }
  40% { transform: translateX(6px) }
  60% { transform: translateX(-4px) }
  80% { transform: translateX(4px) }
}

.wizard-done {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
  background: var(--bg2);
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.2s;
}

.wizard-done:hover {
  background: var(--bg3);
  color: var(--text);
}

@media (max-width: 480px) {
  .wizard-body { padding: 32px 24px 0 }
  .wizard-nav { padding: 20px 24px 28px }
  .wizard-step { left: 24px; right: 24px }
  .wizard-heading { font-size: 24px }
  .wizard-options-grid { grid-template-columns: 1fr 1fr }
}
