/* =================================================================
   Chekim — Landing page custom styles (loaded after theme CSS)
   RTL-aware. Primary color follows the Vuexy palette (#7367F0).
   ================================================================= */

/* Font: Estedad (self-hosted) */
@font-face {
  font-family: 'Estedad';
  src: url('fonts/Estedad-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Estedad';
  src: url('fonts/Estedad-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Estedad';
  src: url('fonts/Estedad-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Estedad';
  src: url('fonts/Estedad-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Estedad';
  src: url('fonts/Estedad-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Estedad';
  src: url('fonts/Estedad-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ck-primary: #7367f0;
  --ck-primary-dark: #5e50ee;
  --ck-ink: #2a2e43;
  --ck-muted: #6e6b7b;
  --ck-soft: #f7f6fe;
  --ck-line: #ece9ff;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Estedad', 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  background: #fff;
  color: var(--ck-ink);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Estedad', 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
}

a {
  text-decoration: none;
}

/* ---------------- Navbar ---------------- */
.ck-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  padding: 1rem 0;
  background: transparent;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}

.ck-nav.scrolled {
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(115, 103, 240, .12);
  padding: .5rem 0;
}

.ck-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ck-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.ck-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7367f0, #9b8cff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(115, 103, 240, .35);
}

.ck-brand-icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.ck-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ck-ink);
}

.ck-nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ck-ink);
  font-size: 1.5rem;
  line-height: 1;
  padding: .25rem .5rem;
}

.ck-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ck-nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ck-nav-links a {
  color: var(--ck-muted);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  transition: color .2s ease;
}

.ck-nav-links a:hover,
.ck-nav-links a.active {
  color: var(--ck-primary);
}

.ck-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ck-primary);
}

@media (max-width: 991.98px) {
  .ck-nav-toggle {
    display: inline-flex;
  }

  .ck-nav-menu {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--ck-line);
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
    padding: 1.25rem;
    display: none;
  }

  .ck-nav-menu.open {
    display: flex;
  }

  .ck-nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .ck-nav-links a.active::after {
    display: none;
  }
}

/* ---------------- Hero ---------------- */
.ck-hero {
  position: relative;
  padding: 8.5rem 0 5rem;
  background: linear-gradient(180deg, #f8f6ff 0%, #eef0ff 100%);
  overflow: hidden;
}

.ck-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
  pointer-events: none;
}

.ck-hero-blob-1 {
  width: 380px;
  height: 380px;
  background: #c9c4ff;
  top: -120px;
  left: -80px;
}

.ck-hero-blob-2 {
  width: 300px;
  height: 300px;
  background: #a8d9ff;
  bottom: -100px;
  right: -60px;
}

.ck-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #e6e3ff;
  color: var(--ck-primary);
  font-weight: 700;
  font-size: .85rem;
  padding: .45rem 1rem;
  border-radius: 50rem;
  box-shadow: 0 4px 12px rgba(115, 103, 240, .12);
}

.ck-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--ck-ink);
  margin: 1.25rem 0 1rem;
}

.ck-hero h1 .highlight {
  color: var(--ck-primary);
}

.ck-hero .lead {
  color: var(--ck-muted);
  font-size: 1.05rem;
  line-height: 2;
  max-width: 34rem;
}

.ck-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.ck-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-top: 2.75rem;
}

.ck-stat b {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ck-primary);
  line-height: 1.2;
}

.ck-stat span {
  color: var(--ck-muted);
  font-size: .9rem;
}

/* ---------------- App mockup ---------------- */
.ck-mock-wrap {
  position: relative;
  padding: 1.5rem 1.5rem 2.5rem;
}

.ck-app-window {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid var(--ck-line);
  box-shadow: 0 24px 60px rgba(115, 103, 240, .22);
  padding: 1.5rem;
  max-width: 460px;
}

.ck-tabs {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.ck-tab {
  flex: 1;
  text-align: center;
  padding: .55rem .25rem;
  border-radius: .75rem;
  background: var(--ck-soft);
  color: var(--ck-muted);
  font-size: .78rem;
  font-weight: 700;
  cursor: default;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.ck-tab.active {
  background: var(--ck-primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(115, 103, 240, .35);
}

.ck-scale {
  background: linear-gradient(135deg, #7367f0 0%, #b967ff 100%);
  border-radius: 1rem;
  border: none;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(115, 103, 240, .35);
}

.ck-scale .ck-scale-title {
  color: rgba(255, 255, 255, .85);
  font-size: .8rem;
  margin-bottom: .5rem;
}

.ck-scale-num {
  font-family: 'Estedad', 'Vazirmatn', monospace;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.2;
  direction: ltr;
  text-shadow: 0 0 24px rgba(255, 255, 255, .55);
}

.ck-scale-unit {
  color: rgba(255, 255, 255, .9);
  font-size: .85rem;
}

.ck-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, .92);
  font-size: .9rem;
}

.ck-iranplate {
  display: inline-flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #c2c7d6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(20, 33, 92, .35);
}

.ck-iranplate .ip-band {
  background: linear-gradient(180deg, #2f7ae8 0%, #1e5fc9 100%);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .55rem;
}

.ck-iranplate .ip-body {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem 1rem;
  color: #0f172a;
  font-family: 'Estedad', 'Vazirmatn', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .5px;
  direction: rtl;
}

.ck-iranplate .ip-body b {
  font-weight: 800;
}

.ck-mock-actions {
  display: flex;
  gap: .6rem;
  margin-top: 1.25rem;
}

.ck-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--ck-line);
  border-radius: 1rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .10);
  padding: .65rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ck-ink);
}

