:root {
  --reseller-text: #0f172a;
  --reseller-secondary: #475569;
  --reseller-muted: #64748b;
  --reseller-bg: #f7f9fc;
  --reseller-surface: #ffffff;
  --reseller-border: #e2e8f0;
  --reseller-soft-border: #eef2f7;
  --reseller-blue: #2563eb;
  --reseller-purple: #7c3aed;
  --reseller-green: #22c55e;
  --reseller-navy: #0b1220;
  --reseller-amber: #f59e0b;
  --reseller-shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.14), 0 8px 24px rgba(15, 23, 42, 0.08);
  --reseller-shadow-md: 0 18px 44px rgba(15, 23, 42, 0.11), 0 6px 18px rgba(15, 23, 42, 0.06);
}

.ezw-reseller-page,
.ezw-reseller-page * {
  box-sizing: border-box;
}

.ezw-reseller-page {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.11), transparent 34%),
    linear-gradient(300deg, rgba(34, 197, 94, 0.1), transparent 32%),
    var(--reseller-bg);
  color: var(--reseller-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.reseller-shell {
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
}

.reseller-hero {
  overflow: hidden;
  padding: 32px 0 28px;
}

.reseller-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
}

.reseller-hero-copy,
.reseller-hero-visual {
  animation: reseller-rise-in 420ms ease-out both;
}

.reseller-hero-visual {
  animation-delay: 80ms;
}

.reseller-label,
.reseller-hero-copy h1,
.reseller-hero-subtitle,
.reseller-section-heading h2,
.reseller-section-heading p,
.reseller-card h3,
.reseller-card p,
.reseller-offer-list h3,
.reseller-offer-list p,
.reseller-process-grid h3,
.reseller-process-grid p,
.reseller-commercial-card h2,
.reseller-commercial-card p,
.reseller-faq-list p,
.reseller-final-cta-card h2,
.reseller-final-cta-card p {
  margin: 0;
}

.reseller-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 13px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--reseller-blue);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.09);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.reseller-hero-copy h1 {
  max-width: 720px;
  color: var(--reseller-text);
  font-size: clamp(3.05rem, 4.65vw, 4.85rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.reseller-hero-subtitle {
  max-width: 650px;
  margin-top: 22px;
  color: #1e293b;
  font-size: clamp(1.18rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
}

.reseller-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.reseller-button {
  appearance: none;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease-out, border-color 180ms ease-out, background 180ms ease-out, box-shadow 180ms ease-out;
}

.reseller-button:hover {
  transform: translateY(-2px);
}

.reseller-button:focus-visible,
.reseller-faq-list summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 3px;
}

.reseller-button-primary {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, var(--reseller-blue), var(--reseller-purple));
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.3);
}

.reseller-button-primary:hover {
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.38);
}

.reseller-button-secondary {
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.72);
  color: var(--reseller-text);
}

.reseller-button-secondary:hover {
  border-color: #94a3b8;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.reseller-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 650px;
  margin-top: 28px;
}

.reseller-proof-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--reseller-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #334155;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
}

.reseller-proof-row span::before {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  content: "";
  background: var(--reseller-green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.reseller-hero-visual {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88)),
    #ffffff;
  box-shadow: var(--reseller-shadow-lg);
}

.reseller-browser-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--reseller-border);
  background: rgba(248, 250, 252, 0.88);
}

.reseller-browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.reseller-browser-bar span:nth-child(1) {
  background: #ef4444;
}

.reseller-browser-bar span:nth-child(2) {
  background: #f59e0b;
}

.reseller-browser-bar span:nth-child(3) {
  background: #22c55e;
}

