@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy: #07152f;
  --blue: #1687ef;
  --sky: #65c8ff;
  --text: #102344;
  --muted: #71819a;
  --line: #e4edf7;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fafdff 0%, #edf7ff 48%, #ffffff 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.background-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: -1; }
.glow-one { width: 460px; height: 460px; top: 70px; right: -220px; background: radial-gradient(circle, #b8e6ff88, transparent 70%); }
.glow-two { width: 420px; height: 420px; top: 380px; left: -210px; background: radial-gradient(circle, #c6dfff88, transparent 70%); }
.site-header { position: sticky; top: 0; z-index: 20; background: #ffffffd9; backdrop-filter: blur(16px); border-bottom: 1px solid #e8f0f8; }
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 15px; font-weight: 900; letter-spacing: 1.5px; direction: ltr; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: white; font-size: 19px; background: linear-gradient(135deg, #0879e8, #65c8ff); box-shadow: 0 7px 18px #1687ef44; }
.brand-dot { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 30px; color: #60718b; font-size: 13px; font-weight: 600; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-button { border: 1px solid #cfe5fa; background: #f4faff; color: #1478d1; border-radius: 12px; padding: 11px 16px; font-size: 12px; font-weight: 700; cursor: pointer; }
.nav-button span { margin-right: 7px; }
.hero { min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 45px; padding-block: 76px 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #d8ebfb; background: #ffffffb8; color: #3976a9; border-radius: 30px; padding: 8px 14px; font-size: 12px; font-weight: 600; }
.status-dot, .tiny-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #32c995; box-shadow: 0 0 0 4px #32c99520; }
.intro-label { margin: 28px 0 2px; color: #7487a2; font-size: 17px; }
h1 { margin: 0; color: var(--navy); font-size: clamp(45px, 6vw, 72px); line-height: 1.35; font-weight: 900; letter-spacing: -2px; }
h1 span { color: #1687ef; }
.hero h2 { max-width: 570px; margin: 12px 0 17px; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.9; font-weight: 700; color: #314765; }
.gradient-text { color: #1687ef; background: linear-gradient(90deg, #0879e8, #57bfff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 560px; color: #71819a; font-size: 14px; line-height: 2.25; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 13px; padding: 13px 20px; font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); }
.button.primary { color: white; background: linear-gradient(110deg, #0879e8, #55bfff); box-shadow: 0 12px 24px #1687ef35; }
.button.secondary { color: #31628f; background: white; border: 1px solid #dceaf7; }
.hero-stats { display: flex; align-items: center; gap: 25px; margin-top: 48px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats strong { color: var(--navy); font-size: 22px; font-weight: 900; direction: ltr; text-align: right; }
.hero-stats span { color: #8492a8; font-size: 11px; }
.hero-stats i { width: 1px; height: 34px; background: #d9e5f0; }
.hero-visual { position: relative; min-height: 450px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid #9bd5ff70; border-radius: 50%; transform: rotate(-23deg); }
.orbit-a { width: 410px; height: 300px; }
.orbit-b { width: 330px; height: 430px; transform: rotate(48deg); border-color: #b7dfff80; }
.profile-card { position: relative; z-index: 2; width: min(330px, 85%); padding: 25px; border: 1px solid #ffffff; border-radius: 25px; background: linear-gradient(145deg, #ffffffed, #f4faffed); box-shadow: 0 30px 80px #3c83b52a, inset 0 1px 0 white; text-align: center; }
.card-top { display: flex; justify-content: space-between; align-items: center; color: #9aabc0; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; direction: ltr; }
.card-menu { color: #1687ef; font-size: 20px; }
.avatar { position: relative; width: 112px; height: 112px; margin: 25px auto 15px; display: grid; place-items: center; border-radius: 35px; transform: rotate(-7deg); background: linear-gradient(145deg, #0879e8, #78d4ff); box-shadow: 0 15px 28px #1687ef45; }
.avatar span { color: white; font-size: 64px; font-weight: 900; transform: rotate(7deg); }
.avatar b { position: absolute; right: -9px; bottom: -7px; width: 31px; height: 31px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background: #fff; color: #1687ef; font-size: 14px; }
.profile-card h3 { margin: 0; color: var(--navy); font-size: 20px; }
.profile-card > p { margin: 5px 0 18px; color: #8392a7; font-size: 11px; }
.card-divider { height: 1px; margin-bottom: 15px; background: #e5eef7; }
.mini-info { display: flex; justify-content: space-between; gap: 10px; margin: 11px 0; font-size: 10px; }
.mini-info span { color: #8b9bb0; }
.mini-info strong { color: #405a79; direction: ltr; }
.card-footer { margin-top: 19px; padding: 11px; border-radius: 10px; color: #4984aa; background: #eaf7ff; font-size: 10px; }
.card-footer .tiny-dot { margin-left: 7px; }
.floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid #ffffff; border-radius: 13px; background: #ffffffed; box-shadow: 0 12px 30px #366d9b20; color: #45617f; font-size: 12px; font-weight: 800; direction: ltr; }
.floating-chip span { color: #1687ef; font-size: 17px; }
.chip-excel { top: 67px; right: 0; }
.chip-adobe { bottom: 90px; right: 3px; }
.chip-video { bottom: 40px; left: 0; }
.section { padding-block: 75px; }
.section-heading { margin-bottom: 30px; }
.section-kicker { color: #1687ef; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.section-heading h2, .contact-panel h2 { margin: 9px 0 8px; color: var(--navy); font-size: clamp(27px, 4vw, 38px); font-weight: 900; }
.section-heading > p { margin: 0; color: #8291a6; font-size: 13px; line-height: 2; }
.about-panel { display: flex; align-items: flex-start; gap: 23px; padding: 32px; border: 1px solid #e3eef8; border-radius: 22px; background: #ffffffc9; box-shadow: 0 18px 45px #315b8010; }
.about-symbol { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: white; background: linear-gradient(135deg, #0879e8, #66caff); font-size: 25px; }
.about-panel h3 { margin: 0 0 8px; color: #193455; font-size: 18px; }
.about-panel p { margin: 0; color: #71819a; font-size: 13px; line-height: 2.3; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.skill-card { position: relative; min-height: 250px; padding: 23px 20px; overflow: hidden; border: 1px solid #e3edf7; border-radius: 19px; background: #ffffffd9; transition: transform .25s, box-shadow .25s; }
.skill-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px #245b8b16; }
.skill-number { position: absolute; top: 25px; left: 20px; color: #d4e2ef; font-size: 12px; font-weight: 800; }
.skill-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; font-size: 21px; font-weight: 900; }
.skill-icon.blue { color: #0879e8; background: #e5f3ff; }
.skill-icon.violet { color: #7463d8; background: #f0edff; }
.skill-icon.cyan { color: #079db8; background: #e3faff; }
.skill-icon.pink { color: #d15c9c; background: #fff0f7; }
.skill-card h3 { margin: 0 0 9px; color: #193455; font-size: 16px; }
.skill-card p { min-height: 76px; margin: 0; color: #7c8ba0; font-size: 11px; line-height: 2.1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span { padding: 5px 8px; border-radius: 7px; color: #5380a7; background: #f0f7fd; font-size: 9px; }
.tools-section { margin-top: 30px; padding-block: 75px 85px; background: linear-gradient(120deg, #eaf6ff, #f7fbff 55%, #e9f5ff); border-block: 1px solid #e1f0fc; }
.tool-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tool-item { display: flex; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid #e1edf7; border-radius: 15px; background: #ffffffd9; }
.tool-logo { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 12px; color: white; font-size: 17px; font-weight: 900; direction: ltr; }
.tool-logo.excel { background: #16865b; }.tool-logo.word { background: #2874c8; }.tool-logo.ppt { background: #dc7046; }.tool-logo.access { background: #b94d63; }.tool-logo.adobe { background: #d94a4a; }.tool-logo.premiere { background: #6252b8; }
.tool-item div { display: grid; gap: 3px; }
.tool-item strong { color: #274260; font-size: 13px; direction: ltr; text-align: right; }
.tool-item small { color: #8a9bb0; font-size: 10px; }
.tool-arrow { margin-right: auto; color: #8bb9dc; font-size: 18px; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px; border-radius: 24px; background: linear-gradient(115deg, #071a38, #0b3c70 65%, #0879c9); box-shadow: 0 24px 55px #0b3c702b; }
.contact-panel h2 { max-width: 650px; color: white; }
.contact-panel p { max-width: 650px; margin: 0; color: #c0d8ed; font-size: 12px; line-height: 2.2; }
.contact-panel .button { flex: 0 0 auto; background: white; color: #0879d8; box-shadow: none; }
.footer { margin-top: 50px; border-top: 1px solid #e4edf7; background: #ffffffa8; }
.footer-inner { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer p, .footer-inner > span { color: #91a0b3; font-size: 10px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr  .85fr; gap: 15px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 15px; }
  .nav-button { display: none; }
  .orbit-a { width: 330px; }.orbit-b { height: 360px; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 32px, 520px); }
  .nav { height: 70px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 55px 35px; }
  .hero-copy { order: 1; }.hero-visual { order: 2; min-height: 400px; margin-top: 10px; }
  h1 { font-size: 52px; }
  .hero-stats { gap: 15px; justify-content: space-between; }
  .hero-stats strong { font-size: 19px; }
  .hero-stats span { font-size: 9px; }
  .chip-excel { right: 0; }.chip-video { left: 0; }
  .section { padding-block: 52px; }
  .about-panel { padding: 22px; gap: 15px; }
  .skills-grid, .tool-list { grid-template-columns: 1fr; }
  .skill-card { min-height: auto; }.skill-card p { min-height: auto; }
  .tools-section { padding-block: 55px; }
  .contact-panel { align-items: flex-start; flex-direction: column; padding: 27px 23px; }
  .footer-inner { padding-block: 20px; flex-wrap: wrap; }
  .footer p { order: 3; width: 100%; margin: 0; }
}
@media print {
  .site-header, .hero-actions, .contact-panel .button, .background-glow { display: none !important; }
  body { background: white; }
  .hero { min-height: auto; padding-block: 25px; }
  .section, .tools-section { padding-block: 25px; }
  .skill-card, .about-panel, .tool-item { break-inside: avoid; box-shadow: none; }
  .contact-panel { background: #123d68 !important; print-color-adjust: exact; }
}
