:root {
  --navy-950: #050e29;
  --navy-900: #0b1d4d;
  --navy-800: #122a63;
  --navy-700: #1c3a80;
  --navy-600: #2a4ba0;
  --orange-500: #f2a93c;
  --orange-600: #e0921c;
  --orange-100: #fdecd1;
  --cream: #faf7f1;
  --paper: #ffffff;
  --ink: #0f1424;
  --muted: #5c6178;
  --line: #e9e4d8;
  --good: #2f8f5b;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lift: 0 20px 45px -20px rgba(11, 29, 77, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(11, 29, 77, 0.25);
}

/* Font */

@font-face {
  font-family: Vazirmatn;

  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");

  font-weight: 400;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;

  src: url("../fonts/Vazirmatn-Medium.ttf") format("truetype");

  font-weight: 500;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;

  src: url("../fonts/Vazirmatn-ExtraBold.ttf") format("truetype");

  font-weight: 800;

  font-style: normal;

  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:Vazirmatn,sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
.num {
  font-family:Vazirmatn,sans-serif;
}
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 44px 0;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: Vazirmatn, sans-serif;
}
p {
  margin: 0;
}
.hl {
  color: var(--orange-600);
  font-weight: 800;
}
.hl-navy {
  color: var(--navy-800);
  font-weight: 800;
}
.num-lg {
  font-size: 1.32em;
  font-weight: 900;
  line-height: 1;
}
::selection {
  background: var(--orange-100);
  color: var(--navy-900);
}

button,
input,
select,
textarea {
  font-family:Vazirmatn,sans-serif;
}

a {
  color: inherit;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
}

.top-strip {
  background: var(--navy-950);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 9px 14px;
  letter-spacing: 0.2px;
}
.top-strip strong {
  color: var(--orange-500);
}

.banner-slot {
  margin: 18px auto 0;
  max-width: 600px;
  padding: 0 20px;
}
.banner-box {
  aspect-ratio: 4/3;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 2px dashed #c9c2af;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(11, 29, 77, 0.03) 0 12px,
      rgba(11, 29, 77, 0.01) 12px 24px
    ),
    #f1ede2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 24px;
}
.banner-box .banner-inner {
  max-width: 320px;
}
.banner-box .banner-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.banner-box b {
  display: block;
  color: var(--navy-900);
  font-size: 15px;
  margin-bottom: 4px;
}

.hero {
  padding-top: 26px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 100px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-600);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot {
    animation: none;
  }
}

.hero h1 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.5;
  margin-top: 18px;
  color: var(--navy-900);
}
.hero p.lede {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
}

.hero-panel {
  margin-top: 26px;
  border-radius: var(--radius-lg);
  background: radial-gradient(
    120% 140% at 15% 0%,
    var(--navy-700) 0%,
    var(--navy-900) 55%,
    var(--navy-950) 100%
  );
  padding: 30px 22px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 16px 16px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-panel-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.brand-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg {
  width: 16px;
  height: 16px;
}
.avg-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11.5px;
  padding: 6px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.avg-badge b {
  color: var(--orange-500);
  font-size: 14px;
  font-family:Vazirmatn,sans-serif;
}

.gauge-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 26px 0 6px;
}
.gauge {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--orange-500) 0deg 260deg,
    rgba(255, 255, 255, 0.14) 260deg 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.gauge::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.35);
}
.gauge-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.gauge-inner .range {
  font-size: 28px;
  font-weight: 800;
  font-family:Vazirmatn,sans-serif;
  color: var(--orange-500);
}
.gauge-inner .range small {
  font-size: 15px;
}
.gauge-inner .cap {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.hero-panel p.panel-note {
  position: relative;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  margin-top: 4px;
  padding: 0 8px;
}

.cta-btn {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, var(--orange-500), var(--orange-600));
  color: var(--navy-950);
  font-weight: 800;
  font-size: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  margin-top: 22px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 26px -12px rgba(224, 146, 28, 0.7);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -12px rgba(224, 146, 28, 0.8);
}
.cta-btn span.sub {
  display: block;
  font-weight: 600;
  font-size: 12px;
  margin-top: 3px;
  opacity: 0.85;
}

.trust-line {
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  margin-top: 12px;
  position: relative;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 16px 8px;
}
.stat-card .num {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy-900);
}
.stat-card .lbl {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
}

.section-head {
  margin-bottom: 20px;
}
.section-head .kicker {
  color: var(--orange-600);
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-head .kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange-500);
  display: inline-block;
}
.section-head h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 10px;
}
.section-head p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 8px;
}

.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.quote-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.quote-head .who b {
  display: block;
  color: var(--navy-900);
  font-size: 14.5px;
}
.quote-head .who span {
  color: var(--muted);
  font-size: 12.5px;
}
.quote-card blockquote {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ink);
}
.quote-card .divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.quote-card .body-text {
  font-size: 14.5px;
  color: var(--muted);
}
.quote-card .body-text strong {
  color: var(--navy-900);
}

