/* Talamezy landing — matches source design */
html { scroll-behavior: smooth; }

body.tzl-page {
  margin: 0;
  font-family: "DM Sans", "Cairo", sans-serif;
  color: #071D49;
  background: #F8FAFB;
  overflow-x: hidden;
}

.tzl {
  font-family: "DM Sans", "Cairo", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #F8FAFB;
  overflow-x: hidden;
}

.tzl-display { font-family: "Outfit", "Cairo", sans-serif; }

.tzl-main { flex: 1; }

.tzl-inner-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 22px;
}

.tzl-inner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 173, 239, .1);
  color: #0096D6;
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 99px;
}

.tzl-inner-title {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  color: #071D49;
  margin: 16px 0 0;
  line-height: 1.15;
}

.tzl-inner-lead {
  color: #64748B;
  font-size: 16px;
  line-height: 1.65;
  margin: 14px 0 0;
  max-width: 720px;
}

.tzl-inner-meta {
  color: #64748B;
  margin-top: 18px;
}

.tzl-inner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.tzl-inner-card {
  background: #fff;
  border: 1px solid #EAEEF3;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 14px rgba(7, 29, 73, .04);
}

.tzl-inner-card-title {
  font-weight: 700;
  font-size: 18px;
  color: #071D49;
  margin: 0 0 10px;
}

.tzl-inner-card p {
  color: #64748B;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.tzl *::-webkit-scrollbar { width: 10px; height: 10px; }
.tzl *::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }

/* ── Nav (always glass — like source) ── */
.tzl-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  background: rgba(248, 250, 251, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 29, 73, .08);
  box-shadow: 0 4px 24px -12px rgba(7, 29, 73, .18);
}

.tzl-nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.tzl-nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-inline-end: auto;
  text-decoration: none;
}

.tzl-nav-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(7, 29, 73, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.tzl-nav-logo {
  width: 112%;
  height: 112%;
  object-fit: contain;
}

.tzl-nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.tzl-nav-name {
  font-weight: 800;
  font-size: 18px;
  color: #071D49;
}

.tzl-nav-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #0096D6;
  margin-top: 3px;
}

.tzl-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.tzl-nav-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
}

.tzl-nav-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.tzl-navlink {
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color .16s;
}

