/* ═══════════════════════════════════════════
   SMART DONGLE PRODUCT, DIY & PRICING STYLES
   Aesthetic: Sleek Technical Elegance / Glowing Green & Slate
═══════════════════════════════════════════ */

.dongle-main {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--sp-6));
  padding-bottom: var(--sp-16);
}

.dongle-bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 50% 10%, var(--brand-glow) 0%, transparent 65%),
    radial-gradient(circle at 85% 45%, rgba(34, 163, 85, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
}

/* ── Hero Section ── */
.dongle-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--sp-16);
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 1rem;
  background: white;
  border: 1px solid var(--brand-light);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px var(--brand-glow-sm);
  font-size: 0.82rem;
  margin-bottom: var(--sp-5);
}

.pill-spark {
  font-size: 0.95rem;
}

.pill-title {
  font-weight: 600;
  color: var(--ink);
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--brand-xlight);
  color: var(--brand);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.dongle-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.usd-tag {
  font-size: 0.65em;
  color: var(--brand-mid);
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dongle-hero__lead {
  font-size: 1.12rem;
  color: var(--ink-500);
  max-width: 760px;
  margin: 0 auto var(--sp-8);
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}

.btn-primary-dongle,
.btn-secondary-dongle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-dongle {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 15px var(--brand-glow);
}

.btn-primary-dongle:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--brand-glow);
}

.btn-secondary-dongle {
  background: white;
  color: var(--ink-700);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.btn-secondary-dongle:hover {
  background: var(--brand-xlight);
  color: var(--brand-dark);
  border-color: var(--brand-light);
  transform: translateY(-2px);
}

/* ── Hero Highlights Bar ── */
.hero-highlights-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-highlights-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hbar-item {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.hbar-icon {
  font-size: 1.3rem;
}

.hbar-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}

.hbar-item small {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-500);
}

.badge-coming-soon {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FCD34D;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* ── Section Header Components ── */
.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-xlight);
  border: 1px solid var(--brand-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--ink-500);
  max-width: 720px;
  margin: 0 auto var(--sp-10);
  line-height: 1.6;
}

/* ── Comparison Cards ── */
.price-compare-section {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--sp-16);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  text-align: left;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comparison-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
}

.comparison-card.traditional {
  border: 1px solid #E2E8F0;
}

.comparison-card.modern {
  border: 2px solid var(--brand);
  box-shadow: 0 20px 40px -10px var(--brand-glow), var(--shadow-lg);
}

.card-status-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-3);
  align-self: flex-start;
}

.card-status-tag.bad {
  background: #FEE2E2;
  color: #991B1B;
}

.card-status-tag.good {
  background: var(--brand-xlight);
  color: var(--brand-dark);
  border: 1px solid var(--brand-light);
}

.card-price-callout {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--sp-6);
}

.card-price-callout.old-price {
  color: #EF4444;
}

.card-price-callout.new-price {
  color: var(--brand);
}

.card-price-callout span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-500);
}

.comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.comp-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.comp-list p {
  font-size: 0.86rem;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.45;
}

.cross {
  color: #EF4444;
  font-weight: 800;
  font-size: 1.1rem;
}

.check {
  color: #16A34A;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ── DIY Section ── */
.diy-section {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--sp-16);
}

.bom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  text-align: left;
  margin-bottom: var(--sp-6);
}

@media (min-width: 768px) {
  .bom-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bom-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  position: relative;
}

.bom-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-xlight);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.bom-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.35rem 0;
}

.bom-card p {
  font-size: 0.88rem;
  color: var(--ink-500);
  margin: 0 0 var(--sp-4) 0;
  flex: 1;
  line-height: 1.45;
}

.bom-cost {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: #F1F5F9;
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
}

.bom-total-banner {
  background: var(--brand-xlight);
  border: 1px solid var(--brand-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  text-align: left;
}

.total-left {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.total-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.total-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand);
}

