/* ============================================================
   EzWay — Page Styles
   Landing page component styles built on top of design system
   ============================================================ */

/* ── Scroll-reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 {
  transition-delay: 0.12s;
}
.reveal--delay-2 {
  transition-delay: 0.24s;
}
.reveal--delay-3 {
  transition-delay: 0.36s;
}
.reveal--delay-4 {
  transition-delay: 0.48s;
}

/* ── Bootstrap container gutter override ── */
.container,
.container-fluid {
  --bs-gutter-x: clamp(20px, 5vw, 80px);
}

/* ── Buttons ── */
.ez-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: var(--ez-fs-base);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.ez-btn--sm {
  padding: 10px 24px;
  font-size: var(--ez-fs-sm);
}
.ez-btn--gold {
  background: var(--ez-primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(211, 162, 33, 0.22);
}
.ez-btn--gold:hover {
  box-shadow: 0 16px 36px rgba(211, 162, 33, 0.28);
  transform: translateY(-2px);
}
.ez-btn--ghost {
  background: #ffffff;
  color: var(--ez-white);
  border: 1px solid var(--ez-golden-border);
}
.ez-btn--ghost:hover {
  border-color: var(--ez-primary);
  background: var(--ez-golden-glow);
}
.ez-btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAV
   ============================================================ */
.ez-nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  background: transparent;
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.ez-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-nav);
}
.ez-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.ez-nav__logo {
  display: inline-flex;
  align-items: center;
  width: 180px;
  height: 54px;
  flex-shrink: 0;
}
.ez-nav__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ez-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.ez-nav__links a {
  font-size: var(--ez-fs-sm);
  font-weight: 500;
  color: var(--ez-muted);
  transition: color 0.2s;
}
.ez-nav__links a:hover {
  color: var(--ez-white);
}
.ez-nav__links .ez-btn--gold,
.ez-nav__links .ez-btn--gold:hover {
  color: #ffffff;
}
.ez-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ez-nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ez-white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.ez-nav__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ez-nav__burger.open span:nth-child(2) {
  opacity: 0;
}
.ez-nav__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .ez-nav__burger {
    display: flex;
  }
  /* Full-screen mobile menu panel */
  .ez-nav.menu-open {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: var(--shadow-nav) !important;
  }
  .ez-nav.menu-open .ez-nav__burger span {
    background: var(--ez-ink);
  }
  .ez-nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: calc(100dvh - 72px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(22px, 5vh, 34px);
    padding: clamp(32px, 7vh, 56px) 24px 40px;
    background: #ffffff;
    overflow-y: auto;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.25s var(--ease),
      transform 0.25s var(--ease);
    z-index: 1001;
  }
  .ez-nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .ez-nav__links a {
    font-size: var(--ez-fs-base);
    font-weight: 700;
    color: var(--ez-ink);
  }
  .ez-nav__links a:hover {
    color: var(--ez-primary);
  }
  .ez-nav__links .ez-btn--gold,
  .ez-nav__links .ez-btn--gold:hover {
    color: #ffffff;
    margin-top: 4px;
    min-width: min(100%, 220px);
    justify-content: center;
    padding: 14px 32px;
    font-size: var(--ez-fs-base);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.ez-hero {
  position: relative;
  /* min-height: 75svh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px; /* nav height */
  background:
    radial-gradient(circle at 80% 18%, rgba(211, 162, 33, 0.2) 0, rgba(211, 162, 33, 0) 34%),
    radial-gradient(circle at 14% 78%, rgba(82, 103, 144, 0.16) 0, rgba(82, 103, 144, 0) 30%),
    linear-gradient(135deg, #fffaf0 0%, #f7f1df 48%, #ffffff 100%);
}

.ez-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(211, 162, 33, 0), rgba(211, 162, 33, 0.42), rgba(211, 162, 33, 0));
}

/* ── Hero body ── */
.ez-hero__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  text-align: left;
  padding-top: clamp(48px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 120px);
}