.reseller-browser-bar strong {
  margin-left: 8px;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.reseller-workspace-preview {
  display: grid;
  grid-template-columns: 108px minmax(190px, 0.7fr) minmax(250px, 1fr);
  min-height: 470px;
}

.reseller-line-rail {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 12px;
  background: #0f3367;
  color: #dbeafe;
}

.reseller-line-rail img {
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.reseller-line-rail span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
}

.reseller-line-rail span.is-active {
  background: #ffffff;
  color: #0f3367;
}

.reseller-thread-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid var(--reseller-border);
  background: #ffffff;
}

.reseller-preview-title {
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 800;
}

.reseller-thread-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--reseller-border);
  border-radius: 18px;
  background: #ffffff;
}

.reseller-thread-card.is-selected {
  border-color: rgba(37, 99, 235, 0.32);
  background: #eaf2ff;
}

.reseller-thread-card strong {
  color: #0f172a;
  font-size: 0.93rem;
  line-height: 1.2;
}

.reseller-thread-card p,
.reseller-thread-card span {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.reseller-conversation-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(180deg, #f8fafc, #ffffff);
}

.reseller-conversation-header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--reseller-border);
}

.reseller-conversation-header div {
  display: grid;
  gap: 4px;
}

.reseller-conversation-header strong {
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.2;
}

.reseller-conversation-header span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
}

.reseller-health-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 999px;
  background: #dcfce7;
  color: #166534 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

.reseller-message-stack {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 232px;
}

.reseller-message {
  max-width: 78%;
  padding: 13px 14px;
  border-radius: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.reseller-message-inbound {
  justify-self: start;
  background: #ffffff;
  border: 1px solid var(--reseller-border);
  color: #334155;
}

.reseller-message-outbound {
  justify-self: end;
  background: #dbeafe;
  color: #1e3a8a;
}

.reseller-ops-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--reseller-border);
}

.reseller-ops-strip span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 800;
}

.reseller-section {
  padding: 84px 0;
}

.reseller-fit-section {
  padding-top: 58px;
}

.reseller-section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.reseller-section-heading-left {
  margin: 0;
  text-align: left;
}

.reseller-section-heading h2,
.reseller-commercial-card h2,
.reseller-final-cta-card h2 {
  color: var(--reseller-text);
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.reseller-section-heading > p,
.reseller-commercial-card > div > p,
.reseller-final-cta-card p {
  margin-top: 16px;
  color: var(--reseller-secondary);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
}

.reseller-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reseller-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.reseller-card-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #dbeafe;
  color: var(--reseller-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.reseller-card h3,
.reseller-offer-list h3,
.reseller-process-grid h3 {
  color: #0f172a;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
}

.reseller-card p,
.reseller-offer-list p,
.reseller-process-grid p {
  color: var(--reseller-secondary);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.6;
}

.reseller-offer-section {
  background:
    linear-gradient(135deg, #08111f, #0b1220 54%, #101827);
  color: #e2e8f0;
}

.reseller-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.reseller-offer-section .reseller-label {
  border-color: rgba(147, 197, 253, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #bfdbfe;
}

.reseller-offer-section .reseller-section-heading h2 {
  color: #ffffff;
}

.reseller-offer-section .reseller-section-heading p {
  color: #cbd5e1;
}

.reseller-offer-list {
  display: grid;
  gap: 12px;
}

.reseller-offer-list article {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
}

.reseller-offer-list article > span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 800;
}

.reseller-offer-list h3 {
  color: #ffffff;
}

.reseller-offer-list p {
  grid-column: 2;
  color: #cbd5e1;
}

.reseller-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reseller-process-grid article {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.reseller-process-grid img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--reseller-border);
  background: #f8fafc;
}

.reseller-process-grid article > div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.reseller-process-grid span {
  color: var(--reseller-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reseller-commercial-section {
  padding-top: 44px;
}

.reseller-commercial-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88)),
    #ffffff;
  box-shadow: var(--reseller-shadow-md);
}

.reseller-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reseller-check-list li {
  position: relative;
  padding-left: 30px;
  color: #334155;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
}

.reseller-check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  content: "";
  background: #dcfce7;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.18);
}