.total-val small {
  font-size: 0.85rem;
  color: var(--ink-500);
}

.total-right {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-dark);
}

/* ── Wiring Schematic ── */
.wiring-schematic-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-md);
  text-align: left;
}

@media (min-width: 640px) {
  .wiring-schematic-card {
    padding: var(--sp-8);
  }
}

.schematic-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.schem-icon {
  font-size: 2rem;
}

.schem-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.25rem 0;
}

.schem-desc {
  font-size: 0.92rem;
  color: var(--ink-500);
  margin: 0;
}

.wiring-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-5);
}

.wiring-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.wiring-table th {
  background: #F8FAFC;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--ink-700);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.wiring-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  color: var(--ink-700);
}

.pin-code {
  font-family: var(--font-mono);
  background: var(--brand-xlight);
  color: var(--brand-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.wiring-note {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wiring-note svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* ── Pricing Section ── */
.pricing-section {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--sp-16);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  text-align: left;
  margin-bottom: var(--sp-8);
}

@media (min-width: 768px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border: 2px solid var(--brand);
  box-shadow: 0 20px 40px -10px var(--brand-glow), var(--shadow-md);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--brand);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px var(--brand-glow);
}

.plan-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.plan-price small {
  font-size: 0.85rem;
  color: var(--ink-500);
  font-family: var(--font-body);
  font-weight: 500;
}

.plan-sub {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: 0 0 var(--sp-6) 0;
  line-height: 1.4;
  min-height: 38px;
}

.plan-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-8) 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.plan-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-700);
}

.btn-plan-primary,
.btn-plan-outline {
  display: block;
  text-align: center;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-plan-primary {
  background: var(--brand);
  color: white;
}

.btn-plan-primary:hover {
  background: var(--brand-dark);
}

.btn-plan-outline {
  background: #F8FAFC;
  color: var(--ink-700);
  border: 1px solid #E2E8F0;
}

.btn-plan-outline:hover {
  background: var(--brand-xlight);
  color: var(--brand-dark);
  border-color: var(--brand-light);
}

/* ── Funky Guarantee Box ── */
.funky-guarantee-box {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  text-align: left;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .funky-guarantee-box {
    flex-direction: column;
    text-align: center;
  }
}

.funky-icon {
  font-size: 2.8rem;
}

.funky-text h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-light);
  margin: 0 0 0.35rem 0;
}

.funky-text p {
  font-size: 0.95rem;
  color: #CBD5E1;
  margin: 0;
  line-height: 1.6;
}

.funky-text strong {
  color: white;
}

/* ── Activation Timeline ── */
.activation-section {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--sp-16);
}

.activation-steps-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  text-align: left;
}

@media (min-width: 768px) {
  .activation-steps-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

.act-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
}

.act-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--brand-xlight);
  color: var(--brand);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  white-space: nowrap;
}

.act-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.25rem 0;
}

.act-body p {
  font-size: 0.88rem;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.5;
}

.inline-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Widget Teaser Section ── */
.widget-teaser-section {
  position: relative;
  z-index: 1;
  margin-bottom: var(--sp-16);
}

.widget-teaser-card {
  background: white;
  border: 2px dashed var(--brand-light);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  box-shadow: 0 8px 30px var(--brand-glow-sm);
}

.wt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #92400E;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.wt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D97706;
}

.wt-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--sp-3) 0;
}

.wt-desc {
  font-size: 1.05rem;
  color: var(--ink-500);
  max-width: 620px;
  margin: 0 auto var(--sp-6);
  line-height: 1.6;
}

.wt-features {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
}

/* ── CTA Banner ── */
.cta-announcement-section {
  position: relative;
  z-index: 1;
  margin-bottom: var(--sp-12);
}

.cta-box {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #0F381E 100%);
  border-radius: var(--radius-2xl);
  padding: var(--sp-12) var(--sp-6);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -15px var(--brand-glow), var(--shadow-lg);
}