/* ── Content width cap ── */
.ez-hero__left {
  max-width: 740px;
  text-align: left;
}

.ez-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(211, 162, 33, 0.1);
  border: 1px solid var(--ez-golden-border);
  font-size: var(--ez-fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ez-primary);
  margin-bottom: 28px;
}
.ez-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.ez-hero__heading {
  font-weight: 800;
  margin-bottom: 28px;
}

.ez-hero__sub {
  max-width: 560px;
  margin-bottom: 40px;
  color: var(--ez-muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
}

.ez-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

/* ── Stat row ── */
.ez-hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.ez-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ez-hero__stat-num {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ez-primary);
  line-height: 1;
}
.ez-hero__stat-plus {
  font-size: 0.55em;
  font-weight: 700;
}
.ez-hero__stat-label {
  font-size: var(--ez-fs-xs);
  color: var(--ez-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ez-hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--ez-border);
  flex-shrink: 0;
}

/* ── Right column media ── */
.ez-hero__right {
  position: relative;
}
.ez-hero__media {
  position: relative;
  isolation: isolate;
  min-height: clamp(500px, 56vw, 760px);
  overflow: visible;
}
.ez-hero__image {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(100%, 640px);
  height: auto;
  object-fit: contain;
  border: none;
  box-shadow: none;
  display: block;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 92px)) scale(1.34);
  animation: heroImageSlideUp 8s var(--ease-out) infinite;
  transform-origin: center center;
  will-change: transform, opacity;
}
.ez-hero__image--secondary {
  animation-delay: 4s;
}

@keyframes heroImageSlideUp {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 92px)) scale(1.34);
  }
  10%,
  42% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.4);
  }
  50%,
  100% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 18px)) scale(1.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ez-hero__image {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.4);
  }
  .ez-hero__image--secondary {
    display: none;
  }
}
.ez-hero__card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--ez-golden-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-gold);
  animation: cardFloat 6s ease-in-out infinite alternate;
}
@keyframes cardFloat {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-12px);
  }
}

.ez-hero__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ez-border);
  background: rgba(251, 248, 239, 0.74);
}
.ez-hero__card-dots {
  display: flex;
  gap: 6px;
}
.ez-hero__card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ez-muted2);
}
.ez-hero__card-dots span:nth-child(1) {
  background: #f87171;
}
.ez-hero__card-dots span:nth-child(2) {
  background: #fbbf24;
}
.ez-hero__card-dots span:nth-child(3) {
  background: #34d399;
}
.ez-hero__card-title {
  font-size: var(--ez-fs-xs);
  font-weight: 600;
  color: var(--ez-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 4px;
}

.ez-hero__card-stack {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ez-hero__stack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.ez-hero__stack-item--active {
  background: var(--ez-golden-glow);
  border-color: var(--ez-golden-border);
}
.ez-hero__stack-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.ez-hero__stack-info {
  flex: 1;
  min-width: 0;
}
.ez-hero__stack-name {
  font-size: var(--ez-fs-sm);
  font-weight: 500;
  color: var(--ez-white);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ez-hero__stack-bar {
  height: 4px;
  background: var(--ez-mid2);
  border-radius: 2px;
  overflow: hidden;
}
.ez-hero__stack-bar span {
  display: block;
  height: 100%;
  background: var(--ez-primary);
  border-radius: 2px;
  animation: barGrow 1.5s var(--ease-out) forwards;
  transform-origin: left;
}
@keyframes barGrow {
  from {
    width: 0 !important;
  }
}
.ez-hero__stack-pct {
  font-size: var(--ez-fs-xs);
  font-weight: 600;
  color: var(--ez-primary);
  flex-shrink: 0;
}

.ez-hero__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-top: 1px solid var(--ez-border);
  background: rgba(251, 248, 239, 0.7);
}
.ez-hero__team-avatars {
  display: flex;
}
.ez-hero__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ez-primary);
  color: var(--ez-ink);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ez-mid);
  margin-left: -8px;
}
.ez-hero__avatar:first-child {
  margin-left: 0;
}
.ez-hero__avatar--more {
  background: var(--ez-mid2);
  color: var(--ez-muted);
}
.ez-hero__card-status {
  font-size: var(--ez-fs-xs);
  color: var(--ez-muted);
  display: flex;
  align-items: center;
}