.about-course {
  margin-top: 16px;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: #fff;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
}
.about-course::after {
  content: "TFT";
  position: absolute;
  font-weight: 800;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.04);
  left: -10px;
  bottom: -30px;
  line-height: 1;
}
.about-course h3 {
  font-size: 18px;
  font-weight: 800;
  position: relative;
}
.about-course p {
  position: relative;
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
}
.about-course strong {
  color: var(--orange-500);
}
.placeholder-tag {
  position: relative;
  display: inline-block;
  background: rgba(242, 169, 60, 0.16);
  color: var(--orange-500);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.about-course .editable-placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}
.about-course h3.editable-placeholder {
  font-weight: 700;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--orange-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--orange-600);
}
.feature-text {
  min-width: 0;
}
.feature-card h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  line-height: 1.4;
}
.feature-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.5;
}

.steps {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: flex;
  gap: 14px;
  position: relative;
  padding-bottom: 26px;
}
.step:last-child {
  padding-bottom: 0;
}
.step-marker {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  z-index: 1;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  right: 17px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.step-body h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-900);
}
.step-body p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.callout {
  margin-top: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--orange-500), var(--orange-600));
  padding: 28px 22px;
  text-align: center;
  color: var(--navy-950);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(11, 29, 77, 0.08) 1px,
    transparent 1px
  );
  background-size: 14px 14px;
}
.callout p.small {
  position: relative;
  font-weight: 700;
  font-size: 13.5px;
}
.callout .big-num {
  position: relative;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  margin: 6px 0;
}
.callout p.tail {
  position: relative;
  font-weight: 700;
  font-size: 15px;
}

/* form */
.form-card {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px 22px;
  box-shadow: var(--shadow-soft);
}
.form-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.form-card-head h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy-900);
}
.time-pill {
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 100px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.time-pill svg {
  width: 13px;
  height: 13px;
  stroke: var(--orange-600);
}

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 7px;
}

.input-icon {
  position: relative;
}
.input-icon svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: #a2a6b8;
  pointer-events: none;
  transition: stroke 0.15s ease;
}
.input-icon input,
.input-icon select {
  width: 100%;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 14px 44px 14px 16px;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.input-icon input::placeholder {
  color: #a7abbb;
}
.input-icon input:focus,
.input-icon select:focus {
  border-color: var(--orange-500);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(242, 169, 60, 0.15);
}
.input-icon:focus-within svg {
  stroke: var(--orange-600);
}

.field.select-wrap .input-icon::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.field.select-wrap .input-icon select {
  padding-left: 36px;
}

.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--orange-500), var(--orange-600));
  color: var(--navy-950);
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 14px 26px -12px rgba(224, 146, 28, 0.7);
  transition: transform 0.15s ease;
}
.submit-btn svg {
  width: 17px;
  height: 17px;
}
.submit-btn:hover {
  transform: translateY(-1px);
}
.form-foot-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 14px;
}
.form-foot-note svg {
  width: 12px;
  height: 12px;
  vertical-align: -1px;
  stroke: var(--muted);
}

.success-msg {
  display: none;
  text-align: center;
  padding: 14px;
}
.success-msg.show {
  display: block;
}
.success-msg .check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.success-msg .check svg {
  width: 26px;
  height: 26px;
  stroke: var(--orange-600);
}
.success-msg h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-900);
}
.success-msg p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
}
.result-percent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--navy-900);
  border-radius: 16px;
  padding: 16px;
  margin: 14px 0;
}
.result-percent .result-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.result-percent .result-value {
  font-family:Vazirmatn,sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--orange-500);
}
#tftForm.hide {
  display: none;
}

/*footer */
footer {
  padding: 34px 0 40px;
  text-align: center;
}
.foot-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.foot-logo .mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot-logo .mark svg {
  width: 14px;
  height: 14px;
}
.foot-logo span {
  font-weight: 800;
  font-size: 14px;
  color: var(--navy-900);
}
.foot-logo span b {
  color: var(--orange-600);
}
footer .url {
  font-size: 12.5px;
  color: var(--muted);
}
footer .legal {
  font-size: 11px;
  color: #a6a9b6;
  margin-top: 10px;
  max-width: 40ch;
  margin-inline: auto;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.badge-row .b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}
.badge-row svg {
  width: 15px;
  height: 15px;
  stroke: var(--navy-700);
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 26px;
  }
  .callout .big-num {
    font-size: 52px;
  }
  .gauge {
    width: 170px;
    height: 170px;
  }
}



.features-minimal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}

.feature-tag {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy-900);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  transition: all 0.2s ease;
}


.feature-tag:hover {
  background: var(--orange-100);
  border-color: var(--orange-500);
  color: var(--orange-600);
}


.features-ordered {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}


.feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}


.feat-dot {
  font-size: 13px;
  font-weight: 900;
  color: var(--orange-600);
  background: var(--orange-100);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


.feat-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


@media (max-width: 400px) {
  .features-ordered {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.reveal-item {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(12px);
  will-change: transform, opacity, filter;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}


@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* admin login */
.admin-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--cream);
}
.admin-card {
  width: 100%;
  max-width: 360px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}
.admin-card h1 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
  text-align: center;
}
.admin-sub {
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 20px;
}
.admin-card label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 7px;
}
.admin-card .submit-btn {
  margin-top: 16px;
}
.admin-error {
  background: #fdecea;
  color: #c0392b;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.form-error {
  background: #fdecea;
  color: #c0392b;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.form-error[hidden] {
  display: none;
}
