/* HandCode.org - All Styles + Animations + Grid Texture + Split Narrative + Active Storytelling + Bento Process */

/* Typography & Reset */
:root {
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Menlo", "Monaco", "Courier New", monospace;
  --bg-body: #f5f5f7;
  --text-primary: #1d1d1f;
  --text-secondary: #555555;
  --accent: #0071e3;
  --danger: #ff3b30;
  --success: #00d959;

  --radius-card: 20px;
  --radius-btn: 980px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-stack);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 40px;
  background-image: radial-gradient(#d1d1d6 1px, transparent 1px);
  background-size: 32px 32px;
  /* Disable text selection (SEO Safe) */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow interaction with forms */
input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

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

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

/* MAIN CONTAINER */
.site-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  position: relative;
  padding-bottom: 0;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1020px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

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

.nav-links a {
  font-size: 15px;
  color: #1d1d1f;
  opacity: 0.8;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
}

/* MOBILE MENU */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 2000;
}

.bar {
  width: 24px;
  height: 2px;
  background-color: #1d1d1f;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 32px;
  font-weight: 700;
  color: #1d1d1f;
  text-decoration: none;
  margin: 16px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(4) {
  transition-delay: 0.4s;
}

/* TECHY LOGO */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-wrapper {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  border-right: 3px solid var(--accent);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 2s steps(12, end) forwards, blink 1s step-end infinite;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 13ch;
  }
}

@keyframes blink {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: var(--accent)
  }
}

/* HERO */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero p {
  max-width: 580px;
  margin: 24px auto 40px;
  font-size: 22px;
  color: var(--text-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: var(--radius-btn);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #0071e3;
  color: #fff;
  border: 1px solid transparent;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
}

/* COMPARISON SECTION */
.comparison-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto 80px;
}

.comparison-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0 20px;
}

.comp-card {
  flex: 1;
  background: #fff;
  border-radius: 28px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comp-card.handcode {
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
  border-color: rgba(0, 217, 89, 0.3);
}

.comp-card.template {
  background: linear-gradient(180deg, #fff 0%, #fff0f0 100%);
  border-color: rgba(255, 59, 48, 0.2);
}

.vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #1d1d1f;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #f5f5f7;
}

.score-hero {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin: 16px 0;
}

.handcode .score-hero {
  color: #00d959;
}

.template .score-hero {
  color: #ff3b30;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  color: #555;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-stack-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
}

.tech-logo {
  height: 32px;
  width: auto;
  opacity: 0.9;
  transition: transform 0.2s;
}

.tech-logo:hover {
  transform: scale(1.1);
}

.handcode .tech-logo {
  filter: none;
}

.template .tech-logo {
  opacity: 0.5;
  filter: grayscale(100%);
}

/* Force Squarespace logo to be visible (grey) if it's white-on-transparent */
.template .tech-logo[title="Squarespace"] {
  opacity: 0.6;
  filter: brightness(0) invert(0.6);
}

.spinner-loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #ff3b30;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 8px;
}

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

/* REVENUE ALERT */
.revenue-container {
  max-width: 600px;
  margin: 0 auto 100px;
  padding: 0 20px;
  text-align: center;
}

.revenue-stat-text {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  color: #1d1d1f;
}

.revenue-stat-highlight {
  color: #ff3b30;
}

.revenue-source {
  font-size: 13px;
  color: #555555;
  margin-top: 12px;
  font-weight: 500;
}