/* ── Trust strip at bottom of hero ── */
.ez-hero__trust {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--ez-border);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  padding: 18px 0;
}
.ez-hero__trust-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.ez-hero__trust-label {
  font-size: var(--ez-fs-xs);
  font-weight: 600;
  color: var(--ez-muted2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ez-hero__trust-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ez-hero__trust-logos span {
  font-size: var(--ez-fs-sm);
  font-weight: 600;
  color: var(--ez-muted);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--ez-border);
  background: var(--ez-mid);
  transition:
    border-color 0.25s,
    color 0.25s;
  cursor: default;
}
.ez-hero__trust-logos span:hover {
  border-color: var(--ez-golden-border);
  color: var(--ez-primary);
}

/* ── Hero responsive ── */
@media (max-width: 520px) {
  .ez-hero__body {
    padding-bottom: 72px;
  }
  .ez-hero__stats {
    gap: 16px;
  }
  .ez-hero__stat-divider {
    height: 28px;
  }
  .ez-hero__trust-inner {
    gap: 14px;
  }
  .ez-hero__trust-logos {
    gap: 8px;
  }
}

@media (max-width: 980px) {
  .ez-hero__body {
    grid-template-columns: 1fr;
  }
  .ez-hero__left {
    max-width: 720px;
  }
  .ez-hero__right {
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
  }
  .ez-hero__media {
    min-height: clamp(420px, 94vw, 700px);
  }
  .ez-hero__image {
    width: min(100%, 620px);
    transform: translate(-50%, calc(-50% + 72px)) scale(0.96);
    animation-name: heroImageSlideUpMobile;
  }

  @keyframes heroImageSlideUpMobile {
    0% {
      opacity: 0;
      transform: translate(-50%, calc(-50% + 72px)) scale(0.96);
    }
    10%,
    42% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
    50%,
    100% {
      opacity: 0;
      transform: translate(-50%, calc(-50% - 14px)) scale(1);
    }
  }
}

/* ── Dot utilities (used site-wide) ── */
.ez-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ez-dot--green {
  background: #22c55e;
}
.ez-dot--gold {
  background: var(--ez-primary);
}
.ez-dot--blue {
  background: #60a5fa;
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.ez-section {
  padding-block: clamp(80px, 10vw, 140px);
}
.ez-section--alt {
  background: var(--ez-dark2);
}
.ez-section__label {
  display: inline-block;
  font-size: var(--ez-fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ez-primary);
  margin-bottom: 16px;
}
.ez-section__title {
  margin-bottom: 20px;
}
.ez-section__desc {
  max-width: 560px;
  margin-bottom: 56px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.ez-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.ez-card--service {
  background: var(--ez-mid);
  border: 1px solid var(--ez-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease),
    box-shadow 0.3s;
  cursor: default;
}
.ez-card--service:hover {
  border-color: var(--ez-golden-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.ez-card__icon {
  width: 52px;
  height: 52px;
  background: var(--ez-golden-glow);
  border: 1px solid var(--ez-golden-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.ez-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--ez-primary);
}
.ez-card--service .ez-h-5 {
  margin-bottom: 12px;
}
.ez-card--service .ez-text-base {
  margin-bottom: 20px;
}
.ez-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ez-card__list li {
  font-size: var(--ez-fs-sm);
  color: var(--ez-muted);
  padding-left: 16px;
  position: relative;
}
.ez-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ez-primary);
}

/* ============================================================
   PROCESS  — interactive tabs layout
   ============================================================ */
.ez-process__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
  margin-top: clamp(40px, 5vw, 64px);
}

/* ── Tab list (left) ── */
.ez-process__tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--ez-border);
}
.ez-process__tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px 22px 28px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  margin-left: -1px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease);
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}
.ez-process__tab:hover {
  background: rgba(211, 162, 33, 0.06);
}
.ez-process__tab.active {
  background: rgba(211, 162, 33, 0.1);
  border-left-color: var(--ez-primary);
}
.ez-process__tab-num {
  font-size: var(--ez-fs-xs);
  font-weight: 700;
  color: var(--ez-muted2);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  transition: color 0.25s;
}
.ez-process__tab.active .ez-process__tab-num {
  color: var(--ez-primary);
}
.ez-process__tab-title {
  flex: 1;
  font-size: var(--ez-fs-base);
  font-weight: 600;
  color: var(--ez-muted);
  transition: color 0.25s;
}
.ez-process__tab.active .ez-process__tab-title {
  color: var(--ez-white);
}
.ez-process__tab-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ez-muted2);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s,
    transform 0.25s,
    color 0.25s;
}
.ez-process__tab.active .ez-process__tab-arrow,
.ez-process__tab:hover .ez-process__tab-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--ez-primary);
}

