/* 75 Fokus – Landing Page
   Lean, dependency-free stylesheet. Logical properties are used throughout so
   that the right-to-left layout (Farsi) works without overrides. */

:root {
  --ink: #08172a;
  --ink-2: #0d2238;
  --ink-3: #122c44;
  --line-dark: rgba(255, 255, 255, .1);
  --paper: #f0f6fa;
  --paper-2: #deebf2;
  --white: #fff;
  --text: #12202e;
  --muted: #53667a;
  --muted-dark: #9db0c3;
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --accent-deep: #0f766e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(4, 12, 24, .28);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: #eaf1f7;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="fa"] body { font-family: Vazirmatn, Tahoma, "Segoe UI", Arial, sans-serif; line-height: 1.85; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }

.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; inset-inline-start: 1rem; top: -4rem; z-index: 100;
  background: var(--accent); color: var(--ink); font-weight: 700;
  padding: .6rem 1rem; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #04211d; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-sm { font-size: .875rem; padding: .6rem 1.1rem; }
.btn-lg { font-size: 1rem; padding: 1rem 1.5rem; box-shadow: 0 14px 34px rgba(45, 212, 191, .22); }
.btn-ghost { border-color: rgba(255, 255, 255, .25); color: #fff; padding: .8rem 1.3rem; font-size: .95rem; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-center { margin-top: 2rem; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; }
.brand-num { color: var(--accent); font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.brand-sep { width: 1px; height: 1.1rem; background: rgba(255, 255, 255, .3); transform: rotate(18deg); }
.brand-name { font-size: .78rem; font-weight: 800; letter-spacing: .28em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(8, 23, 42, .82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.main-nav { display: flex; gap: 2rem; }
.main-nav a { color: var(--muted-dark); font-size: .875rem; font-weight: 600; transition: color .2s; }
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-dark); border-radius: 10px; background: rgba(255, 255, 255, .04); }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted-dark); cursor: pointer;
  padding: .35rem .6rem; border-radius: 7px; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  transition: background-color .2s, color .2s;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button[aria-pressed="true"] { background: rgba(45, 212, 191, .16); color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5.5rem)) 0 clamp(3.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(45, 212, 191, .13), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(30, 90, 140, .25), transparent 60%),
    var(--ink);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html[lang="fa"] .eyebrow, html[lang="fa"] .kicker, html[lang="fa"] .main-nav a { letter-spacing: 0; text-transform: none; }
.hero h1 { margin: 1.1rem 0 1.4rem; font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; color: #fff; }
html[lang="fa"] h1, html[lang="fa"] h2 { letter-spacing: 0; line-height: 1.3; }
.lead { max-width: 38rem; color: var(--muted-dark); font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.7; }

.hero-cta { margin-top: 2.2rem; display: grid; gap: .85rem; width: min(100%, 30rem); }
.hero-cta .btn-lg { justify-content: space-between; text-align: start; }
.btn-text { display: grid; gap: .2rem; }
.btn-text strong { font-size: 1.08rem; }
.btn-text small { font-size: .78rem; font-weight: 500; opacity: .75; }
.cta-note { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--muted-dark); }
.cta-note .icon { color: var(--accent); }

.metrics { display: flex; flex-wrap: wrap; gap: 1.5rem clamp(1.5rem, 4vw, 3.2rem); margin-top: 3rem; }
.metrics div { padding-inline-start: 1rem; border-inline-start: 2px solid rgba(45, 212, 191, .45); }
.metrics dt { font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.1; }
.metrics dd { margin-top: .2rem; font-size: .8rem; color: var(--muted-dark); }

.hero-art { position: relative; justify-self: center; width: min(100%, 440px); margin-bottom: 1.5rem; }
.poster { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-3); }
.poster::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--img) center / cover no-repeat; filter: blur(22px) saturate(1.1) brightness(.5); }
.poster img { width: 100%; height: 100%; object-fit: contain; }
.hero-frame { aspect-ratio: 3 / 4; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow); }
.float-card {
  position: absolute; z-index: 2; border-radius: 12px; padding: .85rem 1rem; color: #fff;
  background: rgba(10, 26, 46, .88); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
}
.float-progress { inset-inline-end: -1.5rem; bottom: -2.2rem; width: 13rem; display: grid; gap: .45rem; }
.float-label { display: flex; align-items: center; gap: .45rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
html[lang="fa"] .float-label { letter-spacing: 0; text-transform: none; }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(45, 212, 191, .18); }
.float-progress strong { font-size: 1.4rem; line-height: 1.2; }
.bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
html[dir="rtl"] .bar i { margin-inline-start: auto; }
.float-streak { inset-inline-start: -1.25rem; top: 1.6rem; display: flex; align-items: center; gap: .65rem; color: var(--accent); }
.float-streak span { display: grid; line-height: 1.2; }
.float-streak strong { color: #fff; font-size: 1.2rem; }
.float-streak small { color: var(--muted-dark); font-size: .68rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-light { background: var(--paper); color: var(--text); }
.section-white { background: var(--white); color: var(--text); }
.section-dark { background: var(--ink-2); }
.section-head { max-width: 46rem; }
.kicker { color: var(--accent-deep); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-head-light .kicker { color: var(--accent); }
.section h2, .final h2 { margin-top: .8rem; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.section-head-light h2 { color: #fff; }
.section-lead { margin-top: 1.1rem; color: var(--muted); font-size: 1.06rem; line-height: 1.75; max-width: 40rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.feature { background: var(--white); border: 1px solid #d7e4ec; border-radius: var(--radius); padding: 1.9rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(8, 23, 42, .08); border-color: #b9d3df; }
.feature-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--ink); color: var(--accent); }
.feature h3 { margin: 1.6rem 0 .5rem; font-size: 1.2rem; font-weight: 750; color: var(--text); }
.feature p { color: var(--muted); font-size: .96rem; line-height: 1.65; }

/* Pillars */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pillar { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.pillar:hover { transform: translateY(-4px); border-color: rgba(45, 212, 191, .45); }
.pillar-media { aspect-ratio: 3 / 4; }
.pillar-media img { transition: transform .6s; }
.pillar:hover .pillar-media img { transform: scale(1.03); }
.pillar-body { padding: 1.3rem 1.4rem 1.6rem; }
.pillar-no { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.pillar h3 { margin: .4rem 0 .35rem; font-size: 1.15rem; font-weight: 750; color: #fff; }
.pillar p { color: var(--muted-dark); font-size: .92rem; }

/* Cockpit */
.cockpit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.check-list { display: grid; gap: .8rem; margin: 1.8rem 0; }
.check-list li { display: flex; align-items: center; gap: .7rem; font-weight: 650; }
.check-list .icon { color: #fff; background: var(--accent-deep); border-radius: 50%; padding: 3px; width: 1.4rem; height: 1.4rem; stroke-width: 3; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; padding-bottom: .35rem; font-weight: 750; color: var(--accent-deep); border-bottom: 2px solid currentColor; transition: gap .2s; }
.text-link:hover { gap: .8rem; }

.dashboard {
  color: #fff; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 20px;
  background: linear-gradient(160deg, var(--ink-3), var(--ink) 70%);
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .08);
}
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-badge { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 99px; background: rgba(45, 212, 191, .14); color: var(--accent); }
html[lang="fa"] .dash-badge { letter-spacing: 0; text-transform: none; }
.dash-day { color: var(--muted-dark); font-size: .9rem; font-weight: 600; }
.dash-main { display: flex; align-items: center; justify-content: space-between; margin-top: 1.6rem; }
.dash-k { color: var(--muted-dark); font-size: .85rem; }
.dash-big { font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-top: .3rem; }
.dash-big span { font-size: .5em; color: var(--accent); margin-inline-start: .1em; }
.dash-ring { width: clamp(5rem, 11vw, 7rem); aspect-ratio: 1; }
.dash-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
[dir="rtl"] .dash-ring svg { transform: rotate(-90deg) scaleY(-1); }
.ring-bg, .ring-fg { fill: none; stroke-width: 3.2; }
.ring-bg { stroke: rgba(255, 255, 255, .1); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; }
.dash-bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: .6rem; height: 110px; margin: 1.8rem 0 1.5rem; }
.dash-bars i { display: block; border-radius: 6px 6px 3px 3px; background: rgba(255, 255, 255, .13); }
.dash-bars i:nth-child(n+5) { background: linear-gradient(var(--accent), #14b8a6); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.3rem; border-top: 1px solid var(--line-dark); }
.dash-stats small { display: block; color: var(--muted-dark); font-size: .72rem; }
.dash-stats strong { font-size: 1.35rem; }

/* Privacy */
.privacy { background: var(--paper-2); color: var(--text); padding: 2.2rem 0; border-block: 1px solid #c9dbe5; }
.privacy-inner { display: flex; align-items: center; gap: 1.4rem; }
.privacy .icon-lg { color: var(--accent-deep); }
.privacy-text { flex: 1; }
.privacy h2 { font-size: 1.1rem; font-weight: 750; }
.privacy p { margin-top: .25rem; color: var(--muted); font-size: .95rem; max-width: 46rem; }
.privacy .btn-ghost { color: var(--ink); border-color: rgba(8, 23, 42, .3); white-space: nowrap; }
.privacy .btn-ghost:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* Final CTA */
.final { padding: clamp(4rem, 8vw, 7rem) 0; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(45, 212, 191, .14), transparent 70%), var(--ink); }
.final h2 { color: #fff; max-width: 36rem; margin-inline: auto; }
.final p { margin-top: 1rem; color: var(--muted-dark); font-size: 1.1rem; }

/* Footer */
.site-footer { background: #050e1a; border-top: 1px solid var(--line-dark); padding: 2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.copyright { color: #7b8ea1; font-size: .85rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer nav a { color: var(--muted-dark); font-size: .85rem; }
.site-footer nav a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 1.25rem; }
}
@media (max-width: 880px) {
  .main-nav { display: none; }
  .hero-grid, .cockpit-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 400px); margin-top: 1rem; }
  .float-progress { inset-inline-end: -.5rem; }
  .float-streak { inset-inline-start: -.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .privacy-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .container { width: min(1200px, 100% - 2rem); }
  .pillar-grid { grid-template-columns: 1fr; }
  .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .metrics div { padding-inline-start: .7rem; }
  .metrics dt { font-size: 1.4rem; }
  .float-progress { inset-inline-end: -.25rem; width: 11.5rem; }
  .float-streak { inset-inline-start: -.25rem; }
  .btn-sm { padding: .55rem .9rem; }
  .header-actions { gap: .5rem; }
  .brand-name { letter-spacing: .2em; }
  .dash-stats { gap: .6rem; }
  .dash-stats strong { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
