.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  z-index: 22;
}
.mobile-menu-btn span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s ease, opacity .25s ease;
}
.mobile-menu-btn span:nth-child(1) { transform: translateY(-7px); }
.mobile-menu-btn span:nth-child(3) { transform: translateY(7px); }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); }

.notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  animation: notifSlide 0.3s ease;
}
@keyframes notifSlide {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  padding: 36px;
  border-radius: 18px;
  width: 90%;
  max-width: 460px;
  z-index: 151;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.modal.open, .modal.open + .modal-overlay {
  opacity: 1;
  pointer-events: all;
}
.modal.open { transform: translate(-50%, -50%) scale(1); }
.modal-content { position: relative; }
.modal-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal h3 { margin: 0 0 20px; font-size: 24px; }
.modal form { display: flex; flex-direction: column; gap: 14px; }
.modal input, .modal textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.modal input:focus, .modal textarea:focus { border-color: var(--accent); }
.modal textarea { resize: vertical; }
.modal .btn { margin-top: 6px; }

.verify-page {
  min-height: calc(100vh - 96px);
  display: grid;
  place-items: center;
  padding: 120px 20px 60px;
}

.verify-card {
  width: min(560px, 100%);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.verify-card h1 {
  margin: 0 0 14px;
  font-size: 34px;
}

.verify-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.reset-password-form {
  display: grid;
  gap: 14px;
}

.reset-password-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.reset-password-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.reset-password-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.integration-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.integration-form input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}
.integration-form input:focus { border-color: var(--accent); outline: none; }
.integration-form .btn { margin-top: 4px; }

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
  justify-content: flex-end;
  max-width: 820px;
}
.cta-form input {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  min-width: 240px;
}
.cta-form input:focus { border-color: var(--accent); outline: none; }
.cta-form .privacy-consent {
  align-self: center;
  align-items: center;
}
.cta-form .privacy-consent input {
  width: 16px !important;
  min-width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
}

.product {
  display: grid;
  grid-template-columns: 58px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.product strong { display: block; font-size: 14px; }
.product span { color: var(--muted); font-size: 13px; }
.product em { color: var(--green); font-style: normal; font-size: 12px; white-space: nowrap; }

.add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.add-btn:hover { transform: scale(1.15); background: var(--accent); }

.comparison-slider {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  user-select: none;
  background: linear-gradient(135deg, #ddd4c8, #c8a979);
}

.comparison-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-before { z-index: 2; }
.comparison-after { z-index: 1; }

.comparison-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  z-index: 5;
  transition: opacity 0.2s;
}
.before-label { left: 20px; }
.after-label { right: 20px; }

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.handle-line {
  width: 3px;
  flex: 1;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.3);
}

.handle-circle {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  cursor: grab;
  flex-shrink: 0;
  color: #333;
}
.handle-circle:active { cursor: grabbing; }

.comparison-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
  margin: 0;
}

.popular-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

@media (max-width: 1050px) {
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav.open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 19;
    animation: mobileMenuIn .3s ease both;
  }
  .nav.open a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
}

@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 680px) {
  .cta-form { flex-direction: column; }
  .cta-form input { min-width: auto; width: 100%; }
  .product { grid-template-columns: 48px 1fr auto; }
  .product em { display: none; }
}