.tzl-navlink:hover { color: #071D49; }

.tzl-nav-demo {
  background: linear-gradient(135deg, #C9922E, #e0aa48);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
}

.tzl-nav-login {
  background: linear-gradient(135deg, #00ADEF, #0096D6);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(0, 173, 239, .35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
}

.tzl-nav-lang {
  border: 1.5px solid rgba(7, 29, 73, .14);
  background: #fff;
  color: #071D49;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 15px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  cursor: pointer;
}

.tzl-nav-lang i { color: #0096D6; }

.tzl-nav-toggle {
  border: 1.5px solid rgba(7, 29, 73, .14);
  background: #fff;
  color: #071D49;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-inline-start: auto;
  cursor: pointer;
  font-size: 20px;
}

.tzl-nav-panel {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(7, 29, 73, .08);
  background: rgba(248, 250, 251, .98);
  padding: 12px 22px 18px;
}

.tzl-nav-panel.is-open {
  display: flex;
  animation: tzlUp .35s cubic-bezier(.22, .61, .36, 1) both;
}

.tzl-nav-panel[hidden] {
  display: none !important;
}

.tzl-nav-panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  border-bottom: 1px solid rgba(7, 29, 73, .06);
  text-decoration: none;
}

.tzl-nav-panel-demo {
  margin-top: 16px;
  background: linear-gradient(135deg, #C9922E, #e0aa48);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(201, 146, 46, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
}

.tzl-nav-mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 1.5px solid rgba(7, 29, 73, .14);
  background: #fff;
  color: #071D49;
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  border-radius: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.tzl-nav-mobile-demo {
  background: linear-gradient(135deg, #C9922E, #e0aa48);
  color: #fff;
  border: none;
  padding: 8px 10px;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tzl-nav-mobile-demo span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.tzl-nav-toggle {
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .tzl-nav-desktop { display: none; }
  .tzl-nav-mobile { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .tzl-nav-brand-text { display: none; }
  .tzl-nav-bar { gap: 8px; padding: 10px 14px; }
  .tzl-nav-toggle { display: flex; }
  .tzl-nav-mobile .tzl-nav-login,
  .tzl-nav-mobile .tzl-nav-lang {
    font-size: 12px;
    padding: 8px 12px;
    gap: 6px;
  }
  .tzl-nav-mobile .tzl-nav-login i,
  .tzl-nav-mobile .tzl-nav-lang i {
    font-size: 14px;
  }
}

/* ── Demo form ── */
.tzl-demo-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .6), 0 0 0 6px rgba(0, 173, 239, .08);
}

.tzl-demo-badge {
  position: absolute;
  inset-inline-end: 22px;
  top: -15px;
  background: linear-gradient(135deg, #C9922E, #e0aa48);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 99px;
  box-shadow: 0 8px 18px rgba(201, 146, 46, .5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tzl-demo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tzl-demo-field-full { grid-column: span 2; }

.tzl-demo-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 7px;
}

.tzl-demo-field input,
.tzl-demo-field textarea {
  width: 100%;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: #0F172A;
  outline: none;
  background: #fff;
  box-sizing: border-box;
}

.tzl-demo-field input:focus,
.tzl-demo-field textarea:focus {
  border-color: #00ADEF;
  box-shadow: 0 0 0 4px rgba(0, 173, 239, .12);
}

.tzl-demo-submit {
  width: 100%;
  margin-top: 18px;
  border: none;
  background: linear-gradient(135deg, #00ADEF, #0096D6);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 13px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 173, 239, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.tzl-demo-note {
  text-align: center;
  color: #94A3B8;
  font-size: 12px;
  margin: 12px 0 0;
}

/* ── Footer ── */
.tzl-footer {
  background: #05122E;
  color: #94A3B8;
}

.tzl-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 22px 30px;
}

.tzl-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 34px;
}

.tzl-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.tzl-footer-name {
  font-weight: 800;
  font-size: 19px;
  color: #fff;
}

.tzl-footer-about {
  font-size: 13.5px;
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 280px;
}

.tzl-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.tzl-footer-social {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  text-decoration: none;
  transition: background .16s, color .16s;
}

.tzl-footer-social:hover {
  background: #00ADEF;
  color: #fff;
}

.tzl-footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.tzl-footer-col-title {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
}

.tzl-footer-col a {
  font-size: 13.5px;
  color: #94A3B8;
  text-decoration: none;
  transition: color .16s;
}

.tzl-footer-col a:hover { color: #00ADEF; }

.tzl-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px;
}

.tzl-footer-made {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tzl-footer-made i { color: #C9922E; }

/* ── Back to top & WhatsApp ── */
.tzl-back-top {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 84px;
  z-index: 120;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #00ADEF, #0096D6);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 173, 239, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s, transform .25s, visibility .25s;
  font-size: 22px;
}

.tzl-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.tzl-wa {
  position: fixed;
  inset-inline-start: 22px;
  bottom: 84px;
  z-index: 120;
  min-width: 54px;
  height: 54px;
  padding: 0 18px 0 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  animation: tzlWa 2.2s ease-out infinite;
  font-size: 27px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .35);
}

.tzl-wa-label {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* ── Animations & interactions ── */
@keyframes tzlUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes tzlFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes tzlPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }
@keyframes tzlBlob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, -20px) scale(1.08); } }
@keyframes tzlGlow { 0%, 100% { box-shadow: 0 8px 20px rgba(201, 146, 46, .5); } 50% { box-shadow: 0 10px 30px rgba(201, 146, 46, .9), 0 0 0 4px rgba(201, 146, 46, .18); } }
@keyframes tzlWa { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.tzl-demo-cta { animation: tzlGlow 2.4s ease-in-out infinite; }
.tzl-reveal { opacity: 1; }
.tzl-reveal.tzl-armed { opacity: 0; }
.tzl-reveal.tzl-in { animation: tzlUp .7s cubic-bezier(.22, .61, .36, 1) both; }
.tzl-btn { transition: transform .18s cubic-bezier(.4, 0, .2, 1), box-shadow .18s; text-decoration: none; border: none; }
.tzl-btn:hover { transform: translateY(-2px); }
.tzl-card { transition: transform .22s cubic-bezier(.4, 0, .2, 1), box-shadow .22s, border-color .22s; }
.tzl-card:hover { transform: translateY(-6px); }

@media (max-width: 640px) {
  .tzl-demo-form-grid { grid-template-columns: 1fr; }
  .tzl-demo-field-full { grid-column: span 1; }
}