.reseller-check-list li::after {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #16a34a;
  border-bottom: 2px solid #16a34a;
  content: "";
  transform: rotate(42deg);
}

.reseller-faq-section {
  padding-top: 44px;
}

.reseller-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.reseller-faq-list {
  display: grid;
  gap: 12px;
}

.reseller-faq-list details {
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.reseller-faq-list summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #0f172a;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  list-style: none;
}

.reseller-faq-list summary::-webkit-details-marker {
  display: none;
}

.reseller-faq-list summary::after {
  flex: 0 0 auto;
  margin-left: 16px;
  color: var(--reseller-blue);
  content: "+";
  font-size: 1.4rem;
  font-weight: 800;
}

.reseller-faq-list details[open] summary::after {
  content: "-";
}

.reseller-faq-list p {
  padding: 0 20px 20px;
  color: var(--reseller-secondary);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.65;
}

.reseller-final-cta {
  padding: 46px 0 88px;
}

.reseller-final-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(124, 58, 237, 0.94));
  box-shadow: 0 24px 80px rgba(37, 99, 235, 0.24), 0 10px 28px rgba(15, 23, 42, 0.12);
}

.reseller-final-cta-card h2,
.reseller-final-cta-card p {
  color: #ffffff;
}

.reseller-final-cta-card p {
  color: #dbeafe;
}

.reseller-final-cta-card .reseller-button-primary {
  background: #ffffff;
  color: var(--reseller-blue);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

@keyframes reseller-rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .reseller-hero-copy,
  .reseller-hero-visual {
    animation: none;
  }

  .reseller-button {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .reseller-hero-grid,
  .reseller-split,
  .reseller-commercial-card,
  .reseller-faq-grid,
  .reseller-final-cta-card {
    grid-template-columns: 1fr;
  }

  .reseller-hero-copy h1,
  .reseller-hero-subtitle {
    max-width: 860px;
  }

  .reseller-final-cta-card {
    justify-items: start;
  }
}

@media (max-width: 920px) {
  .reseller-shell {
    width: min(100% - 32px, 760px);
  }

  .reseller-hero {
    padding: 28px 0 8px;
  }

  .reseller-section {
    padding: 62px 0;
  }

  .reseller-fit-section {
    padding-top: 0;
  }

  .reseller-fit-grid,
  .reseller-process-grid {
    grid-template-columns: 1fr;
  }

  .reseller-workspace-preview {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .reseller-conversation-panel {
    grid-column: 1 / -1;
    min-height: 340px;
    border-top: 1px solid var(--reseller-border);
  }
}

@media (max-width: 640px) {
  .ezw-reseller-page {
    background:
      linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 42%),
      var(--reseller-bg);
  }

  .reseller-shell {
    width: min(100% - 24px, 560px);
  }

  .reseller-hero-copy h1 {
    font-size: 2.5rem;
    line-height: 1.02;
  }

  .reseller-hero-subtitle,
  .reseller-section-heading > p,
  .reseller-commercial-card > div > p,
  .reseller-final-cta-card p {
    font-size: 1rem;
  }

  .reseller-actions,
  .reseller-button {
    width: 100%;
  }

  .reseller-hero-visual {
    display: none;
  }

  .reseller-workspace-preview {
    grid-template-columns: 1fr;
  }

  .reseller-line-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .reseller-line-rail img {
    grid-column: 1 / -1;
  }

  .reseller-thread-list {
    border-right: 0;
    border-bottom: 1px solid var(--reseller-border);
  }

  .reseller-offer-list article {
    grid-template-columns: 1fr;
  }

  .reseller-offer-list p {
    grid-column: auto;
  }

  .reseller-commercial-card,
  .reseller-final-cta-card {
    padding: 24px;
    border-radius: 24px;
  }

  .reseller-process-grid img {
    height: 170px;
  }
}
