/* === Zylo Hero Section === */

.zylo-hero {
  background: var(--zylo-white);
  background-image: radial-gradient(ellipse 700px 600px at 95% 5%, rgba(27,79,191,0.07) 0%, transparent 70%),
                    radial-gradient(ellipse 400px 400px at 5% 90%, rgba(13,42,107,0.04) 0%, transparent 60%);
  padding: 0;
  overflow: hidden;
}

.zylo-hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 70px;
  padding-bottom: 80px;
}

.zylo-hero-left {
  flex: 0 0 55%;
  max-width: 55%;
}

.zylo-hero-right {
  flex: 0 0 calc(45% - 60px);
}

.zylo-hero-headline {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--zylo-navy);
  line-height: 1.12;
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
}

.zylo-hero-sub {
  font-size: 18px;
  color: var(--zylo-grey);
  max-width: 460px;
  line-height: 1.75;
  margin: 0 0 32px;
}

.zylo-hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.zylo-hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.zylo-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--zylo-grey);
  font-weight: 500;
}
.zylo-badge-item::before {
  content: "✓";
  color: var(--zylo-blue);
  font-weight: 700;
  font-size: 14px;
}

/* Card flow widget */
.zylo-flow-card {
  background: #0B1E3D;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}

.zylo-flow-tabs {
  display: flex;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.zylo-flow-tab {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
  white-space: nowrap;
}
.zylo-flow-tab.is-active {
  color: var(--zylo-white);
  border-bottom: 2px solid var(--zylo-accent);
}

.zylo-flow-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.zylo-flow-card-chip {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--zylo-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  white-space: nowrap;
}
.zylo-flow-live {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex: 1 1 auto;
}
.zylo-flow-amount {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--zylo-white);
  white-space: nowrap;
}

.zylo-flow-viewport {
  height: 300px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
}
.zylo-flow-track {
  display: flex;
  flex-direction: column;
  animation: zylo-flow-scroll 16s linear infinite;
}
.zylo-flow-track:hover {
  animation-play-state: paused;
}
@keyframes zylo-flow-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.zylo-flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 10px;
  border-radius: var(--radius-md);
  margin-bottom: 6px;
}
.zylo-flow-step.is-final {
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.35);
}

.zylo-flow-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.icon-auth      { background: rgba(148, 163, 184, 0.18); }
.icon-fraud     { background: rgba(168, 85, 247, 0.22); }
.icon-network   { background: rgba(59, 130, 246, 0.22); }
.icon-bank      { background: rgba(20, 184, 166, 0.22); }
.icon-auth-ok   { background: rgba(34, 197, 94, 0.22); }
.icon-dashboard { background: rgba(249, 115, 22, 0.22); }
.icon-wallet    { background: rgba(234, 179, 8, 0.22); }

.zylo-flow-step-text {
  flex: 1 1 auto;
  min-width: 0;
}
.zylo-flow-step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--zylo-white);
}
.zylo-flow-step-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zylo-flow-step-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
  white-space: nowrap;
}
.zylo-flow-step.is-final .zylo-flow-step-value {
  color: #4ADE80;
}

/* Hero responsive */
@media (max-width: 900px) {
  .zylo-hero-inner { flex-direction: column; gap: 40px; padding-top: 60px; }
  .zylo-hero-left, .zylo-hero-right { flex: 0 0 100%; max-width: 100%; }
  .zylo-hero-headline { font-size: 38px; }
  .zylo-hero-sub { font-size: 16px; }
}

@media (max-width: 480px) {
  .zylo-hero-headline { font-size: 30px; }
  .zylo-hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* === Dashboard Tabs (Card flow / Currencies) === */
.zylo-flow-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
}
.zylo-flow-tab:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.7);
}

/* === Currencies Panel === */
.zylo-currency-header {
  margin-bottom: 16px;
}
.zylo-currency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.zylo-currency-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.zylo-currency-flag {
  font-size: 22px;
  line-height: 1;
}
.zylo-currency-code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--zylo-white);
}
.zylo-currency-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
.zylo-currency-right {
  text-align: right;
}
.zylo-currency-rate {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--zylo-white);
}
.zylo-currency-base {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