/* ── Detail panel (right) ── */
.ez-process__panel {
  background: var(--ez-mid);
  border: 1px solid var(--ez-border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.ez-process__panel.switching {
  opacity: 0;
  transform: translateY(10px);
}
.ez-process__panel-num {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ez-primary);
  display: inline-block;
}
.ez-process__panel-title {
  font-size: var(--ez-fs-h4);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ez-white);
  line-height: 1.2;
}
.ez-process__panel-desc {
  font-size: var(--ez-fs-base);
  color: var(--ez-muted);
  line-height: 1.7;
}
.ez-process__panel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.ez-process__panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--ez-fs-sm);
  color: var(--ez-muted);
}
.ez-process__panel-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ez-primary);
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 860px) {
  .ez-process__layout {
    grid-template-columns: 1fr;
  }
  .ez-process__tabs {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-bottom: 1px solid var(--ez-border);
    gap: 4px;
    padding-bottom: 8px;
  }
  .ez-process__tab {
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-left: 0;
    margin-bottom: -1px;
    padding: 12px 16px;
    gap: 8px;
  }
  .ez-process__tab.active {
    border-bottom-color: var(--ez-primary);
    background: rgba(211, 162, 33, 0.1);
  }
  .ez-process__tab-arrow {
    display: none;
  }
}

/* ============================================================
   NUMBERS
   ============================================================ */
