
:root {
  --navy-dark: #18335a;
  --navy-mid: #2a4e7d;
  --accent-teal: #38c7c4;
  --text-light: #f5f7fb;
  --bg-light: #f3f7fb;
  --text-dark: #152238;
  --muted: #5d6b7f;
  --border: rgba(24, 51, 90, 0.14);
  --shadow: 0 18px 40px rgba(12, 23, 41, 0.12);
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Vazirmatn', Tahoma, sans-serif; background: #fff; color: var(--text-dark);
  direction: rtl; text-align: right; line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position:absolute; inset-inline-start:16px; top:8px; transform:translateY(-200%); background:#fff; color:#000; padding:8px 12px; border-radius:8px; z-index:1000; }
.skip-link:focus { transform:translateY(0); }
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(245,247,251,0.9); border-bottom:1px solid rgba(24,51,90,0.08); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; }
.brand { display:flex; align-items:center; gap:12px; min-width:0; }
.brand img { width: 46px; height: 46px; flex:0 0 auto; }
.brand strong { font-size: 1rem; color: var(--navy-dark); white-space:nowrap; }
.brand span { display:block; font-size: .85rem; color: var(--muted); white-space:nowrap; }
.nav { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.nav a { color: var(--navy-dark); font-weight: 700; font-size: .98rem; }
.nav a:hover { color: var(--accent-teal); }
.cta-btn, .ghost-btn, .primary-btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:0 18px; border-radius: 999px; border:1px solid transparent; font-weight:800; transition:.2s ease; cursor:pointer; }
.cta-btn, .primary-btn { background: var(--accent-teal); color: #04323b; box-shadow: 0 10px 20px rgba(56,199,196,.18); }
.ghost-btn { background: transparent; color: var(--text-light); border-color: rgba(255,255,255,.2); }
.cta-btn:hover, .primary-btn:hover, .ghost-btn:hover { transform: translateY(-1px); }
.hero { position: relative; overflow:hidden; background: linear-gradient(135deg, #142a49 0%, #1c3a64 50%, #163559 100%); color: var(--text-light); padding: 72px 0 42px; }
.hero::before { content:''; position:absolute; inset:-20% -10% auto auto; width: 780px; height: 780px; background: radial-gradient(circle at center, rgba(56,199,196,.16), transparent 58%); pointer-events:none; }
.hero-grid { position:relative; display:grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items:center; }
.kicker { color: #9be7e5; font-weight: 800; font-size: .95rem; letter-spacing:0; margin-bottom: 10px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.7rem); line-height:1.15; margin: 0 0 12px; }
.hero h2 { margin: 0 0 18px; font-size: clamp(1.2rem, 2vw, 1.55rem); color: #dfeaf8; font-weight: 700; }
.hero p { margin: 0 0 28px; color: rgba(245,247,251,.86); max-width: 63ch; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.hero-visual { position:relative; min-height: 420px; }
.network-globe { position:absolute; inset: 0; display:flex; align-items:center; justify-content:center; }
.network-globe .orb { width:min(360px, 100%); aspect-ratio:1; border-radius:50%; background:
  radial-gradient(circle at 30% 28%, rgba(255,255,255,.28), transparent 18%),
  radial-gradient(circle at 50% 50%, rgba(56,199,196,.24), rgba(56,199,196,.06) 40%, transparent 72%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 0 18px rgba(255,255,255,.03);
}
.network-globe svg { position:absolute; width:min(440px, 100%); height:auto; opacity:.68; }
.network-card { position:absolute; inset-inline-start: 0; bottom: 20px; max-width: 300px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 16px 18px; backdrop-filter: blur(10px); }
.network-card strong { display:block; margin-bottom:6px; }
.stats { padding: 26px 0 10px; background: #fff; margin-top:-12px; }
.stats-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: #fff; border:1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-align:center; }
.stat .num { display:block; color: var(--navy-dark); font-size: 2rem; font-weight: 900; line-height:1.2; }
.stat .lbl { color: var(--muted); font-weight: 700; }
.section { padding: 68px 0; }
.section.alt { background: var(--bg-light); }
.section-title { margin: 0 0 22px; font-size: 1.6rem; color: var(--navy-dark); }
.section-lead { margin: -8px 0 24px; color: var(--muted); max-width: 78ch; }
.cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); height:100%; }
.card h3 { margin: 12px 0 10px; font-size: 1.15rem; color: var(--navy-dark); }
.card p { margin: 0 0 16px; color: var(--muted); }
.card .more { color: var(--accent-teal); font-weight: 800; }
.icon-wrap { width: 54px; height: 54px; border-radius: 16px; background: rgba(56,199,196,.14); display:flex; align-items:center; justify-content:center; color: var(--accent-teal); }
.partner-chips { display:flex; flex-wrap:wrap; gap:12px; }
.chip { padding: 12px 16px; border:1px solid rgba(56,199,196,.35); background: #fff; color: var(--navy-dark); border-radius: 12px; font-weight: 800; box-shadow: 0 8px 18px rgba(15,28,50,.06); }
.partners-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px; align-items:center; justify-items:center; }
.partners-grid img { display:block; width:100%; max-width: 150px; max-height: 70px; object-fit:contain; filter: grayscale(1) opacity(.72); transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
.partners-grid img:hover { filter: grayscale(0) opacity(1); transform: translateY(-2px); }
.why-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position:relative; }
.step { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position:relative; }
.step .index { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; background: var(--navy-dark); color: #fff; font-weight:900; margin-bottom: 12px; }
.step h3 { margin: 0 0 8px; color: var(--navy-dark); font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); }
.about-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.footer { background: var(--navy-dark); color: var(--text-light); padding: 44px 0; }
.footer-grid { display:grid; grid-template-columns: 1.1fr .7fr 1.2fr; gap: 28px; align-items:start; }
.footer a { color: var(--text-light); }
.footer .muted { color: rgba(245,247,251,.76); }
.footer .brand strong { color: var(--text-light); }
.footer .brand span { color: rgba(245,247,251,.76); }
.contact-list { display:grid; gap:10px; }
.contact-line { display:flex; gap:10px; align-items:flex-start; }
.contact-line svg { flex:0 0 auto; margin-top:4px; color: var(--accent-teal); }
.quick-links { display:grid; gap:10px; }
.copyright { margin-top: 22px; padding-top: 16px; border-top:1px solid rgba(255,255,255,.1); color: rgba(245,247,251,.76); font-size: .92rem; }
.reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity:1; transform:none; }
.floating-bale { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 200; }
.bale-link { display:inline-flex; align-items:center; gap:10px; width: 52px; height: 52px; border-radius: 999px; background: var(--accent-teal); color: #04323b; box-shadow: 0 16px 30px rgba(0,0,0,.18); overflow:hidden; white-space:nowrap; transition: width .25s ease, transform .2s ease; }
.bale-link:hover { width: 140px; transform: translateY(-1px); }
.bale-link span { opacity:0; font-weight:900; transition: opacity .2s ease; }
.bale-link:hover span { opacity:1; }
.bale-link svg { width: 22px; height: 22px; flex:0 0 auto; margin-inline: 15px 0; }
.team-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.team-card { overflow:hidden; }
.team-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: calc(var(--radius) - 1px); margin-bottom: 16px; }
.team-card .role { color: var(--accent-teal); font-weight: 800; margin-top: 4px; }
.form-grid { display:grid; grid-template-columns: 1fr .95fr; gap: 22px; }
.form { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.field { display:grid; gap:8px; margin-bottom: 14px; }
.field label { font-weight:800; color: var(--navy-dark); }
.field input, .field textarea { width:100%; border:1px solid var(--border); border-radius: 10px; padding: 13px 14px; font: inherit; color: var(--text-dark); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.note { background: rgba(56,199,196,.10); border:1px solid rgba(56,199,196,.28); padding: 16px; border-radius: var(--radius); color: var(--navy-dark); }
.status { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #edf9f9; color: #0f5f65; display:none; }
.status.show { display:block; }
@media (max-width: 980px) {
  .hero-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .cards, .why-grid, .steps, .team-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 320px; }
}
@media (max-width: 720px) {
  .header-inner { flex-wrap:wrap; }
  .nav { gap: 12px; }
  .cards, .why-grid, .steps, .team-grid, .stats-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .floating-bale { right: 12px; }
  .bale-link:hover { width: 52px; }
  .bale-link span { display:none; }
}
