@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --tm-navy: #0b3768;
  --tm-navy-dark: #06264b;
  --tm-blue: #155da5;
  --tm-yellow: #ffc400;
  --tm-yellow-soft: #fff6cf;
  --tm-canvas: #f4f7fb;
  --tm-surface: #ffffff;
  --tm-text: #102a43;
  --tm-muted: #627d98;
  --tm-border: #dde7f0;
  --tm-success: #16845b;
  --tm-shadow: 0 22px 60px rgba(6, 38, 75, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  background: var(--tm-canvas);
  color: var(--tm-text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.8;
}
body, button, a { font-family: "Vazirmatn", Tahoma, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }

.tm-container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.tm-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  padding: 18px 0;
}
.tm-nav { display: flex; align-items: center; gap: 28px; }
.tm-brand { display: flex; align-items: center; gap: 11px; margin-left: auto; }
.tm-brand img { width: 50px; height: 50px; border-radius: 15px; box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.tm-brand strong { display: block; color: #fff; font-size: 19px; font-weight: 900; }
.tm-brand span { display: block; color: #bed0e3; font-size: 10px; letter-spacing: .08em; }
.tm-menu { display: flex; align-items: center; gap: 25px; color: #d8e5f1; font-size: 13px; font-weight: 700; }
.tm-menu a:hover { color: var(--tm-yellow); }
.tm-nav-actions { display: flex; gap: 9px; }

.tm-btn {
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.tm-btn:hover { transform: translateY(-2px); }
.tm-btn-primary { color: var(--tm-navy-dark); background: var(--tm-yellow); box-shadow: 0 12px 28px rgba(255,196,0,.22); }
.tm-btn-secondary { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.tm-btn-light { color: var(--tm-navy); background: #fff; box-shadow: 0 12px 30px rgba(6,38,75,.12); }

.tm-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, rgba(21,93,165,.9), transparent 34%),
    linear-gradient(135deg, var(--tm-navy) 0%, var(--tm-navy-dark) 68%);
}
.tm-hero::before, .tm-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.tm-hero::before { width: 440px; height: 440px; left: -180px; bottom: -130px; background: rgba(255,196,0,.09); }
.tm-hero::after { width: 610px; height: 610px; right: -280px; top: -220px; border: 1px solid rgba(255,255,255,.1); }
.tm-slider { position: relative; min-height: 760px; }
.tm-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 132px 0 82px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-28px);
  transition: opacity .55s ease, transform .55s ease, visibility .55s;
}
.tm-slide.is-active { position: relative; opacity: 1; visibility: visible; transform: translateX(0); }
.tm-hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; }
.tm-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); color: #d8e5f1; font-size: 11px; font-weight: 800; }
.tm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tm-yellow); box-shadow: 0 0 0 6px rgba(255,196,0,.12); }
.tm-hero h1 { margin: 22px 0 14px; font-size: clamp(39px, 5vw, 66px); line-height: 1.32; letter-spacing: -.045em; font-weight: 950; }
.tm-hero h1 em { color: var(--tm-yellow); font-style: normal; }
.tm-hero-copy { max-width: 640px; margin: 0 0 28px; color: #d4e1ed; font-size: 16px; line-height: 2; }
.tm-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.tm-hero-facts { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 28px; color: #bed0e3; font-size: 12px; }
.tm-hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.tm-check { width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(22,132,91,.22); color: #85edc2; font-size: 11px; }
.tm-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.tm-logo-orbit { width: min(390px, 84vw); aspect-ratio: 1; position: relative; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); }
.tm-logo-orbit::before { content: ""; position: absolute; inset: 34px; border: 1px dashed rgba(255,196,0,.28); border-radius: 50%; animation: tm-spin 22s linear infinite; }
.tm-main-logo { width: 215px; height: 215px; border-radius: 54px; box-shadow: 0 32px 80px rgba(0,0,0,.38); }
.tm-floating-card { position: absolute; padding: 12px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.14); color: #fff; font-size: 12px; font-weight: 800; }
.tm-floating-card small { display: block; color: #bcd0e2; font-weight: 500; }
.tm-floating-card.one { top: 55px; right: -6px; }
.tm-floating-card.two { bottom: 62px; left: -14px; }
@keyframes tm-spin { to { transform: rotate(360deg); } }
.tm-slider-controls { position: absolute; z-index: 4; right: 50%; bottom: 34px; transform: translateX(50%); display: flex; align-items: center; gap: 10px; }
.tm-slider-controls button { width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; color: #fff; background: rgba(255,255,255,.08); font-size: 20px; }
.tm-slider-controls button:hover { background: var(--tm-yellow); color: var(--tm-navy-dark); }
.tm-slider-dots { display: flex; gap: 6px; padding: 0 6px; }
.tm-slider-dot { width: 8px !important; height: 8px !important; padding: 0; border: 0 !important; border-radius: 999px !important; background: rgba(255,255,255,.35) !important; transition: width .2s ease !important; }
.tm-slider-dot.is-active { width: 26px !important; background: var(--tm-yellow) !important; }

.tm-section { padding: 92px 0; }
.tm-section-white { background: #fff; }
.tm-heading { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.tm-kicker { color: var(--tm-blue); font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.tm-heading h2 { margin: 8px 0 10px; font-size: clamp(28px, 3.6vw, 43px); line-height: 1.5; letter-spacing: -.035em; }
.tm-heading p { margin: 0; color: var(--tm-muted); font-size: 14px; }
.tm-stats { position: relative; z-index: 3; margin-top: -42px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tm-stat { padding: 20px; border: 1px solid var(--tm-border); border-radius: 22px; background: #fff; box-shadow: var(--tm-shadow); text-align: center; }
.tm-stat strong { display: block; color: var(--tm-navy); font-size: 20px; font-weight: 950; }
.tm-stat span { color: var(--tm-muted); font-size: 11px; }
.tm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tm-card { padding: 26px; border: 1px solid var(--tm-border); border-radius: 25px; background: #fff; box-shadow: 0 16px 42px rgba(6,38,75,.07); }
.tm-card-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 17px; background: var(--tm-yellow-soft); color: var(--tm-navy); font-size: 26px; font-weight: 900; }
.tm-card h3 { margin: 0 0 8px; font-size: 18px; }
.tm-card p { margin: 0; color: var(--tm-muted); font-size: 13px; }
.tm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tm-audience { position: relative; overflow: hidden; min-height: 335px; padding: 36px; border-radius: 30px; }
.tm-audience.passenger { color: #fff; background: linear-gradient(145deg, var(--tm-navy), var(--tm-navy-dark)); }
.tm-audience.driver { color: var(--tm-navy-dark); background: linear-gradient(145deg, #ffd22d, var(--tm-yellow)); }
.tm-audience::after { content: ""; position: absolute; width: 220px; height: 220px; left: -80px; bottom: -100px; border: 34px solid rgba(255,255,255,.1); border-radius: 50%; }
.tm-audience h3 { margin: 18px 0 10px; font-size: 29px; font-weight: 950; }
.tm-audience p { max-width: 470px; margin: 0 0 24px; opacity: .84; }
.tm-audience ul { padding: 0; margin: 0 0 28px; list-style: none; display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.tm-audience li::before { content: "✓"; margin-left: 8px; }
.tm-steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tm-step { position: relative; padding: 24px; border: 1px solid var(--tm-border); border-radius: 22px; background: var(--tm-surface); }
.tm-step::before { counter-increment: steps; content: counter(steps, persian); width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 12px; color: var(--tm-navy-dark); background: var(--tm-yellow); font-weight: 950; }
.tm-step h3 { margin: 0 0 6px; font-size: 15px; }
.tm-step p { margin: 0; color: var(--tm-muted); font-size: 12px; }
.tm-cta { padding: 42px; border-radius: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: linear-gradient(130deg, var(--tm-navy), var(--tm-navy-dark)); box-shadow: var(--tm-shadow); }
.tm-cta h2 { margin: 0 0 7px; font-size: 28px; }
.tm-cta p { margin: 0; color: #cbdbe9; font-size: 13px; }
.tm-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.tm-footer { padding: 50px 0 22px; color: #cbdbe9; background: #041d39; }
.tm-footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 38px; }
.tm-footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.tm-footer-logo img { width: 58px; height: 58px; border-radius: 16px; }
.tm-footer h3, .tm-footer h4 { margin: 0; color: #fff; }
.tm-footer p, .tm-footer a { font-size: 12px; }
.tm-footer-links { display: grid; gap: 8px; }
.tm-footer a:hover { color: var(--tm-yellow); }
.tm-footer-bottom { margin-top: 35px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; font-size: 11px; }
.tm-mobile-toggle { display: none; border: 0; color: #fff; background: transparent; font-size: 26px; }

@media (max-width: 980px) {
  .tm-menu, .tm-nav-actions { display: none; }
  .tm-mobile-toggle { display: block; }
  .tm-nav.is-open { align-items: flex-start; flex-wrap: wrap; }
  .tm-nav.is-open .tm-menu, .tm-nav.is-open .tm-nav-actions { width: 100%; display: flex; }
  .tm-nav.is-open .tm-menu { align-items: stretch; flex-direction: column; gap: 3px; padding: 14px; border-radius: 18px; background: var(--tm-navy-dark); }
  .tm-nav.is-open .tm-nav-actions { padding-bottom: 12px; }
  .tm-hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .tm-hero-copy { margin-inline: auto; }
  .tm-hero-actions, .tm-hero-facts { justify-content: center; }
  .tm-visual { min-height: 360px; }
  .tm-logo-orbit { width: 320px; }
  .tm-main-logo { width: 170px; height: 170px; border-radius: 43px; }
  .tm-stats { grid-template-columns: repeat(2, 1fr); }
  .tm-grid-3, .tm-steps { grid-template-columns: repeat(2, 1fr); }
  .tm-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .tm-header { padding: 12px 0; }
  .tm-brand img { width: 44px; height: 44px; }
  .tm-hero, .tm-slider { min-height: 920px; }
  .tm-slide { padding-top: 112px; }
  .tm-hero h1 { font-size: 37px; }
  .tm-hero-copy { font-size: 14px; }
  .tm-visual { min-height: 320px; }
  .tm-floating-card { font-size: 10px; }
  .tm-floating-card.one { right: 0; }
  .tm-floating-card.two { left: 0; }
  .tm-stats { margin-top: -24px; }
  .tm-stat { padding: 15px 9px; }
  .tm-section { padding: 68px 0; }
  .tm-grid-3, .tm-split, .tm-steps, .tm-footer-grid { grid-template-columns: 1fr; }
  .tm-audience { padding: 28px; }
  .tm-cta { padding: 30px 24px; align-items: stretch; flex-direction: column; }
  .tm-cta-actions .tm-btn { flex: 1; }
  .tm-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