.ez-numbers {
  position: relative;
  overflow: hidden;
  background: var(--ez-dark);
}
.ez-numbers__glow {
  position: absolute;
  inset: -100px;
  background: radial-gradient(
    ellipse 55% 55% at 70% 50%,
    rgba(211, 162, 33, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Two-column wrapper: left text | right 2×2 grid */
.ez-numbers__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.ez-numbers__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ez-numbers__heading {
  margin-top: 12px;
}
.ez-numbers__desc {
  max-width: 480px;
}

/* 2×2 stat card grid */
.ez-numbers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ez-number__item {
  position: relative;
  background: var(--ez-mid);
  border: 1px solid var(--ez-border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 36px);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.ez-number__item:hover {
  background: var(--ez-mid2);
  border-color: var(--ez-golden-border);
}
.ez-number__row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
}
.ez-number__val {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ez-primary);
  display: inline-block;
  line-height: 1;
}
.ez-number__plus {
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 700;
  color: var(--ez-primary);
  display: inline-block;
  line-height: 1;
}
.ez-number__label {
  font-size: var(--ez-fs-sm);
  color: var(--ez-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .ez-numbers__inner {
    grid-template-columns: 1fr;
  }
  .ez-numbers__desc {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .ez-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   TECHNOLOGY
   ============================================================ */
.ez-tech__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.ez-tech__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--ez-mid);
  border: 1px solid var(--ez-border);
  border-radius: var(--radius-lg);
  font-size: var(--ez-fs-sm);
  color: var(--ez-muted);
  font-weight: 500;
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease),
    box-shadow 0.3s;
  cursor: default;
}
.ez-tech__card:hover {
  border-color: var(--ez-golden-border);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(34, 28, 16, 0.08);
  color: var(--ez-white);
}
.ez-tech__logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ez-tech__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ez-tech__logo--text {
  font-size: 16px;
  font-weight: 800;
  color: var(--ez-primary);
}


/* ============================================================
   OUR APPS
   ============================================================ */
.ez-apps {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(211, 162, 33, 0.14), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(82, 103, 144, 0.1), transparent 30%),
    linear-gradient(135deg, #fffaf0 0%, #ffffff 54%, #f7f1e1 100%);
}
.ez-apps__header {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.ez-apps__title {
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}
.ez-apps__desc {
  max-width: 660px;
  margin: 0 auto;
}
.ez-apps__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}
.ez-app-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}
.ez-app-card--dark {
  background: #111111;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}
.ez-app-card__top,
.ez-app-card__identity,
.ez-app-download__row,
.ez-app-download__platform,
.ez-store-badge,
.ez-qr-link {
  display: flex;
  align-items: center;
}
.ez-app-card__top {
  justify-content: space-between;
  gap: 18px;
}
.ez-app-card__identity {
  min-width: 0;
  gap: 16px;
}
.ez-app-card__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(22, 22, 22, 0.08);
}
.ez-app-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ez-app-card__identity h3 {
  margin: 0 0 2px;
  color: var(--ez-ink);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}
.ez-app-card__identity p,
.ez-app-card__note {
  margin: 0;
  color: var(--ez-muted2);
  font-size: var(--ez-fs-xs);
  font-weight: 600;
  line-height: 1.5;
}
.ez-app-card--dark .ez-app-card__identity h3 {
  color: #ffffff;
}
.ez-app-card--dark .ez-app-card__identity p,
.ez-app-card--dark .ez-app-card__note {
  color: rgba(255, 255, 255, 0.48);
}
.ez-app-card__tag {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.09);
  color: #059669;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}
.ez-app-card--dark .ez-app-card__tag {
  background: rgba(211, 162, 33, 0.14);
  color: #fbbf24;
}
.ez-app-card__downloads {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ez-app-download {
  padding: 18px;
  border: 1px solid rgba(22, 22, 22, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(251, 248, 239, 0.68);
}
.ez-app-card--dark .ez-app-download {
  background: #1c1c1c;
  border-color: rgba(255, 255, 255, 0.1);
}
.ez-app-download__platform {
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ez-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
}
.ez-app-download__platform svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.ez-app-card--dark .ez-app-download__platform {
  color: rgba(255, 255, 255, 0.54);
}
.ez-app-download__row {
  justify-content: space-between;
  gap: 18px;
}
.ez-store-badge {
  width: min(100%, 190px);
  min-height: 54px;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #050505;
  color: #ffffff;
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}
.ez-store-badge:hover {
  border-color: rgba(211, 162, 33, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
}
.ez-store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.ez-store-badge span {
  display: flex;
  flex-direction: column;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}
.ez-store-badge small {
  margin-bottom: 3px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}
.ez-app-card--dark .ez-store-badge {
  background: #2b2b2b;
  border-color: rgba(255, 255, 255, 0.12);
}
.ez-qr-placeholder {
  width: 100%;
  height: 100%;
  flex: none;
  display: block;
  padding: 0;
  border: 10px solid #ffffff;
  border-radius: var(--radius);
  background: #ffffff;
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(22, 22, 22, 0.1);
}

@media (max-width: 1060px) {
  .ez-apps__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .ez-app-card__top,
  .ez-app-download__row {
    align-items: flex-start;
  }
  .ez-app-card__top {
    flex-direction: column;
  }
  .ez-app-download__row {
    flex-direction: column;
  }
  .ez-store-badge {
    width: 100%;
    justify-content: center;
  }
  .ez-qr-link {
    width: 100%;
    height: auto;
    max-width: 140px;
    aspect-ratio: 1;
  }
}

/* ============================================================
   OUR WORK
   ============================================================ */
.ez-work__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.ez-filter__btn {
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--ez-mid);
  border: 1px solid var(--ez-border);
  color: var(--ez-muted);
  font-size: var(--ez-fs-sm);
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s;
}
.ez-filter__btn:hover,
.ez-filter__btn--active {
  background: var(--ez-golden-glow);
  border-color: var(--ez-golden-border);
  color: var(--ez-primary);
}

/* Grid */
.ez-work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Card */
.ez-work__card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ez-mid);
  border: 1px solid var(--ez-border);
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
  cursor: pointer;
}
.ez-work__card:hover {
  border-color: var(--ez-golden-border);
  transform: translateY(-4px);
}
.ez-work__card.hidden {
  display: none;
}

/* Thumb — image container */
.ez-work__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ez-dark2);
}
.ez-work__thumb img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
  transition: transform 0.5s var(--ease);
}
.ez-object-fit-cover {
  object-fit: cover !important;
}
.ez-work__card:hover .ez-work__thumb img {
  transform: scale(1.04);
}

