:root {
  --dark: #1f1d1a;
  --ink: #2b2926;
  --muted: #67625d;
  --paper: #ffffff;
  --green: #dff3e8;
  --blue: #e8f3fb;
  --red: #fde8e4;
  --yellow: #fff1c7;
  --line: rgba(31, 29, 26, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", sans-serif;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 42px;
  background: rgba(238, 238, 234, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.plans-hero {
  padding: 160px 7vw 54px;
  background: linear-gradient(135deg, var(--blue), var(--green) 52%, var(--red));
}

.section-kicker {
  margin: 0 0 18px;
  color: #718375;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
}

.plans-hero h1 {
  max-width: 850px;
  margin: 0 0 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
}

.plans-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.plans-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(520px, 1.12fr);
  gap: 30px;
  align-items: start;
  padding: 34px 7vw 92px;
  background: var(--paper);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  min-height: 188px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card-bg, var(--green));
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover,
.plan-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(31, 29, 26, 0.34);
  box-shadow: 0 18px 45px rgba(31, 29, 26, 0.11);
}

.plan-card span {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
}

.plan-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
}

.plan-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.plan-card .card-summary {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.checkout-panel {
  position: sticky;
  top: 112px;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(310px, 1.05fr);
  gap: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  box-shadow: 0 24px 70px rgba(31, 29, 26, 0.08);
}

.compare-card {
  min-width: 0;
}

.compare-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.compare-slider {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: var(--blue);
  isolation: isolate;
}

.compare-mock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--blue);
}

.compare-before {
  background: linear-gradient(135deg, #f0f4f8, #ffffff);
  filter: saturate(0.88);
}

.compare-after-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  z-index: 2;
}

.compare-after {
  background: linear-gradient(135deg, #e0f4ea, #fff6dd);
}

.mock-window {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #1f1d1a;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(31, 29, 26, 0.12);
}

.mock-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 2px solid #1f1d1a;
  background: #f7f7f3;
}

.mock-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c78c1a;
}

.mock-dot:nth-child(2) {
  background: #48ca78;
}

.mock-dot:nth-child(3) {
  background: #2b9f61;
}

.mock-url {
  margin-left: auto;
  color: #1f1d1a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.mock-body {
  flex: 1;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
}

.mock-kicker {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #1f1d1a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mock-title {
  margin: 0;
  color: #1f1d1a;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1;
}

.mock-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mock-list li {
  min-height: 30px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(31, 29, 26, 0.08);
  color: #34312d;
  font-size: 12px;
  font-weight: 800;
}

.compare-after .mock-list li {
  background: rgba(37, 211, 102, 0.16);
}

.mock-cta {
  width: fit-content;
  padding: 11px 16px;
  border-radius: 999px;
  background: #1f1d1a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 3;
  width: 3px;
  background: var(--dark);
  transform: translateX(-50%);
}

.compare-line::after {
  content: "<>";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.compare-slider input {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare-hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.detail-content {
  min-width: 0;
}

.detail-price {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 5px;
}

.detail-content h2 {
  margin: 0 0 10px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
}

.detail-content h3 {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 600;
}

.detail-text {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding-left: 20px;
}

.detail-list li {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.detail-button {
  min-width: 176px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.detail-button:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.whatsapp {
  border: 1px solid #25d366;
  background: #000000;
  color: #25d366;
}

.instagram {
  background: linear-gradient(135deg, #000000 0%, #e1306c 40%, #f77737 70%, #ffdc80 100%);
  color: #ffffff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 7vw;
  color: var(--white);
  background: #000000;
}

.site-footer p {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 6px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .plans-section,
  .checkout-panel {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    position: static;
  }

  .compare-slider {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 16px 22px;
  }

  .brand {
    position: static;
    transform: none;
    font-size: 32px;
    letter-spacing: 5px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    font-size: 11px;
    letter-spacing: 2px;
  }

  .plans-hero {
    padding: 150px 22px 44px;
  }

  .plans-section {
    padding: 28px 22px 70px;
  }

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

  .checkout-panel {
    padding: 18px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
