/* ─── Support page — 2026 design ──────────────────────────────────────────── */

body {
  background-image: radial-gradient(ellipse 900px 700px at 50% 0px, rgba(37,211,102,.22) 0%, transparent 70%);
  background-attachment: fixed;
}


/* Hebrew font override */
html[lang="he"] body,
html[lang="he"] * {
  font-family: 'Assistant', sans-serif !important;
}

/* ── Layout ── */
.support-main {
  padding: 110px 24px 100px;
  max-width: 980px;
  margin: 0 auto;
}

/* ── Hero ── */
.support-hero {
  text-align: center;
  margin-bottom: 72px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.3);
  color: #25d366;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: badge-pulse 3s ease-in-out infinite;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5);
  animation: badge-dot 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.0); }
  50%       { box-shadow: 0 0 14px 0 rgba(37,211,102,.18); }
}

@keyframes badge-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50%       { box-shadow: 0 0 0 4px rgba(37,211,102,.0); }
}


.support-hero h1 {
  position: relative;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 30%, rgba(255,255,255,.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.support-hero .support-lead {
  position: relative;
  font-size: 1.1rem;
  color: rgba(255,255,255,.5);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* ── Step cards ── */
.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

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

@media (max-width: 768px) {
  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 24px !important;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
  }
  .footer-brand p {
    text-align: center !important;
    max-width: 280px;
  }
  .footer-cols-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-col ul {
    align-items: center !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
}

@media (max-width: 699px) {
  .support-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 8px 4px;
  }
  .support-card::after { display: none !important; }
  .sc-ring-1, .sc-ring-2 { display: none !important; }
}

.support-card {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 0;
  border-radius: 20px;
  padding: 28px 24px 26px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .6s cubic-bezier(.16,1,.3,1),
    transform .6s cubic-bezier(.16,1,.3,1),
    border-color .25s,
    background .25s;
}

.support-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 20% 80%, rgba(37,211,102,.07), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}

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




/* ── Card icon ── */
.support-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.sc-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(37,211,102,.08);
  border: 1px solid rgba(37,211,102,.18);
  transition: background .3s, border-color .3s;
}


.sc-icon {
  width: 26px;
  height: 26px;
  stroke: #25d366;
  stroke-width: 1.6;
  position: relative;
  z-index: 1;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}


/* ping rings */
.sc-ring-1,
.sc-ring-2 {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(37,211,102,.4);
  animation: iconRing 2.4s ease-out infinite;
}
.sc-ring-2 { animation-delay: 1.2s; }

@keyframes iconRing {
  0%   { transform: scale(1);   opacity: .5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* icon-specific tints */
.sc-icon-wrap--2 {
  background: rgba(250,204,21,.07);
  border-color: rgba(250,204,21,.18);
}
.sc-icon-wrap--2 .sc-icon       { stroke: #facc15; }
.sc-icon-wrap--2 .sc-ring-1,
.sc-icon-wrap--2 .sc-ring-2     { border-color: rgba(250,204,21,.4); }

.sc-icon-wrap--3 {
  background: rgba(96,165,250,.07);
  border-color: rgba(96,165,250,.18);
}
.sc-icon-wrap--3 .sc-icon       { stroke: #60a5fa; }
.sc-icon-wrap--3 .sc-ring-1,
.sc-icon-wrap--3 .sc-ring-2     { border-color: rgba(96,165,250,.4); }

.support-card p {
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(255,255,255,.65);
  margin: 0;
  text-align: center;
  max-width: 150px;
  margin: 0 auto;
}

/* ── Form section ── */
.support-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 28px;
  text-align: center;
  color: #fff;
}

.support-form-wrap {
  position: relative;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 40px 36px 36px;
  margin-bottom: 60px;
  overflow: hidden;
}

.support-form-wrap::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37,211,102,.18), transparent 50%, rgba(37,211,102,.06));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  padding: 1px;
  pointer-events: none;
}

@media (min-width: 700px) {
  .support-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .support-form .field:nth-child(3),
  .support-form .field:nth-child(4),
  .support-form .field:nth-child(5) { grid-column: 1 / -1; }
  .support-form .btn-submit         { grid-column: 1 / -1; }
  .support-form #support-form-msg   { grid-column: 1 / -1; }
}

.support-form .field {
  margin-bottom: 20px;
}

.support-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 8px;
  position: relative;
}

.support-form .req {
  color: #25d366;
  font-size: 12px;
  margin-left: 3px;
  vertical-align: middle;
  line-height: 1;
  position: absolute;
  left: -10px;
  opacity: 0.3;
}

html[lang="he"] .support-form .req {
  left: auto;
  right: -10px;
}