@media (min-width: 640px) {
  .cta-box {
    padding: var(--sp-16) var(--sp-12);
  }
}

.cta-glow-circle {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(167, 223, 192, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  margin: 0 0 var(--sp-3) 0;
  color: white;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto var(--sp-8);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.btn-cta-white,
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-cta-white {
  background: white;
  color: var(--brand-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   TERMINAL GIT DIFF STYLES
═══════════════════════════════════════════ */

.terminal-diff-wrapper {
  max-width: 920px;
  margin: 0 auto var(--sp-8);
  background: #0B1120;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4), var(--shadow-lg);
  border: 1px solid #1E293B;
  text-align: left;
}

.terminal-diff-header {
  background: #1E293B;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.term-dots {
  display: flex;
  gap: 6px;
}

.term-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.term-dot.red { background: #EF4444; }
.term-dot.yellow { background: #F59E0B; }
.term-dot.green { background: #10B981; }

.term-tab-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #94A3B8;
}

.diff-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.72rem;
}

.diff-stat {
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.diff-stat-del {
  color: #F87171;
  background: rgba(239, 68, 68, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
}

.diff-stat-add {
  color: #4ADE80;
  background: rgba(34, 197, 94, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
}

.terminal-diff-body {
  padding: var(--sp-4) 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  overflow-x: auto;
}

.diff-chunk-header {
  padding: 0.35rem 1.25rem;
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.08);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
  user-select: none;
}

.diff-line {
  display: flex;
  padding: 0.35rem 1.25rem;
  transition: background 0.15s ease;
}

.diff-gutter {
  width: 24px;
  flex-shrink: 0;
  font-weight: 700;
  user-select: none;
}

.diff-content {
  flex: 1;
}

.diff-content strong {
  color: #F1F5F9;
}

.diff-comment {
  color: #64748B;
  font-style: italic;
}

/* Deletion lines */
.diff-line.del {
  background: rgba(239, 68, 68, 0.08);
  color: #FCA5A5;
}

.diff-line.del .diff-gutter {
  color: #EF4444;
}

.diff-line.del:hover {
  background: rgba(239, 68, 68, 0.14);
}

/* Addition lines */
.diff-line.add {
  background: rgba(34, 197, 94, 0.08);
  color: #86EFAC;
}

.diff-line.add .diff-gutter {
  color: #22C55E;
}

.diff-line.add:hover {
  background: rgba(34, 197, 94, 0.14);
}

.diff-line.sneak-peek-line {
  background: rgba(168, 85, 247, 0.12);
  color: #D8B4FE;
  border-left: 3px solid #A855F7;
}

.diff-line.sneak-peek-line .diff-gutter {
  color: #C084FC;
}

.diff-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0.6rem 0;
}

/* ── Sneak Peek Box ── */
.sneak-peek-box {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-8);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  text-align: left;
  box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.1);
}

@media (max-width: 640px) {
  .sneak-peek-box {
    flex-direction: column;
    text-align: center;
  }
}

.sp-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.sp-text h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #7E22CE;
  margin: 0 0 0.25rem 0;
}

.sp-text p {
  font-size: 0.92rem;
  color: var(--ink-700);
  margin: 0;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════
   LAUNCH SALE PRICING STYLES
═══════════════════════════════════════════ */

.sale-announcement-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.sale-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 1rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #DC2626;
  margin-bottom: var(--sp-3);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.12);
  animation: pulseSale 2.5s infinite ease-in-out;
}

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

.sale-percent {
  background: #EF4444;
  color: white;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.sale-tag-card {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.sale-tag-card.free-tag {
  background: var(--brand-xlight);
  color: var(--brand-dark);
  border: 1px solid var(--brand-light);
}

.sale-tag-card.discount-tag {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.sale-tag-card.turbo-tag {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.plan-price-wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.35rem;
}

.price-strikethrough {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
  line-height: 1;
}

.plan-price.sale-price {
  color: var(--brand);
  font-size: 1.85rem;
}