/* Gradient placeholder thumbs for cards without photos */
.ez-work__thumb--3 {
  background: linear-gradient(135deg, #fff8e8 0%, #f2ddb0 58%, #f9f3e6 100%);
}
.ez-work__thumb--4 {
  background: linear-gradient(135deg, #f8fbf3 0%, #e8ead5 58%, #fffaf0 100%);
}
.ez-work__thumb--5 {
  background: linear-gradient(135deg, #fff4ee 0%, #f0d5c4 58%, #fffaf5 100%);
}
.ez-work__thumb--6 {
  background: linear-gradient(135deg, #f7f4ff 0%, #ddd7ee 58%, #fffaf0 100%);
}
/* dot-grid pattern on gradient thumbs */
.ez-work__thumb--3::before,
.ez-work__thumb--4::before,
.ez-work__thumb--5::before,
.ez-work__thumb--6::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(211, 162, 33, 0.12) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
}

/* Featured ribbon */
.ez-work__featured {
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--ez-primary);
  color: var(--ez-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 40px;
  transform: rotate(45deg);
  transform-origin: center;
  box-shadow: 0 2px 12px rgba(211, 162, 33, 0.34);
}

/* Info block below image */
.ez-work__info {
  padding: 20px 24px 24px;
}
.ez-work__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.ez-work__pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--ez-border);
  background: transparent;
  color: var(--ez-muted);
  font-size: var(--ez-fs-xs);
  font-weight: 500;
}
.ez-work__title {
  font-size: var(--ez-fs-h6);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ez-white);
}