.ck-float .icon {
  width: 34px;
  height: 34px;
  border-radius: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ck-float-1 {
  top: 0;
  left: 0;
  animation: ck-float 5s ease-in-out infinite;
}

.ck-float-2 {
  bottom: 0;
  right: 0;
  animation: ck-float 5s ease-in-out 2.5s infinite;
}

@keyframes ck-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------------- Sections ---------------- */
.ck-section {
  padding: 5rem 0;
}

.ck-section-alt {
  background: var(--ck-soft);
}

.ck-sec-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3.25rem;
}

.ck-sec-head .eyebrow {
  color: var(--ck-primary);
  font-weight: 800;
  font-size: .9rem;
}

.ck-sec-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: .5rem 0 0;
}

.ck-sec-head p {
  color: var(--ck-muted);
  margin-top: .9rem;
  line-height: 2;
}

/* ---------------- Cards ---------------- */
.ck-card {
  background: #fff;
  border: 1px solid var(--ck-line);
  border-radius: 1.1rem;
  padding: 1.75rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ck-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(115, 103, 240, .14);
  border-color: #d8d3fb;
}

.ck-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.ck-card-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.ck-card-icon-lg {
  width: 78px;
  height: 78px;
  border-radius: 1.25rem;
}

.ck-card-icon-lg img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.ck-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .5rem;
}

.ck-card .card-desc {
  color: var(--ck-muted);
  font-size: .92rem;
  line-height: 2;
}

.ck-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.ck-card ul li {
  position: relative;
  padding-right: 1.4rem;
  color: var(--ck-muted);
  font-size: .88rem;
  line-height: 1.9;
}

.ck-card ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: .65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ck-primary);
}

.ck-card ul li .w {
  color: var(--ck-ink);
  font-weight: 700;
}

/* Feature cards (centered) */
.ck-feat-card {
  text-align: center;
}

.ck-feat-card .ck-card-icon {
  margin: 0 auto 1.1rem;
}

.ck-feat-card p {
  color: var(--ck-muted);
  font-size: .9rem;
  line-height: 2;
  margin: 0;
}

/* ---------------- Future features ---------------- */
.ck-future-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 2.25rem;
  color: #fff;
  height: 100%;
  background: linear-gradient(135deg, #7367f0, #9b8cff);
  box-shadow: 0 18px 40px rgba(115, 103, 240, .30);
}

.ck-future-card .ck-future-inner {
  position: relative;
  z-index: 2;
}

.ck-future-card::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  bottom: -90px;
  left: -70px;
}

.ck-future-card .soon-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50rem;
  padding: .3rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.ck-future-card h3 {
  font-weight: 800;
  font-size: 1.35rem;
}

.ck-future-card p {
  opacity: .92;
  line-height: 2;
  margin-bottom: 0;
}

.ck-future-card .ck-future-icon {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.ck-future-card .ck-future-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---------------- CTA ---------------- */
.ck-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #7367f0, #9b8cff);
  border-radius: 1.5rem;
  padding: 3.75rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(115, 103, 240, .30);
}

.ck-cta::before,
.ck-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.ck-cta::before {
  width: 300px;
  height: 300px;
  top: -140px;
  right: -80px;
}

.ck-cta::after {
  width: 240px;
  height: 240px;
  bottom: -120px;
  left: -60px;
}

.ck-cta h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  position: relative;
  z-index: 2;
}

.ck-cta p {
  opacity: .92;
  max-width: 40rem;
  margin: 1rem auto 0;
  line-height: 2;
  position: relative;
  z-index: 2;
}

.ck-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.ck-contact-box {
  background: #fff;
  border: 1px solid var(--ck-line);
  border-radius: 1.1rem;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
}

.ck-contact-box .icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.ck-contact-box h4 {
  font-weight: 800;
  font-size: 1.05rem;
}

.ck-contact-box p {
  color: var(--ck-muted);
  font-size: .9rem;
  margin: 0;
  direction: ltr;
}

/* ---------------- Footer ---------------- */
.ck-footer {
  background: #161d31;
  color: #b6b7c9;
  padding: 3.5rem 0 1.5rem;
  margin-top: 6rem;
}

.ck-footer .ck-brand-name {
  color: #fff;
}

.ck-footer .ck-brand-desc {
  color: #b6b7c9;
  font-size: .9rem;
  line-height: 2;
  margin-top: 1rem;
  max-width: 20rem;
}

.ck-footer h5 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.ck-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ck-footer ul li {
  margin-bottom: .75rem;
}

.ck-footer ul a {
  color: #b6b7c9;
  transition: color .2s ease;
}

.ck-footer ul a:hover {
  color: #fff;
}

.ck-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: .85rem;
  text-align: center;
}

/* ---------------- Reveal on scroll (progressive: hidden only with JS) ---------------- */
.js .ck-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.js .ck-reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------------- Back to top ---------------- */
.ck-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 0;
  background: var(--ck-primary);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(115, 103, 240, .35);
}

.ck-top.show {
  display: flex;
}