/* STORY SECTION (Split Narrative) */
.story-section {
  max-width: 1080px;
  margin: 0 auto 120px;
  padding: 0 40px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.story-content p {
  font-size: 18px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.story-visual {
  background: #fbfbfd;
  border-radius: 30px;
  height: 400px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Visual: The Stack (WOBBLY Jenga Tower) */
.stack-tower {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 140px;
  align-items: center;
  animation: wobble 4s ease-in-out infinite;
}

@keyframes wobble {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  75% {
    transform: rotate(-2deg);
  }
}

.stack-block {
  width: 100%;
  height: 30px;
  background: #ff3b30;
  opacity: 0.1;
  border-radius: 6px;
  border: 1px solid rgba(255, 59, 48, 0.3);
  transition: transform 0.3s;
}

.stack-block:nth-child(1) {
  width: 90%;
  opacity: 0.8;
  animation: slideInStack 0.5s ease-out 0s backwards;
}

.stack-block:nth-child(2) {
  width: 95%;
  opacity: 0.7;
  animation: slideInStack 0.5s ease-out 0.2s backwards;
}

.stack-block:nth-child(3) {
  width: 85%;
  opacity: 0.6;
  animation: slideInStack 0.5s ease-out 0.4s backwards;
}

.stack-block:nth-child(4) {
  width: 100%;
  opacity: 0.5;
  animation: slideInStack 0.5s ease-out 0.6s backwards;
}

.stack-block:nth-child(5) {
  width: 80%;
  opacity: 0.4;
  animation: slideInStack 0.5s ease-out 0.8s backwards;
}

.stack-block:nth-child(6) {
  width: 90%;
  opacity: 0.3;
  animation: slideInStack 0.5s ease-out 1.0s backwards;
}

@keyframes slideInStack {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

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

.stack-label {
  margin-top: 15px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #ff3b30;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Visual: The Code (Typing Effect) */
.code-window {
  width: 100%;
  max-width: 320px;
  background: #1d1d1f;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.code-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 15px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}

.dot.r {
  background: #ff5f57;
}

.dot.y {
  background: #febc2e;
}

.dot.g {
  background: #28c840;
}

.code-lines {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #ccc;
  line-height: 1.6;
}

.line {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 8px;
}

.line.green {
  background: #00d959;
  width: 0%;
  animation: typeLine 2s steps(40, end) forwards 1s;
}

@keyframes typeLine {
  to {
    width: 60%;
  }
}

.line.short {
  width: 40%;
}

.purist-label {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #00d959;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* PROCESS FLOW (Bento Grid Layout) */
.process-section {
  padding: 0 80px 100px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.section-headline {
  text-align: center;
  margin-bottom: 60px;
}

/* The Grid Container */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

/* The centering trick for the bottom 2 items */
.bento-grid .step-wrapper:nth-child(4) {
  grid-column: span 1.5;
  /* This doesn't work easily in standard grid */
}

/* Let's use Flexbox Stacking instead for perfect 3-then-2 centering */
.bento-flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  /* Added max-width and centering to keep away from edges */
}

.step-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  flex: 1 1 280px;
  /* Responsive flex width */
  max-width: 320px;
  /* Don't get too wide */
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* The Number Watermark */
.step-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 60px;
  font-weight: 800;
  color: #f5f5f7;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.step-icon-area {
  width: 50px;
  height: 50px;
  background: #f2f2f5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: #1d1d1f;
  transition: all 0.3s;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.step-desc {
  font-size: 15px;
  color: #555555;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}


/* ACTIVE STATES (Amazon Logic) */
.step-card.active {
  border-color: #0071e3;
}

.step-card.active .step-icon-area {
  background: #0071e3;
  color: #fff;
}

.step-card.active .step-title {
  color: #0071e3;
}

.step-card.active .step-number {
  color: rgba(0, 113, 227, 0.05);
}


/* Bridge Connector (Visual Arrow from Above) */
.bridge-connector {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, rgba(0, 217, 89, 0.5), transparent);
}

.bridge-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #00d959;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 217, 89, 0.5);
}


/* PRICING GRID */
.pricing-section {
  padding: 100px 20px 120px;
  background: #fbfbfd;
  border-top: 1px solid #eee;
  text-align: center;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1040px;
  margin: 60px auto 0;
  align-items: center;
}

.pricing-card {
  flex: 1;
  background: #fff;
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.pricing-card.featured {
  border: 2px solid #0071e3;
  padding: 50px 30px;
  transform: scale(1.05);
  z-index: 5;
  box-shadow: 0 20px 50px rgba(0, 113, 227, 0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #0071e3;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1d1d1f;
}

.plan-desc {
  font-size: 15px;
  color: #6e6e73;
  margin-bottom: 30px;
  line-height: 1.5;
  min-height: 60px;
}

.plan-price {
  font-size: 42px;
  font-weight: 800;
  color: #1d1d1f;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.plan-period {
  font-size: 14px;
  color: #555555;
  font-weight: 500;
  margin-bottom: 30px;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
  text-align: left;
}

.plan-features li {
  font-size: 15px;
  color: #424245;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.plan-features li:hover {
  transform: translateX(4px);
  color: #000;
}

line-height: 1.4;
}

.plan-features li i {
  color: #0071e3;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-features li.dimmed {
  opacity: 0.5;
  text-decoration: line-through;
}

.plan-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
}

.pricing-card.featured .plan-btn {
  background: #0071e3;
  color: #fff;
}

.plan-btn:hover {
  opacity: 0.8;
}

/* AUDIT BOX */
.audit-section {
  padding: 100px 20px;
  background: #fff;
}

.audit-box {
  max-width: 700px;
  margin: 0 auto;
  background: #1d1d1f;
  color: #fff;
  border-radius: 30px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.value-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ffd60a;
  color: #000;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(255, 214, 10, 0.4);
  transform: rotate(5deg);
}

.audit-headline {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.audit-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.5;
}

.audit-input-group {
  text-align: left;
  margin-bottom: 24px;
}

.audit-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.audit-input,
.audit-select {
  width: 100%;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 16px;
  color: #fff;
  transition: all 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

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

.audit-input:focus,
.audit-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.audit-select {
  cursor: pointer;
  color: #fff;
}

.audit-select option {
  background: #1d1d1f;
  color: #fff;
}

.audit-btn {
  width: 100%;
  padding: 20px;
  margin-top: 10px;
  background: #fff;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.audit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.plugin-graveyard {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.grave-marker {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

.disclaimer-footer {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9fa;
  color: #555555;
  font-size: 12px;
  border-top: 1px solid #eee;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .site-wrapper {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    overflow: visible;
  }

  h1 {
    font-size: 48px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .comparison-container {
    flex-direction: column;
    gap: 40px;
  }

  .vs-badge {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  /* Stack story sections on mobile */
  .pricing-grid {
    flex-direction: column;
    margin-top: 40px;
  }

  .pricing-card {
    width: 100%;
  }

  .pricing-card.featured {
    transform: scale(1);
    border: 2px solid #0071e3;
  }

  .bento-flex-container {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    width: 100%;
  }

  .step-number {
    font-size: 40px;
    top: 10px;
    right: 15px;
  }

  /* APP-LIKE FEEL: Add Padding to sections */
  .hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .comparison-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .story-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pricing-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .revenue-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Hide story visuals (Template Trap/HandCode Way images) on mobile */
  .story-visual {
    display: none;
  }
}

/* Proof Modal & Trigger */
.proof-trigger {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #008a3c;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 16px;
  background: rgba(0, 217, 89, 0.1);
  border-radius: 20px;
  transition: all 0.2s;
  border: 1px solid rgba(0, 217, 89, 0.2);
}

.proof-trigger:hover {
  background: rgba(0, 217, 89, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 217, 89, 0.15);
}

.proof-trigger.bad {
  color: #d70015;
  /* Red */
  background: rgba(215, 0, 21, 0.1);
  border-color: rgba(215, 0, 21, 0.2);
  margin-top: 20px;
  /* Ensure spacing applies here too */
}

.proof-trigger.bad:hover {
  background: rgba(215, 0, 21, 0.2);
  box-shadow: 0 4px 12px rgba(215, 0, 21, 0.15);
}

.proof-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.proof-modal.active {
  opacity: 1;
  pointer-events: all;
}

.proof-content {
  background: transparent;
  padding: 0;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.proof-modal.active .proof-content {
  transform: scale(1);
}

.proof-image {
  max-width: 100%;
  max-height: 85vh;
  display: block;
  border-radius: 12px;
  border: 4px solid #fff;
}

.close-proof {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  font-family: var(--font-stack);
}

.close-proof:hover {
  opacity: 1;
  transform: scale(1.1);
}