.support-form input,
.support-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.3);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.support-form input::placeholder,
.support-form textarea::placeholder {
  color: rgba(255,255,255,.2);
}

.support-form input:focus,
.support-form textarea:focus {
  outline: none;
  border-color: rgba(37,211,102,.4);
  background: rgba(37,211,102,.04);
  box-shadow: 0 0 0 3px rgba(37,211,102,.08);
}

.support-form textarea {
  min-height: 130px;
  resize: vertical;
}

.support-form .btn-submit {
  margin-top: 4px;
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  background: #25d366;
  color: #040d07;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: background .15s, transform .1s, box-shadow .2s;
  box-shadow: 0 0 0 rgba(37,211,102,0);
}

.support-form .btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent);
  opacity: 0;
  transition: opacity .2s;
}

.support-form .btn-submit:hover {
  background: #22c45e;
  box-shadow: 0 6px 28px rgba(37,211,102,.28);
  transform: translateY(-1px);
}

.support-form .btn-submit:hover::before { opacity: 1; }
.support-form .btn-submit:active        { transform: scale(.99) translateY(0); }

.support-form .btn-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Privacy checkbox ── */
.sup-privacy-field {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.sup-privacy-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.support-form .sup-privacy-check {
  width: 18px !important;
  flex-shrink: 0;
}

.support-form .sup-privacy-label {
  display: inline !important;
  margin-bottom: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  color: rgba(255,255,255,.5) !important;
}

.sup-privacy-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #25d366;
}

.sup-privacy-label {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.sup-privacy-label a {
  color: #25d366;
  text-decoration: none;
  border-bottom: 1px solid rgba(37,211,102,.3);
  transition: border-color .15s;
}

.sup-privacy-label a:hover { border-color: #25d366; }

.sup-privacy-check.invalid-check {
  outline: 2px solid rgba(248,113,113,.6);
  outline-offset: 2px;
}

/* ── Validation ── */
.field-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #f87171;
  margin-top: 6px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .25s ease, opacity .2s ease, margin-top .2s ease;
}

.field-msg.show {
  max-height: 32px;
  opacity: 1;
  margin-top: 6px;
}

.field-msg svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  stroke: #f87171;
}

.support-form input.invalid,
.support-form textarea.invalid {
  border-color: rgba(248,113,113,.5) !important;
  background: rgba(248,113,113,.04) !important;
  box-shadow: 0 0 0 3px rgba(248,113,113,.1) !important;
}

.support-form input.valid,
.support-form textarea.valid {
  border-color: rgba(37,211,102,.35) !important;
}

/* ── Submit message ── */
.support-form-msg {
  margin-top: 10px;
  font-size: 13.5px;
  text-align: center;
  color: rgba(255,255,255,.4);
  min-height: 20px;
}

.support-form-msg.support-form-msg--ok {
  color: #25d366;
}

/* ── Contacts ── */
.support-contacts {
  text-align: center;
  padding: 20px 0 40px;
}

.support-contacts h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  color: rgba(255,255,255,.4);
}

.support-contacts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
}

.contact-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
  min-width: 220px;
}

.contact-card:hover {
  background: rgba(37,211,102,.07);
  border-color: rgba(37,211,102,.25);
  transform: translateY(-2px);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37,211,102,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
  transition: background .2s;
}

.contact-card:hover .contact-card-icon {
  background: rgba(37,211,102,.18);
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.contact-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}

.contact-card:hover .contact-card-value {
  color: #25d366;
}

/* ── Success Popup ── */
.sup-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.sup-popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.sup-popup {
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  padding: 48px 40px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(.88) translateY(16px);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
  opacity: 0;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(37,211,102,.08);
}

.sup-popup-overlay.open .sup-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.sup-popup-icon {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
}

.sup-popup-icon svg {
  width: 80px;
  height: 80px;
  overflow: visible;
}

@keyframes popupRing {
  0%   { r: 22; opacity: .3; }
  100% { r: 36; opacity: 0; }
}
@keyframes checkDraw {
  from { stroke-dashoffset: 40; }
  to   { stroke-dashoffset: 0; }
}

.sup-popup-ring  { animation: popupRing 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.sup-popup-check { stroke-dasharray: 40; stroke-dashoffset: 40; animation: checkDraw .5s cubic-bezier(.16,1,.3,1) .2s forwards; }

.sup-popup-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 12px;
}

.sup-popup-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 32px;
}

.sup-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  border-radius: 12px;
  background: #25d366;
  color: #040d07;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .15s, transform .1s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(37,211,102,.25);
}

.sup-popup-btn:hover {
  background: #22c45e;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(37,211,102,.35);
}

/* ── RTL support ── */
[dir="rtl"] .support-hero h1,
[dir="rtl"] .support-hero .support-lead { text-align: center; }