@media (max-width: 700px) {
  .ez-work__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLIENT STORIES
   ============================================================ */
.ez-stories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.ez-story__card {
  background: var(--ez-mid);
  border: 1px solid var(--ez-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.ez-story__card:hover {
  border-color: var(--ez-golden-border);
  transform: translateY(-4px);
}
.ez-story__stars {
  color: var(--ez-primary);
  font-size: 16px;
  letter-spacing: 2px;
}
.ez-story__card blockquote {
  color: var(--ez-light);
  font-style: italic;
  line-height: 1.7;
}
.ez-story__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.ez-story__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ez-primary);
  color: var(--ez-ink);
  font-size: var(--ez-fs-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ez-story__name {
  font-weight: 600;
  font-size: var(--ez-fs-base);
  color: var(--ez-white);
  margin-bottom: 2px;
}

/* ============================================================
   QUOTE PAGE
   ============================================================ */
.ez-quote-page {
  padding-top: 72px;
  background: var(--ez-dark);
}
.ez-quote-hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.ez-quote-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: min(52vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(211, 162, 33, 0.14),
    transparent 68%
  );
  pointer-events: none;
}
.ez-quote-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.ez-quote-hero__title {
  max-width: 760px;
  margin: 16px auto 22px;
  font-weight: 800;
}
.ez-quote-hero__desc {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.ez-quote-form-section {
  padding-top: 0;
  background: var(--ez-dark);
}
.ez-quote-form-embed {
  min-height: 720px;
  background: transparent;
  overflow: visible;
}
.ez-quote-form-embed iframe {
  width: 100%;
  min-height: 720px;
  display: block;
}

@media (max-width: 700px) {
  .ez-quote-hero {
    padding-top: 40px;
  }
  .ez-quote-form-embed,
  .ez-quote-form-embed iframe {
    min-height: 720px;
  }
}

/* ============================================================
   CTA / FORM
   ============================================================ */
.ez-cta {
  position: relative;
  overflow: hidden;
  background: var(--ez-dark);
}
.ez-cta__glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(211, 162, 33, 0.13) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ez-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ez-cta__inner .ez-section__label {
  justify-content: center;
}
.ez-cta__title {
  font-weight: 800;
  margin-top: 12px;
  margin-bottom: 20px;
}
.ez-cta__sub {
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.ez-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.ez-cta__note {
  font-size: var(--ez-fs-sm);
  color: var(--ez-muted2);
}

@media (max-width: 500px) {
  .ez-cta__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.ez-footer {
  background: var(--ez-dark2);
  border-top: 1px solid var(--ez-border);
}
.ez-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 64px;
  padding-top: 80px;
  padding-bottom: 64px;
}
.ez-footer__logo {
  margin-bottom: 16px;
}
.ez-footer__brand .ez-text-base {
  max-width: 280px;
  margin-bottom: 24px;
}
.ez-footer__socials {
  display: flex;
  gap: 12px;
}
.ez-social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--ez-mid);
  border: 1px solid var(--ez-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ez-muted);
  transition:
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}
.ez-social:hover {
  border-color: var(--ez-golden-border);
  color: var(--ez-primary);
  transform: translateY(-2px);
}
.ez-social svg {
  width: 16px;
  height: 16px;
}

.ez-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 4px;
}
.ez-footer__col h6 {
  margin-bottom: 20px;
}
.ez-footer__col li {
  margin-bottom: 12px;
}
.ez-footer__col a {
  font-size: var(--ez-fs-sm);
  color: var(--ez-muted);
  transition: color 0.2s;
}
.ez-footer__col a:hover {
  color: var(--ez-primary);
}
.ez-footer__col li:not(:has(a)) {
  font-size: var(--ez-fs-sm);
  color: var(--ez-muted2);
}
.ez-footer__bottom {
  border-top: 1px solid var(--ez-border);
  padding-block: 24px;
}
.ez-footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ez-footer__bottom-links {
  display: flex;
  gap: 24px;
}
.ez-footer__bottom-links a {
  color: var(--ez-muted2);
  transition: color 0.2s;
}
.ez-footer__bottom-links a:hover {
  color: var(--ez-muted);
}

@media (max-width: 900px) {
  .ez-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ez-footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .ez-footer__links {
    grid-template-columns: 1fr;
  }
  .ez-footer__bottom .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ── Back to top ── */
.ez-back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ez-primary);
  color: var(--ez-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(211, 162, 33, 0.32);
}
.ez-back-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.ez-back-top svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

/* ============================================================
   RESPONSIVE — shared
   ============================================================ */
@media (max-width: 700px) {
  .ez-services__grid {
    grid-template-columns: 1fr;
  }
  .ez-stories__grid {
    grid-template-columns: 1fr;
  }
  .ez-tech__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ez-hero__actions {
    flex-direction: column;
  }
}
